Get a gateway quote.
Checks the available liquidity and provides a quote.
Query parameters
Source chain
Destination chain
Address sending the funds
Address receiving the funds
Source token address
Destination token address
Amount to swap (in smallest unit, e.g., sats or wei)
Deprecated: gas refill is no longer supported. Supplying this field is rejected with an error. Removed in V3.
Slippage tolerance (in basis points, e.g., 300 = 3%)
Deprecated: custom strategies are no longer supported. Supplying this field is rejected with an error. Removed in V3.
Deprecated: custom strategies are no longer supported. Supplying this field is rejected with an error. Removed in V3.
Comma-separated list of <address>:<bps> pairs, e.g. 0xf39F…:50,0x70997…:25. Omit or send an empty string for no affiliate fees. Max [intents::MAX_AFFILIATES] entries; total bps MUST NOT exceed [intents::MAX_AFFILIATE_TOTAL_BPS]; each bps MUST be > 0.
Response
Get a quote
Changes
Changed in 3 of the 19 revisions of this API.5228
- ▲
added
subschema #1subschema #2subschema #3to the response bodyoneOflist for the response status200response-body-one-of-added
- ▲
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8subschema #9subschema #10subschema #11to thedetails/oneOf[GatewayErrorDetailsV2]/response propertyoneOflist for the response status400response-property-one-of-added
- ●
added the new
AFFILIATE_FEES_NOT_SUPPORTED_FOR_ROUTEenum value to thecode/oneOf[GatewayErrorCodeV2Variants]/response property for the response status400response-property-enum-value-added
- ●
added the new
UNKNOWNenum value to thecode/oneOf[GatewayErrorCodeV2Variants]/response property for the response status400response-property-enum-value-added
- ○
removed
subschema #1subschema #2subschema #3from the response bodyoneOflist for the response status200response-body-one-of-removed
- ○
removed
GatewayErrorDetailsGatewayErrorDetailsV2Variantsfrom thedetails/oneOf[GatewayErrorDetailsV2]/response propertyoneOflist for the response status400response-property-one-of-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added
GatewayErrorCodeGatewayErrorCodeV2Variantsto thecoderesponse propertyoneOflist for the response status400response-property-one-of-added
- ▲
added
GatewayErrorDetailsV2to thedetailsresponse propertyoneOflist for the response status400response-property-one-of-added
- ▲
the
coderesponse's property type/format changed fromstring/to/for status400response-property-type-changed
- ○
removed the
DISABLED_CHAINenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
DUPLICATE_ORDERenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
EXCEEDED_LIMITenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
GAS_ESTIMATE_FAILEDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
GLOBAL_LIMIT_EXCEEDEDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INSUFFICIENT_AMOUNTenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INSUFFICIENT_CONFIRMED_FUNDSenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INSUFFICIENT_PAYMENT_AMOUNTenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INSUFFICIENT_SOLVER_BALANCEenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INSUFFICIENT_SWAP_AMOUNTenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INTERNAL_ERRORenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INVALID_AFFILIATE_FEEenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INVALID_DESTINATION_CHAIN_IDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INVALID_ORDER_ARGSenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
INVALID_REQUESTenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
NO_ROUTEenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ORDER_EXPIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ORDER_NOT_FOUNDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
PER_ACCOUNT_LIMIT_EXCEEDEDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
QUOTE_AMOUNT_TOO_LOWenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
SIMULATION_FAILEDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
SLIPPAGE_TOO_HIGHenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
SLIPPAGE_TOO_LOWenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
UNABLE_TO_COVER_FEESenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed
GatewayErrorDetailsfrom thedetailsresponse propertyoneOflist for the response status400response-property-one-of-removed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○