Skip to content

@giveth:staked

Raw GIV an account has staked for GIVpower: the gGIV balance on Gnosis, the deposit balance on Optimism and Polygon zkEVM. Includes locked GIV (see @giveth:unstakable) and counts pending giveth:stake/giveth:unstake actions earlier in the script.

Returns: number

@giveth:staked(account?)
NameTypeDescription
[account]addressAccount to inspect (defaults to the connected account)
# Print your staked GIV
print "Staked GIV:" @giveth:staked()