Table of Contents

Class Offer

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents an offer made on NFTs.

[FunctionOutput]
public class Offer
Inheritance
Offer
Inherited Members

Properties

AssetContract

The contract address of the NFTs for which the offer is made.

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

Property Value

string

Currency

The currency offered in exchange for the NFTs.

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

Property Value

string

ExpirationTimestamp

The UNIX timestamp after which the offer cannot be accepted.

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

Property Value

BigInteger

OfferId

The unique ID of the offer.

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

Property Value

BigInteger

Offeror

The address of the offeror.

[Parameter("address", "offeror", 6)]
public string Offeror { get; set; }

Property Value

string

Quantity

The quantity of NFTs desired in the offer.

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

Property Value

BigInteger

StatusEnum

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

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

Property Value

Status

TokenId

The tokenId of the NFTs for which the offer is being made.

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

Property Value

BigInteger

TokenTypeEnum

The type of token being offered (ERC721, ERC1155, or ERC20).

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

Property Value

TokenType

TotalPrice

The total price offered for the NFTs.

[Parameter("uint256", "totalPrice", 4)]
public BigInteger TotalPrice { get; set; }

Property Value

BigInteger