Skip to main content
Version: 1.0
Endpoints Summary
GET Move Instantaneous Rewards (MIR) history

GET Move Instantaneous Rewards (MIR) history

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

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

🎰 Parameters

NameDescriptionInTypeRequired
stake_addressBech32 Stake addresspathstringtrue

👨‍💻 Code samples

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

💌 Response Codes

OK: Successful request.

[
{
"epoch_no": 241,
"block_no": 5196857,
"tx_hash_hex": "fabfad0aaa2b52b8304f45edc0350659ad0d73f9d1065d9cd3ef7d5a599ac57d",
"amount": 2000000000000,
"mir_type": "treasury"
},
"...",
{
"epoch_no": 409,
"block_no": 8722618,
"tx_hash_hex": "4b4ca196d524ae3877f772d5f0871e76aeedbf0330d2549178a834158593b299",
"amount": 8931404863383,
"mir_type": "treasury"
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
epoch_nointeger(int64)The epoch number in which the given MIR occured.
block_nointeger(int64)The block number for this MIR.
tx_hash_hexstringThe hexadecimal encoding of the hash identifier of the MIR transaction.
amountinteger(int64)The MIR amount (in Lovelace).
mir_typestringThe source of the MIR payment (treasury or reserve).