Sub Account Interface (Broker)

triangle-exclamation

Get Broker Info

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-broker-infoarrow-up-right

Function name:

getBrokerInfo()

Usage:

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

  let myBitgetAccount = createExchange({
      exchange: "bitget",
      authenticate: "true",
      key: "myKeys",
      secret: "mySecret",
      passphrase: "myPassphrase",
      label: "bitget",
      marginType: "usdt"
});

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

const result = await getBrokerInfo(myBitgetAccount);

Create Sub Account

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#create-sub-accountarrow-up-right

Function name:

Usage:

Get Sub List

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-sub-listarrow-up-right

Function name:

Usage:

Modify Sub Account

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#modify-sub-accountarrow-up-right

Function name:

Usage:

Modify Sub Email

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#modify-sub-emailarrow-up-right

Function name:

Usage:

Get Sub Email

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-sub-emailarrow-up-right

Function name:

Usage:

Get Sub Spot Assets

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-sub-spot-assetsarrow-up-right

Function name:

Usage:

Get Sub Future Assets

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-sub-future-assetsarrow-up-right

Function name:

Usage:

Get Sub Deposit Address

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#get-sub-deposit-address-only-brokerarrow-up-right

Function name:

Usage:

Sub Withdrawal

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#sub-withdrawal-only-brokerarrow-up-right

Function name:

Usage:

Sub Deposit Auto Transfer

circle-info

Please refer to the official Bitget API Docs for the required parameters.

https://bitgetlimited.github.io/apidoc/en/broker/#sub-deposit-auto-transfer-only-brokerarrow-up-right

Function name:

Usage:

Last updated