/v1/block
The best (tip) block: state hash, height, producer, total MINA supply
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/mina-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mina-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mina-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/mina-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "The best (tip) Mina block: its state hash, height, consensus epoch, the block producer who created it and the total MINA supply at this block. Mina keeps the whole chain provable in a constant ~22 KB.",
"epoch": 49,
"source": "Mina GraphQL",
"state_hash": "3NKNa52LsTQiMb7eXPge1moSZQf1wVFcgDnDEC6AVybyrkNZkJBY",
"block_height": 532834,
"timestamp_ms": 1781456580000,
"block_producer": "B62qmM9KDeqvu3TVpQStGJARgg7KppxE8UF3xMdtKV9TDc33kSUGug5",
"total_supply_mina": 1290124448.8400393,
"slot_since_genesis": 919541
},
"meta": {
"timestamp": "2026-06-14T17:04:32.100Z",
"request_id": "8c8d274e-f804-4ca7-b46c-ae7d4bfb8770"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}