Docs

exactInput

Calls the "exactInput" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.