NewExactOutParams
NewExactOutParams creates a new ExactOutParams instance.
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/router/v1.NewExactOutParams(,,)"
Result
package v1 handles token swaps through GnoSwap liquidity pools.
The router provides user-facing swap functions with slippage protection, multi-hop routing, and automatic GNOT wrapping/unwrapping. It supports both exact input and exact output swap modes.
All swap functions include deadline checks and minimum output validation to protect users from unfavorable price movements.
NewExactOutParams creates a new ExactOutParams instance.
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/router/v1.NewExactOutParams(,,)"