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

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/electroneum-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/electroneum-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/electroneum-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/electroneum-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": "0x7CB0C78C4FBc4de54544ebd101FAAC4771DEdC70",
            "from": "0x720A1c84cf8D6F0b55202C8A650382785655aa06",
            "hash": "0x9d337a3899d3421b22d96726530aa0ea8a6c85a0806bf097175efc418fc96878",
            "type": 2,
            "block": 14158506,
            "nonce": 430,
            "method": null,
            "status": "ok",
            "fee_etn": 2.1000000147e-5,
            "fee_wei": "21000000147000",
            "gas_used": 21000,
            "gas_price": "1000000007",
            "timestamp": "2026-06-08T06:25:29.000000Z",
            "value_etn": 9.11982236211444,
            "value_wei": "9119822362114439922",
            "confirmations": 2446
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:18.880Z",
        "request_id": "d2f768e2-942d-423a-bae1-0eb8231eb06d"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}