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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/iotaevm-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/iotaevm-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/iotaevm-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/iotaevm-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": "0x2FA6DbFe4291136Cf272E1A3294362b6651e8517",
            "from": "0x1241f44BFA102ab7386C784959BAe3D0fB923734",
            "hash": "0x8388cb1429c1092e3a0ba5db0e101da9fa12c2bca2b4ef9a78b89ce0b326bbee",
            "type": null,
            "block": 12114088,
            "nonce": 890584,
            "method": "verifyOracleProofV2",
            "status": "ok",
            "fee_wei": "9314050000000000",
            "fee_iota": 0.00931405,
            "gas_used": 931405,
            "gas_price": "10000000000",
            "timestamp": "2026-06-08T06:46:47.000000Z",
            "value_wei": "0",
            "value_iota": 0,
            "confirmations": 1161
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:07.948Z",
        "request_id": "44c790ce-4fe3-48fe-b651-eac5221451c2"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}