This API retrieves the wallet balance from the user's deposit address.

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
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!