Get unlocked stake

Get unlocked stake on Venice

Base
Base

Reads onchain state

Reads the staked VVV of an account that is free to unstake or to lock for DIEM. The staking contract's balanceOfUnlocked is the account's sVVV less what it locked to mint DIEM, at 18 decimals. Reach for it to size an unstake or a DIEM mint to everything the account can move, or to gate a step on the free stake crossing a level.

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 Venice · 12