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

GetPendingProtocolFees

func GetPendingProtocolFees() map[string]int64
Ask AI Claude ChatGPT

GetPendingProtocolFees returns the pending protocol fee amount per token path. Returns:

  • map[string]int64: Copy of pending protocol fees keyed by token contract path, with amounts in token base units.

Command

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

Result

Gno Expression Evaluator

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