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

GetTickLiquidityNet

func GetTickLiquidityNet(poolPath string, tick int32) (string, error)

GetTickLiquidityNet returns the net liquidity change at a tick. Parameters:

  • poolPath: Canonical pool path identifying the pool containing the tick.
  • tick: Tick index whose net liquidity change is requested.

Returns:

  • string: Signed net liquidity change at the tick, serialized as a base-10 integer.
  • error: Non-nil when the pool or tick is not found.

Params

Command

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

Result