Naar de inhoud
GET /v1/transaction

Transaction detail 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/arbitrum-api

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/arbitrum-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arbitrum-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arbitrum-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/arbitrum-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": "0x00000000000000000000000000000000000A4B05",
            "from": "0x00000000000000000000000000000000000A4B05",
            "hash": "0x6d9e6dff49f56c21aec680f677e8d3a1dd76edeb9b0609a9512ed4b67334e2ad",
            "type": 106,
            "block": 200000000,
            "nonce": 0,
            "method": "startBlock",
            "status": "ok",
            "fee_eth": 0,
            "fee_wei": "0",
            "gas_used": 0,
            "gas_price": "10000000",
            "timestamp": "2024-04-11T19:09:12.000000Z",
            "value_eth": 0,
            "value_wei": "0",
            "confirmations": 271183161
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:19:01.305Z",
        "request_id": "7cdf4b57-ba7a-4344-bd68-eb07bd1069f5"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}