Retrieves a quote for a cross-chain or same-chain swap via Li.Fi, including the transaction request to execute.
Documentation Index
Fetch the complete documentation index at: https://docs.portalhq.io/llms.txt
Use this file to discover all available pages before exploring further.
Client API Key or Client Session Token (CST). Pass as a Bearer token in the Authorization header.
Source chain ID in CAIP-2 format (e.g. eip155:1).
Destination chain ID in CAIP-2 format (e.g. eip155:137).
Source token address or symbol.
Destination token address or symbol.
Amount to swap in the smallest unit of the source token.
Sender address. Must be a valid address for the source chain.
Recipient address. Defaults to fromAddress when omitted.
Amount of the source token to swap into destination-chain gas before bridging.
Override the integrator identifier for this request.
Integrator fee as a decimal (e.g. 0.005 for 0.5%).
Maximum acceptable price impact as a decimal.
Route ordering preference.
RECOMMENDED, FASTEST, CHEAPEST Maximum slippage as a decimal (e.g. 0.01 for 1%).
Referrer address for fee attribution.
Bridges to include.
Bridges to exclude.
Bridges to prefer when ranking routes.
Exchanges to include.
Exchanges to exclude.
Exchanges to prefer when ranking routes.
Quote retrieved successfully