Get staked balance
Get staked balance

Convex · Reads onchain state

Reads the Curve LP balance the socket has staked in a Convex pool. The reward contract's balanceOf returns the staked amount at 18 decimals, which is what a withdraw can pull. Reach for it to size a withdrawal at the full stake, to compute the position's share of a pool's reward rate, or to require a minimum stake exists before running a harvest.

On other protocols · 2