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

GetFee

func GetFee(poolPath string) (uint32, error)
Ask AI Claude ChatGPT

GetFee returns the fee tier of the pool. Parameters:

  • poolPath: Canonical pool path identifying the pool whose fee tier is read.

Returns:

  • uint32: Configured fee tier for the pool.
  • error: Non-nil when poolPath does not identify an existing pool.

Param

Command

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

Result