IsStaked
IsStaked returns whether a position is staked.
Parameters:
- positionId: Position NFT token ID to check in the active deposit tree.
Returns:
- staked: True when positionId has an active deposit; false for an unstaked or unknown position.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.IsStaked()"
Result