/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/forma-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/forma-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/forma-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/forma-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": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
"from": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
"hash": "0x683c260d8d67b14da3b0e71cf0620470cccd5124d87ef188cd7c69acc7d25447",
"type": 0,
"block": 28400682,
"nonce": 112468,
"method": null,
"status": "ok",
"fee_tia": 0.000475281200021752,
"fee_wei": "475281200021752",
"gas_used": 21752,
"gas_price": "21850000001",
"timestamp": "2026-06-08T07:05:46.000000Z",
"value_tia": 0,
"value_wei": "0",
"confirmations": 4643
}
},
"meta": {
"timestamp": "2026-06-08T09:48:58.925Z",
"request_id": "9093cf20-cae4-46b4-a0e8-6a7e874d2253"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}