GETGet wallet information
https://ton-mainnet.nodit.io/api/v2/getWalletInformationReturns wallet-specific information for an address. If the address is a known wallet contract, returns the wallet type, current seqno (needed for sending transactions), and wallet_id. Always check wallet: true before using wallet-specific fields. Call this before sending any transaction to get the current seqno.
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 wallet info responses. Refer to the TonLib type reference for a full list.
Returns true if this address is a recognized wallet contract type; otherwise false.
Account balance in nanograms as a decimal string.
Account lifecycle state: uninitialized, active, or frozen.
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.
Recognized wallet contract type, such as wallet v4 r2, wallet v5 r1, or tg-wallet.
Wallet contract sequence number. Used for replay protection: each outgoing transaction must include the current seqno and increments it by 1. Fetch the current value before sending a transaction.
Subwallet ID for v3+ wallets. Allows creating multiple wallets from one key. The default value is 0x29a9a317 (698983191) on both mainnet and testnet, derived from the first 4 bytes of the TON mainnet initial state hash. Note: v5 wallets use a different scheme with network-specific values to prevent cross-network transaction replay. Refer to the wallet interaction guide for full details.
Whether signature authentication is enabled for this wallet (v5 wallets only).
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.