@pancakeswap/v3-sdk
Version:
⚒️ An SDK for building applications on top of Pancakeswap V3
9 lines • 457 B
TypeScript
import { BigintIsh } from '@pancakeswap/swap-sdk-core';
/**
* Returns the sqrt ratio as a Q64.96 corresponding to a given ratio of amount1 and amount0
* @param amount1 The numerator amount i.e., the amount of token1
* @param amount0 The denominator amount i.e., the amount of token0
* @returns The sqrt ratio
*/
export declare function encodeSqrtRatioX96(amount1: BigintIsh, amount0: BigintIsh): bigint;
//# sourceMappingURL=encodeSqrtRatioX96.d.ts.map