Get amount out

Get amount out on Aerodrome

Base
Base

Reads onchain state

Reads the amount an Aerodrome stable or volatile pool would pay right now for a swap. The pool prices the sell amount on its own curve over its live reserves, after the fee it charges. Reach for it to set a swap floor from a live quote with a slippage haircut, to compare a pair's stable and volatile pools, or to gate a trade on a minimum rate with a predicate.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Aerodrome ยท 37

On other protocols ยท 2