UniswapV3Factory

Ethereum
etherscanblockscout
Code Snippets

createPool

nonpayable

Use this function in your app

const response = await fetch('https://api.thirdweb.com/v1/contracts/write', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-secret-key': '<YOUR_SECRET_KEY>' }, body: JSON.stringify({ calls: [ { contractAddress: "0x1F98431c8aD98523631AE4a59f267346ea31F984", method: "function createPool(address tokenA, address tokenB, uint24 fee) returns (address pool)", params: [tokenA, tokenB, fee] } ], chainId: 1, from: "<YOUR_WALLET_ADDRESS>" }) }); const data = await response.json();