import { sendTransaction } from "thirdweb";
import { createPool } from "thirdweb/extensions/uniswap";
 
const transaction = createPool({
 contract,
 tokenA: ...,
 tokenB: ...,
 fee: ...,
 overrides: {
   ...
 }
});
 
// Send the transaction
await sendTransaction({ transaction, account });