Skip to main content
Version: 1.0
Endpoints Summary
GET Account staking history

GET Account staking history

Returns the staking history of one account given its stake address.

GET /api/core/accounts/{stake_address}/staking

🎰 Parameters

NameDescriptionInTypeRequired
stake_addressBech32 Stake addresspathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const staking = await CBI.core.accounts.staking_({ stake_address: "stake1u8a9qstrmj4rvc3k5z8fems7f0j2vztz8det2klgakhfc8ce79fma" });
console.log(staking);

💌 Response Codes

OK: Successful request.

[
{
"epoch_no": 291,
"amount": 10003622270,
"pool_id": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc"
},
"...",
{
"epoch_no": 390,
"amount": 18516404522,
"pool_id": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc"
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
epoch_nointeger(int32)The epoch number in which the given stake was active.
amountinteger(int64)undefined
pool_idstringThe Bech32 encoding of the pool being delegated to.