/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/energyweb-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/energyweb-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/energyweb-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/energyweb-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": "0x1204700000000000000000000000000000000000",
"from": "0x4c8FC2cAd90bEE5332E887d3c9184424E76b11E0",
"hash": "0x77e3a8debb3a7d18757f9408944807d029511f7db5aadf3be57df5ca8ae6dc3c",
"type": 0,
"block": 41254767,
"nonce": 2100169,
"method": "0xd69f13bb",
"status": "ok",
"fee_ewt": 3.99124e-7,
"fee_wei": "399124000000",
"gas_used": 36284,
"gas_price": "11000000",
"timestamp": "2026-06-08T05:10:00.000000Z",
"value_ewt": 0,
"value_wei": "0",
"confirmations": 2595
}
},
"meta": {
"timestamp": "2026-06-08T09:49:49.263Z",
"request_id": "1f02ab94-ba28-4662-a9ca-caa4cb326cd6"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}