Function listNft

  • Name

    listNft

    Summary

    Lists an NFT on a marketplace.

    Returns

    NFTListedEvent Blockchain event.

    Parameters

    • nftId: number

      NFT Id of the NFT to be listed for sale.

    • marketplaceId: number

      Marketplace Id of the marketplace to list the NFT on.

    • price: number | BN

      Price of the NFT.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: TernoaConstants.WaitUntil

      Execution trigger that can be set either to BlockInclusion or BlockFinalization.

    Returns Promise<TernoaEvents.NFTListedEvent>

Generated using TypeDoc