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
- Retrieve the balance of a TON address
- Monitor wallet balance for transactions
- Validate the funds before executing operations
Constraints
- Requires a valid TON address as input
- Only provides information for active addresses
- Dependent on the node's synchronization
Unlock Access to 100+ 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'Response
200
{
"ok": true,
"result": "0"
}Path params
Query params
Request params
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