Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

pool package

Function

GetSlot0Tick

func GetSlot0Tick(poolPath string) (int32, error)

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.

Param

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetSlot0Tick()"

Result