Documentation on interacting with Mexc's ETF API functions through the PENDAX Javascript SDK.
Last updated 1 year ago
Please refer to the official Mexc API Docs for the Required parameters.
getEtfInfo()
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);