getWalletInformation
method retrieves wallet-specific information about a TON address. This method is particularly useful for obtaining details about wallet contracts, including their type, balance, and current state.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
TON pricing is the same for full, archive, v2, v3There’s no difference between a full node an archive node in data availability or pricing.
All data is always available and all node requests are consumed as 1 request unit.
All data is always available and all node requests are consumed as 1 request unit.
seqno
(int, optional) — the Masterchain seqno. You can get the Masterchain seqno with getMasterchainInfo | TON v2.
seqno
:
Shell
JSON-RPC example
Shell
Parameters
address
(string, required) — The address for which wallet information is being requested. Example:EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2
.
Response
wallet
(boolean) — Indicates if the address is a wallet.balance
(string) — The balance of the wallet in nanotons.account_state
(string) — The state of the account (active, uninitialized, etc.).wallet_type
(string) — The type of the wallet contract.seqno
(integer) — The current sequence number of the wallet.last_transaction_id
(object) — The last transaction ID, containing:lt
(string) — The logical time of the last transaction.hash
(string) — The hash of the last transaction.
Use case
A possible use case for thegetWalletInformation
method in TON is for wallet applications or blockchain explorers that need to display specific information about wallet contracts. This method can be used to show the current balance, wallet type, and transaction sequence number, which are crucial for interacting with the wallet or monitoring its state.Query Parameters
The address to get wallet information for
Response
200 - application/json
Wallet information for the specified address
Indicates if the address is a wallet
The balance of the wallet in nanotons
The state of the account (active, uninitialized, etc.)
The type of the wallet contract
The current sequence number of the wallet