/v1/transaction
A transaction by hash
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/hemi-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hemi-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hemi-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/hemi-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"transaction": {
"to": "0x4200000000000000000000000000000000000015",
"from": "0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001",
"hash": "0x95dd7b65cb078820518152c8aa79918bab4e5c4a56c846c44f074b4deff3ca8f",
"type": 126,
"block": 4584979,
"nonce": 4584981,
"method": "setL1BlockValuesIsthmus",
"status": "ok",
"fee_eth": 0,
"fee_wei": "0",
"gas_used": 54544,
"gas_price": "0",
"timestamp": "2026-06-08T02:40:59.000000Z",
"value_eth": 0,
"value_wei": "0",
"confirmations": 2150
}
},
"meta": {
"timestamp": "2026-06-08T09:50:58.139Z",
"request_id": "17b00375-1843-4a7c-98c2-c21f3a26d81a"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}