/v1/transaction
A transaction's block, fee and type
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}