Naar de inhoud
GET /v1/blocks

Latest blocks

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x2147c92e3054bf408071050e6424aa802c0569c2f4a20ed15d0790e19f7e61a4",
                "size": 537,
                "miner": "0x995c0Eaa5f06bd58a4361D7AC0a103497F102d3e",
                "height": 935266,
                "reward": "10550000000000000000",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 16000000,
                "timestamp": "2026-06-08T09:47:36.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x2e936dcf8b24f66088b2abb034614f7b9ccd169009acad652c46be904f58c21f",
                "size": 537,
                "miner": "0x2d10d05e64b491748aFC995307AEB294F7c20284",
                "height": 935265,
                "reward": "10550000000000000000",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 16000000,
                "timestamp": "2026-06-08T09:43:49.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x92acf8e6582479107b58e0d906136b30c8c46972dbd85a1b724f70ee49fcbdd0",
                "size": 537,
                "miner": "0x4687aFe2944f750ab4D5133deD6E72a830F4D9E5",
                "height": 935264,
                "reward": "10550000000000000000",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 16000000,
                "timestamp": "2026-06-08T09:41:45.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x4534ee474c6384f6453d250969c61a58bac1e7e90d8706767d2421c23fb87c32",
                "size": 537,
                "miner": "0x2d10d05e64b491748aFC995307AEB294F7c20284",
                "height": 935263,
                "reward": "10550000000000000000",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 16000000,
                "timestamp": "2026-06-08T09:41:18.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xc8c8c8ca0c81e3b766bf2b524a613b83b37e26c0f678975c90d4072851e028c2",
                "size": 537,
                "miner": "0xD2708979F9f92d3E282Ed9fD35fA2A19BEC23B14",
                "height": 935262,
                "reward": "10550000000000000000",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 16000000,
                "timestamp": "2026-06-08T09:34:58.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xc4885734d0f0
…