Naar de inhoud
GET /v1/transaction

A transaction's value, fee, counts and InstantSend lock

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/dash-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "txid": "d6e93e038404cb0572ef3313828992e5a50d8360e671ed6e5765368175ab081b",
        "source": "Dash (Insight)",
        "fee_dash": 0,
        "block_time": "2026-06-10T09:14:57.000Z",
        "size_bytes": 1096,
        "input_count": 6,
        "is_coinbase": false,
        "block_height": 2486000,
        "output_count": 6,
        "confirmations": 317,
        "value_in_dash": 60.0006,
        "value_out_dash": 60.0006,
        "instantsend_locked": true
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:20.409Z",
        "request_id": "59ed0d71-7b99-4286-90cb-15b13e06c558"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}