API reference¶
Public interfaces exposed by the orchestrator. This is a stub — fill in as the surface stabilizes.
REST (orchestrator → UI)¶
TODO: document each endpoint with method, path, request schema, response schema, and error codes. Likely sections: - Solver auth handshake (EIP-191) - Quote request (buy) - Quote request (buyback) - Solver registry / status
WebSocket (orchestrator ↔ solver)¶
TODO: document the message envelope, message types, and the request/response correlation model. Likely sections: - Connection + auth - Quote request broadcast - Quote response (signed commitment) - Heartbeats / disconnect semantics
EIP-712 commitment schema¶
TODO: document the
BuyandBuybacktyped data structures, the domain separator, and the fields the smart contract verifies on-chain. The authoritative definitions live in the deployed contract; this page should mirror them for off-chain integrators.
On-chain interface¶
TODO: document the contract ABI and public function reference (
buy,buyback,recordSettlementPrice,settle,emergencyCancel). See the canonical Architecture document for context.