Documentation
    Preparing search index...
    • Derive the sqrt-price from a tick index. The precision of this method is only guarranted if tick is within the bounds of {max, min} tick-index.

      Parameters

      • tick_index - A i32 integer representing the tick integer

      Returns

      • Ok: A u128 Q32.64 representing the sqrt_price

      Parameters

      • tick_index: number

      Returns bigint