Prerequisites
Before you begin, ensure that you’ve: These are required so any example below runs with a validkit and adapter.
Estimate swap amount
This example estimates how much USDC you’ll receive when swapping 1.00 USDT for USDC:TypeScript
Get a pre-swap estimate of the amount to receive before swapping
kit and adapter.