The Honeycomb instance.
The arguments for creating the "Mint Currency" operation.
An object containing the "Mint Currency" operation.
const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance
const currency = ...; // HplCurrency instance
const holderAccount = ...; // HplHolderAccount instance
const amount = 100; // Amount to mint
// Create a "Mint Currency" operation for the holder account and amount
const operationArgs: CreateMintCurrencyOperationArgs = {
holderAccount,
amount,
};
const { operation } = await createMintCurrencyOperation(honeycomb, operationArgs);
operation.send();
Generated using TypeDoc
Creates a "Mint Currency" operation to mint new currency tokens and add them to the specified holder account.