/v1/rewards
Block-reward economics over a window of blocks
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/hashrate-api/v1/rewards" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hashrate-api/v1/rewards", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hashrate-api/v1/rewards");
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/hashrate-api/v1/rewards",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Block-reward economics over a recent window of blocks: the total miner reward (subsidy + fees) in BTC, how much of it was transaction fees (total_fees_btc and fee_share_pct — fees matter more as the subsidy shrinks), and the per-block averages. Pass blocks (1-1000, default 144 ≈ one day). Live, cached ~60s.",
"source": "mempool.space public API (v1/mining/reward-stats), keyless",
"end_block": 953408,
"start_block": 953265,
"fee_share_pct": 0.98,
"window_blocks": 144,
"total_fees_btc": 4.46120723,
"total_reward_btc": 454.46120723,
"total_subsidy_btc": 450,
"total_transactions": 609372,
"avg_fees_per_block_btc": 0.03098061,
"avg_reward_per_block_btc": 3.15598061
},
"meta": {
"timestamp": "2026-06-12T19:35:55.836Z",
"request_id": "bf148722-3181-41ee-a2de-bf80c62b7273"
},
"status": "ok",
"message": "Reward stats retrieved successfully",
"success": true
}