> For the complete documentation index, see [llms.txt](https://docs.v2.pod.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.v2.pod.network/guides-references/references/applications-precompiles/wip-optimistic-auctions.md).

# Optimistic Auctions

The optimistic auctions precompile is a minimal auction contract for intents. Bidders submit bids into auction instances on Pod, but settlement happens elsewhere - on Ethereum, an L2, or any other chain with an on-chain consumer contract. Pod acts as a censorship-resistant bulletin board: it collects bids before a deadline and uses [past perfection](https://docs.v2.pod.network/documentation/core/timestamping#past-perfection) to guarantee that the bid set is complete once the deadline passes.

For background on how optimistic auctions work, see [Optimistic Auctions](https://docs.v2.pod.network/documentation/markets/optimistic-auctions).

**Precompile address:** `0x50d0000000000000000000000000000000000004`

## Interface

```solidity
interface IOptimisticAuction {
    /// @notice Emitted when a new bid is submitted for an auction instance.
    event BidSubmitted(
        uint256 indexed auction_id,
        address indexed bidder,
        uint64 indexed deadline,
        uint256 value,
        bytes data
    );

    /// @notice Submit a bid into a specific auction instance.
    ///         If the auction_id does not exist yet, it is created implicitly.
    /// @param auction_id Logical auction identifier. Bids with the same id compete together.
    /// @param deadline Unix timestamp in microseconds. After this, the bid is invalid.
    /// @param value Application-defined numeric value associated with the bid.
    /// @param data Opaque payload, commonly encodes an intent or order.
    function submitBid(
        uint256 auction_id,
        uint64 deadline,
        uint256 value,
        bytes calldata data
    ) external;
}
```

{% hint style="warning" %}
**Microseconds, not milliseconds.** Deadlines are Unix timestamps in microseconds.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.v2.pod.network/guides-references/references/applications-precompiles/wip-optimistic-auctions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
