Get basic information about the address: balance, code, data, last_transaction_id.
cURL
curl --request GET \ --url https://toncenter.com/api/v2/getAddressInformation
{ "ok": true, "result": { "balance": "<string>", "last_transaction_id": { "lt": "<string>", "hash": "<string>", "@type": "internal.transactionId" }, "state": "uninitialized", "@type": "raw.fullAccountState", "address": { "account_address": "<string>", "@type": "accountAddress" }, "extra_currencies": [ {} ], "code": "<string>", "data": "<string>", "block_id": { "workchain": 123, "shard": "<string>", "seqno": 123, "root_hash": "<string>", "file_hash": "<string>", "@type": "ton.blockIdExt" }, "frozen_hash": "<string>", "sync_utime": 123, "@extra": "<string>" }, "error": "<string>", "code": 123 }
Identifier of target TON account in any form.
Successful Response
Raw account state augmented with computed state. Fields come directly from tonlib.
state
Show child attributes
Balance in nanotons.
Internal transaction identifier.
Logical time.
Base64 hash of the tx.
"internal.transactionId"
Computed from code/frozen_hash by the API server.
uninitialized
active
frozen
"raw.fullAccountState"
Account address object.
Friendly address string.
"accountAddress"
Base64-encoded code cell
Base64-encoded data cell
Extended block identifier.
64-bit signed integer as string
"ton.blockIdExt"
Was this page helpful?