Overview
The quote response’ssettlement field tells you which execution mode Rialto
returned. Always use the response value for transaction handling, even when you
send a request preference.
You can influence the backend’s choice with the optional settlement query
parameter on GET /quote.
settlementPreference is also accepted as an alias for settlement.
Response modes
When to request Permit2
Requestsettlement=permit2 when a flow specifically needs a Permit2 quote, such
as gasless relay submission. Pass settlement=permit2 if you want the quote
request to fail instead of falling back to allowance mode.
Handling rules
Choose your handling fromsettlement, not from assumptions.
Do not modify quote_id, route, platform_fee, permit2.message.witness, or
tx.data except for replacing the Permit2 signature placeholder. A changed route
or witness will not match the signed quote and may revert.