/v1/transaction
A transaction's block, fee and type
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/nervos-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nervos-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nervos-api/v1/transaction");
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/nervos-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"source": "Nervos CKB",
"block_time": "2026-06-10T15:02:55.401Z",
"income_ckb": null,
"is_cellbase": false,
"block_number": 19559410,
"transaction_hash": "0x9fee19cb44afa5b083c6c74b4a549a2b50298be0d418625f50e884a09ba7b1f8",
"transaction_fee_ckb": 0.05
},
"meta": {
"timestamp": "2026-06-10T22:58:45.439Z",
"request_id": "aa09ec53-ad05-4efc-9eb7-d953a883b908"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}