GETGet wallet

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/wallet
CU60

Alias of walletInformation. Get wallet smart contract information. Supports the following wallet versions: v1r1, v1r2, v1r3, v2r1, v2r2, v3r1, v3r2, v4r1, v4r2, v5beta, v5r1, and tg-wallet. If the account is not a wallet, returns error code 409.

Query Parameters
addressstringrequired

Account address in any form.

use_v2boolean

Use the API v2 method. This option is not recommended.

Responses
balancestring

Wallet balance in nanograms, as a decimal string.

last_transaction_hashstring

Hash of the most recent transaction of the account, in base64.

last_transaction_ltstring

Logical time (lt) of the most recent transaction of the account, as a decimal string.

seqnointeger

Wallet sequence number (seqno). Used for replay protection: each outgoing transaction must include the current seqno, which then increases by 1.

statusstring

Account status: uninit, frozen, active, or nonexist.

suspendedboolean

true if the account has been suspended by a governance decision; otherwise false.

wallet_idinteger

Subwallet ID of the wallet, which allows several wallets to be created from one key. Present for wallet v3 and later.

wallet_typestring

Recognized wallet contract type, such as wallet v4 r2, wallet v5 r1, or tg-wallet.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v3/wallet?address=EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN&use_v2=true" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "balance": "450160030",
  "wallet_type": "wallet v4 r2",
  "seqno": 306,
  "wallet_id": 698983191,
  "last_transaction_lt": "119175459000033",
  "last_transaction_hash": "RstqIOXPnun8qlq22k20gYz3C0rWFJG844ogiHhM4jc=",
  "status": "active"
}