Swap Tokens
Last updated
Outline:
Quote first with POST /api/swap/quote — slippage, fee preview, expected out.
Execute with POST /api/swap/execute — runs through Router, ShredPay sponsors gas.
Worked example: 100 USDC → ETH on Base.
Handling slippage failures and re-quoting.
Why this is Base-only today (Router availability).
See Gas Model for the sponsorship rules.
Last updated