Ir al contenido
GET /v1/transaction

Transaction detail 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/ethereum-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/ethereum-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ethereum-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ethereum-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/ethereum-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": "0x6b75d8AF000000e20B7a7DDf000Ba900b4009A80",
            "from": "0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13",
            "hash": "0xbb4b3fc2b746877dce70862850602f1d19bd890ab4db47e6b7ee1da1fe578a0d",
            "type": 2,
            "block": 20000000,
            "nonce": 2756766,
            "method": "0x091a4fc4",
            "status": "ok",
            "fee_eth": 0.001584659750723964,
            "fee_wei": "1584659750723964",
            "gas_used": 320979,
            "gas_price": "4936957716",
            "timestamp": "2024-06-01T22:36:47.000000Z",
            "value_eth": 1.050180096e-9,
            "value_wei": "1050180096",
            "confirmations": 5269361
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:19:53.725Z",
        "request_id": "cc419713-333e-4aea-b9f2-af21d6134e63"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}