Table of Contents

Class ListingParameters

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents the parameters for creating or updating a listing in the marketplace.

[Struct("ListingParameters")]
public class ListingParameters
Inheritance
ListingParameters
Inherited Members

Properties

AssetContract

The address of the smart contract of the NFTs being listed.

[Parameter("address", "assetContract", 1)]
public string AssetContract { get; set; }

Property Value

string

Currency

The currency in which the price must be paid when buying the listed NFTs.

[Parameter("address", "currency", 4)]
public string Currency { get; set; }

Property Value

string

EndTimestamp

The UNIX timestamp after which NFTs cannot be bought from the listing.

[Parameter("uint128", "endTimestamp", 7)]
public BigInteger EndTimestamp { get; set; }

Property Value

BigInteger

PricePerToken

The price per token for the NFTs listed.

[Parameter("uint256", "pricePerToken", 5)]
public BigInteger PricePerToken { get; set; }

Property Value

BigInteger

Quantity

The quantity of NFTs being listed.

[Parameter("uint256", "quantity", 3)]
public BigInteger Quantity { get; set; }

Property Value

BigInteger

Reserved

Whether the listing is reserved to be bought from a specific set of buyers.

[Parameter("bool", "reserved", 8)]
public bool Reserved { get; set; }

Property Value

bool

StartTimestamp

The UNIX timestamp at and after which NFTs can be bought from the listing.

[Parameter("uint128", "startTimestamp", 6)]
public BigInteger StartTimestamp { get; set; }

Property Value

BigInteger

TokenId

The tokenId of the NFTs being listed.

[Parameter("uint256", "tokenId", 2)]
public BigInteger TokenId { get; set; }

Property Value

BigInteger