Prepares a transaction to call the "createPool" function on the contract.
import { sendTransaction } from "thirdweb";import { createPool } from "thirdweb/extensions/uniswap"; const transaction = createPool({ contract, tokenA: ..., tokenB: ..., fee: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function createPool( >,
The options for the "createPool" function.
>;
A prepared transaction object.