> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v1.0/v1.0-periphery/ierc721receiver.md).

# IERC721Receiver

## IERC721Receiver

ERC721 token receiver interface

*Developer note: Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.*

### Functions

#### onERC721Received

`onERC721Received(address,address,uint256,bytes)` external

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| operator | address |             |
| from     | address |             |
| tokenId  | uint256 |             |
| data     | bytes   |             |

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | bytes4 |             |

***

## IERC721Receiver

ERC721 token receiver interface

*Developer note: Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.*

### Functions

#### onERC721Received

`onERC721Received(address,address,uint256,bytes)` external

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| operator | address |             |
| from     | address |             |
| tokenId  | uint256 |             |
| data     | bytes   |             |

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | bytes4 |             |

***
