https://api.fibrous.finance/scroll/execute
Execute a token swap using the optimal route previously found through the route endpoint. This endpoint handles the actual transaction execution and ensures the swap is performed with the best possible outcome on Scroll.
Request Body Parameters
The route object returned from the /scroll/route endpoint.
This contains all necessary information about the swap path and expected outcomes.
Maximum acceptable slippage in percentage (0.1 to 100).
Example: 0.5 for 0.5% slippage tolerance
Unix timestamp (in seconds) after which the transaction will revert.
Defaults to 20 minutes from the current time if not specified.
The address that will receive the output tokens.
If not specified, tokens will be sent to the transaction sender.
Response
Indicates if the execution request was successful.
The hash of the executed transaction.
The executed route details. The protocol used for the swap
Array of token addresses in the swap path
Array of pool addresses used in the swap