toAmount
; the widget figures out what the user spends.
Trade Type: Output
Pay mode lets you specify an exact_output trade, meaning:- You specify the exact amount the recipient will receive (
toAmount
) - The user pays whatever amount is needed from their available tokens
- Perfect for fixed-price purchases (NFTs, swaps, functions with specific token amounts)