Function createAuctionTx

  • Parameters

    • nftId: number

      The ID of the NFT.

    • marketplaceId: number

      The ID of the marketplace where the auction will take place.

    • startBlock: number

      The ID of the block at which the auction starts.

    • endBlock: number

      The ID of the block at which the auction ends.

    • startPrice: number | BN

      The price at which the auction starts.

    • buyItPrice: undefined | number | BN = undefined

      The price to directly buy the NFT before the auction starts. Optional Parameter.

    Returns Promise<`0x${string}`>

    Unsigned unsubmitted Create-Auction Transaction Hash. The Hash is only valid for 5 minutes.

    Name

    createAuctionTx

    Summary

    Creates an auction for an NFT.

Generated using TypeDoc