Search Apps Documentation Source Content File Folder Download Copy Actions Download 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)

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 "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetFeeAmountTickSpacing()"

Result