exactInput

Prepares a transaction to call the "exactInput" function on the contract.

Example

import { exactInput } from "thirdweb/extensions/uniswap";
const transaction = exactInput({
contract,
params: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.