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