curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/walletStates{
"wallets": [
{
"address": "<string>",
"is_wallet": true,
"balance": "<string>",
"status": "<string>",
"code_hash": "<string>",
"last_transaction_hash": "<string>",
"last_transaction_lt": "<string>"
}
],
"address_book": {}
}Query wallet states for addresses
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/walletStates{
"wallets": [
{
"address": "<string>",
"is_wallet": true,
"balance": "<string>",
"status": "<string>",
"code_hash": "<string>",
"last_transaction_hash": "<string>",
"last_transaction_lt": "<string>"
}
],
"address_book": {}
}walletStates endpoint queries wallet state information for addresses, including balance, status, and whether the address is a recognized wallet contract.
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.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.
walletStates endpoint is useful for applications working with wallet contracts:
curl -X GET \
'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/walletStates?address=EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs' \
-H 'accept: application/json'
is_wallet field indicates whether the contract matches a known wallet implementation (v3, v4, etc.). Jetton masters and other contracts will show false.Wallet address to query
Maximum number of results
Number of results to skip
Was this page helpful?