@gala-chain/api ∙ API
API > spaceTick
Function: spaceTick()
spaceTick(
tick
,tickSpacing
):number
Parameters
▪ tick: number
tick to be spaced
▪ tickSpacing: number
tick spacing that should be considered while spacing a tick
Returns
spaced tick
Notice
it will ensure the tick spacing