You're viewing a demo portfolio

Join the waitlist
PRSM

swap.quote

Active

Tool of Syenite

declared in 0.6.3

Fetches an optimal swap or bridge quote across 30+ EVM chains and Solana using the LI.FI aggregator (EVM) or Jupiter (Solana), comparing routes from DEXs and bridges including 1inch, 0x, Paraswap, and major cross-chain bridges to find the best price with lowest fees. Call this before any token exchange to obtain a quote; then pass the returned unsigned transaction calldata to a wallet for signing and submission — Syenite never holds or touches private keys. Provide fromToken, toToken, fromAmount (human-readable), fromAddress, and fromChain; set toChain for cross-chain bridges, or omit to default to the same chain. Returns best route, expected output, minimum output (with slippage), gas cost, fee breakdown, and estimated execution time; cross-chain bridges may take 2–30 minutes and should be tracked with swap.status. Quotes are valid for approximately 30 seconds — re-query for fresh pricing. Does not execute the swap.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "fromToken",
    "toToken",
    "fromAmount",
    "fromAddress"
  ],
  "properties": {
    "order": {
      "enum": [
        "CHEAPEST",
        "FASTEST"
      ],
      "type": "string",
      "default": "CHEAPEST",
      "description": "Route preference: CHEAPEST (best price) or FASTEST (lowest execution time)"
    },
    "toChain": {
      "type": "string",
      "description": "Destination chain (defaults to fromChain). Set differently for cross-chain bridges."
    },
    "toToken": {
      "type": "string",
      "description": "Token to buy — symbol (e.g. \"WETH\", \"USDT\") or contract address"
    },
    "slippage": {
      "type": "number",
      "default": 0.005,
      "maximum": 0.5,
      "minimum": 0.001,
      "description": "Max slippage as decimal (0.005 = 0.5%)"
    },
    "fromChain": {
      "type": "string",
      "default": "ethereum",
      "description": "Source chain: \"ethereum\", \"arbitrum\", \"optimism\", \"base\", \"polygon\", \"bsc\", \"avalanche\", or chain ID"
    },
    "fromToken": {
      "type": "string",
      "description": "Token to sell — symbol (e.g. \"USDC\", \"ETH\") or contract address"
    },
    "toAddress": {
      "type": "string",
      "description": "Recipient address (defaults to fromAddress)"
    },
    "fromAmount": {
      "type": "string",
      "description": "Amount to swap in smallest unit (e.g. 1000000 for 1 USDC with 6 decimals). Use token decimals."
    },
    "fromAddress": {
      "type": "string",
      "description": "Sender wallet address (used for routing and approval checks)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

Syenite

https://github.com/syenite-ai/syenite

1/7 registries
View full server →
swap.quote — Syenite — PRSM MCP