exactOutput

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

Example

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

Parameters

Returns

A prepared transaction object.