Sub-Account
Documentation on interacting with Mexc's Sub-Account API functions through the PENDAX Javascript SDK.
Create a Sub-account(For Master Account)
Function Name:
createSubAccountSpot()Usage:
import { createExchange } from "./exchanges/exchange.js";
let myMexcExchanges = createExchange({
exchange: "mexc",
authenticate: "true",
key: "myKey",
secret: "mySecret",
label: "mexc"
});
async function createSubAccountSpot(exchange, options) {
try {
let result = await exchange.createSubAccountSpot(options);
console.log(result);
} catch (error) {
console.log(error.message);
}
}
let result = await createSubAccountSpot(myMexcExchanges,
{
subAccount: "mikwdn443ksnsadasd",
note: "1"
});Query Sub-account List (For Master Account)
Function Name:
Usage:
Create an APIKey for a sub-account (For Master Account)
Function Name:
Usage:
Query the APIKey of a sub-account (For Master Account)
Function Name:
Usage:
Delete the APIKey of a sub-account (For Master Account)
Function Name:
Usage:
Universal Transfer (For Master Account)
Function Name:
Usage:
Query Universal Transfer History (For Master Account)
Function Name:
Usage:
Last updated