Function buyNft

  • Name

    buyNft

    Summary

    Buys an NFT on a marketplace.

    Parameters

    • nftId: number

      NFT Id of the NFT for sale.

    • nftBuyingPrice: number | BN

      The NFT buying price signed.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

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

    Returns Promise<NFTSoldEvent>

    NFTSoldEvent Blockchain event.

Generated using TypeDoc