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

pool package

Function

GetTickCumulativeOutside

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

GetTickCumulativeOutside returns the tick cumulative value outside a tick. Parameters:

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

Returns:

  • int64: Tick cumulative recorded outside tick.
  • error: Non-nil when the pool or tick is not found.

Params

Command

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

Result