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!