v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Blockchain Queries

Get TRC20 balance

This method returns the balance of the specified address for the specified token

get/api/v2/tron/balances/{address}/trc20/{contract_address}

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

statusinteger
okboolean
messagestring

Example response

{
  "status": 200,
  "ok": true,
  "message": "TRC20 balance fetched",
  "data": {
    "tronaddress": "TVF2Mp9QY7FEGTnr3DBpFLobA6jguHyMvi",
    "decimals": 6,
    "balance": "1000000000000000000",
    "contractaddress": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj"
  }
}