/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/qblockchain-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/qblockchain-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/qblockchain-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/qblockchain-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": "0x2Bf1bFAc66B97E3611CE46E01Cc24835eE79619e",
"from": "0x101Bf5CefC653A663311368d68cB79FAFB76A25A",
"hash": "0xc3a1f38f79fc9c7621bd809ba894bf11daaa64271b95de3606cbb0363cb573e2",
"type": 0,
"block": 26515327,
"fee_q": 0.24478185740012967,
"nonce": 11990,
"method": "makeSnapshot",
"status": "ok",
"fee_wei": "244781857400129674",
"value_q": 0,
"gas_used": 375581,
"gas_price": "651741854354",
"timestamp": "2026-06-08T06:00:41.000000Z",
"value_wei": "0",
"confirmations": 2742
}
},
"meta": {
"timestamp": "2026-06-08T09:49:09.787Z",
"request_id": "913022c7-d29b-45dc-b794-c1056802783d"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}