Pool Blocks
GET /v1/pools/:poolId/blocks
Get block production statistics for a pool including total blocks minted and blocks in the current epoch.
Parameters:
| Parameter | Type | Description |
|---|---|---|
poolId | string | The pool ID (bech32 pool1... or 56 hex characters) |
Example Request:
bash
curl -X GET "https://api.fireblocks.partners.iagon.com/v1/pools/pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc/blocks" \
-H "Authorization: Bearer YOUR_API_KEY"Response:
Content-Type: application/json;charset=utf-8
json
{
"success": true,
"data": {
"pool_id": "pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc",
"blocks_minted": 8547,
"blocks_epoch": 42,
"current_epoch": 520
}
}Response Fields:
| Field | Type | Description |
|---|---|---|
pool_id | string | The bech32 pool ID |
blocks_minted | integer | Total blocks ever minted by this pool |
blocks_epoch | integer | Blocks minted in the current epoch |
current_epoch | integer | The current epoch number |
