TON DocsTON Docs
APIsTON CenterLegacy (v2)

Get Wallet Information

GET
/api/v3/walletInformation

Get wallet smart contract information. The following wallets are supported: v1r1, v1r2, v1r3, v2r1, v2r2, v3r1, v3r2, v4r1, v4r2, v5beta, v5r1. In case the account is not a wallet error code 409 is returned.

Query Parameters

address*string

Account address in any form.

use_v2?boolean

Use method from api/v2. Not recommended

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v3/walletInformation?address=string"
{
  "balance": "string",
  "last_transaction_hash": "string",
  "last_transaction_lt": "string",
  "seqno": 0,
  "status": "string",
  "wallet_id": 0,
  "wallet_type": "string"
}
{
  "code": 0,
  "error": "string"
}