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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/manta-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/manta-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/manta-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/manta-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": "0x139A491B8c129Ee0AC61B04c90adBfA236c24d85",
            "from": "0x587e081c7Aba5FDc3BccEc02B4836BFB38248105",
            "hash": "0x85e4f613c25d56ddb0ef6ff9fc1cfd12357f12a34e66240ccd936c0721869651",
            "type": 0,
            "block": 8666420,
            "nonce": 501468,
            "method": "0x92acb21c",
            "status": "ok",
            "fee_eth": 2.7061687682414e-5,
            "fee_wei": "27061687682414",
            "gas_used": 110743,
            "gas_price": "244255534",
            "timestamp": "2026-06-08T03:09:19.000000Z",
            "value_eth": 0,
            "value_wei": "0",
            "confirmations": 2409
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:47.028Z",
        "request_id": "98b0ebba-a0d3-4fa5-bb9c-a9e6c10a7454"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}