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
Name | Description | In | Type | Required |
---|---|---|---|---|
transaction_hash | The transaction hash. | path | string | true |
👨💻 Code samples
- Node.js
- Python
- Rust
const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' });
const assetmints = await CBI.core.transactions.assetmints_({ transaction_hash: "5f6f72b00ae982492823fb541153e6c2afc9cb7231687f2a5d82a994f61764a0" });
console.log(assetmints);
CBI = CardanoBI(apiKey='YOUR-KEY', apiSecret='YOUR-SECRET' });
assetmints = await CBI.core.transactions.assetmints_(transaction_hash='5f6f72b00ae982492823fb541153e6c2afc9cb7231687f2a5d82a994f61764a0');
print(assetmints);
let CBI = CardanoBI::new(Some("YOUR-KEY"), Some("YOUR-SECRET")).await.expect("Failed to initialize CardanoBI");
let assets_assetmints = CBI.core.transactions.assetmints_(Some("5f6f72b00ae982492823fb541153e6c2afc9cb7231687f2a5d82a994f61764a0"), HashMap::new()).await.expect("Failed to call endpoint");
println!("assets_assetmints: {:?}", assets_assetmints);
💌 Response Codes
- 200
- 400
- 401
- 402
- 403
- 404
- 429
OK: Successful request.
[
{
"quantity": 1,
"policy_hex": "80c613ceadc1aa49422925bfc962b2519a6ae1bf6e2f8ec749df5ed8",
"name": "TheGreatGatsby835",
"fingerprint": "asset13kkqusmscnwycv5uxktkhy9t0vpah0mzz09szf"
},
"...",
{
"quantity": 1,
"policy_hex": "80c613ceadc1aa49422925bfc962b2519a6ae1bf6e2f8ec749df5ed8",
"name": "TheGreatGatsby164",
"fingerprint": "asset1zrvganzsyd0fvw7ts7ja9l63c87he04u7g3aq6"
}
]
Bad Request: The request was unacceptable, often due to missing a required parameter.
Response schema is undefined.
Unauthorized: No valid API key provided.
Response schema is undefined.
Quota Exceeded: This API key has reached its usage limit on request.
Response schema is undefined.
Access Denied: The request is missing a valid API key or token.
Response schema is undefined.
Not Found: The requested resource cannot be found.
Response schema is undefined.
Too Many Requests: This API key has reached its rate limit.
Response schema is undefined.
💌 Response Schemas
- 200
- 400
- 401
- 402
- 403
- 404
- 429
Status Code 200
Name | Type | Description |
---|---|---|
quantity | number(double) | The amount of the Multi Asset to mint (can be negative to "burn" assets). |
policy_hex | string | The hexadecimal encoding of the MultiAsset policy hash. |
name | string | The MultiAsset name. |
fingerprint | string | The CIP14 fingerprint for the MultiAsset. |
Status Code 400
Name | Type | Description |
---|
Response schema is undefined.
Status Code 401
Name | Type | Description |
---|
Response schema is undefined.
Status Code 402
Name | Type | Description |
---|
Response schema is undefined.
Status Code 403
Name | Type | Description |
---|
Response schema is undefined.
Status Code 404
Name | Type | Description |
---|
Response schema is undefined.
Status Code 429
Name | Type | Description |
---|
Response schema is undefined.