Erc20Mintable class
Mint ERC20 Tokens
Example
const contract = await sdk.getContract("{{contract_address}}");
await contract.nft.mint.to(walletAddress, nftMetadata);
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(erc20, contractWrapper) | Constructs a new instance of the Erc20Mintable class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| batch | Erc20BatchMintable | undefined | Batch mint Tokens to many addresses | |
| featureName | "ERC20Mintable" |
Methods
| Method | Modifiers | Description |
|---|---|---|
| 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.