build_swap_transaction
Build an unsigned transaction for a quoted swap. Returns EVM fields (to/data/value) or a Solana base64 transaction, plus a verification block: routerAllowlisted, decodedSummary, minBuyAmount, approvalTarget. VERIFY BEFORE SIGNING — sign only if routerAllowlisted is true and the addresses match the published allowlist from get_meta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buy | Yes | ||
| sell | Yes | ||
| taker | Yes | The address that will sign and execute | |
| amount | Yes | ||
| source | Yes | Venue id from the quote (e.g. 'lifi', 'jupiter') | |
| slippageBps | No |