Skip to main content
Version: 1.0
Endpoints Summary
GET All pool key hash
GET All pool key hash OData

GET All pool key hash

Returns every unique pool key hash.

GET /api/core/pools/hashes

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const hashes = await CBI.core.pools.hashes_();
console.log(hashes);

💌 Response Codes

OK: Successful request.

[
{
"id": 1,
"hash_raw": "FTgG280TTd7mmoxSBOOKyARI9iNC+MI8/kt+3w==",
"view": "pool1z5uqdk7dzdxaae5633fqfcu2eqzy3a3rgtuvy087fdld7yws0xt",
"hash_hex": "153806dbcd134ddee69a8c5204e38ac80448f62342f8c23cfe4b7edf"
},
"...",
{
"id": 20,
"hash_raw": "iAVqdFqBve/ZU1nEPnHrUuBMh4UHok6I/zyjwA==",
"view": "pool13qzk5az6sx77lk2nt8zruu0t2tsyepu9q73yaz8l8j3uqxqh9wh",
"hash_hex": "88056a745a81bdefd95359c43e71eb52e04c878507a24e88ff3ca3c0"
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool hash unique identifier.
hash_rawstring(byte)The raw bytes of the pool hash.
viewstringThe Bech32 encoding of the pool hash.
hash_hexstringThe hexadecimal encoding of the pool hash.

GET All pool key hash OData

Returns every unique pool key hash.

GET /api/core/odata/poolshashes

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const poolshashes = await CBI.core.poolshashes_({ "odata": true });
console.log(poolshashes);

💌 Response Codes

OK: Successful request.

{
"@odata.context": "https://cardanobi.io/api/core/odata/$metadata#PoolsHashes",
"value": [
{
"id": 1,
"hash_raw": "FTgG280TTd7mmoxSBOOKyARI9iNC+MI8/kt+3w==",
"view": "pool1z5uqdk7dzdxaae5633fqfcu2eqzy3a3rgtuvy087fdld7yws0xt",
"hash_hex": "153806dbcd134ddee69a8c5204e38ac80448f62342f8c23cfe4b7edf"
},
"...",
{
"id": 20,
"hash_raw": "iAVqdFqBve/ZU1nEPnHrUuBMh4UHok6I/zyjwA==",
"view": "pool13qzk5az6sx77lk2nt8zruu0t2tsyepu9q73yaz8l8j3uqxqh9wh",
"hash_hex": "88056a745a81bdefd95359c43e71eb52e04c878507a24e88ff3ca3c0"
}
],
"@odata.nextLink": "https://cardanobi.io/api/core/odata/poolshashes?$skip=20"
}

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool hash unique identifier.
hash_rawstring(byte)The raw bytes of the pool hash.
viewstringThe Bech32 encoding of the pool hash.
hash_hexstringThe hexadecimal encoding of the pool hash.