Account (Spot)

Documentation on interacting with Bitget's Spot Market Account Data API functions through the PENDAX Javascript SDK.

All Spot Market Account & Account Data API endpoints require authentication. Please create Bitget API keys to interact with these functions successfully.

Get ApiKey Info

circle-info

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

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

Function name:

getApiKeyInfo()

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 getApiKeyInfo(exchange) {
    try {
        let result = await exchange.getApiKeyInfo();
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

const result = await getApiKeyInfo(myBitgetAccount)

Get Account Assets

circle-info

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-account-assetarrow-up-right

Function name:

Usage:

Get sub Account Spot Assets

circle-info

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

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

Function name:

Usage:

Get Bills

circle-info

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-billsarrow-up-right

Function name:

Usage:

Get Transfer List

circle-info

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-transfer-listarrow-up-right

Function name:

Usage:

Last updated