> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getWalletInformation | TON v2

> The getWalletInformation method retrieves wallet-specific information about a TON address. getWalletInformation on TON v2 via Chainstack.

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.

<Note>
  **TON billing: full (1 RU)**

  This method is always billed as full. See [Request units — TON method scope](/docs/request-units#ton-method-scope).
</Note>

* `seqno` (int, optional) — the Masterchain seqno. You can get the Masterchain seqno with [getMasterchainInfo | TON v2](/reference/ton-getmasterchaininfo-v2).

Example with `seqno`:

```shell Shell theme={"system"}
curl --request GET \
     --url 'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/getWalletInformation?address=EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2&seqno=45792554' \
     --header 'accept: application/json'
```

## JSON-RPC example

```shell Shell theme={"system"}
curl -X POST \
  'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/jsonRPC' \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getWalletInformation",
    "params": {
      "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
    }
  }'
```

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


## OpenAPI

````yaml openapi/ton_node_api/v2/getWalletInformation.json GET /getWalletInformation
openapi: 3.0.0
info:
  title: getWalletInformation example
  version: 1.0.0
  description: >-
    This is an API example for getWalletInformation, a method to retrieve
    wallet-specific information about a TON address.
servers:
  - url: >-
      https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2
security: []
paths:
  /getWalletInformation:
    get:
      tags:
        - TON Operations
      summary: getWalletInformation
      operationId: getWalletInformation
      parameters:
        - name: address
          in: query
          required: true
          description: The address to get wallet information for
          schema:
            type: string
            default: EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2
          example: EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2
      responses:
        '200':
          description: Wallet information for the specified address
          content:
            application/json:
              schema:
                type: object
                properties:
                  wallet:
                    type: boolean
                    description: Indicates if the address is a wallet
                  balance:
                    type: string
                    description: The balance of the wallet in nanotons
                  account_state:
                    type: string
                    description: The state of the account (active, uninitialized, etc.)
                  wallet_type:
                    type: string
                    description: The type of the wallet contract
                  seqno:
                    type: integer
                    description: The current sequence number of the wallet
                  last_transaction_id:
                    type: object
                    properties:
                      lt:
                        type: string
                        description: The logical time of the last transaction
                      hash:
                        type: string
                        description: The hash of the last transaction

````