Skip to content

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:

ParameterTypeDescription
poolIdstringThe 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
  }
}

Content-Type: application/json;charset=utf-8

json
{
  "success": false,
  "error": "Pool not found"
}

Content-Type: application/json;charset=utf-8

json
{
  "success": false,
  "error": "Invalid pool ID format (expected pool1... or 56 hex chars)"
}

Response Fields:

FieldTypeDescription
pool_idstringThe bech32 pool ID
blocks_mintedintegerTotal blocks ever minted by this pool
blocks_epochintegerBlocks minted in the current epoch
current_epochintegerThe current epoch number