get_arbitrage_opportunities
Scan cross-chain crypto markets to identify profitable arbitrage opportunities based on specified chains and minimum profit thresholds.
Instructions
Scan for cross-chain arbitrage opportunities.
Args: chains: List of chains to scan for arbitrage min_profit_pct: Minimum profit percentage to report
Returns: List of arbitrage opportunities with routes and expected profit.
Price: $1.00
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | ||
| min_profit_pct | No |
Implementation Reference
- coinrailz_mcp/__init__.py:406-425 (handler)Implementation of the get_arbitrage_opportunities tool, which acts as an MCP tool to scan for cross-chain arbitrage opportunities using the Coin Railz arbitrage-scanner service.
@mcp.tool() async def get_arbitrage_opportunities(chains: List[str] = None, min_profit_pct: float = 0.5) -> str: """ Scan for cross-chain arbitrage opportunities. Args: chains: List of chains to scan for arbitrage min_profit_pct: Minimum profit percentage to report Returns: List of arbitrage opportunities with routes and expected profit. Price: $1.00 """ payload = { "chains": chains or ["ethereum", "base", "polygon", "arbitrum"], "minProfitPct": min_profit_pct } result = await call_coinrailz_service("arbitrage-scanner", payload) return json.dumps(result, indent=2)