Docs

exactInputSingle

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

Example

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

Parameters

Returns

A prepared transaction object.