# Settlement Relayer

<figure><img src="/files/N0u5PzXK3wwMPEUZX6K0" alt=""><figcaption></figcaption></figure>

The Settlement Relayer (SR) serves as YODL’s coordination layer between Operators and on-chain infrastructure.\
It standardizes RFQs, enforces protocol policy, and issues the witnessed Permit2 signature bundle (sigBlob) that each Operator’s Orchestrator verifies through `isValidSignature`.

***

#### **What YODL Manages**

* **RFQ Construction & Policy:** Builds quotes and enforces fee bands, taker whitelists, exposure limits, cooldowns, and rate caps.
* **Witnessed Signing:** Generates the `Permit2 + RFQ` witness package used by orderflow venues and verified by the Operator’s Orchestrator.
* **Sequencing & Capacity Control:** Queues or rejects RFQs when allocation or cooldown thresholds are hit, ensuring no reuse of allocated vault liquidity.
* **Finalize & Repay Coordination:** Tracks fills, manages finalize windows, and pauses execution if vault solvency or policy checks fail.
* **Aggregator Integration:** Hosts `/rfq` and `/order` endpoints — Operators interact via authenticated APIs, with no manual setup required.

***

#### **What Operators Manage**

* **Binary Connectivity:** Configure and maintain the Operator Binary’s connection to the Settlement Relayer’s authenticated API endpoint.
* **Quote Transmission:** Sign and relay accounting transactions and quotes to the SR within the specified latency window (≤ 500 ms).
* **Transaction Lifecycle:** Trigger accounting → finalization → repayment flows through the SR to ensure vaults are restored on schedule.
* **System Uptime:** Maintain 99.5%+ runtime for the Operator Binary; downtime impacts Operator Reputation and may trigger Operator slashing.


---

# Agent Instructions: 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:

```
GET https://docs.yodl.fi/technical-components/settlement-relayer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
