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

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

Get an API key

Code snippets

curl "https://api.oanor.com/ink-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ink-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ink-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/ink-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": "0x4200000000000000000000000000000000000015",
            "from": "0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001",
            "hash": "0x30dd33a6837a4e60a78d5c5329539548ef1b8d6d3975b18998d4602c7e9077ae",
            "type": 126,
            "block": 47382965,
            "nonce": 47382966,
            "method": "setL1BlockValuesJovian",
            "status": "ok",
            "fee_eth": 0,
            "fee_wei": "0",
            "gas_used": 57418,
            "gas_price": "0",
            "timestamp": "2026-06-08T01:16:16.000000Z",
            "value_eth": 0,
            "value_wei": "0",
            "confirmations": 30937
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:51:59.949Z",
        "request_id": "f40aae4b-1dc8-48bf-8845-a59a1aa5980c"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}