Define your margin mode first
Before executing any cross-chain trade, select a margin mode. This choice determines collateral allocation and liquidation risk.
Cross-margin pools all available assets in the account as collateral. It increases capital efficiency by using idle assets to support leverage but raises liquidation risk; a loss in one position can drain the entire account.
Isolated margin assigns specific collateral to each position. It limits risk to the funds allocated to that trade. If liquidated, only the isolated margin is lost. This mode is safer for volatile trades but requires more capital to maintain multiple positions.
| Feature | Cross-Margin | Isolated Margin |
|---|---|---|
| Collateral Pool | All account assets | Position-specific funds |
| Liquidation Risk | Higher (entire account) | Lower (limited to position) |
| Capital Efficiency | High (idle assets count) | Lower (capital locked per trade) |
| Best For | Large portfolios, stable positions | High volatility, risk management |
For cross-chain trading, isolated margin often provides better control, preventing a bad trade on one chain from draining assets on another. Use cross-margin only if you have a diversified portfolio and understand total exposure.
Connect a unified margin wallet
Onchain perpetual futures require a unified margin account to function across chains. This structure aggregates collateral from multiple networks into a single pool, allowing assets from one chain to back positions on another.
Verify that your collateral is visible in the margin dashboard. If assets are missing, ensure your wallet is on the correct network and that you have explicitly deposited funds into the margin account.
Deposit collateral efficiently
Fund your margin pool by selecting assets that impact borrowing costs and leverage limits. Onchain platforms support various assets, each with different risk profiles.
Step 1: Choose Your Collateral Asset
Most protocols support stablecoins (USDC, USDT) and volatile assets (ETH, BTC). Stablecoins minimize liquidation risk from market swings. Volatile assets can offer higher leverage efficiency but introduce significant liquidation risk if the asset price drops.
Step 2: Execute the Deposit
Connect your wallet to the platform. Navigate to the "Margin" or "Collateral" tab, select your asset, approve the token spend if required, and confirm the transaction. Ensure your balance meets the platform's minimum deposit threshold.
Step 3: Verify Margin Status
Check your margin dashboard for total margin, available balance, and borrowing fees. Stablecoins typically have lower fees than volatile assets, which may carry higher risk premiums.
Your margin ratio determines leverage capacity. Review the platform's fee schedule to understand borrowing costs, which may be charged hourly, daily, or weekly.
Step 4: Manage Your Position
Monitor your margin level relative to the liquidation threshold. Deposit additional funds if your margin drops too low. If your collateral asset is volatile, consider rebalancing into stablecoins if the asset price drops significantly.
Set up alerts for liquidation prices. Proactive rebalancing helps maintain your trading position and avoids forced liquidations.
Open positions with leverage
Opening a perpetual futures position requires covering the initial margin requirement. This differs from the maintenance margin, the lower threshold you must maintain to keep the position open.
Leverage trading involves borrowing fees that vary based on market demand. Cross-margin allows you to share your entire wallet balance as collateral, which can help prevent liquidation compared to isolated margin, but exposes your entire balance to risk.
Monitor liquidation thresholds
Tracking your health factor or margin ratio in real-time is essential to avoid liquidation. On-chain liquidations execute automatically when collateral falls below a specific level.
Initial margin is the collateral required to open a trade, while maintenance margin is the ongoing minimum required to keep the position open [src-serp-1]. As your position moves against you, your health factor drops. When it reaches the maintenance margin threshold, the protocol liquidates the position to protect lenders. This happens instantly, often within a single block.
If your health factor approaches 1 (or 100%, depending on the platform), you are at risk. Add collateral immediately or reduce your position size to lower leverage. Relying on price alerts is insufficient; you need real-time visibility into your margin status.
Close positions and withdraw
Closing your onchain perp margin position involves unwinding the position, settling the PnL, and withdrawing funds. Each step incurs blockchain gas fees.
Gas and Final Checks
Consider gas fees on the specific blockchain. Layer 2 solutions like Arbitrum or Optimism offer cheaper withdrawals than Ethereum Mainnet. If withdrawing a large amount, split the transaction into smaller batches to avoid slippage or network congestion.
By following this sequence, you ensure that your profits are secure and your risk exposure is zeroed out. Never leave large sums idle in a trading interface longer than necessary.
Onchain perp margin: what to check next
Before trading, understand how cross-margin and fees function on-chain. Unlike centralized exchanges, onchain perpetuals rely on smart contracts to manage risk.
How does cross-margin work on-chain?
Cross-margin links all positions in a single account to one collateral pool. Binance notes that unified margin allows a single collateral pool to cover multiple derivatives, reducing the need to lock separate funds for each trade [src-serp-4]. This efficiency lowers the total capital required to maintain active positions across different chains.
What happens if I run out of margin?
When your collateral value drops below the maintenance threshold, the protocol triggers liquidation. Unlike traditional brokers, onchain liquidations are automated and instantaneous. You lose your collateral to keep the position solvent, and you may incur additional liquidation fees. There is no manual margin call; the smart contract executes the sale of your assets to repay the borrowed funds [src-serp-2].
How are borrowing fees calculated?
Borrowing fees vary based on market demand and the specific asset being leveraged. These fees are typically charged periodically or upon position closure. High volatility or extreme long/short imbalances can spike these costs. Always check the current funding rate before entering a leveraged trade, as fees can erode profits on long-term holds [src-serp-2].


No comments yet. Be the first to share your thoughts!