Minima Docs
  • Minima DeFi Router
  • Quick Start
  • Supported Protocols and Functions
  • Swaps
    • Good to know
    • Query a Swap
    • Exclude Protocols from Route
    • Execute a Swap
  • Reference
    • API Reference
      • Querying a Swap Route
      • Deposit
      • Withdraw
Powered by GitBook
On this page
  1. Swaps

Good to know

Before you get started...

PreviousSwapsNextQuery a Swap

Last updated 2 years ago

You can easily switch networks by defining the network ID in your payload:

For supported tokens:

For routing: <address>&outputToken=<address>&inputAmount=<amount in wei>&from=<address> (edited)

Additional params for /routes:

  • slippage (in bips)

  • priceImpact (boolean - include impact of trade size)

  • maxHops (number - maximum number of hops. Higher hops = higher gas)

  • include (comma-separated string of DEXs to include)

https://
https://