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

DecodeTickKey

func DecodeTickKey(key string) int32

DecodeTickKey decodes a fixed-width ordered tick key. Parameters:

  • key: fixed-width ordered tick key produced by EncodeTickKey.

Returns:

  • tick: signed tick index decoded from key.

Param

Command

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

Result