diff --git a/docs/typescript/interacting-with-contracts/extensions/erc20/erc20claimconditions.mdx b/docs/typescript/interacting-with-contracts/extensions/erc20/erc20claimconditions.mdx index 601172926..b2d8bdfe5 100644 --- a/docs/typescript/interacting-with-contracts/extensions/erc20/erc20claimconditions.mdx +++ b/docs/typescript/interacting-with-contracts/extensions/erc20/erc20claimconditions.mdx @@ -258,7 +258,7 @@ Returns an array of `ClaimCondition` objects. Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any. ```javascript -const reasons = await contract.erc20.getClaimIneligibilityReasons( +const reasons = await contract.erc20.claimConditions.getClaimIneligibilityReasons( "{{quantity}}", // Quantity of tokens to claim "{{wallet_address}}", // Wallet address to check ); diff --git a/docs/typescript/interacting-with-contracts/prebuilt-contracts/token-drop.mdx b/docs/typescript/interacting-with-contracts/prebuilt-contracts/token-drop.mdx index 36238dbaf..3a8d26b44 100644 --- a/docs/typescript/interacting-with-contracts/prebuilt-contracts/token-drop.mdx +++ b/docs/typescript/interacting-with-contracts/prebuilt-contracts/token-drop.mdx @@ -672,7 +672,7 @@ An object containing role names as keys and an array of wallet addresses as the Get an array of reasons why a specific wallet address is not eligible to claim tokens, if any. ```javascript -const reasons = await contract.erc20.getClaimIneligibilityReasons( +const reasons = await contract.erc20.claimConditions.getClaimIneligibilityReasons( "{{quantity}}", // Quantity of tokens to claim "{{wallet_address}}", // Wallet address to check );