Skip to content
GET /v1/txblock

A transaction block number, time, txns, gas and DS block

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/zilliqa-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/zilliqa-api/v1/txblock" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zilliqa-api/v1/txblock", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zilliqa-api/v1/txblock");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/zilliqa-api/v1/txblock",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "source": "Zilliqa",
        "gas_used": 0,
        "block_num": 28650496,
        "gas_limit": 200000,
        "timestamp": "2026-06-10T13:59:53.872Z",
        "block_hash": "2f5e77392b57fa1c2b58403f6363080d701721b784876c6f6f882f9e73df52a3",
        "rewards_zil": 0,
        "tx_fees_zil": 0,
        "ds_block_num": 286505,
        "prev_block_hash": "b0b2f9fd5a10a42a24f7e33f34b6b96309d7b7fbe823968be6f84a4a2083728f",
        "num_micro_blocks": 0,
        "num_transactions": 0
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:58.223Z",
        "request_id": "77b32fc8-00b6-45a4-825a-ae8c98ac3b51"
    },
    "status": "ok",
    "message": "Transaction block retrieved successfully",
    "success": true
}