Sell

Description: This function allows a user to list one or more NFT for sale in the marketplace.

Method header:

function sell(address _nftAddress, uint256[] _tokenIds, uint256[] _prices) public nonReentrant

Parameters:

Parameter Type
Parameter Name
Parameter Description

address

_nftAddress

The address of the NFT contract.

uint256

_tokenIds

The token Ids of the NFTs to be listed for sale.

uint256

_prices

The prices for the NFT in tokens.

Last updated