HasUnstakedPosition
HasUnstakedPosition returns whether a position was unstaked with rewards left to collect.
Parameters:
- positionId: Position NFT token ID to check in the unstaked-position tree.
Returns:
- unstaked: True when positionId has an exit checkpoint awaiting collection; false otherwise.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.HasUnstakedPosition()"
Result