Skip to main content
Version: 1.0
Endpoints Summary
GET All pools statistics per epoch

GET All pools statistics per epoch

Pools activity statistics per epoch number.

GET /api/bi/pools/stats/epochs/{epoch_no}

🎰 Parameters

NameDescriptionInTypeRequired
epoch_noEpoch number.pathintegertrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const stats_epochs = await CBI.bi.pools.stats.epochs_({ epoch_no: 394 });
console.log(stats_epochs);

💌 Response Codes

OK: Successful request.

[
{
"epoch_no": 394,
"pool_hash": "pool100wj94uzf54vup2hdzk0afng4dhjaqggt7j434mtgm8v2gfvfgp",
"tx_count": 0,
"block_count": 0,
"delegator_count": 1,
"delegated_stakes": 0
},
"...",
{
"epoch_no": 394,
"pool_hash": "pool1tn49xn2jpq62uwff9lt8d25kfzhu3nzjkkytq8pc062n6c7h6tg",
"tx_count": 0,
"block_count": 0,
"delegator_count": 1,
"delegated_stakes": 0
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
epoch_nointeger(int32)The epoch number.
pool_hashstringThe Bech32 encoding of the pool hash.
tx_countinteger(int64)The transaction count.
block_countinteger(int64)The block count.
delegator_countinteger(int64)The delegator count.
delegated_stakesinteger(int64)The delegated stake for the given epoch and given pool (active stake).