getAddressBalance - Ton

getAddressBalance. Retrieves the current balance of a specified TON blockchain address.

getAddressBalance - ton [Value: 100CU]
Retrieves the current balance of a specified TON blockchain address.
Use cases

Use cases

  • Retrieve the balance of a TON address
  • Monitor wallet balance for transactions
  • Validate the funds before executing operations
Constraints

Constraints

  • Requires a valid TON address as input
  • Only provides information for active addresses
  • Dependent on the node's synchronization
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url  'https://ton.drpc.org/rest/getAddressBalance?address=0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": "0"
}
Copy

Request params

Parametersstring
string
addressstring
Identifier of the target TON account in any form.

Response

200

Response params

object
okboolean
Indicates if the request was successful.
resultstring
Balance value