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

GetTickFeeGrowthOutsideX128

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

GetTickFeeGrowthOutsideX128 returns fee growth outside for both tokens at a tick. Parameters:

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

Returns:

  • string: Token0 fee growth outside tick, serialized as a base-10 X128 accumulator.
  • string: Token1 fee growth outside tick, serialized as a base-10 X128 accumulator.
  • 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.GetTickFeeGrowthOutsideX128(,)"

Result