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

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

Get an API key

Code snippets

curl "https://api.oanor.com/qblockchain-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/qblockchain-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/qblockchain-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/qblockchain-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": "0x2Bf1bFAc66B97E3611CE46E01Cc24835eE79619e",
            "from": "0x101Bf5CefC653A663311368d68cB79FAFB76A25A",
            "hash": "0xc3a1f38f79fc9c7621bd809ba894bf11daaa64271b95de3606cbb0363cb573e2",
            "type": 0,
            "block": 26515327,
            "fee_q": 0.24478185740012967,
            "nonce": 11990,
            "method": "makeSnapshot",
            "status": "ok",
            "fee_wei": "244781857400129674",
            "value_q": 0,
            "gas_used": 375581,
            "gas_price": "651741854354",
            "timestamp": "2026-06-08T06:00:41.000000Z",
            "value_wei": "0",
            "confirmations": 2742
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:09.787Z",
        "request_id": "913022c7-d29b-45dc-b794-c1056802783d"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}