Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

/pool package

Function

GetTickLiquidityGross

func GetTickLiquidityGross(poolPath string, tick int32) (string, error)
Ask AI Claude ChatGPT

GetTickLiquidityGross returns the total liquidity that references a tick. Parameters:

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

Returns:

  • string: Gross liquidity referencing the tick, serialized as a base-10 unsigned integer.
  • error: Non-nil when the pool or tick is not found.

Params

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/pool.GetTickLiquidityGross(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/pool, for example a function call with arguments.