latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Address

List addresses sorted by balance

List addresses by sorted balances on a wallet. Supported coins: TRX.

get/api/v2/{coin}/wallet/{walletId}/addresses/balances

Path parameters

coinstring required
Example:trx

A cryptocurrency symbol or token ticker symbol

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

Query parameters

pagestring number

page number

limitstring number

Maximum number of results to return

sort'1' | '-1'

Sort order of returned addresses based on balance. (1 for ascending, -1 for descending)

tokenstring

Name of the token for which the addresses need to be fetched

nftCollectionIdstring

NFT collection ID for which the addresses need to be fetched

nftIdstring

NFT ID for which the addresses need to be fetched

Response

OK

coinstring required

The coin associated with the address balances

pagenumber

The current page number

totalAddressCountnumber

Total number of addresses present

totalPagesnumber

Total number of pages available for pagination

messagestring

Optional message from the response

countnumber

Count of the addresses in the current response

Example response

{
  "coin": "trx",
  "addresses": [
    {
      "coin": "btc",
      "id": "59cd72485007a239fb00282ed480da1f",
      "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
      "balance": {
        "balanceString": "500000",
        "confirmedBalanceString": "400000",
        "spendableBalanceString": "40000",
        "balance": 50000
      },
      "label": "Bob's Hot Wallet Address"
    }
  ]
}