Skip to main content
Version: 1.0
Endpoints Summary
GET Transactions for treasury payments to a stake address
GET Transactions for reserves payments to a stake address

GET Transactions for treasury payments to a stake address

Returns details of a transaction used for payments between the treasury and a stake address.

GET /api/core/transactions/{transaction_hash}/treasury

🎰 Parameters

NameDescriptionInTypeRequired
transaction_hashThe transaction hash.pathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const treasury = await CBI.core.transactions.treasury_({ transaction_hash: "0bc50b20e16268419048790f6ae3667a1480418dd9faed543bc0e8ca32ea7a08" });
console.log(treasury);

💌 Response Codes

OK: Successful request.

[
{
"cert_index": 0,
"stake_address": "stake1uyzvysc3exwp2s9dqvq2zrmmpgc3dejc7p8ygleh9dhh77c80lhm0",
"amount": 1559093
},
"...",
{
"cert_index": 0,
"stake_address": "stake1uyzz8fzxw6yq5l38fez3rlvk0jnd6893yvvte77x3apgjtqjtyn3z",
"amount": 7023183365
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
cert_indexinteger(int32)The index of this payment certificate within the certificates of this transaction.
stake_addressstringThe Bech32 encoded version of the stake address.
amountnumber(double)The treasury payment amount (in Lovelace).

GET Transactions for reserves payments to a stake address

Returns details of a transaction used for payments between the reserves and a stake address.

GET /api/core/transactions/{transaction_hash}/reserves

🎰 Parameters

NameDescriptionInTypeRequired
transaction_hashThe transaction hash.pathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const reserves = await CBI.core.transactions.reserves_({ transaction_hash: "27dff3f43c460e779e35eff505f5f159c4283a8221b31ee17cdcd5b31ad221ba" });
console.log(reserves);

💌 Response Codes

OK: Successful request.

[
{
"cert_index": 0,
"stake_address": "stake1uyzpdslj7kensytepnw099696nuccjwm89xz0jrfxjrp8wqhdd2us",
"amount": 223803
},
"...",
{
"cert_index": 0,
"stake_address": "stake1ux27egwsda2rk5zz7uk9qgmjlsr26yak6epfgtqezavzafcxj3hwu",
"amount": 110865360098
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
cert_indexinteger(int32)The index of this payment certificate within the certificates of this transaction.
stake_addressstringThe Bech32 encoded version of the stake address.
amountnumber(double)The treasury payment amount (in Lovelace).