canClaim

Check if a user can claim a drop.

Example

const claimResult = await canClaim({
contract: contract,
claimer: "0x1234567890123456789012345678901234567890",
quantity: "1",
tokenId: 0n,
});
function canClaim(
): Promise<CanClaimResult>;

Parameters

The options for the transaction.

Type

Returns

let returnType: { reason?: string; result: boolean };

Whether the user can claim the drop.