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