thirdweb

UniswapV3Factory

Ethereum
etherscanblockscout
Code Snippets

Create Pool

(createPool)

nonpayable

tokenA

tokenB

fee


Connect Wallet

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function createPool(address tokenA, address tokenB, uint24 fee) returns (address pool)", params: [tokenA, tokenB, fee] }); const { transactionHash } = await sendTransaction({ transaction, account });