GETGet address information
https://ton-mainnet.nodit.io/api/v2/getAddressInformationReturns the current state of any account on the TON blockchain. Includes the balance (in nanograms), smart contract code and data (if deployed), account status, and a reference to the last transaction. This is the primary endpoint for checking if an address exists and what's deployed there.
The account address to query, in raw or user-friendly format.
Query state at a specific block height. If omitted, returns the current state. Use this to look up historical data at a specific point in time.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for full account state responses. Refer to the TonLib type reference for a full list.
The account balance in nanograms (the smallest unit of GRAM). 1 GRAM = 1,000,000,000 nanograms (10^9), so divide by 10^9 to get the human-readable GRAM amount. Refer to the units and decimals guide for more context.
Array of non-GRAM currency balances held by this account. Each entry contains a currency ID (integer) and balance amount (decimal string). Empty array if the account holds no extra currencies.
TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.
A 32-bit integer identifying the extra currency. Currency IDs are defined at the blockchain configuration level and stored in ConfigParam 7 of the masterchain. The extra-currency minting documentation describes the process.
Currency balance amount as a decimal string.
Reference to the most recent transaction. Use as starting point for getTransactions.
TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.
Logical time of the transaction. Use together with its hash for pagination and lookups.
SHA-256 hash of this transaction, encoded in base64.
Full block identifier where this event occurred.
TonLib type identifier for full block identifiers. Refer to the TonLib type reference for a full list.
Workchain ID: -1 for masterchain, 0 for basechain.
Shard identifier as a signed 64-bit integer string. Masterchain uses -9223372036854775808.
Block sequence number within its workchain and shard. For the masterchain (workchain -1), this equals the global block height. For basechain shards (workchain 0), this is the sequence number local to that specific shard, not a global height.
Root hash of the block. Together with file_hash, uniquely identifies a block.
Hash of the serialized block file. Together with root_hash, uniquely identifies a block.
Smart contract code in BoC format, base64 encoded.
Smart contract persistent storage in BoC format, base64 encoded.
Hash of the frozen contract state. Only present for frozen accounts.
Unix timestamp of the block from which this data was read.
Account state: uninitialized, active, or frozen.
Returns true if the account has been suspended by a governance decision; otherwise false.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.