Skip to main content

Erc721Claimable.getClaimTransaction() method

Construct a claim transaction without executing it. This is useful for estimating the gas cost of a claim transaction, overriding transaction options and having fine grained control over the transaction execution.

Signature:

getClaimTransaction(destinationAddress: string, quantity: BigNumberish, checkERC20Allowance?: boolean, // TODO split up allowance checks
claimData?: ClaimVerification): Promise<TransactionTask>;

Parameters

ParameterTypeDescription
destinationAddressstring
quantityBigNumberish
checkERC20Allowanceboolean(Optional)
claimDataClaimVerification(Optional)

Returns:

Promise<TransactionTask>