Naar de inhoud
GET /v1/block

A Cadence block by height: id, parent, timestamp, collections

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "id": "a74e6818616deb6baa4f694c6cccb72602125e0c9e96f952ae305b74d9b69b34",
        "note": "A Flow Cadence block: its height, id, parent block, timestamp and the number of collection guarantees (batched transaction sets) and block seals it carries. Omit height for the latest sealed block.",
        "height": 154772077,
        "source": "Flow access API",
        "parent_id": "c085cc2be1ddde7aa823ec78453570f416de8638456dd1e07ced34e6fae46d4a",
        "timestamp": "2026-06-14T09:01:54.368Z",
        "seal_count": null,
        "collection_count": null
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:32.622Z",
        "request_id": "40f7d877-6be2-4a9c-937e-b9b03ab4ef64"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}