Skip to main content

Submit signed quote legs atomically

POST 

/trade/submit

Idempotent on (quote_id, quote_index). The per-leg signed payload IS the authorization proof — no ownership_proof required here. Re-quote (410 quote_stale) if the cached snapshot expired between issue and submit.

Request

Responses

Partial-broadcast tolerated: legs that landed appear under results, legs that hit an invariant break appear under failed_legs with a generic internal_error code so the agent can reconcile on-chain.