Skip to main content

/getAddressInformation REST API Endpoint

Get basic information about the address - balance, code, data, last_transaction_id.

Updated on
Oct 23, 2024

/getAddressInformation REST API Endpoint

Query Parameters

address
string
REQUIRED
An identifier of target TON account in any form

Returns

ok
boolean
Indicates whether the response was successful
result
object
The result object which contains the following fields:
@type
string
Specifies the type of result
balance
string
The account balance represented in nanotons
code
string
The base64-encoded representation of the smart contract code associated with the account
data
string
The base64-encoded representation of the account data
last_transaction_id
object
The last_transaction_id object which contains the following fields:
@type
string
Specifies the type of transaction ID
lt
string
Logical time (lt) of the last transaction
hash
string
The hash of the last transaction
block_id
object
The block_id object which contains the following fields:
@type
string
Specifies the type of block ID
workchain
integer
Identifies the workchain
shard
string
The shard identifier
seqno
integer
The sequence number of the block
root_hash
string
The root hash of the block
file_hash
string
The file hash of the block
frozen_hash
string
Represents the frozen state hash
sync_utime
integer
The Unix timestamp for the last synchronization time
@extra
string
Additional metadata related to the account state query
state
string
The current state of the account
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getAddressInformation?address=UQDNwlhcbPbRZmCn1Eew99yxC1TqUpU2jBv0ba8oI1oan3WC' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free