Skip to main content
Version: 1.0
Endpoints Summary
GET One account by stake address

GET One account by stake address

Returns on-chain information about an account given its stake address.

GET /api/core/accounts/{stake_address}

🎰 Parameters

NameDescriptionInTypeRequired
stake_addressBech32 Stake addresspathstringtrue

👨‍💻 Code samples

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

💌 Response Codes

OK: Successful request.

{
"stake_address": "stake1u8a9qstrmj4rvc3k5z8fems7f0j2vztz8det2klgakhfc8ce79fma",
"is_registered": true,
"last_reg_dereg_tx": "5234f99b194603b2b0b63fff5d60ac9df916190360497d4f189e4ff4dd9130ff",
"last_reg_dereg_epoch_no": 289,
"pool_id": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc",
"last_deleg_tx": "004ac881d9fd1a6748a72547e82e89beb074e96c3a76670c5a11b494d9260f31",
"delegated_since_epoch_no": 472,
"total_balance": 134346239760,
"controlled_stakes": 92101860445,
"total_rewards": 42244379315,
"total_withdrawals": 0,
"available_rewards": 42244379315
}

💌 Response Schemas

Status Code 200

NameTypeDescription
stake_addressstringThe Bech32 encoded version of the account's stake address
is_registeredbooleanBoolean flag indicating if the account is registered (true) or deregistered (false) on-chain.
last_reg_dereg_txstringThe hexadecimal encoding of the hash identifier of the last registration/deregistration transaction for this account.
last_reg_dereg_epoch_nonumber(double)Epoch number when the account was last registered/deregistered.
pool_idstringThe Bech32 encoding of the pool hash this account is delegated to.
last_deleg_txstringThe hexadecimal encoding of the hash identifier of the last delegation transaction for this account.
delegated_since_epoch_nonumber(double)Epoch number when the current delegation became active for this account.
total_balancenumber(double)The total ADA balance of this account, e.g. controlled stakes + available rewards.
controlled_stakesnumber(double)The total ADA stakes controlled by this account.
total_rewardsnumber(double)The total historical ADA rewards earned by this account.
total_withdrawalsnumber(double)The total historical ADA rewards withdrew from this account.
available_rewardsnumber(double)The available ADA rewards for this account.