Cross-Margin Risk Explainer
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool analyzes the risks of a cross-margin position or account and explains them in plain English. It reads the wallet address or position ID, chain ID, protocol type (lending, perpetual, etc.), cross-margin account balances and composition, total collateral value across positions, total debt and liability value, health factor and liquidation price, individual position collateral and debt details, price feeds for each collateral/asset, asset correlations and concentration, liquidation thresholds per position, margin maintenance requirements, open position sizes and leverage, unrealized PnL, protocol-specific risk parameters (LTV, liquidation bonus), and aggregated exposure across protocols. The AI layer translates these on-chain metrics into a clear, actionable risk assessment — describing the total collateral, debt, health factor, liquidation price(s), collateral composition and concentration, leverage, and any correlated asset risks before you add or modify a position. This helps you avoid over-leveraged or concentrated positions that could lead to cascading liquidations.
HOW TO USE
Connect your wallet, select the network, and paste the wallet address or position ID you want to analyze. Select the protocol type. The tool will fetch the cross-margin position data, calculate risk metrics, and display the results alongside an AI-generated plain-English risk assessment. No transaction is required — this is a read-only operation. The AI analysis is generated from the exact data the tool reads, ensuring the guidance is grounded in what the chain actually shows.
TECHNICAL MECHANISM
The tool performs view calls to fetch position data from the protocol contract, including collateral balances, debt amounts, and price feed addresses. It calculates the health factor by comparing the total collateral value to the total debt, factoring in liquidation thresholds for each asset. The tool determines the liquidation price for each position and aggregates exposure across multiple protocols by querying relevant contract interfaces. It analyzes asset concentration by calculating the percentage of total collateral in each asset type, and identifies correlated asset risks. All calculations are performed against the current block state, and the AI prompt is constructed entirely from the actual read results — never from assumptions — ensuring the risk assessment is grounded solely in what the position actually shows. All reads are performed through the connected wallet's provider.
WHAT IT CANNOT SEE
This tool cannot definitively determine if a cross-margin position is safe — it only reads on-chain position data and calculates risk metrics. It cannot detect off-chain market manipulation. It cannot predict future price movements. It cannot account for correlated asset crashes. It cannot detect hidden protocol risks or vulnerabilities. Calculations depend on price feed data which may be stale. It cannot guarantee liquidation predictions are accurate. It cannot assess position risk across protocols that don't expose data on-chain. Analysis depends on available position data which may be incomplete. The AI analysis is generated from the data the tool reads and should be treated as informational, not as a guarantee of position safety.
PLEASE NOTE
EVM chains only. Analysis is AI-generated from data the app reads on-chain — always review what you are actually signing in your wallet before approving it. This tool is read-only and never initiates transactions.