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/shimmer-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/shimmer-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/shimmer-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/shimmer-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/shimmer-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": "0x3c2269811836af69497E5F486A85D7316753cf62",
            "from": "0x339d413CCEfD986b1B3647A9cfa9CBbE70A30749",
            "hash": "0xccaf6b649f2c9e54cff00884fde1c18a29f6f99e52e64842f39005b5a4745b00",
            "type": null,
            "block": 7973664,
            "nonce": 1398538,
            "method": "setPrice",
            "status": "ok",
            "fee_smr": 0.027537,
            "fee_wei": "27537000000000000",
            "gas_used": 27537,
            "gas_price": "1000000000000",
            "timestamp": "2026-06-08T06:07:40.000000Z",
            "value_smr": 0,
            "value_wei": "0",
            "confirmations": 108
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:23.606Z",
        "request_id": "ac89634e-8e3b-4e24-b27f-6619520ba03a"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}