Table of Contents

Class Listing

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents a listing in the marketplace.

[FunctionOutput]
public class Listing
Inheritance
Listing
Inherited Members

Properties

AssetContract

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

[Parameter("address", "assetContract", 8)]
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", 9)]
public string Currency { get; set; }

Property Value

string

EndTimestamp

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

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

Property Value

BigInteger

ListingCreator

The address of the listing creator.

[Parameter("address", "listingCreator", 7)]
public string ListingCreator { get; set; }

Property Value

string

ListingId

The unique ID of the listing.

[Parameter("uint256", "listingId", 1)]
public BigInteger ListingId { get; set; }

Property Value

BigInteger

PricePerToken

The price per token for the NFTs listed.

[Parameter("uint256", "pricePerToken", 4)]
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 for a specific set of buyers.

[Parameter("bool", "reserved", 12)]
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", 5)]
public BigInteger StartTimestamp { get; set; }

Property Value

BigInteger

StatusEnum

The status of the listing (created, completed, or cancelled).

[Parameter("uint8", "status", 11)]
public Status StatusEnum { get; set; }

Property Value

Status

TokenId

The tokenId of the NFTs being listed.

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

Property Value

BigInteger

TokenTypeEnum

The type of token being listed (ERC721 or ERC1155).

[Parameter("uint8", "tokenType", 10)]
public TokenType TokenTypeEnum { get; set; }

Property Value

TokenType