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

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-apikey-info

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

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-account-asset

Function name:

Usage:

Get sub Account Spot Assets

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-sub-account-spot-assets

Function name:

Usage:

Get Bills

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-bills

Function name:

Usage:

Get Transfer List

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

https://bitgetlimited.github.io/apidoc/en/spot/#get-transfer-list

Function name:

Usage:

Last updated