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 "https://rpc.gno.land" -data "gno.land/r/gnoswap/staker.HasUnstakedPosition()"
Result