Docs

enableFeeAmount

Calls the "enableFeeAmount" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.