/v1/block
Block detail by height or hash
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bittensor-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bittensor-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bittensor-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/bittensor-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"block": {
"hash": "0xd214af49f259eddbbb8b41f3978c42c9e845594c78035c90d4d95cbee66761d7",
"size": 2704,
"miner": "0x1961dF4706Dd7ad10693CfcC9a8F9d07047c3357",
"height": 8362241,
"gas_used": 262824,
"tx_count": 6,
"gas_limit": 75000000,
"timestamp": "2026-06-08T13:28:48.000000Z",
"burnt_fees": "2628240000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
}
},
"meta": {
"timestamp": "2026-06-08T18:25:22.255Z",
"request_id": "05df5e95-8a84-4cfc-afd9-c9583bcd4153"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}