arb.spread_matrix
Use this tool before executing a cross-venue arbitrage trade to check whether a global reference price (Coinbase spot, CoinGecko fallback - not a specific exchange orderbook) and a DEX pool price diverge enough to be worth trading after an assumed flat gas cost. Returns gross/net spread percentages and an is_profitable boolean - note net_spread_pct does NOT subtract the DEX pool's own swap fee (see pool_fee_pct), CEX trading fees, or slippage, so a spread that clears the threshold before those costs may not clear it after. Do not use for DEX-only liquidity depth checks or contract security. Paid in USDC on Base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "arb.spread_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Ticker symbol, e.g. SUI, BTC, ETH. | |
| network | No | GeckoTerminal network id, e.g. base, eth. Defaults to base. | |
| pool_address | No | Specific DEX pool contract address (optional if token_address is given). | |
| token_address | No | Token contract address - the most liquid pool is auto-selected (optional if pool_address is given). | |
| trade_size_usd | No | Hypothetical trade size in USD. Defaults to 1000. | |
| min_spread_threshold_pct | No | Net spread threshold (%) above which is_profitable is true. Defaults to 0.8. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | ||
| symbol | Yes | ||
| network | Yes | ||
| direction | No | ||
| data_source | Yes | ||
| generated_at | Yes | ||
| pool_address | No | ||
| pool_fee_pct | No | DEX pool's fee tier (e.g. 0.05 for 0.05%), parsed from the pool name. Informational only - net_spread_pct does not subtract it. | |
| cex_price_usd | No | ||
| dex_price_usd | No | ||
| is_profitable | Yes | ||
| net_spread_pct | No | ||
| status_message | Yes | ||
| trade_size_usd | Yes | ||
| gross_spread_pct | No | ||
| assumed_gas_cost_usd | Yes | ||
| min_spread_threshold_pct | Yes |