The token to mint.
The account address of the sender.
The amount(s) of tokens to mint.
The signer responsible for signing the transaction.
Optional
metadata: TokenUpdateMetadataOptional
[opts={: SupplyUpdateOptions = {}autoScale: true, validate: false }] - Options for supply update operations.
Generated using TypeDoc
Mints a specified amount of tokens.
Returns
A promise that resolves to the transaction hash.
Throws
If
opts.validate
and the token amount is not compatible with the token.Throws
If
opts.validate
and the token is paused.Throws
If
opts.validate
and the token is not mintable.