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