Returns an overview of the current auction. There is only one auction
at a time. If there is no auction most fields will be null
. If the current
auction phase is in vrfDelay
and you are looking to retrieve the latest winning
bids, it is advised to query one block before finishEnd
in the endingPeriod
phase
for that auction as there technically are no winners during the vrfDelay
and thus
the field is null
.
successful operation
Block number and hash at which the call was made.
Fist block (number) of the auction ending phase. null
if there is no ongoing
auction.
Last block (number) of the auction ending phase. null
if there is no ongoing
auction.
An auction can be in one of 4 phases. Both startingPeriod
() and endingPeriod
indicate
an ongoing auction, while vrfDelay
lines up with the AuctionStatus::VrfDelay
. Finally, a value of null
indicates there is no ongoing auction. Keep in mind the that the finishEnd
field is the block number the
endingPeriod
finishes and the vrfDelay
period begins. The vrfDelay
period is typically about an
epoch long and no crowdloan contributions are accepted.
The auction number. If there is no current auction this will be the number of the previous auction.
Lease period indexes that may be bid on in this auction. null
if
there is no ongoing auction.