NFTs can also be put on Auction Sale using sellNFT_byBid function of NFTBid1155 contract. An auction sale is the sale of goods through a bidding process.

        address _collectionAddress,
        uint256 _tokenId,
        uint256 _price,
        uint256 _amount
  • _collectionAddress: address of collection
  • _tokenId: Id of token willing to sell
  • _price: selling price
  • _amount: Amount of Tokens

It emits an event:

    TokenMetaReturn(meta, _tokenIdTracker.current())
  • meta: TokenMeta struct
  • _tokenIdTracker.current(): a counter tracking current token Id