Isolated to Cross Margin Converter
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
Isolated to Cross Margin Converter is a DeFi tool that lets you convert an isolated margin position into a cross-margin position in a single atomic transaction. In isolated margin trading, each position is segregated with its own collateral and debt, limiting risk exposure to that specific position. Cross-margin positions share collateral across multiple positions, allowing for greater capital efficiency and the ability to borrow against a combined pool of assets. This tool reads your isolated position's collateral, debt, and health factor, then closes it and reopens the same position as cross-margin — all in one transaction, saving you gas and execution time.
HOW TO USE
Connect your EVM wallet via the BGWallet bridge. Enter the addresses of your isolated margin pool, the target cross-margin pool, your collateral token, and debt token. Optionally, specify the amount to convert — leave it blank to convert your full position. Click "Preview Conversion" to see your isolated position details (collateral, debt, health factor) and the projected cross-margin position details. Review the health factors — cross-margin positions often offer better health factors due to shared collateral. Click "Convert to Cross Margin" to sign and broadcast the transaction. The tool handles closing the isolated position and opening the cross-margin position in a single atomic transaction.
TECHNICAL MECHANISM
The tool fetches your isolated position data from the isolated pool using view functions, then calculates the equivalent position parameters for the cross-margin pool based on the same collateral/debt amounts and the cross-margin pool's liquidation thresholds. When you execute, the tool encodes a sequential transaction that: (1) repays the debt in the isolated pool, (2) withdraws the collateral, (3) deposits the collateral into the cross-margin pool, and (4) borrows the same debt amount from the cross-margin pool. The entire operation is atomic — if any step fails, the transaction reverts and your positions remain unchanged. The tool also simulates the resulting health factor in the cross-margin position and warns you if it would be worse than the isolated position.
WHAT IT CANNOT SEE
This tool cannot guarantee that the cross-margin position will have better terms or that the conversion will be profitable if prices change during execution. Cross-margin positions typically offer better capital efficiency but may come with different liquidation thresholds or interest rates. The tool also cannot predict oracle updates, protocol changes, or sudden market movements that could affect your position. Always monitor market conditions and consider the gas cost — converting small positions may not be worth the transaction fees. This tool is an aid for position management, not a guarantee of better terms.
PLEASE NOTE
EVM chains only. This tool relies on the BGWallet connector and will not function on Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The user is responsible for ensuring the supplied contract addresses are correct and that both protocols support the specified operations. Always double-check the preview results and ensure you understand the differences between isolated and cross-margin trading before executing the conversion.