Naar de inhoud
GET /v1/stacking

Live Proof-of-Transfer stacking state and reward cycle

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "source": "Stacks",
        "next_cycle": {
            "id": 137,
            "stacked_stx": 115932029.96357,
            "min_threshold_stx": 120000,
            "blocks_until_start": 639
        },
        "stacked_stx": 504262340.623865,
        "is_pox_active": true,
        "current_cycle_id": 136,
        "min_threshold_stx": 130000,
        "stacked_ratio_pct": 27.28,
        "reward_cycle_length": 2100,
        "total_liquid_supply_stx": 1848441120.01581
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:26.087Z",
        "request_id": "64daacb6-3fad-4451-b671-253992e07196"
    },
    "status": "ok",
    "message": "Stacking state retrieved successfully",
    "success": true
}