enableFeeAmount

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

Example

import { enableFeeAmount } from "thirdweb/extensions/uniswap";
const transaction = enableFeeAmount({
contract,
fee: ...,
tickSpacing: ...,
overrides: {
...
}
});
// Send the transaction
...
function enableFeeAmount(
| { asyncParams: () => Promise<EnableFeeAmountParams> }
>,

Parameters

The options for the "enableFeeAmount" function.

Type

| { asyncParams: () => Promise<EnableFeeAmountParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.