Get lock count

Get lock count on Virtuals

Base
Base

Reads onchain state

Reads how many veVIRTUAL locks an account holds. The veVIRTUAL contract's numPositions counts every lock the account holds, renewing or expiring; a withdraw removes one. Reach for it to gate a stake on an account holding none yet.

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 Virtuals · 11