Squid Dev Documentation
Ask or search…

Collect fees

It's also possible for integrators to collect fees on each transaction made through the widget.
You'll need to update the configuration to do so.
collectFees?: {
integratorAddress: string; // The EVM address of the integrator that will receive the fee
fee: number; // The amount in "basis points" for the fee. 50 = 0.05%. there is currently soft limit of 1% fee allowed for each tx.
You can find the full configuration types here: