Skip to main content

ClaimNFTParams type

This feature is currently in beta and may change based on feedback that we receive.

The params for the useClaimNFT() hook mutation.

Signature:

export declare type ClaimNFTParams<TContract extends DropContract> =
TContract extends Erc1155
? {
to: WalletAddress;
tokenId: BigNumberish;
quantity: BigNumberish;
checkERC20Allowance?: boolean;
}
: {
to: WalletAddress;
quantity: BigNumberish;
checkERC20Allowance?: boolean;
};

References: DropContract, WalletAddress