Collect Fees
Integrator Fee Structure
Integrator Fee Configuration
Implementing Integrator Fees
const params = {
// ... other route parameters
collectFees: {
integratorAddress: "0x123...abc", // Your address to receive fees
fee: 50, // Fee in basis points (e.g., 50 = 0.5%)
integratorAddress2: "0x456...def", // Optional secondary address
fee2: 25, // Optional fee for secondary address (in basis points)
}
};
const { route } = await squid.getRoute(params);Fee Precision
Fee Display
Platform Fee Structure
Last updated