Skip to main content

NewAuctionListing interface

Represents a new marketplace auction listing.

Signature:

export interface NewAuctionListing

Properties

PropertyModifiersTypeDescription
assetContractAddressstringThe address of the asset being listed.
buyoutPricePerTokenPrice

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).

currencyContractAddressstringThe address of the currency to accept for the listing.
listingDurationInSecondsBigNumberishThe duration of the listing in seconds.
quantityBigNumberish

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).

reservePricePerTokenPrice

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).

startTimestampDateThe start time of the listing.
tokenIdBigNumberishThe ID of the token to list.
type?"NewAuctionListing"(Optional)