Sub-Account Managenent

Create sub-account

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Create+sub-account

Function Name:

createSubaccount()

Usage:

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

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

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

let result = await createSubaccount(myBingxExchange, {
	subAccountString: "<string>",
	recvWindow: "<long>"
});

Query account uid

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Query+account+uid

Function Name:

Usage:

Get sub-account list

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Get+sub-account+list

Function Name:

Usage:

Query sub-account spot assets

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Query+sub-account+spot+assets

Function Name:

Usage:

Create an API Key for a sub-account

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Create+an+API+Key+for+a+sub-account

Function Name:

Usage:

Query the API Key of a sub-account

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Query+the+API+Key+of+a+sub-account

Function Name:

Usage:

Reset the API Key of a sub-account

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Reset+the+API+Key+of+a+sub-account

Function Name:

Usage:

Delete the API Key of sub-accounts

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Delete+the+API+Key+of+sub-accounts

Function Name:

Usage:

Freeze and unfreeze sub-accounts

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Freeze+and+unfreeze+sub-accounts

Function Name:

Usage:

Authorize sub-account internal transfers

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Authorize+sub-account+internal+transfers

Function Name:

Usage:

Sub-account internal transfer

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Sub-account+internal+transfer

Function Name:

Usage:

Create deposit address for sub-account

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Create+deposit+address+for+sub-account

Function Name:

Usage:

Get sub-account deposit address

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Get+sub-account+deposit+address

Function Name:

Usage:

Get sub-account deposit records

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Get+sub-account+deposit+records

Function Name:

Usage:

Query sub-account internal transfer records

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Query+sub-account+internal+transfer+records

Function Name:

Usage:

Query Sub-Account Transfer History (For Master Account Operations Only)

Function Name:

Usage:

Query the transferable amount of funds in the parent-child account (only for parent account operations).

Function Name:

Usage:

Sub-Account Asset Transfer Interface (For Master Account Operations Only)

Function Name:

Usage:

Asset overview

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Asset+overview

Function Name:

Usage:

Batch inquiry of sub account asset overview

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

https://bingx-api.github.io/docs/#/en-us/common/sub-account#Batch+inquiry+of+sub+account+asset+overview

Function Name:

Usage:

Last updated