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

NameTypeDescription

operator

address

from

address

tokenId

uint256

data

bytes

Returns:

NameTypeDescription

[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

NameTypeDescription

operator

address

from

address

tokenId

uint256

data

bytes

Returns:

NameTypeDescription

[0]

bytes4