Zum Inhalt springen
GET /v1/tx

Transaction detail by id

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "transaction": {
            "fee": 0,
            "size": 204,
            "txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
            "status": {
                "confirmed": true,
                "block_time": 1231006505,
                "block_height": 0
            },
            "weight": 816,
            "outputs": [
                {
                    "type": "p2pk",
                    "value": 5000000000
                }
            ],
            "version": 1,
            "locktime": 0,
            "total_out": 5000000000,
            "input_count": 1,
            "output_count": 1
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:19:56.158Z",
        "request_id": "bd1be1c2-b441-4cc5-8659-fa9e41c7cb7b"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}