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

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

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

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

{
    "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
}