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

# addressInformation | TON v3

> The addressInformation endpoint retrieves detailed information about a smart contract address, including its balance, code, and data cells.

# Address Information

The `addressInformation` endpoint retrieves detailed information about a smart contract address, including its balance, code, and data cells.

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

## Parameters

* `address` (string, required) — The account address to query.

## Response

* `balance` (string) — Account balance in nanotons.
* `code` (string) — Smart contract code in base64 format.
* `data` (string) — Smart contract data in base64 format.
* `last_transaction_lt` (string) — Logical time of last transaction.
* `last_transaction_hash` (string) — Hash of last transaction.
* `status` (string) — Account status (active, uninit, frozen).

## Use case

The `addressInformation` endpoint is useful for applications that need complete contract details:

1. Block explorers displaying full contract information.
2. Smart contract analysis tools examining code and data.
3. Wallet applications verifying contract state.
4. Development tools debugging contract behavior.
5. Security audits examining deployed contracts.

Here's an example of getting address information:

<CodeGroup>
  ```shell shell theme={"system"}
  curl -X GET \
    'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/addressInformation?address=EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs' \
    -H 'accept: application/json'
  ```
</CodeGroup>

<Tip>
  This endpoint returns the raw code and data cells. Use [runGetMethod](/reference/ton-rungetmethod-v3) to interact with the contract's get methods for parsed data.
</Tip>


## OpenAPI

````yaml openapi/ton_node_api/v3/getAddressInformation.json GET /addressInformation
openapi: 3.0.0
info:
  title: TON API
  version: 3.0.0
  description: API for interacting with The Open Network (TON) blockchain
servers:
  - url: >-
      https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3
security: []
paths:
  /addressInformation:
    get:
      tags:
        - Accounts
      summary: Get Address Information
      description: Get smart contract details including balance, code, and data
      operationId: getAddressInformation
      parameters:
        - name: address
          in: query
          description: Account address to query
          required: true
          schema:
            type: string
            default: EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  balance:
                    type: string
                    description: Account balance in nanotons
                  code:
                    type: string
                    description: Smart contract code in base64
                  data:
                    type: string
                    description: Smart contract data in base64
                  last_transaction_lt:
                    type: string
                    description: Last transaction logical time
                  last_transaction_hash:
                    type: string
                    description: Last transaction hash
                  status:
                    type: string
                    description: Account status

````