trust_swap
Get a swap quote with safety checks on both tokens before returning Uniswap calldata.
Instructions
Get a trust-verified swap quote with calldata. Checks both tokens for safety before returning a Uniswap quote. Use this instead of raw DEX quotes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swapper | Yes | Wallet address executing the swap (0x...) | |
| tokenIn | Yes | Token being sold (0x...) | |
| tokenOut | Yes | Token being bought (0x...) | |
| amount | Yes | Amount of tokenIn in wei | |
| slippage | No | Slippage tolerance (e.g. 0.5 for 0.5%) |