/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/degen-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/degen-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/degen-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/degen-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": "0x00000000000000000000000000000000000A4B05",
"from": "0x00000000000000000000000000000000000A4B05",
"hash": "0xcc00fbb3a0c3a9470dd66e23180047c759d4cb4f358be41e782cca14ccfb6a68",
"type": 106,
"block": 26842864,
"nonce": 0,
"method": "startBlock",
"status": "ok",
"fee_wei": "0",
"gas_used": 0,
"fee_degen": 0,
"gas_price": "120000000000",
"timestamp": "2026-06-08T02:00:12.000000Z",
"value_wei": "0",
"value_degen": 0,
"confirmations": 464
}
},
"meta": {
"timestamp": "2026-06-08T09:51:25.495Z",
"request_id": "0852fe69-293a-4769-9648-15ce13ca9143"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}