/getAddressBalance - The Open Network (TON)
Example code for the /getAddressBalance json-rpc method. Сomplete guide on how to use /getAddressBalance json-rpc in GetBlock.io Web3 documentation.
Parameters
address
- query
required, string
Identifier of target TON account in any form.
Request
curl --location --request GET 'https://ton.getblock.io/mainnet/getAddressBalance?address=EQDXZ2c5LnA12Eum-DlguTmfYkMOvNeFCh4rBD0tgmwjcFI-'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
Response
{
"ok": true,
"result": "79941533476"
}
Last updated