/v1/transaction
A transaction 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/ancient8-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ancient8-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ancient8-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/ancient8-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": "0x5db5f310532b5de81e0cc73d378b605278fd4e9980b9e6d3c9e5eab9ee5ef343",
"type": 126,
"block": 37428884,
"nonce": 37428887,
"method": "0x3db6be2b",
"status": "ok",
"fee_eth": 0,
"fee_wei": "0",
"gas_used": 46206,
"gas_price": "0",
"timestamp": "2026-06-08T02:19:15.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 13561
}
},
"meta": {
"timestamp": "2026-06-08T09:51:16.224Z",
"request_id": "60372515-fbd8-4450-8247-82890b4631ce"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}