Flare Coston2 ยท chainId 114 โ— Checking RPC... 8 MCP Tools Bounty 1: Interop Assets

Autonomous monitoring for Flare's interoperable asset ecosystem

An AI agent that monitors Flare's FAssets (FXRP bridge), FTSOv2 oracle price feeds, and cross-chain bridge health โ€” detecting anomalies, computing risk scores, and generating alerts with real Coston2 testnet on-chain data.

Architecture
AI AgentOrchestrator
โ†’
get_ftso_pricesFTSOv2 oracle
โ†’
monitor_fassetFXRP bridge
โ†’
detect_anomalyHeuristics
โ†’
risk_score0-100 scale
โ†’
generate_alertClassified
Agent calls tools in sequence: observe โ†’ detect โ†’ assess โ†’ alert
Flare Coston2 RPCReal on-chain data
โ†”
FTSOv2 ContractPrice feeds
โ†”
FAsset (FXRP)Bridge state
โ†”
Contract RegistryAddress resolution
โ€”
System Scans
โ€”
Anomalies
โ€”
Alerts
โ€”
Risk Score
โ€”
FTSO Feeds
โ€”
Coston2 Block
MCP-Style Tools (8)

Each tool follows the Model Context Protocol pattern with name, description, and JSON Schema input. Click to test live against real Flare Coston2 data.

๐Ÿ“ก Live API Output (Real Flare Coston2 Data)
Ready. Click "Run Autonomous Agent Sweep" or any tool above to see live API responses from Flare Coston2.
What's Real vs Simulated

โœ… Real (Live On-Chain from Coston2)

  • Flare Coston2 RPC calls (eth_chainId, eth_blockNumber, eth_gasPrice)
  • FTSOv2 price feeds via getFeedsById (FLR/USD, BTC/USD, ETH/USD, XRP/USD, DOGE/USD)
  • FXRP ERC-20 reads (totalSupply, decimals, symbol, name)
  • AssetManagerFXRP.fAsset() โ€” managed token address resolution
  • FlareContractRegistry.getAllContracts() โ€” all protocol addresses resolved dynamically
  • Live block number and gas price from Coston2 testnet
  • SQLite persistence of scans, anomalies, alerts, FTSO snapshots (Vercel /tmp)
  • Anomaly detection heuristics (FTSO deviation, FAsset supply anomaly, gas spike)
  • Composite risk scoring (0-100) with severity classification
  • Agent orchestration (tool-chaining: observe โ†’ detect โ†’ score โ†’ alert)

โš ๏ธ Simulated / Approximated

  • FTSO baseline prices are approximate (production would use a rolling window of recent FTSO reads)
  • FXRP supply baseline is approximate (~6M, for anomaly detection thresholding)
  • Agent vault collateralization (getAgentInfo) requires a funded vault address; we use supply + manager state instead
  • No LLM API key โ€” agent orchestration is deterministic (reproducible in serverless)
  • No external time-series DB on free tier โ€” history stored in ephemeral SQLite /tmp