Retrieve an address balance

This API is a request to retrieve native coin or token balance of a specific address or for a paginated list of addresses in your deposit wallet.

This API doesn't retrieve a list of address balances. To retrieve balance of an entire wallet, use the Retrieve a wallet balance API.

For Stellar, Cosmos, and Ripple chains, which only have a single address per wallet, use the Retrieve a wallet balance API instead.

Quick Navigation: Function Index

  1. Retrieving the Balance of a Native Coin Address
    1. Single Address Query
    2. Paginated Query
  2. Retrieving the Balance of a Token Address
    1. Single Address Query
    2. Paginated Query

1. Retrieving the Balance of a Native Coin Address

  1. Single Address Query - This method returns the balance of a specific address.
  2. Paginated Query - This method returns the balances of a range of addresses, provided by index.

i. Single Address Query

Example Request Body

{
    "wallet":{
        "coin": "eth",
        "walletId":1
    },
    "getAddressBalanceOption":{
        "address":"0xec69e15335c1f7a0a4733b504abc327f81baf8b5"
    }
}

ii. Paginated Query

Example Request Body

{
    "wallet":{
        "coin": "eth",
        "walletId":1
    },
    "getAddressBalanceOption":{
       "pagination":{
                    "pageNumber":1,
                    "pageSize":50
                }
    }
}

2. Retrieving the Balance of a Token Address:

This method includes an additional parameter, isTokenBalance. When set to true, it retrieves the balance of a Token. Here's how to get the balance of a Token address:

  1. Single Address Query - Retrieves the balance of a specific Token address.
  2. Paginated Query - Retrieves the balances of a range of Token addresses, provided by index.

i. Single Address Query

Example Request Body

{
    "wallet":{
        "coin": "eth",
        "walletId":1
    },
    "getAddressBalanceOption":{
        "address":"0x4014c023192ef37a91adcea4ac2fdd90914bd76f",
        "isTokenBalance":true
    }
}

ii. Paginated Query

Example Request Body

{
    "wallet":{
        "coin": "eth",
        "walletId":1
    },
    "getAddressBalanceOption":{
        "pagination":{
                    "pageNumber":1,
                    "pageSize":10
                },
        "isTokenBalance":true
    }
}
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!