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

# getAddressInformation

> Retrieves basic TON account information, including balance, code, data, and last transaction.

### Parameters

<ParamField query="chainId" type="string" default="toncoin" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="getAddressInformation" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={{"address":"EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"}} placeholder="{&#x22;address&#x22;:&#x22;EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2&#x22;}" required>
  TON address lookup request.

  Parameters for <code>getAddressInformation</code>:

  <ul>
    <li><code>params.address</code>: TON account address.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  TON raw account state.

  <Expandable title="properties">
    <ResponseField name="@type" type="string">
      TON object type marker.
    </ResponseField>

    <ResponseField name="balance" type="string">
      Account balance in nanotons.
    </ResponseField>

    <ResponseField name="code" type="string">
      Base64-encoded account code.
    </ResponseField>

    <ResponseField name="data" type="string">
      Base64-encoded account data.
    </ResponseField>

    <ResponseField name="last_transaction_id" type="object">
      TON internal transaction identifier.

      <Expandable title="properties">
        <ResponseField name="@type" type="string">
          TON object type marker.
        </ResponseField>

        <ResponseField name="lt" type="string">
          Transaction logical time.
        </ResponseField>

        <ResponseField name="hash" type="string">
          Transaction hash.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="block_id" type="object">
      TON extended block identifier.

      <Expandable title="properties">
        <ResponseField name="@type" type="string">
          TON object type marker.
        </ResponseField>

        <ResponseField name="workchain" type="integer">
          Block workchain ID. The masterchain uses -1.
        </ResponseField>

        <ResponseField name="shard" type="string">
          Block shard ID encoded as a signed 64-bit integer string.
        </ResponseField>

        <ResponseField name="seqno" type="integer">
          Block sequence number.
        </ResponseField>

        <ResponseField name="root_hash" type="string">
          Block root hash.
        </ResponseField>

        <ResponseField name="file_hash" type="string">
          Block file hash.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="frozen_hash" type="string">
      Frozen account hash, when present.
    </ResponseField>

    <ResponseField name="sync_utime" type="integer">
      Last synchronization Unix timestamp.
    </ResponseField>

    <ResponseField name="state" type="string">
      Account state.
    </ResponseField>

    <ResponseField name="@extra" type="string">
      Provider-specific response metadata.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=toncoin \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "getAddressInformation",
      "params": {
        "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
      }
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
