POST /v1/quote
Infinity Hub requests provider offers and validates the executable winner.
Use the same authenticated subject throughout the resulting order workflow.
Request
The default slippage is 50 basis points. The default request maximum is 9000 basis points.
Both values are configurable.
Omission or
null selects the default. Explicit zero remains zero.
See slippage for allocation rules.
EIP-3009 is a requirement when requested. An unsupported token does not silently fall back to Permit2.
Exact-output is unavailable for token-in swap routes.
The selected provider can reject other unsupported trade types.
Response
Response shape depends on the execution mechanism.
For token-in routes, display
swapInput.amountMax as the user’s spend.
amountIn describes the CTM escrow input on those routes.
Despite its field name, amountMax is the exact sold input for these quotes.
Use the endpoint’s OpenAPI schema for exact field nesting and optional fields.
Refusals
EIN0001 identifies invalid request fields.
EIN0002 identifies an unresolved or unsupported asset.
EIN0008 means that no viable route satisfies the request.
EIN0050 and EIN0051 indicate availability failures whose retry policy depends on their reference.
Configured address screening can refuse or defer admission.
See errors.