Skip to content

giveth:unstake

Unstake GIV from GIVpower: unwrap gGIV on Gnosis, withdraw from the staking contract on Optimism and Polygon zkEVM. Pass max as the amount to unstake everything the contract allows right now — staked GIV minus locks, where locks whose round already ended still count until giveth:unlock frees them (see @giveth:unlockable). A zero amount does nothing.

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

giveth:unstake <amount>
NameTypeEvaluationDescription
amountcommand | numberRuntime in smart blocksAmount of GIV to unstake in base units (wei), or the keyword max for everything not locked
# Unstake 100 GIV from GIVpower
giveth:unstake 100e18
# Unstake everything that is not locked
giveth:unstake max