Get total collateral

Get total collateral on Rocket Pool

Ethereum
Ethereum

Reads onchain state

Ready to run on Base

Reads how much native ETH Rocket Pool can pay out for an rETH burn right now. rETH's getTotalCollateral returns its own ETH balance plus the deposit pool's excess balance at 18 decimals. Deposits still waiting to be assigned to validators are not included, so this is smaller than the ETH the protocol is holding. Reach for it before a burn to check the redeem path can settle the size you want, or to branch to a swap when it cannot. The collateral is frequently near zero, and a burn above it reverts.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More plugs on Base

Stake on Base · 9 plugs

Posts · 1

More on Rocket Pool · 6

On other protocols · 1