Skip to main content
Version: 1.0
Endpoints Summary
GET One pool statistics per epoch

GET One pool statistics per epoch

Pool activity statistics for a given pool per epoch number.

GET /api/bi/pools/{pool_hash}/stats

🎰 Parameters

NameDescriptionInTypeRequired
pool_hashThe Bech32 encoding of a given pool hashpathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const stats = await CBI.bi.pools.stats_({ pool_hash: "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc" });
console.log(stats);

💌 Response Codes

OK: Successful request.

[
{
"epoch_no": 291,
"pool_hash": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc",
"tx_count": 0,
"block_count": 0,
"delegator_count": 1,
"delegated_stakes": 10003622270
},
"...",
{
"epoch_no": 390,
"pool_hash": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc",
"tx_count": 0,
"block_count": 0,
"delegator_count": 17,
"delegated_stakes": 209944176598
}
]

💌 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).