/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/lightlink-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lightlink-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lightlink-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/lightlink-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": "0x0d2aFE7F72EabFaB68Edecc287893D9073863B6f",
"from": "0x4566ED6c7a7fFc90E2C7cfF7eB9156262afD2fDe",
"hash": "0x1da36071f2afc909907457f37c8cca18cbe8b01241dc3db89b11b90522cd39f0",
"type": 0,
"block": 210563303,
"nonce": 40732331,
"method": "workMyDirefulOwner",
"status": "ok",
"fee_eth": 0,
"fee_wei": "0",
"gas_used": 34230,
"gas_price": "0",
"timestamp": "2026-06-08T05:22:22.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 31813
}
},
"meta": {
"timestamp": "2026-06-08T09:49:45.963Z",
"request_id": "72cb5213-ab3e-41bf-b564-02e47baff929"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}