/quote with recipient) also returns
submit.ticket, valid for submit.validForS seconds and never past swap.deadline.
1
Build
GET /quote with recipient as usual. Keep submit.ticket.2
Sign, do not broadcast
The user signs
tx exactly as returned.3
Submit
POST /submit with { "raw": "<signed transaction>", "ticket": "<submit.ticket>" }.4
Track
What Route does with it
- Refuses anything that is not exactly the build: another target, value, calldata, chain, or another key’s ticket (
400). - Simulates it at the latest block as the sender. If the swap would now revert, for example because the price moved below the
signed
minOut, nothing is sent:422withrequote: trueandshortfallBps. Quote again and sign the new transaction. - Also refuses a used or skipped nonce, a gas limit below the estimate, a fee cap below the base fee, or a balance that cannot pay
(
422,requote: false: fix the transaction). - Broadcasts it and sends it again every 6 seconds while it is pending, at most 3 times.
minOut and deadline still protect the swap on chain. Submitting the same
signed transaction again returns its existing record.
Status
realizedBps compares amountOut with the quoted swap.netOut; vsMinOutBps compares it with minOut. Records are visible only
to the key that submitted them. Gasless relays are tracked the same way.