Docs

getPool

Calls the "getPool" function on the contract.

Example

import { getPool } from "thirdweb/extensions/uniswap";
const result = await getPool({
contract,
tokenA: ...,
tokenB: ...,
fee: ...,
});

Parameters

Returns

The parsed result of the function call.