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
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
Function name:
Usage:
Get sub Account Spot Assets
Function name:
Usage:
Get Bills
Function name:
Usage:
Get Transfer List
Function name:
Usage:
Last updated