sdk.constellation.mint
Home > @openformat/sdk > Constellation > mint
Constellation.mint() method
Mint new ERC20 tokens and sends them to a specified address.
mint
Signature:
mint(params: ERC20MintParams): Promise<ContractReceipt>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| params | ERC20MintParams |
Returns:
Promise<ContractReceipt>
{Promise<ContractReceipt>} - The receipt of the transaction.
Exceptions
Will throw an error if there was a problem processing the transaction, or if the parameters are invalid.