IsInRange
IsInRange reports whether a position's ticks contain the current pool tick.
Parameters:
- positionId: position NFT token ID
Returns:
- inRange: whether the position is currently in range
- err: non-nil when positionId cannot be resolved or the associated pool tick cannot be read
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/position.IsInRange()"
Result