safeTransferFrom

This method safely transfers tokenId token from from to to.

Function

function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes calldata data
) external;
function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
) external;

Parameters

Parameter
Description

from

The sender.

to

The recipient.

tokenId

the INFT ID.

data

The data payload.

Last updated