You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just wondering about how to determine the order of tokens in a liquidity pool. For example, if I'm querying the DAI/WBTC pool (0x231b7589426ffe1b75405526fc32ac09d44364c4), how can I know ahead of time which token will be token0 and which will be token1?
I'm wondering because if I provide decimals with optTokenDecimals, how would I know to provide it as [8, 18] rather than [18, 8]?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
I'm just wondering about how to determine the order of tokens in a liquidity pool. For example, if I'm querying the DAI/WBTC pool (0x231b7589426ffe1b75405526fc32ac09d44364c4), how can I know ahead of time which token will be token0 and which will be token1?
I'm wondering because if I provide decimals with
optTokenDecimals
, how would I know to provide it as [8, 18] rather than [18, 8]?Thanks in advance!
The text was updated successfully, but these errors were encountered: