Get a token swap quote
swop_get_swap_quoteGet a swap quote for the linked user — EVM (via LiFi) or Solana (via Jupiter). Read-only: returns the estimated output and directs the user to complete the swap in the Swop app. For EVM, pass chain plus token ADDRESSES; for Solana, omit chain and pass token MINTS. Amounts are in the input token's base units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain for a LiFi quote: base, ethereum, polygon, arbitrum, optimism, or a numeric chain id. Omit for a Solana (Jupiter) quote. | |
| amount | Yes | Input amount in base units (wei / lamports / token decimals) | |
| inputMint | Yes | Input token: EVM contract address, or Solana mint | |
| outputMint | No | Output token: EVM address, or Solana mint (default USDC) |