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

GetFeeAmountTickSpacing

func GetFeeAmountTickSpacing(fee uint32) (spacing int32, err error)
Ask AI Claude ChatGPT

GetFeeAmountTickSpacing returns the tick spacing for a given fee tier. Parameters:

  • fee: Fee tier whose supported tick spacing is requested.

Returns:

  • spacing: Tick spacing configured for fee.
  • err: Non-nil when fee is not one of the supported fee tiers.

Param

Command

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

Result

Gno Expression Evaluator

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