Wallet States
ThewalletStates endpoint queries wallet state information for addresses, including balance, status, and whether the address is a recognized wallet contract.
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.
Parameters
address(string, required) — The wallet address to query.limit(integer, optional) — Maximum number of results. Default:10.offset(integer, optional) — Number of results to skip. Default:0.
Response
-
wallets(array) — Array of wallet state objects:address(string) — Wallet address.is_wallet(boolean) — Whether the address is a recognized wallet contract.balance(string) — Balance in nanotons.status(string) — Account status (active, uninit, frozen).code_hash(string) — Hash of the code cell.last_transaction_hash(string) — Hash of last transaction.last_transaction_lt(string) — Logical time of last transaction.
-
address_book(object) — Address book mapping with names for known addresses.
Use case
ThewalletStates endpoint is useful for applications working with wallet contracts:
- Wallet applications displaying account status and balance.
- Portfolio trackers monitoring multiple addresses.
- Payment systems verifying wallet state before transactions.
- Block explorers identifying wallet types.
- Analytics tools categorizing addresses as wallets vs contracts.
Query Parameters
Wallet address to query
Maximum number of results
Number of results to skip