
Balancer · Reads onchain state
Reads the BAL a Balancer gauge has accrued for the socket and not yet minted. The gauge's claimable_tokens returns the accrued amount at 18 decimals, checkpointing rewards as it does. It reflects emissions up to this block, not extra reward tokens. Reach for it to gate a claim behind a minimum so small harvests are skipped: compare the accrued BAL against a threshold with a predicate and only run the claim-and-rejoin steps when it clears.
On other protocols · 3