Function useClaimIneligibilityReasons

  • Beta

    Get the reasons why a specific wallet can't claim

    Parameters

    • contract: RequiredParam<DropContract>

      an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the claimConditions extension.

    • params: ClaimIneligibilityParams
    • Optional tokenId: BigNumberish

      the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

    Returns UseQueryResult<ClaimEligibility[], unknown>

    a response object with the reasons for the claim ineligibility

    Example

    const { data: claimIneligibilityReasons, isLoading, error } = useClaimIneligibilityReasons(contract, { walletAddress: "{{wallet_address}}" });
    

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    See

    Documentation

Generated using TypeDoc