Returns the current state of an account on the TON blockchain. Includes balance (in nanotons), smart contract code and data (as BOC-encoded strings), account status, and a reference to the last transaction. Compatible with the v2 API response format.
Account address in any form.
Use method from api/v2. Not recommended
Current account state in v2-compatible format.
Account information in the v2 API-compatible format. Returns balance, contract code and data as base64-encoded BOCs, account status, and last transaction reference.
Account balance in nanotons. 1 TON = 1,000,000,000 nanotons.
Smart contract code in BOC format, base64 encoded. Empty string if the account is uninitialized.
Smart contract persistent storage in BOC format, base64 encoded. Empty string if the account is uninitialized.
Hash of the frozen state. Present only when the account is frozen.
Hash of the most recent transaction on this account. Use together with last_transaction_lt to start paginating transaction history.
Logical time of the most recent transaction. A globally unique counter ordering all blockchain events.
Account lifecycle status: uninit, active, or frozen.