Zum Inhalt springen
GET /v1/transaction

A transaction by hash

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/forma-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "transaction": {
            "to": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
            "from": "0x7Ab14e7C0581cDA8B3168dD4A9058D49f2AFD027",
            "hash": "0x683c260d8d67b14da3b0e71cf0620470cccd5124d87ef188cd7c69acc7d25447",
            "type": 0,
            "block": 28400682,
            "nonce": 112468,
            "method": null,
            "status": "ok",
            "fee_tia": 0.000475281200021752,
            "fee_wei": "475281200021752",
            "gas_used": 21752,
            "gas_price": "21850000001",
            "timestamp": "2026-06-08T07:05:46.000000Z",
            "value_tia": 0,
            "value_wei": "0",
            "confirmations": 4643
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:48:58.925Z",
        "request_id": "9093cf20-cae4-46b4-a0e8-6a7e874d2253"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}