/v1/block
A block details by height, hash or latest
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/dogecoin-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dogecoin-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dogecoin-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/dogecoin-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": {
"bits": 436276198,
"hash": "5ae6eadfe5fd98fa7f388b671c4863db4b62e46eecc054465a276d419500e469",
"size": 749130,
"depth": 1243022,
"nonce": 0,
"height": 5000000,
"source": "Dogecoin",
"version": 6422788,
"tx_count": 2749,
"fees_doge": 297.68408048,
"timestamp": "2023-12-10T06:03:55Z",
"total_doge": 32094740.79997102,
"merkle_root": "917dc6a9ef164e30a33c71bead0b64db1f55b9f8591fed8111f5d709389bf80b",
"received_at": "2023-12-10T06:04:05.757Z",
"previous_hash": "9539e9e02de22121e90fdb067fd975e06ff73f3200d6d0aa7e37d17f2151c69c"
},
"meta": {
"timestamp": "2026-06-10T14:01:43.519Z",
"request_id": "3df368d0-1468-4b65-baa9-8f952dbf96b3"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}