Zum Inhalt springen
GET /v1/transaction

A transaction's value, fee, counts and confirmations

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "txid": "fb2954284eb9f71d03d2666a11f17482beb8a0552750622aac2c9a248264b6d4",
        "source": "Ravencoin (Blockbook)",
        "fee_rvn": 0,
        "value_rvn": 1250,
        "block_time": "2026-06-09T23:59:55.000Z",
        "size_bytes": 198,
        "input_count": 1,
        "block_height": 4404000,
        "output_count": 2,
        "value_in_rvn": 0,
        "confirmations": 1364
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:18.531Z",
        "request_id": "b2c69fe1-133f-4733-a3bd-2158279fe0f2"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}