bsc-dex-spread
v0.1.0Cross-DEX price & spread for PancakeSwap v2+v3 on BSC via x402.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_dex_spread BSC cross-DEX price & spread
Real-time cross-DEX price & spread for PancakeSwap v2+v3 on BSC. Params: pair=SYM/SYM (e.g. WBNB/USDC), optional fee=v3 tier. Returns per-venue prices, best buy/sell, gross cross-DEX spread (bps), liquidity, and block number. Costs $0.01 USDC per call on Base mainnet (eip155:8453), paid automatically from the wallet in EVM_PRIVATE_KEY.
| Parameter | Type | Description |
|---|---|---|
pair * | string | Token pair as SYM/SYM; first symbol is the USD-priceable side (e.g. WBNB/USDC, WBNB/USDT, CAKE/WBNB). |
fee | string | Optional PancakeSwap v3 fee tier to restrict the v3 probe (e.g. 100, 500, 2500, 10000). Omit to probe all v3 tiers + v2. |