---
updatedAt: 2025-06-16T21:02:32.000Z
agentTools:
  projectIndex: https://dev.fio.net/llms.txt
---

# Fetch FIO Handle from FIO Chain State Table

```curl cURL
curl --request POST \
     --url https://fiotestnet.blockpane.com/v1/chain/get_table_rows \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
     --data '
{
  "code": "fio.address",
  "scope": "fio.address",
  "table": "fionames",
  "lower_bound": "0xeb0816aeb936141ebec9a4a76c64df58",
  "upper_bound": "0xeb0816aeb936141ebec9a4a76c64df58",
  "key_type": "i128",
  "index_position": "5",
  "json": true
}
'
```

```json Response Example
{
  "rows": [
    {
      "id": 7523,
      "name": "test@fiotestnet",
      "namehash": "0xeb0816aeb936141ebec9a4a76c64df58",
      "domain": "fiotestnet",
      "domainhash": "0x010fc709075388aae56c74a0dfaea9e5",
      "expiration": 1615398509,
      "owner_account": "ykspncqykk2w",
      "addresses": [
        {
          "token_code": "FIO",
          "chain_code": "FIO",
          "public_address": "FIO584WnfHaMNjvQ1UnqtNokx7S8zT4Pr4XgejF3yKcYpWfXcEHKa"
        }
      ],
      "bundleeligiblecountdown": 100
    }
  ],
  "more": false
}
```

# Query FIO Chain State Table

<!-- curl@1-16 -->

To query the address table specify index 5 with a type of i128 using the hash as the upper and lower bounds.

To understand how the hash is derived, see [Generate Hash of FIO Handle or Domain](https://fioprotocol.readme.io/recipes/generate-hash-of-fio-handle-or-domain)