POST
/
scroll
/
execute
{
  "success": true,
  "transactionHash": "<string>",
  "route": {
    "protocol": "<string>",
    "path": [
      {}
    ],
    "pools": [
      {}
    ]
  }
}
https://api.fibrous.finance/scroll 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

route
object
required
The route object returned from the /scroll/route endpoint. This contains all necessary information about the swap path and expected outcomes.
slippageTolerance
number
default:"0.5"
Maximum acceptable slippage in percentage (0.1 to 100). Example: 0.5 for 0.5% slippage tolerance
deadline
number
Unix timestamp (in seconds) after which the transaction will revert. Defaults to 20 minutes from the current time if not specified.
recipient
string
The address that will receive the output tokens. If not specified, tokens will be sent to the transaction sender.

Response

success
boolean
Indicates if the execution request was successful.
transactionHash
string
The hash of the executed transaction.
route
object
The executed route details.