Zum Inhalt springen
GET /v1/receipt

Execution receipt by hash

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "to": "0x0000000aa232009084bd71a5797d089aa4edfad4",
        "from": "0x5875db54cd9ae2b2a875e09bb731772297ae9d92",
        "hash": "0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e",
        "chain": "ethereum",
        "status": "success",
        "fee_eth": "0.000020601216979068",
        "explorer": "https://etherscan.io/tx/0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e",
        "gas_used": 155094,
        "logs_count": 5,
        "block_number": 25277272,
        "contract_created": null,
        "effective_gas_price_gwei": 0.133
    },
    "meta": {
        "timestamp": "2026-06-09T11:39:53.550Z",
        "request_id": "06b4a3c0-2e19-4203-bc8a-c98fd7f84206"
    },
    "status": "ok",
    "message": "Receipt retrieved successfully",
    "success": true
}