📘
DG Live
  • Introduction
    • 📗Introduction
  • Getting Started
    • 📗Getting Started
  • Marketplace
    • ⛏️Create a New NFT Collection
    • ⛏️Mint an Item in the Collection
    • 👮Metadata Standards
    • 💲Royalty Management
    • 🛍️Buying an item
    • 🛒Selling an item
  • Business Manager
    • 📗Getting Started
    • ⚙️Overview
    • 👱‍♂️Profile
    • 🏠Scenes
      • Scene implementation code
      • Scene Panorama
      • Scene Marketplace
        • Slots
        • Market panorama
      • Scene Scheduling
      • Scene Groups
      • Sharing a Scene
      • Deleting a Scene
    • 📈Market Analytics
    • 🔌API Auth
    • 📘API Reference
  • Developer Resources
    • 📊Marketplace Plugin
    • 🛒Marketplace SDK
      • ⚙️Installation
      • 📪Basic usage
    • 🌐Metaverse SDK
      • Basic Usage
      • Advanced Usage
    • 🔌API Reference
      • Marketplace Methods
      • Business Manager API
    • 📔Smart Contract Reference
      • Methods
        • Buy
        • Sell
        • Cancel
        • BuyForGift
        • isActive
        • getPrice
      • Events
        • Buy
        • Sell
        • Cancel
        • BuyForGift
  • Tutorials & Resources
    • 🏪Creating a metaverse store
      • Creating a Decentraland Scene
      • Create an account on the business manager
      • Place an item for sale
    • 🙌Sample Scene
  • Use Cases
    • ⏯️Exploring Use Cases
    • 🎨Digital Art Gallery in the Metaverse and Web
    • 🖥️NFT Gaming Platform
    • 🎮Virtual Concert Experience
    • 👔Fashion Industry and Virtual Avatars
Powered by GitBook
On this page
  1. Developer Resources
  2. Smart Contract Reference
  3. Methods

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.

PreviousBuyNextCancel

Last updated 2 years ago

📔