Ir al contenido
GET /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.

Encabezados personalizados (opcional)
api.oanor.com/unit0-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/unit0-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/unit0-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/unit0-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/unit0-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": "0x0000000000000000000000000000000000006A7e",
            "from": "0xd65cF180721D31346aA4199dD110204287919507",
            "hash": "0x38e4fe718bf2aa360fe49f25167d88d51004bd6ada314ab0e3439af2d93c943a",
            "type": 0,
            "block": 11712242,
            "nonce": 535,
            "method": "sendNative",
            "status": "ok",
            "fee_wei": "1202160",
            "gas_used": 150270,
            "fee_unit0": 1.20216e-12,
            "gas_price": "8",
            "timestamp": "2026-06-08T07:15:03.000000Z",
            "value_wei": "176402231480000000000",
            "value_unit0": 176.40223147999998,
            "confirmations": 4103
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:48:53.344Z",
        "request_id": "23bbf7f4-9e0b-4ea0-aa3f-7e99ea7d3305"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}