Retrieve a wallet balance

This API is a request to retrieve the coin or token balance of all addresses within the specified wallet.

To retrieve balance of a single address in deposit wallet, use the Retrieve an address balance API.

API uses cases

  • Retrieve both native coin and token balance - Use the following request body to retrieve balance of the entire wallet, including addresses with native coins and tokens.
{
    "wallet":{
        "coin": "eth",
        "walletId":1,
        "allToken":true
    }
}

  • Retrieve only token balance - Use the following request body to retrieve only token balance from the specified address.
{
    "wallet":{
        "coin": "eth",
        "walletId":1,
        "allToken":true,
        "tokenOptions":{
                "tokenName":"dai",
                "tokenAddress":"0xdc31Ee1784292379Fbb2964b3B9C4124D8F89C60"
            }
    }
}
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!