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

GetFeeGrowthGlobal1X128

func GetFeeGrowthGlobal1X128(poolPath string) (string, error)
Ask AI Claude ChatGPT

GetFeeGrowthGlobal1X128 returns the global fee growth for token1. Parameters:

  • poolPath: Canonical pool path identifying the pool to query.

Returns:

  • string: Token1 global fee growth, serialized as a base-10 X128 accumulator.
  • error: Non-nil when poolPath does not identify an existing pool.

Param

Command

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

Result

Gno Expression Evaluator

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