Prepares a transaction to call the "quoteExactInput" function on the contract.
import { sendTransaction } from "thirdweb";import { quoteExactInput } from "thirdweb/extensions/uniswap"; const transaction = quoteExactInput({ contract, path: ..., amountIn: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function quoteExactInput( options: BaseTransactionOptions< | QuoteExactInputParams | { asyncParams: () => Promise<QuoteExactInputParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "quoteExactInput" function.
let options: BaseTransactionOptions< | QuoteExactInputParams | { asyncParams: () => Promise<QuoteExactInputParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.