typescript-sdk

Home > @3rdweb/sdk > NewAuctionListing

NewAuctionListing interface

Represents a new marketplace auction listing.

Signature:

export interface NewAuctionListing 

Properties

Property Type Description
assetContractAddress string The address of the asset being listed.
buyoutPricePerToken BigNumberish The buyout price of the listing.So if the quantity = 10 and the reserve price = 1, then the buyout price is 10 coins (of the configured currency).
currencyContractAddress string The address of the currency to accept for the listing.
listingDurationInSeconds BigNumberish The duration of the listing in seconds.
quantity BigNumberish The quantity of tokens to include in the listing.For ERC721s, this value should always be 1 (and will be forced internally regardless of what is passed here).
reservePricePerToken BigNumberish The reserve price is the minimum price that a bid must be in order to be accepted, per token.So if the quantity = 10 and the reserve price = 1, then the minimum bid is 10 coins (of the configured currency).
startTimeInSeconds BigNumberish The start time of the listing.
tokenId BigNumberish The ID of the token to list.
type? “NewAuctionListing” (Optional)