ETF

Documentation on interacting with Mexc's ETF API functions through the PENDAX Javascript SDK.

Please refer to the official Mexc API Docs for the Required parameters.

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-etf-info

Function Name:

getEtfInfo()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myMexcExchanges  = createExchange({
      exchange: "mexc",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      label: "mexc"
  });

async function getEtfInfo(exchange, options) {
    try {
        let result = await exchange.getEtfInfo(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await getEtfInfo(myMexcExchanges);

Last updated