Skip to content
GET /v1/transaction

A transaction by hash

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/etc-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/etc-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/etc-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/etc-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/etc-api/v1/transaction",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "transaction": {
            "to": "0x3C08ec00E609529428dB774566808586e33Be43c",
            "from": "0xFe326Df1D28B32833BB415e46a3cD12AB885Ab99",
            "hash": "0x58430ed07254750bba95eeba91de0b74a13720d559cefdc3246bb239bcd854e8",
            "type": 0,
            "block": 24714836,
            "nonce": 185,
            "method": null,
            "status": "ok",
            "fee_eth": 0.0006531,
            "fee_wei": "653100000000000",
            "gas_used": 21000,
            "gas_price": "31100000000",
            "timestamp": "2026-06-08T00:46:56.000000Z",
            "value_eth": 2.048221714,
            "value_wei": "2048221714000000000",
            "confirmations": 125
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:17.189Z",
        "request_id": "cfadea4c-2e0c-48fe-9fb7-d0e0941a2a83"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}