Class Auction
- Namespace
- Thirdweb
- Assembly
- Thirdweb.dll
Represents an auction in the marketplace.
[FunctionOutput]
public class Auction
- Inheritance
-
Auction
- Inherited Members
Properties
AssetContract
The address of the smart contract of the NFTs being auctioned.
[Parameter("address", "assetContract", 11)]
public string AssetContract { get; set; }
Property Value
AuctionCreator
The address of the auction creator.
[Parameter("address", "auctionCreator", 10)]
public string AuctionCreator { get; set; }
Property Value
AuctionId
The unique ID of the auction.
[Parameter("uint256", "auctionId", 1)]
public BigInteger AuctionId { get; set; }
Property Value
BidBufferBps
The bid buffer in basis points to ensure a new bid must be a certain percentage higher than the current bid.
[Parameter("uint64", "bidBufferBps", 7)]
public long BidBufferBps { get; set; }
Property Value
BuyoutBidAmount
The buyout bid amount to instantly purchase the NFTs and close the auction.
[Parameter("uint256", "buyoutBidAmount", 5)]
public BigInteger BuyoutBidAmount { get; set; }
Property Value
Currency
The currency in which the bid must be made.
[Parameter("address", "currency", 12)]
public string Currency { get; set; }
Property Value
EndTimestamp
The timestamp after which bids cannot be made to the auction.
[Parameter("uint64", "endTimestamp", 9)]
public long EndTimestamp { get; set; }
Property Value
MinimumBidAmount
The minimum bid amount for the auction.
[Parameter("uint256", "minimumBidAmount", 4)]
public BigInteger MinimumBidAmount { get; set; }
Property Value
Quantity
The quantity of NFTs being auctioned.
[Parameter("uint256", "quantity", 3)]
public BigInteger Quantity { get; set; }
Property Value
StartTimestamp
The timestamp at and after which bids can be made to the auction.
[Parameter("uint64", "startTimestamp", 8)]
public long StartTimestamp { get; set; }
Property Value
StatusEnum
The status of the auction (created, completed, or cancelled).
[Parameter("uint8", "status", 14)]
public Status StatusEnum { get; set; }
Property Value
TimeBufferInSeconds
The buffer time in seconds to extend the auction expiration if a new bid is made.
[Parameter("uint64", "timeBufferInSeconds", 6)]
public long TimeBufferInSeconds { get; set; }
Property Value
TokenId
The tokenId of the NFTs being auctioned.
[Parameter("uint256", "tokenId", 2)]
public BigInteger TokenId { get; set; }
Property Value
TokenTypeEnum
The type of token being auctioned (ERC721 or ERC1155).
[Parameter("uint8", "tokenType", 13)]
public TokenType TokenTypeEnum { get; set; }