MCPcopy Create free account
hub / github.com/ccxt/ccxt / fetchMarkets

Method fetchMarkets

js/src/pacifica.js:418–425  ·  view source on GitHub ↗

* @method * @name pacifica#fetchMarkets * @description retrieves data on all markets for pacifica * @param {object} [params] extra parameters specific to the exchange API endpoint * @returns {object[]} an array of objects representing market data

(params = {})

Source from the content-addressed store, hash-verified

416 * @returns {object[]} an array of objects representing market data
417 */
418 async fetchMarkets(params = {}) {
419 if (this.checkRequiredCredentials(false)) {
420 await this.initializeClient();
421 await this.loadAccountSettings();
422 }
423 const swapMarkets = await this.fetchSwapMarkets(params);
424 return swapMarkets;
425 }
426 /**
427 * @method
428 * @name pacifica#fetchSwapMarkets

Callers

nothing calls this directly

Calls 4

initializeClientMethod · 0.95
loadAccountSettingsMethod · 0.95
fetchSwapMarketsMethod · 0.95

Tested by

no test coverage detected