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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/telos-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/telos-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/telos-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/telos-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": "0xf774801c9f1b11e70966CE65EC7f95d7730F380d",
            "from": "0x681636784F1E2e119a86B0ddD089f4D6f49FeB41",
            "hash": "0xee27195cd9636a15c485ae05c5c17bfe513a8f6b8678d37841c118c576d5abe1",
            "type": 0,
            "block": 471764058,
            "nonce": 311789,
            "method": "setValue",
            "status": "ok",
            "fee_wei": "195824301595837504",
            "fee_tlos": 0.1958243015958375,
            "gas_used": 33892,
            "gas_price": "5777891584912",
            "timestamp": "2026-06-08T04:44:07.000000Z",
            "value_wei": "0",
            "value_tlos": 0,
            "confirmations": 36697
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:55.817Z",
        "request_id": "abae5a08-3887-4cd9-a96a-68bc7ca6a1bd"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}