EditionDrop.claim() method
Claim a token to the connected wallet
Signature:
claim(tokenId: BigNumberish, quantity: BigNumberish, checkERC20Allowance?: boolean): Promise<TransactionResult>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| tokenId | BigNumberish | Id of the token you want to claim |
| quantity | BigNumberish | Quantity of the tokens you want to claim |
| checkERC20Allowance | boolean | (Optional) Optional, check if the wallet has enough ERC20 allowance to claim the tokens, and if not, approve the transfer |
Returns:
Promise<TransactionResult>
- Receipt for the transaction