Skip to main content

Erc20Mintable class

Mint ERC20 Tokens

Example

const contract = await sdk.getContract("{{contract_address}}");
await contract.nft.mint.to(walletAddress, nftMetadata);

Constructors

ConstructorModifiersDescription
(constructor)(erc20, contractWrapper)Constructs a new instance of the Erc20Mintable class

Properties

PropertyModifiersTypeDescription
batchErc20BatchMintable | undefinedBatch mint Tokens to many addresses
featureName"ERC20Mintable"

Methods

MethodModifiersDescription
getMintTransaction(to, amount)
to(to, amount)Mint Tokens

Signature:

export declare class Erc20Mintable implements DetectableFeature

Implements: DetectableFeature

Remarks

Token minting functionality that handles unit parsing for you.