How can I ensure users only sign on the source chain while allowing the bridge to complete the swap on the destination chain?
allowSwitchChain: false
to prevent automatic chain switchingallowDestinationCall: true
to allow the bridge to complete the swap on the destination chainCan I detect on-chain if a swap was made via a specific client using the LI.FI widget?
integrator
parameter.
You can filter by this parameter to identify swaps from your client.Can I send native ETH with a payable function via the /quote/contractCalls endpoint?
/quote/contractCalls
endpoint does not support sending native ETH.Does the quote response include gas information?
How can we improve the response speed of /advanced/stepTransaction calls?
?skipSimulation=true
to the request. This skips on-chain simulation and improves response time.How do I ensure the gaszip service works?
fromAmountGas
parameter in your request. This is required for gaszip to function.When does LI.FI require a balance check during transaction generation?
What is the default sorting behavior if the order parameter is not provided?
order
is not set, the default is CHEAPEST
.