Skip to main content

sdk.erc20base.mint

Home > @openformat/sdk > ERC20Base > mint

ERC20Base.mint() method

Mint new ERC20 tokens and sends them to a specified address.

mint

Signature:

mint(params: ERC20MintParams): Promise<ContractReceipt>;

Parameters

ParameterTypeDescription
paramsERC20MintParams

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.