New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method /getAddressBalance Ton (TON)
connect with JSON-RPC protocol

/getAddressBalance

info-circle-fill

Get balance (in nanotons) of a given address.

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"
}
banner icon

Start Building with GetBlock RPCs for Free