Skip to main content

DirectListing interface

Represents a marketplace direct listing.

Signature:

export interface DirectListing

Properties

PropertyModifiersTypeDescription
assetNFTMetadataThe asset being listed.
assetContractAddressstringThe address of the asset being listed.
buyoutCurrencyValuePerTokenCurrencyValueThe CurrencyValue of the listing. Useful for displaying the price information.
buyoutPriceBigNumberThe buyout price of the listing.
currencyContractAddressstringThe address of the currency to accept for the listing.
idstringThe id of the listing.
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).

secondsUntilEndBigNumberishNumber of seconds until the listing expires.
sellerAddressstringThe address of the seller.
startTimeInSecondsBigNumberishThe start time of the listing.
tokenIdBigNumberishThe ID of the token to list.
typeListingType.Direct