


Reads onchain state
Reads the amount a Uniswap V3 pool would pay right now for a swap. The swap is simulated through the V3 quoter, so concentrated liquidity and tick crossings are priced in. The pools of one pair disagree, so the fee tier is named in the list, and the deepest pool is offered first. Reach for it to set a swap floor from a live quote with a slippage haircut, to compare venues before routing, or to gate a trade on a minimum rate with a predicate.
Swap 20 USDC for ETH



1·Get quote
Reads the Uniswap V3 WETH/USDC 0.05% pool for the current amount it would pay to swap 20 USDC into WETH, establishing a live quote.
2·Calculate proportional value
Taking 99/100 percent of that quoted amount trims it down to 99 percent, setting a floor below the raw quote to absorb movement.
3·Swap tokens
Through the solver over indexed liquidity, swaps 20 USDC for ETH, requiring at least the trimmed 99 percent floor as the minimum received.
On other protocols · 4