diff --git a/src/utils/transactionSerializer.ts b/src/utils/transactionSerializer.ts index b9d33c7..73dd727 100644 --- a/src/utils/transactionSerializer.ts +++ b/src/utils/transactionSerializer.ts @@ -10,14 +10,14 @@ import { /** * Serializes a transaction with EIP-1559 */ -export const serializeEip1559Transaction = < +export function serializeEip1559Transaction< TAbi extends Abi | readonly unknown[], TFunctionName extends string | undefined = undefined, >( options: & EncodeFunctionDataParameters & Omit, -): TransactionSerializedEIP1559 => { +): TransactionSerializedEIP1559 { const encodedFunctionData = encodeFunctionData(options) const serializedTransaction = serializeTransaction({ ...options,