# IClaimableERC721

*thirdweb*

## Methods

### claim

```solidity
function claim(address _receiver, uint256 _quantity) external payable
```

Lets an address claim multiple lazy minted NFTs at once to a recipient. Contract creators should override this function to create custom logic for claiming, for e.g. price collection, allowlist, max quantity, etc.

*The logic in the `verifyClaim` function determines whether the caller is authorized to mint NFTs.*

#### Parameters

| Name       | Type    | Description                       |
| ---------- | ------- | --------------------------------- |
| \_receiver | address | The recipient of the NFT to mint. |
| \_quantity | uint256 | The number of NFTs to mint.       |

### verifyClaim

```solidity
function verifyClaim(address _claimer, uint256 _quantity) external view
```

Override this function to add logic for claim verification, based on conditions such as allowlist, price, max quantity etc.

*Checks a request to claim NFTs against a custom condition.*

#### Parameters

| Name       | Type    | Description                       |
| ---------- | ------- | --------------------------------- |
| \_claimer  | address | Caller of the claim function.     |
| \_quantity | uint256 | The number of NFTs being claimed. |

## Events

### TokensClaimed

```solidity
event TokensClaimed(address indexed claimer, address indexed receiver, uint256 indexed startTokenId, uint256 quantityClaimed)
```

*Emitted when tokens are claimed*

#### Parameters

| Name                   | Type    | Description |
| ---------------------- | ------- | ----------- |
| claimer `indexed`      | address | undefined   |
| receiver `indexed`     | address | undefined   |
| startTokenId `indexed` | uint256 | undefined   |
| quantityClaimed        | uint256 | undefined   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://the-artist-xchange.gitbook.io/the-artist-xchange/docs/iclaimableerc721.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
