getQuote returns an executable quote.
previewQuotes returns indicative offers.
prepareQuote prepares a selected cross-chain provider under a stable preparation identifier.
Use getQuote to confirm a same-chain preview.
The preparation endpoint rejects same-chain requests.
Request fields
Use the API quote fields. Always supplysourceAccount and recipient separately.
Use decimal strings for base-unit amounts.
Use toBaseUnits and formatUnits for display conversion where appropriate.
Infinity Hub treats slippageBps as total route tolerance.
Explicit zero remains zero.
Check that the installed SDK’s validation accepts the deployment’s supported tolerance and allocation fields.
See slippage allocation.
Validation
vetQuote compares the executable payload with the request and pinned signing trust.
Checks include the wallet account, chain, assets, amounts, recipients, contracts, and deadlines.
Solana wallet plans also require trusted lookup-table and mint reads.
Do not obtain trust solely from the quote or catalog response.
Expiry and replacement
quoteTimeLeftMs exposes the remaining client-side validity.
An identical cached quote retains its original expiry.
Do not restart its countdown when it is received again.
Execution can request a replacement when too little time remains for signing.
ReviewRequiredError identifies replacement terms that require renewed user approval.
Keep comparisons anchored to the terms the user reviewed.
Do not silently increase the input or reduce the output.
An expired quote does not cancel an already signed or broadcast operation.
Reconcile the original attempt before obtaining another authorization.