Check if a Pool Exists
Check if a V2 liquidity pool for two sets of HTS tokens with a specific swap fee tier exists on-chain.
Last updated
Check if a V2 liquidity pool for two sets of HTS tokens with a specific swap fee tier exists on-chain.
Last updated
Checking if the liquidity pool with the matching fee tier exists using SaucerSwap's REST API is also a suitable alternative. For more information, see .
Function name: getPool
⛽ No gas cost
address token0
The contract address of either token0 or token1
address token1
The contract address of the other token
uint24 fee
The fee collected upon every swap in the pool, denominated in hundredths of a bip