Execute your swap or call
We allow you to execute any on-chain or cross-chain swap and bridging process and a combination of both.
executeRoute
const tx = await squid.executeRoute({ signer, route, executionSettings })
const txReceipt = await tx.wait()executionSettings
type executionSettings?: {
infiniteApproval?: boolean;
setGasPrice: boolean;
};Example code snippet
Last updated