getWalletInformation | TON v2

The getWalletInformation method retrieves wallet-specific information about a TON address. This method is particularly useful for obtaining details about wallet contracts, including their type, balance, and current state.

👍

Get you own node endpoint today

Start 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.

Parameters

  • address (string, required) — The address for which wallet information is being requested. Example: EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2.

Response

  • wallet (boolean) — Indicates if the address is a wallet.
  • balance (string) — The balance of the wallet in nanotons.
  • account_state (string) — The state of the account (active, uninitialized, etc.).
  • wallet_type (string) — The type of the wallet contract.
  • seqno (integer) — The current sequence number of the wallet.
  • last_transaction_id (object) — The last transaction ID, containing:
    • lt (string) — The logical time of the last transaction.
    • hash (string) — The hash of the last transaction.

Use case

A possible use case for the getWalletInformation method in TON is for wallet applications or blockchain explorers that need to display specific information about wallet contracts. This method can be used to show the current balance, wallet type, and transaction sequence number, which are crucial for interacting with the wallet or monitoring its state.

Try the getWalletInformation RPC method yourself

Language
Click Try It! to start a request and see the response here!