Skip to main content

NewDirectListing interface

Represents a new marketplace direct listing.

Signature:

export interface NewDirectListing

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).
startTimestampDateThe start time of the listing.
tokenIdBigNumberishThe ID of the token to list.
type?"NewDirectListing"(Optional)