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

# getTokenData

> Retrieves TON NFT or Jetton metadata for a collection, item, master, or wallet contract.

### Parameters

<ParamField query="chainId" type="string" default="toncoin-testnet" 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="getTokenData" 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 token data request.

  Parameters for <code>getTokenData</code>:

  <ul>
    <li><code>params.address</code>: NFT collection/item or Jetton master/wallet smart contract address.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  TON NFT or Jetton token data.

  <Expandable title="properties">
    <ResponseField name="total_supply" type="integer">
      Jetton total supply, when the address is a Jetton master.
    </ResponseField>

    <ResponseField name="mintable" type="boolean">
      Whether additional Jettons may be minted.
    </ResponseField>

    <ResponseField name="admin_address" type="string">
      Jetton admin address.
    </ResponseField>

    <ResponseField name="jetton_content" type="object">
      Jetton metadata content.
    </ResponseField>

    <ResponseField name="jetton_wallet_code" type="string">
      Base64-encoded Jetton wallet code.
    </ResponseField>

    <ResponseField name="contract_type" type="string">
      Detected token contract type.
    </ResponseField>
  </Expandable>
</ResponseField>

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

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