typescript-sdk

Home > @3rdweb/sdk > NewDirectListing

NewDirectListing interface

Represents a new marketplace direct listing.

Signature:

export interface NewDirectListing 

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).
startTimeInSeconds BigNumberish The start time of the listing.
tokenId BigNumberish The ID of the token to list.
type? “NewDirectListing” (Optional)