Auctions
Last updated
Last updated
saleAuction
Returns a single Sale Auction according to its id
.
saleAuctions
Returns multiple Sale Auctions according to the passed.
assistingAuction
Returns a single Assisting Auction according to its id
.
assistingAuctions
petAuction
Returns a single Pet Auction according to its id
.
petAuctions
Auction
The Auction
object type contains the following fields:
id
: ID
- the Auction ID. Crystalvale IDs are padded by 10000000000000
(ten trillion), and Serendale (Klaytn) IDs are padded by 20000000000000
(twenty trillion).
seller
: Profile
- the Profile
of the Auction seller
tokenId
: Hero
- the Hero
being Sold/Rented
The tokenId
field will return current values for the Hero, not its historical values at the time of the Auction.
startingPrice
: String
- the price set at the start of the Auction in wei
endingPrice
: String
- the price at the end of the Auction in wei
duration
: Int
- the duration of the Auction in seconds; not currently in use
startedAt
: Int
- the Unix timestamp of the Auction start
winner
: Profile
- the Profile
of the Auction winner; will be pre-filled for Private Auctions, even when open
endedAt
: Int
- the Unix timestamp of the Auction end
open
: Boolean
- whether the Auction is open or not
purchasePrice
: String
- the price paid by the winner
in wei
PetAuction
The PetAuction
object type contains the following fields:
id
: ID
- the Auction ID
seller
: Profile
- the Profile
of the Auction seller
tokenId
: Pet
- the Pet
being Sold
startingPrice
: String
- the price set at the start of the Auction in wei
endingPrice
: String
- the price at the end of the Auction in wei
duration
: Int
- the duration of the Auction in seconds; not currently in use
startedAt
: Int
- the Unix timestamp of the Auction start
winner
: Profile
- the Profile
of the Auction winner; will be pre-filled for Private Auctions, even when open
endedAt
: Int
- the Unix timestamp of the Auction end
open
: Boolean
- whether the Auction is open or not
purchasePrice
: String
- the price paid by the winner
in wei
The first 100 open, non-private Sale Auctions sorted by lowest priced Hero:
The five most expensive Pet sales that were successfully completed:
The entire Sale history (successful or not) of an individual Hero:
All successful Rentals (Assisting Auctions) purchased by an individual player:
Returns multiple Assisting Auctions according to the passed.
Returns multiple Pet Auctions according to the passed.