Skip to main content

What is Circular

Circular is Rosetta’s risk intelligence layer. It provides real-time visibility into lending market risks across the protocols Rosetta routes to, transforming on-chain data into actionable risk intelligence.

Tools

Circular exposes 26 tools organized into three categories.

Core Data (10 tools)

ToolDescription
get_market_overviewLending market overview with TVL, APY, utilization, and strategy classification
get_market_detailDeep dive into a single market with full metrics, top positions, and risk assessment
get_vault_overviewList vaults with TVL, APY, curator info, and allocation summaries
get_vault_detailFull vault analysis including allocations, top depositors, and concentration metrics
scan_wallet_positionsScan all DeFi positions for a wallet across all chains and protocols
get_risk_dashboardProtocol-wide risk overview with utilization distribution and liquidation velocity
get_liquidation_feedRecent liquidation events with borrower details and market context
get_protocol_statsProtocol statistics including TVL, total supply/borrow, and market count
search_marketsSearch markets by token name, symbol, or strategy type
get_health_statusAPI health check with circuit breaker states and cache status

Expansion (8 tools)

ToolDescription
compare_marketsSide-by-side comparison of 2–5 markets across all metrics
get_historical_trendsTVL, utilization, and APY trends over time for a protocol or market
find_yield_opportunitiesRank markets by risk-adjusted yield with APY and risk tier filtering
get_market_historyHistorical data for a specific market (supply, borrow, APY over time)
analyze_strategyDeep analysis of a strategy type with aggregate performance
get_chain_comparisonCompare DeFi activity across chains (TVL, market count, yields)
simulate_positionSimulate a leveraged position with health factor evolution and liquidation price
get_alert_conditionsCheck alert conditions for health, utilization, APY, and whale movements

Institutional Intelligence (8 tools)

ToolDescription
analyze_concentrationHHI analysis and whale detection with concentration risk tier
analyze_exposureCollateral exposure analysis across vaults with depeg impact simulation
simulate_depegModel impact of a collateral depeg event on liquidations and bad debt
get_risk_adjusted_yieldsRank all markets by Sharpe-proxy risk-adjusted yield
generate_risk_reportComprehensive risk report for a wallet, market, or protocol
monitor_whale_activityTrack large position changes with deposits, withdrawals, and leverage changes
get_liquidation_risk_mapMap positions by proximity to liquidation with cascade clustering
analyze_protocol_healthCross-protocol health comparison with bad debt ratios and governance risk

Risk Scoring

Circular uses a deterministic 0–100 risk scoring model:
FactorWeight
Protocol maturity15 pts
TVL depth5–50 pts
Utilization5–40 pts
Concentration5–30 pts
Collateral type5–30 pts
Chain risk5–20 pts
Utilization above 85% is flagged as elevated risk. Above 93% is flagged as critical (withdrawal risk).