/v1/transaction
A transaction by hash
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/zora-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zora-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zora-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/zora-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"transaction": {
"to": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97",
"from": "0xf7bAc63fc7CEaCf0589F25454Ecf5C2ce904997c",
"hash": "0x072bfbb1be0c38dc085af047a109816da869f5e081cd20f884342ed2294d2f90",
"type": 2,
"block": 47101275,
"nonce": 11561,
"method": "executeRelayerRefundLeaf",
"status": "ok",
"fee_eth": 2.38814794449e-7,
"fee_wei": "238814794449",
"gas_used": 91099,
"gas_price": "2000252",
"timestamp": "2026-06-08T05:26:29.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 7896
}
},
"meta": {
"timestamp": "2026-06-08T09:49:41.951Z",
"request_id": "2153eafe-d8ab-41fd-834b-07196f4e3ba8"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}