> ## Documentation Index
> Fetch the complete documentation index at: https://injectivelabs-docs-ai-sdk.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# End-Block

# End-Block

### Auction Settlement

The settlement of a given auction round occurs when `blockTime ≥ EndingTimeStamp.` If a non-zero INJ bid was placed during this period (i.e. there exists a `LastBid`), the following procedure will take place:

* The winning INJ bid amount is burned.
* The basket of coins held by the auction module is transferred to the winning bidder.
* `LastAuctionResult` is written to state and `EventAuctionResult` is emitted.
* The `LastBid` is cleared.
* The AuctionRound is incremented by 1 and the EndingTimestamp is incremented by `AuctionPeriod`.
* The accumulated exchange fees are transferred from the `exchange` module to the `auction` module for the new upcoming auction.

If the round closed without any successful bids, the existing coin basket will be rolled over into the next auction and combined with the new accumulated fee basket.

<img src="https://mintcdn.com/injectivelabs-docs-ai-sdk/bmaVY3axK6tiwhnK/developers-native/injective/auction/img.png?fit=max&auto=format&n=bmaVY3axK6tiwhnK&q=85&s=1cc9c2650d7b815d7167507ea1c7ef77" alt="img.png" width="2908" height="2140" data-path="developers-native/injective/auction/img.png" />
