Burn assets.
Parameters for burning
Parameters accepted by IAssetManager.burn.
Amount of asset to burn
Existing asset ID, made up of genesis (Arkade) transaction ID and zero-based asset group index
Promise resolving to the Arkade transaction ID
Fetch metadata and supply data for an asset.
Asset identifier
Asset details
Issue a new asset.
Parameters for asset issuance
Parameters accepted by IAssetManager.issue.
Initial amount of asset to issue
OptionalcontrolAssetId?: stringOptional control asset ID that can be used for future reissuance
Optionalmetadata?: AssetMetadataImmutable asset metadata including ticker, decimals, icon
Promise resolving to the Arkade transaction ID and asset ID
// Issue a simple non-reissuable asset
const result = await wallet.assetManager.issue({ amount: 1000 });
console.log('Asset ID:', result.assetId);
// Issue a reissuable asset with an existing control asset
const result = await wallet.assetManager.issue({
amount: 1000,
controlAssetId: 'existingControlAssetId'
});
console.log('Asset ID:', result.assetId);
Reissue more units of an existing asset. Requires ownership of the control asset.
Parameters for asset reissuance
Parameters accepted by IAssetManager.reissue.
Amount of asset to issue
Existing asset ID, made up of genesis (Arkade) transaction ID and zero-based asset group index
Promise resolving to the Arkade transaction ID
Asset manager interface for asset operations that require wallet identity.
See
IReadonlyAssetManager