Skip to main content

NewAuctionListing interface

Represents a new marketplace auction listing.

Signature:

export interface NewAuctionListing

Properties

PropertyTypeDescription
assetContractAddressstringThe address of the asset being listed.
buyoutPricePerTokenPriceThe 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).
currencyContractAddressstringThe address of the currency to accept for the listing.
listingDurationInSecondsBigNumberishThe duration of the listing in seconds.
quantityBigNumberishThe 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).
reservePricePerTokenPriceThe 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).
startTimestampDateThe start time of the listing.
tokenIdBigNumberishThe ID of the token to list.
type?"NewAuctionListing"(Optional)