rpc

Get Wallet Information

Returns wallet-specific information for an address. If the address is a known wallet contract, returns the wallet type, current seqno (needed for sending transactions), and wallet_id. Always check wallet: true before using wallet-specific fields. Call this before sending any transaction to get the current seqno.

post/api/v2/getWalletInformation

Request

  • Base URL: https://toncenter.com (the document declares no server; this is the origin it was published from)
  • URL: https://toncenter.com/api/v2/getWalletInformation
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Request body

addressstring required

Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.

Response

Returns wallet-specific details: type, seqno, subwallet ID, and balance.

okboolean required

Returns true if the request succeeded; otherwise false. See the error field for details.

@extrastring required
jsonrpcstring

JSON-RPC protocol version identifier.

idstring

Changes

No recorded changes to this operation across all 1 revision of this API.