/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/immutable-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/immutable-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/immutable-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/immutable-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": "0x0CF79ecDe0c183B0cf3Fe66B624E29B127bfc867",
"from": "0x8f3AB2a3B5eC395f5809151216a51d9d9D343b70",
"hash": "0x7a067d4c44189529472af50b1f3e60a96dfe7d0210bd2ee92ae838e63541a64a",
"type": 2,
"block": 39299272,
"nonce": 50781,
"method": "safeTransferFrom",
"status": "ok",
"fee_imx": 0.000824424003366398,
"fee_wei": "824424003366398",
"gas_used": 68702,
"gas_price": "12000000049",
"timestamp": "2026-06-08T01:09:34.000000Z",
"value_imx": 0,
"value_wei": "0",
"confirmations": 256
}
},
"meta": {
"timestamp": "2026-06-08T01:18:05.288Z",
"request_id": "d59a32b5-3f5a-4a48-8058-23cc84a981fa"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}