Wallet (Spot)

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

All Spot Market Wallet API endpoints require authentication. Please create Bitget API keys to interact with these functions successfully. Accounts must be funded or collateralized for any trades to successfully post.

Transfer

circle-info

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

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

Function name:

spotWalletTransfer()

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

const result = await spotWalletTransfer(myBitgetAccount, 
    {
        fromType: "spot",
        toType: "mix_usdt",
        amount: "0.1",
        coin: "USDT"
    })

Sub Transfer

circle-info

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

https://bitgetlimited.github.io/apidoc/en/spot/#sub-transferarrow-up-right

Function name:

Usage:

Get Coin Address

circle-info

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

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

Function name:

Usage:

Withdraw

circle-info

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

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

circle-exclamation

Function name:

Usage:

Inner Withdraw

circle-info

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

https://bitgetlimited.github.io/apidoc/en/spot/#inner-withdrawarrow-up-right

Function name:

Usage:

Get Withdraw List

circle-info

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

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

Function name:

Usage:

Get Deposit List

circle-info

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

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

Function name:

Usage:

Last updated