Skip to main content
Version: 1.0
Endpoints Summary
GET Multi-asset mint events attached to a transaction

GET Multi-asset mint events attached to a transaction

Returns the details of a multi-asset mint event attached to a transaction given its hash.

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

🎰 Parameters

NameDescriptionInTypeRequired
transaction_hashThe transaction hash.pathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const assetmints = await CBI.core.transactions.assetmints_({ transaction_hash: "5f6f72b00ae982492823fb541153e6c2afc9cb7231687f2a5d82a994f61764a0" });
console.log(assetmints);

💌 Response Codes

OK: Successful request.

[
{
"quantity": 1,
"policy_hex": "80c613ceadc1aa49422925bfc962b2519a6ae1bf6e2f8ec749df5ed8",
"name": "TheGreatGatsby835",
"fingerprint": "asset13kkqusmscnwycv5uxktkhy9t0vpah0mzz09szf"
},
"...",
{
"quantity": 1,
"policy_hex": "80c613ceadc1aa49422925bfc962b2519a6ae1bf6e2f8ec749df5ed8",
"name": "TheGreatGatsby164",
"fingerprint": "asset1zrvganzsyd0fvw7ts7ja9l63c87he04u7g3aq6"
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
quantitynumber(double)The amount of the Multi Asset to mint (can be negative to "burn" assets).
policy_hexstringThe hexadecimal encoding of the MultiAsset policy hash.
namestringThe MultiAsset name.
fingerprintstringThe CIP14 fingerprint for the MultiAsset.