/v1/block
A block by height: hash, timestamp, tx count, reward pool
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/arweave-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arweave-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arweave-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/arweave-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "An Arweave block by height: its independent hash, previous block, timestamp, transaction count, the miner reward pool (in AR) and the weave size. Omit height for the current tip block.",
"miner": "DKx8gTUSInnXbnpaAb_nfvRlYva_Lts7pmDpjTwfRMs",
"height": 1938430,
"source": "Arweave gateway",
"tx_count": 6,
"timestamp": 1781426341,
"block_size": 1572864,
"indep_hash": "WYzszhn4Ve6YN9JSachqUCJmzBniMeE-vFX2XMuLHxUKqNvlbUlB12QLhSYgiHag",
"weave_size": 388289100554486,
"previous_block": "PBJw4xXF37XzO2iUx-acHjh313A0pcTf1ZWG8anFPj3Y9K6vEE2EEBp1iFEAL9Jz",
"reward_pool_ar": 335632.76091313,
"reward_pool_winston": "335632760913125483"
},
"meta": {
"timestamp": "2026-06-14T17:04:34.718Z",
"request_id": "cc86a589-ed83-4d40-ac50-b44a4ced3197"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}