Execute Parameters
Parameters for executing swaps through Fibrous on Citrea
https://api.fibrous.finance/citrea
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Parameters for executing swaps through Fibrous on Citrea
| Parameter name | Type | Description |
|---|---|---|
| amount * | string | amount of a token to sell, for 1 cBTC set as 1000000000000000000 (18 decimals) |
| tokenInAddress * | string | contract address of a token to sell e.g.: 0x0000000000000000000000000000000000000000 |
| tokenOutAddress * | string | contract address of a token to buy e.g.: 0xE045e6c36cF77FAA2CfB54466D71A3aEF7bbE839 |
| slippage * | integer | slippage=0.5 means 0.5% slippage is acceptable. Low values increase chances that transaction will fail, high values increase chances of front running. |
| destination * | string | The receiver address for the output token |
| reverse | boolean | Default false, it’s not supported yet. |
| direct | boolean | Default false. If it’s true direct route |
| excludeProtocols | [string] | The protocol ID |