> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reiy.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute Settlement

> How winning solvers execute settlement on-chain.

# Execute Settlement

When you win, you settle in a single Sui programmable transaction block. If any protocol check fails, the transaction aborts and user funds remain safe.

## Prepare

Before settlement, confirm you have:

* Winning auction data and covered <Tooltip tip="An on-chain order that escrows your sell tokens and records your terms.">intents</Tooltip>.
* The signed settlement <Tooltip tip="The signed authorization that lets the winning solver settle on-chain.">certificate</Tooltip> from the coordinator.
* Liquidity needed to deliver payouts.
* A Sui wallet with enough gas.

## Steps

<Steps>
  <Step>
    **Verify authorization**: check coordinator signature, solver address, epoch, and expiry.
  </Step>

  <Step>
    **Build the transaction**: use the authorized intents, fills, payouts, and certificate.
  </Step>

  <Step>
    **Deliver payouts**: execute your liquidity strategy and provide buy tokens to users.
  </Step>

  <Step>
    **Let contracts handle fees**: settlement splits solver and protocol fee shares.
  </Step>

  <Step>
    **Submit and record the digest**: return settlement results through the solver API.
  </Step>
</Steps>

<Warning>
  Never split a CoW-cross settlement into separate transactions. Both legs must succeed or fail together.
</Warning>

## Pre-submit checklist

* Certificate has not expired.
* Solver address matches your wallet.
* Epoch matches current protocol state.
* Intent IDs, fill amounts, and payouts are correct.
* User minimums and partial-fill rules are respected.
* Wallet has enough gas.

<CardGroup cols={2}>
  <Card title="Solver API" href="/reiy-protocol/reference/apis/solver-api">
    Review `/settle` request and response details.
  </Card>

  <Card title="Fee formulas" href="/reiy-protocol/reference/core/fee-formulas">
    Understand settlement fee calculations.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.