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

GET Account registration history

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

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

🎰 Parameters

NameDescriptionInTypeRequired
stake_addressBech32 Stake addresspathstringtrue

👨‍💻 Code samples

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

💌 Response Codes

OK: Successful request.

[
{
"epoch_no": 289,
"block_no": 6222503,
"tx_hash_hex": "5234f99b194603b2b0b63fff5d60ac9df916190360497d4f189e4ff4dd9130ff",
"state": "registered"
},
"...",
{
"epoch_no": 289,
"block_no": 6222503,
"tx_hash_hex": "5234f99b194603b2b0b63fff5d60ac9df916190360497d4f189e4ff4dd9130ff",
"state": "registered"
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
epoch_nointeger(int64)The epoch number in which the given registration event occured.
block_nointeger(int64)The block number for this registration event.
tx_hash_hexstringThe hexadecimal encoding of the hash identifier of the registration transaction.
statestringThe state of the given account following this registration event.