Get position gauge rewards earned

Get position gauge rewards earned on Aerodrome

Base
Base

Reads onchain state

Reads the AERO emissions a staked Aerodrome Slipstream position has earned and not yet claimed. The position's gauge is resolved from its pool key and the Voter, and its earned returns the wallet's unclaimed emissions on the position at 18 decimals. The gauge reverts for a position the wallet has not staked in it. Reach for it to gate a reward claim on a minimum, so a plug never spends gas harvesting dust.

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 on Aerodrome ยท 37