/** * PredictionMarket — unified access to Polymarket / Kalshi / Limitless / * Opinion / Predict.Fun / cross-platform / smart-money / wallet endpoints * via the BlockRun gateway. Each call settles via x402 against the user's * USDC wallet. * * Powered server-side by Predexon; surfaced to the agent as a single * action-dispatched tool so the inventory stays small. Keep one cohesive * tool — the way TradingMarket bundles 6 actions — instead of forty * one-shot capabilities, otherwise weak models start hallucinating tool * names. * * searchAll $0.005 search markets across Polymarket+Kalshi+ * Limitless+Opinion+Predict.Fun in one call * searchPolymarket $0.001 query Polymarket markets (event filter, sort) * searchKalshi $0.001 query Kalshi markets * crossPlatform SUNSET Predexon discontinued market matching * 2026-07-20 (upstream 410; gateway de-registered * it 2026-08-03). Kept as a zero-cost tombstone * that steers callers to searchAll, whose * canonical containers already span venues. * leaderboard $0.001 global Polymarket leaderboard — top wallets by P&L * walletProfile $0.005 full Polymarket wallet profile (single wallet) * or batch profiles (comma-separated wallets) * walletPnl $0.005 P&L summary + realized P&L time series for one * Polymarket wallet * walletPositions $0.005 open + historical positions for one Polymarket * wallet * smartActivity $0.005 discover markets where high-performing wallets * are active right now * smartMoney $0.005 smart-money positioning on one Polymarket * condition_id (per-market drill-down) * * Output is filtered + truncated on the way back so a single call never * dumps 100 markets into the agent's context. Default 20 rows; agents that * need more should narrow the search. */ import type { CapabilityHandler } from '../agent/types.js'; export declare const predictionMarketCapability: CapabilityHandler;