GetSlot0Tick
GetSlot0Tick returns the current tick from slot0. Parameters:
- poolPath: Canonical pool path identifying the pool to query.
Returns:
- int32: Current active tick index stored in slot0.
- error: Non-nil when poolPath does not identify an existing pool.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetSlot0Tick()"
Result