/v1/block
A block by height or hash
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/ravencoin-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ravencoin-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ravencoin-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/ravencoin-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"hash": "0000000000002a2880cef1fd9f00f847fb14f103809672ba17fd620401ecd9e8",
"time": "2026-06-09T23:59:55.000Z",
"nonce": "0",
"height": 4404000,
"source": "Ravencoin (Blockbook)",
"version": 805306368,
"difficulty": 22882.22316938028,
"size_bytes": 319,
"merkle_root": "fb2954284eb9f71d03d2666a11f17482beb8a0552750622aac2c9a248264b6d4",
"confirmations": 1372,
"transaction_count": 1,
"previous_block_hash": "000000000001e5d49ea6f76acb00fcc4a9de06741d6517abcf255a1e2d68bc5b"
},
"meta": {
"timestamp": "2026-06-10T22:58:18.156Z",
"request_id": "5cede15c-b24d-4822-8d42-e51e04954ce1"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}