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

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

Get an API key

Code snippets

curl "https://api.oanor.com/edgen-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/edgen-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/edgen-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/edgen-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": "0x57bEBD1b51dF9F221F763a708591c1E72D2379D6",
            "from": "0xd063e10a2Da1aC0471476CD2b3c70755C7933953",
            "hash": "0x5e07f6d6ddad898a3f6b31f907aadf94941623fd391f8ce950544bab2eec5c78",
            "type": 0,
            "block": 6041077,
            "nonce": 35689,
            "method": "storeTree",
            "status": "ok",
            "fee_wei": "186709500000",
            "gas_used": 331928,
            "fee_edgen": 1.867095e-7,
            "gas_price": "562500",
            "timestamp": "2026-06-08T02:10:00.000000Z",
            "value_wei": "0",
            "value_edgen": 0,
            "confirmations": 5159
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:18.735Z",
        "request_id": "a541f468-6b0b-4660-94f7-5fbdd54b7552"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}