Naar de inhoud
GET /v1/transaction

A transaction by hash

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/nexus-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/nexus-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nexus-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nexus-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/nexus-api/v1/transaction",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "transaction": {
            "to": "0x170B9fFaBEF1d782a6358d14d9dC9cC6423BAa67",
            "from": "0x0703412cd0a20A4c03dD25DEa22B637cF6012b08",
            "hash": "0x941f6ed6a0b31b9451e6c644fde3ba10cc609b4b3e4158e788eb541a8c711ca0",
            "type": 0,
            "block": 4323116,
            "nonce": 6,
            "method": "deposit",
            "status": "ok",
            "fee_nex": 3.1701600211344e-5,
            "fee_wei": "31701600211344",
            "gas_used": 26418,
            "gas_price": "1200000008",
            "timestamp": "2026-06-08T03:18:00.000000Z",
            "value_nex": 1,
            "value_wei": "1000000000000000000",
            "confirmations": 22650
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:58.827Z",
        "request_id": "1a45c387-9095-48bb-ad6a-95cc5e4c6f0b"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}