getUniswapV3Pool

Finds the Uniswap V3 pools for the two tokens.

Example

import { getUniswapV3Pool } from "thirdweb/extensions/uniswap";
const pools = await getUniswapV3Pool({
tokenA: "0x...",
tokenB: "0x...",
contract: factoryContract,
});

Parameters

Returns

The pools' addresses and fees.