/v1/transaction
A transaction by hash
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/energi-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/energi-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/energi-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/energi-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"transaction": {
"to": "0x0000000000000000000000000000000000000302",
"from": "0x2f4454AD6b870548F4D01c6e2fC6326753adC2Bb",
"hash": "0xf3e2c800afb4c32f764a70702aa585451ba740b2b11c60461a11ee36f941313d",
"type": null,
"block": 3282514,
"nonce": 2813,
"method": "0x91ceac96",
"status": "ok",
"fee_nrg": 0,
"fee_wei": "0",
"gas_used": 59660,
"gas_price": "0",
"timestamp": "2026-06-08T05:48:32.000000Z",
"value_nrg": 0,
"value_wei": "0",
"confirmations": 240
}
},
"meta": {
"timestamp": "2026-06-08T09:49:32.463Z",
"request_id": "ed48dda4-d591-45e7-a0ec-5561024c848f"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}