/v1/transaction
Transaction detail by hash
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/base-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/base-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/base-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/base-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"transaction": {
"to": "0x4200000000000000000000000000000000000015",
"from": "0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001",
"hash": "0x34c5afb9252bced761236b246f44bdfef2ee5052c1f9bfe037366421daf22914",
"type": 126,
"block": 10000000,
"nonce": 9999999,
"method": "setL1BlockValues",
"status": "ok",
"fee_eth": 0,
"fee_wei": "0",
"gas_used": 46913,
"gas_price": "0",
"timestamp": "2024-02-01T12:09:07.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 37046116
}
},
"meta": {
"timestamp": "2026-06-08T01:19:42.240Z",
"request_id": "9fa0a799-3c3c-493d-a0a8-b1d74919b2b3"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}