Prepares a transaction to call the "createPool" function on the contract.
import { createPool } from "thirdweb/extensions/uniswap"; const transaction = createPool({ contract, tokenA: ..., tokenB: ..., fee: ..., overrides: { ... }}); // Send the transaction...
function createPool( options: BaseTransactionOptions< | CreatePoolParams | { asyncParams: () => Promise<CreatePoolParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "createPool" function.
let options: BaseTransactionOptions< CreatePoolParams | { asyncParams: () => Promise<CreatePoolParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.