diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ffab467fbd..dff2cbd344a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -428,4 +428,5 @@ Released with 1.0.0-beta.37 code base. ## [Unreleased] ## [1.5.2] -- `maxPriorityFeePerGas` and `maxFeePerGas` added to `Transaction` and `TransactionConfig` interfaces (#4232) \ No newline at end of file +- `maxPriorityFeePerGas` and `maxFeePerGas` added to `Transaction` and `TransactionConfig` interfaces (#4232) + diff --git a/packages/web3-core/types/index.d.ts b/packages/web3-core/types/index.d.ts index 9845e3e61c5..c461b1ac505 100644 --- a/packages/web3-core/types/index.d.ts +++ b/packages/web3-core/types/index.d.ts @@ -134,6 +134,8 @@ export interface Transaction { to: string | null; value: string; gasPrice: string; + maxPriorityFeePerGas?: string; + maxFeePerGas?: string; gas: number; input: string; } @@ -144,6 +146,8 @@ export interface TransactionConfig { value?: number | string | BN; gas?: number | string; gasPrice?: number | string | BN; + maxPriorityFeePerGas?: number | string | BN; + maxFeePerGas?: number | string | BN; data?: string; nonce?: number; chainId?: number;