This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Cross-Chain Staking Position Consolidator

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool scans multiple staking contracts across different EVM chains, reading your staked balances, accrued rewards, and withdrawal eligibility from each position. It then executes a series of transactions to withdraw all staked assets and rewards from each source contract, and finally restakes the consolidated amount into a target staking contract on a destination chain of your choice. This allows you to simplify portfolio management by merging scattered staking positions into a single, unified position.

HOW TO USE

Connect your Web3 wallet using the Connect button. In the Source Positions textarea, enter each staking contract in the format contract_address:chain_id:token_symbol—one per line. For example, "0xabc...:1:ETH" for Ethereum mainnet or "0xdef...:137:MATIC" for Polygon. Enter the target contract address and destination chain ID in the Target section. Click "Scan Positions" to detect your staked balances and rewards. The results show each position with staked amount and claimable rewards. Review the summary totals, then click "Consolidate" to execute. The tool will sequentially withdraw from each source and restake into the target, with progress shown in the status log.

TECHNICAL MECHANISM: SEQUENTIAL WITHDRAWAL WITH CONTRACT ADAPTATION

The tool uses ethers.js to dynamically detect and call withdrawal functions on each staking contract. It tries common function names such as withdraw, unstake, exit, and claimRewards in order, adapting to the specific ABI of each contract. For reward detection, it attempts earned, pendingReward, and claimable functions. Each withdrawal transaction is sent sequentially with a 300ms delay between them to avoid nonce conflicts—firing all transactions at once would cause most to be dropped due to nonce issues. After all source positions are withdrawn, the tool calls stake or deposit on the target contract to consolidate the assets. Gas estimation is performed per contract with a 30% buffer to account for execution variance.

WHAT IT CANNOT SEE

This tool cannot automatically bridge assets between chains without a bridge contract address and explicit approval. If your source positions are on a different chain than your target contract, you will need to bridge assets manually or provide a bridge contract. It cannot consolidate positions where withdrawal is locked, subject to unbonding periods, or requires timelock completion. It cannot detect staking positions on non-EVM chains—only EVM-compatible networks are supported. The tool does not verify the security or legitimacy of target staking contracts; you must ensure the target contract is safe and trustworthy.

PLEASE NOTE

This tool supports EVM chains only—Ethereum, Polygon, BSC, Arbitrum, Optimism, Avalanche, Base, and Fantom. You must have sufficient native gas (ETH, BNB, MATIC, etc.) on each source chain to cover withdrawal transactions. All state is in-memory and resets on page refresh. Always verify contract addresses before use—this tool does not hardcode any addresses and relies entirely on your inputs.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.