prepare_rocketpool_unstake
Build an unsigned transaction to burn rETH and redeem ETH from Rocket Pool on-protocol collateral. Preflights wallet balance and collateral; if insufficient, recommends using the rETH/ETH Uniswap V3 pool.
Instructions
Build an unsigned Rocket Pool unstake transaction (rETH.burn(uint256), redeems rETH for ETH from on-protocol collateral). No approval needed — burn operates on caller's balance. Preflights wallet rETH balance and rETH contract collateral; if collateral is insufficient, refuses with a hint to unwind via the rETH/ETH Uniswap V3 pool instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| amountReth | Yes | Human-readable rETH amount to burn for ETH, NOT raw wei. Example: "0.5" for 0.5 rETH (18 decimals). Burning requires sufficient on-protocol ETH collateral (rETH contract balance + RocketDepositPool excess); if collateral is insufficient, sell rETH on the rETH/ETH Uniswap V3 pool instead via `prepare_uniswap_swap`. |