GetFeeGrowthGlobalX128
GetFeeGrowthGlobalX128 returns the global fee growth for both tokens. Parameters:
- poolPath: Canonical pool path identifying the pool to query.
Returns:
- string: Token0 global fee growth, serialized as a base-10 X128 accumulator.
- string: Token1 global fee growth, serialized as a base-10 X128 accumulator.
- error: Non-nil when poolPath does not identify an existing pool.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetFeeGrowthGlobalX128()"
Result