getExtendedAddressInformation - Ton
getExtendedAddressInformation. Retrieves comprehensive details about a specified TON address, including balance, status, and additional metadata.
getExtendedAddressInformation - ton [Value: 100CU]
Retrieves comprehensive details about a specified TON address, including balance, status, and additional metadata.
Use cases
- Retrieve detailed information about a TON address
- Check balance, transaction history
- Validate the status of a TON address in-depth
Constraints
- Requires a valid TON address as input
- Only provides information for active addresses
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/getExtendedAddressInformation?address=0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef \
--header 'accept: application/json'
Response
200
{
"ok": true,
"result": {
"@type": "fullAccountState",
"address": {
"@type": "accountAddress",
"account_address": "EQASNFZ4kKvN7xI0VniQq83vEjRWeJCrze8SNFZ4kKvN7xSL"
},
"balance": "-1",
"last_transaction_id": {
"@type": "internal.transactionId",
"lt": "0",
"hash": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
},
"block_id": {
"@type": "ton.blockIdExt",
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 41577917,
"root_hash": "DZkrzdACi9sh6Avq50YCAHAAe3zaFBNfkK3DwXe2Kuo=",
"file_hash": "9dfTpBBiMewkbc1hH3DRFxYpXcydeJZrkq6bU+x1054="
},
"sync_utime": 1730406722,
"account_state": {
"@type": "uninited.accountState",
"frozen_hash": ""
},
"revision": 0,
"@extra": "1730406741.8864424:0:0.897691529035838"
}
}
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.
resultobject
The detailed account state result.
object
@typestring
The type of the account state representation.
addressobject
The address of the account.
object
@typestring
The type of the account address.
account_addressstring
The account address in its encoded form.
balancestring
The balance of the account, represented as a string.
last_transaction_idobject
The ID of the last transaction made by the account.
object
@typestring
The type of the transaction ID.
ltstring
The logical timestamp of the transaction.
hashstring
The hash of the last transaction.
block_idobject
Details of the block in which the last transaction was included.
object
@typestring
The type of block ID.
workchaininteger
The workchain ID of the block.
shardstring
The shard ID of the block.
seqnointeger
The sequence number of the block.
root_hashstring
The root hash of the block.
file_hashstring
The file hash of the block.
sync_utimeinteger
The synchronization time of the account state.
account_stateobject
The state of the account.
object
@typestring
The type of the account state.
frozen_hashstring
The frozen hash of the account.
revisioninteger
The revision number of the account state.
@extrastring
Additional metadata related to the response.