@metamask/transaction-controller 22.0.0 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/dist/TransactionController.d.ts +104 -106
  3. package/dist/TransactionController.d.ts.map +1 -1
  4. package/dist/TransactionController.js +281 -172
  5. package/dist/TransactionController.js.map +1 -1
  6. package/dist/helpers/EtherscanRemoteTransactionSource.d.ts.map +1 -1
  7. package/dist/helpers/EtherscanRemoteTransactionSource.js +28 -8
  8. package/dist/helpers/EtherscanRemoteTransactionSource.js.map +1 -1
  9. package/dist/helpers/IncomingTransactionHelper.d.ts +17 -3
  10. package/dist/helpers/IncomingTransactionHelper.d.ts.map +1 -1
  11. package/dist/helpers/IncomingTransactionHelper.js +17 -14
  12. package/dist/helpers/IncomingTransactionHelper.js.map +1 -1
  13. package/dist/helpers/MultichainTrackingHelper.d.ts +72 -0
  14. package/dist/helpers/MultichainTrackingHelper.d.ts.map +1 -0
  15. package/dist/helpers/MultichainTrackingHelper.js +292 -0
  16. package/dist/helpers/MultichainTrackingHelper.js.map +1 -0
  17. package/dist/helpers/PendingTransactionTracker.d.ts +7 -7
  18. package/dist/helpers/PendingTransactionTracker.d.ts.map +1 -1
  19. package/dist/helpers/PendingTransactionTracker.js +28 -28
  20. package/dist/helpers/PendingTransactionTracker.js.map +1 -1
  21. package/dist/types.d.ts +5 -0
  22. package/dist/types.d.ts.map +1 -1
  23. package/dist/types.js.map +1 -1
  24. package/dist/utils/etherscan.d.ts +7 -0
  25. package/dist/utils/etherscan.d.ts.map +1 -1
  26. package/dist/utils/etherscan.js +17 -6
  27. package/dist/utils/etherscan.js.map +1 -1
  28. package/dist/utils/gas-fees.d.ts +4 -3
  29. package/dist/utils/gas-fees.d.ts.map +1 -1
  30. package/dist/utils/gas-fees.js +6 -2
  31. package/dist/utils/gas-fees.js.map +1 -1
  32. package/dist/utils/gas.d.ts +3 -2
  33. package/dist/utils/gas.d.ts.map +1 -1
  34. package/dist/utils/gas.js +4 -5
  35. package/dist/utils/gas.js.map +1 -1
  36. package/dist/utils/nonce.d.ts +3 -3
  37. package/dist/utils/nonce.d.ts.map +1 -1
  38. package/dist/utils/nonce.js +3 -3
  39. package/dist/utils/nonce.js.map +1 -1
  40. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [23.0.0]
11
+
12
+ ### Added
13
+
14
+ - **BREAKING:** Constructor now expects a `getNetworkClientRegistry` callback function ([#3643](https://github.com/MetaMask/core/pull/3643))
15
+ - **BREAKING:** Messenger now requires `NetworkController:stateChange` to be an allowed event ([#3643](https://github.com/MetaMask/core/pull/3643))
16
+ - **BREAKING:** Messenger now requires `NetworkController:findNetworkClientByChainId` and `NetworkController:getNetworkClientById` actions ([#3643](https://github.com/MetaMask/core/pull/3643))
17
+ - Adds a feature flag parameter `isMultichainEnabled` passed via the constructor (and defaulted to false), which when passed a truthy value will enable the controller to submit, process, and track transactions concurrently on multiple networks. ([#3643](https://github.com/MetaMask/core/pull/3643))
18
+ - Adds `destroy()` method that stops/removes internal polling and listeners ([#3643](https://github.com/MetaMask/core/pull/3643))
19
+ - Adds `stopAllIncomingTransactionPolling()` method that stops polling Etherscan for transaction updates relevant to the currently selected network.
20
+ - When called with the `isMultichainEnabled` feature flag on, also stops polling Etherscan for transaction updates relevant to each currently polled networkClientId. ([#3643](https://github.com/MetaMask/core/pull/3643))
21
+ - Exports `PendingTransactionOptions` type ([#3643](https://github.com/MetaMask/core/pull/3643))
22
+ - Exports `TransactionControllerOptions` type ([#3643](https://github.com/MetaMask/core/pull/3643))
23
+
24
+ ### Changed
25
+
26
+ - **BREAKING:** `approveTransactionsWithSameNonce()` now requires `chainId` to be populated in for each TransactionParams that is passed ([#3643](https://github.com/MetaMask/core/pull/3643))
27
+ - `addTransaction()` now accepts optional `networkClientId` in its options param which specifies the network client that the transaction will be processed with during its lifecycle if the `isMultichainEnabled` feature flag is on ([#3643](https://github.com/MetaMask/core/pull/3643))
28
+ - when called with the `isMultichainEnabled` feature flag off, passing in a networkClientId will cause an error to be thrown.
29
+ - `estimateGas()` now accepts optional networkClientId as its last param which specifies the network client that should be used to estimate the required gas for the given transaction ([#3643](https://github.com/MetaMask/core/pull/3643))
30
+ - when called with the `isMultichainEnabled` feature flag is off, the networkClientId param is ignored and the global network client will be used instead.
31
+ - `estimateGasBuffered()` now accepts optional networkClientId as its last param which specifies the network client that should be used to estimate the required gas plus buffer for the given transaction ([#3643](https://github.com/MetaMask/core/pull/3643))
32
+ - when called with the `isMultichainEnabled` feature flag is off, the networkClientId param is ignored and the global network client will be used instead.
33
+ - `getNonceLock()` now accepts optional networkClientId as its last param which specifies which the network client's nonceTracker should be used to determine the next nonce. ([#3643](https://github.com/MetaMask/core/pull/3643))
34
+ - When called with the `isMultichainEnabled` feature flag on and with networkClientId specified, this method will also restrict acquiring the next nonce by chainId, i.e. if this method is called with two different networkClientIds on the same chainId, only the first call will return immediately with a lock from its respective nonceTracker with the second call being blocked until the first caller releases its lock
35
+ - When called with `isMultichainEnabled` feature flag off, the networkClientId param is ignored and the global network client will be used instead.
36
+ - `startIncomingTransactionPolling()` and `updateIncomingTransactions()` now enforce a 5 second delay between requests per chainId to avoid rate limiting ([#3643](https://github.com/MetaMask/core/pull/3643))
37
+ - `TransactionMeta` type now specifies an optional `networkClientId` field ([#3643](https://github.com/MetaMask/core/pull/3643))
38
+ - `startIncomingTransactionPolling()` now accepts an optional array of `networkClientIds`. ([#3643](https://github.com/MetaMask/core/pull/3643))
39
+ - When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is on, the controller will start polling Etherscan for transaction updates relevant to the networkClientIds.
40
+ - When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is off, nothing will happen.
41
+ - If `networkClientIds` is empty or not provided, the controller will start polling Etherscan for transaction updates relevant to the currently selected network.
42
+ - `stopIncomingTransactionPolling()` now accepts an optional array of `networkClientIds`. ([#3643](https://github.com/MetaMask/core/pull/3643))
43
+ - When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is on, the controller will stop polling Ethercsan for transaction updates relevant to the networkClientIds.
44
+ - When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is off, nothing will happen.
45
+ - If `networkClientIds` is empty or not provided, the controller will stop polling Etherscan for transaction updates relevant to the currently selected network.
46
+
10
47
  ## [22.0.0]
11
48
 
12
49
  ### Changed
@@ -495,7 +532,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
495
532
 
496
533
  All changes listed after this point were applied to this package following the monorepo conversion.
497
534
 
498
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@22.0.0...HEAD
535
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@23.0.0...HEAD
536
+ [23.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@22.0.0...@metamask/transaction-controller@23.0.0
499
537
  [22.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.2.0...@metamask/transaction-controller@22.0.0
500
538
  [21.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.1.0...@metamask/transaction-controller@21.2.0
501
539
  [21.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.1...@metamask/transaction-controller@21.1.0
@@ -5,15 +5,18 @@ import type { AddApprovalRequest } from '@metamask/approval-controller';
5
5
  import type { BaseConfig, BaseState, RestrictedControllerMessenger } from '@metamask/base-controller';
6
6
  import { BaseControllerV1 } from '@metamask/base-controller';
7
7
  import type { GasFeeState } from '@metamask/gas-fee-controller';
8
- import type { BlockTracker, NetworkState, Provider } from '@metamask/network-controller';
8
+ import type { BlockTracker, NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, Provider, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from '@metamask/network-controller';
9
9
  import type { Hex } from '@metamask/utils';
10
10
  import { EventEmitter } from 'events';
11
11
  import type { NonceLock, Transaction as NonceTrackerTransaction } from 'nonce-tracker';
12
+ import type { IncomingTransactionOptions } from './helpers/IncomingTransactionHelper';
12
13
  import type { Events, SavedGasFees, SecurityProviderRequest, SendFlowHistoryEntry, TransactionParams, TransactionMeta, TransactionReceipt, WalletDevice, SecurityAlertResponse } from './types';
13
14
  import { TransactionType, TransactionStatus } from './types';
14
15
  export declare const HARDFORK = Hardfork.London;
15
16
  /**
16
- * @type Result
17
+ * Object with new transaction's meta and a promise resolving to the
18
+ * transaction hash if successful.
19
+ *
17
20
  * @property result - Promise resolving to a new transaction hash
18
21
  * @property transactionMeta - Meta information about this new transaction
19
22
  */
@@ -29,9 +32,8 @@ export interface FeeMarketEIP1559Values {
29
32
  maxPriorityFeePerGas: string;
30
33
  }
31
34
  /**
32
- * @type TransactionConfig
33
- *
34
35
  * Transaction controller configuration
36
+ *
35
37
  * @property provider - Provider used to create a new underlying EthQuery instance
36
38
  * @property sign - Method used to sign transactions
37
39
  */
@@ -40,9 +42,8 @@ export interface TransactionConfig extends BaseConfig {
40
42
  txHistoryLimit: number;
41
43
  }
42
44
  /**
43
- * @type MethodData
44
- *
45
45
  * Method data registry object
46
+ *
46
47
  * @property registryMethod - Registry method raw string
47
48
  * @property parsedRegistryMethod - Registry method object, containing name and method arguments
48
49
  */
@@ -51,9 +52,8 @@ export interface MethodData {
51
52
  parsedRegistryMethod: Record<string, unknown>;
52
53
  }
53
54
  /**
54
- * @type TransactionState
55
- *
56
55
  * Transaction controller state
56
+ *
57
57
  * @property transactions - A list of TransactionMeta objects
58
58
  * @property methodData - Object containing all known method data information
59
59
  */
@@ -74,6 +74,77 @@ export declare const CANCEL_RATE = 1.1;
74
74
  * Multiplier used to determine a transaction's increased gas fee during speed up
75
75
  */
76
76
  export declare const SPEED_UP_RATE = 1.1;
77
+ /**
78
+ * Configuration options for the PendingTransactionTracker
79
+ *
80
+ * @property isResubmitEnabled - Whether transaction publishing is automatically retried.
81
+ */
82
+ export declare type PendingTransactionOptions = {
83
+ isResubmitEnabled?: boolean;
84
+ };
85
+ /**
86
+ * TransactionController constructor options.
87
+ *
88
+ * @property blockTracker - The block tracker used to poll for new blocks data.
89
+ * @property disableHistory - Whether to disable storing history in transaction metadata.
90
+ * @property disableSendFlowHistory - Explicitly disable transaction metadata history.
91
+ * @property disableSwaps - Whether to disable additional processing on swaps transactions.
92
+ * @property isMultichainEnabled - Enable multichain support.
93
+ * @property getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
94
+ * @property getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
95
+ * @property getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
96
+ * @property getGasFeeEstimates - Callback to retrieve gas fee estimates.
97
+ * @property getNetworkClientRegistry - Gets the network client registry.
98
+ * @property getNetworkState - Gets the state of the network controller.
99
+ * @property getPermittedAccounts - Get accounts that a given origin has permissions for.
100
+ * @property getSavedGasFees - Gets the saved gas fee config.
101
+ * @property getSelectedAddress - Gets the address of the currently selected account.
102
+ * @property incomingTransactions - Configuration options for incoming transaction support.
103
+ * @property messenger - The controller messenger.
104
+ * @property onNetworkStateChange - Allows subscribing to network controller state changes.
105
+ * @property pendingTransactions - Configuration options for pending transaction support.
106
+ * @property provider - The provider used to create the underlying EthQuery instance.
107
+ * @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
108
+ * @property hooks - The controller hooks.
109
+ * @property hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
110
+ * @property hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
111
+ * @property hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
112
+ * @property hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
113
+ * @property hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
114
+ * @property hooks.publish - Alternate logic to publish a transaction.
115
+ */
116
+ export declare type TransactionControllerOptions = {
117
+ blockTracker: BlockTracker;
118
+ disableHistory: boolean;
119
+ disableSendFlowHistory: boolean;
120
+ disableSwaps: boolean;
121
+ getCurrentAccountEIP1559Compatibility?: () => Promise<boolean>;
122
+ getCurrentNetworkEIP1559Compatibility: () => Promise<boolean>;
123
+ getExternalPendingTransactions?: (address: string, chainId?: string) => NonceTrackerTransaction[];
124
+ getGasFeeEstimates?: () => Promise<GasFeeState>;
125
+ getNetworkState: () => NetworkState;
126
+ getPermittedAccounts: (origin?: string) => Promise<string[]>;
127
+ getSavedGasFees?: (chainId: Hex) => SavedGasFees | undefined;
128
+ getSelectedAddress: () => string;
129
+ incomingTransactions?: IncomingTransactionOptions;
130
+ messenger: TransactionControllerMessenger;
131
+ onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
132
+ pendingTransactions?: PendingTransactionOptions;
133
+ provider: Provider;
134
+ securityProviderRequest?: SecurityProviderRequest;
135
+ getNetworkClientRegistry: NetworkController['getNetworkClientRegistry'];
136
+ isMultichainEnabled: boolean;
137
+ hooks: {
138
+ afterSign?: (transactionMeta: TransactionMeta, signedTx: TypedTransaction) => boolean;
139
+ beforeApproveOnInit?: (transactionMeta: TransactionMeta) => boolean;
140
+ beforeCheckPendingTransaction?: (transactionMeta: TransactionMeta) => boolean;
141
+ beforePublish?: (transactionMeta: TransactionMeta) => boolean;
142
+ getAdditionalSignArguments?: (transactionMeta: TransactionMeta) => (TransactionMeta | undefined)[];
143
+ publish?: (transactionMeta: TransactionMeta) => Promise<{
144
+ transactionHash: string;
145
+ }>;
146
+ };
147
+ };
77
148
  /**
78
149
  * The name of the {@link TransactionController}.
79
150
  */
@@ -81,11 +152,12 @@ declare const controllerName = "TransactionController";
81
152
  /**
82
153
  * The external actions available to the {@link TransactionController}.
83
154
  */
84
- declare type AllowedActions = AddApprovalRequest;
155
+ declare type AllowedActions = AddApprovalRequest | NetworkControllerFindNetworkClientIdByChainIdAction | NetworkControllerGetNetworkClientByIdAction;
156
+ declare type AllowedEvents = NetworkControllerStateChangeEvent;
85
157
  /**
86
158
  * The messenger of the {@link TransactionController}.
87
159
  */
88
- export declare type TransactionControllerMessenger = RestrictedControllerMessenger<typeof controllerName, AllowedActions, never, AllowedActions['type'], never>;
160
+ export declare type TransactionControllerMessenger = RestrictedControllerMessenger<typeof controllerName, AllowedActions, AllowedEvents, AllowedActions['type'], AllowedEvents['type']>;
89
161
  export interface TransactionControllerEventEmitter extends EventEmitter {
90
162
  on<T extends keyof Events>(eventName: T, listener: (...args: Events[T]) => void): this;
91
163
  emit<T extends keyof Events>(eventName: T, ...args: Events[T]): boolean;
@@ -94,14 +166,13 @@ export interface TransactionControllerEventEmitter extends EventEmitter {
94
166
  * Controller responsible for submitting and managing transactions.
95
167
  */
96
168
  export declare class TransactionController extends BaseControllerV1<TransactionConfig, TransactionState> {
97
- private readonly ethQuery;
169
+ #private;
98
170
  private readonly isHistoryDisabled;
99
171
  private readonly isSwapsDisabled;
100
172
  private readonly isSendFlowHistoryDisabled;
101
173
  private readonly inProcessOfSigning;
102
174
  private readonly nonceTracker;
103
175
  private readonly registry;
104
- private readonly provider;
105
176
  private readonly mutex;
106
177
  private readonly getSavedGasFees;
107
178
  private readonly getNetworkState;
@@ -136,80 +207,11 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
136
207
  * Method used to sign transactions
137
208
  */
138
209
  sign?: (transaction: TypedTransaction, from: string, transactionMeta?: TransactionMeta) => Promise<TypedTransaction>;
210
+ constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkState, getPermittedAccounts, getSavedGasFees, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, getNetworkClientRegistry, isMultichainEnabled, hooks, }: TransactionControllerOptions, config?: Partial<TransactionConfig>, state?: Partial<TransactionState>);
139
211
  /**
140
- * Creates a TransactionController instance.
141
- *
142
- * @param options - The controller options.
143
- * @param options.blockTracker - The block tracker used to poll for new blocks data.
144
- * @param options.disableHistory - Whether to disable storing history in transaction metadata.
145
- * @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
146
- * @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
147
- * @param options.getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
148
- * @param options.getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
149
- * @param options.getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
150
- * @param options.getGasFeeEstimates - Callback to retrieve gas fee estimates.
151
- * @param options.getNetworkState - Gets the state of the network controller.
152
- * @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
153
- * @param options.getSavedGasFees - Gets the saved gas fee config.
154
- * @param options.getSelectedAddress - Gets the address of the currently selected account.
155
- * @param options.incomingTransactions - Configuration options for incoming transaction support.
156
- * @param options.incomingTransactions.includeTokenTransfers - Whether or not to include ERC20 token transfers.
157
- * @param options.incomingTransactions.isEnabled - Whether or not incoming transaction retrieval is enabled.
158
- * @param options.incomingTransactions.queryEntireHistory - Whether to initially query the entire transaction history or only recent blocks.
159
- * @param options.incomingTransactions.updateTransactions - Whether to update local transactions using remote transaction data.
160
- * @param options.messenger - The controller messenger.
161
- * @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
162
- * @param options.pendingTransactions - Configuration options for pending transaction support.
163
- * @param options.pendingTransactions.isResubmitEnabled - Whether transaction publishing is automatically retried.
164
- * @param options.provider - The provider used to create the underlying EthQuery instance.
165
- * @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
166
- * @param options.hooks - The controller hooks.
167
- * @param options.hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
168
- * @param options.hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
169
- * @param options.hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
170
- * @param options.hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
171
- * @param options.hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
172
- * @param options.hooks.publish - Alternate logic to publish a transaction.
173
- * @param config - Initial options used to configure this controller.
174
- * @param state - Initial state to set on this controller.
175
- */
176
- constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkState, getPermittedAccounts, getSavedGasFees, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, hooks, }: {
177
- blockTracker: BlockTracker;
178
- disableHistory: boolean;
179
- disableSendFlowHistory: boolean;
180
- disableSwaps: boolean;
181
- getCurrentAccountEIP1559Compatibility?: () => Promise<boolean>;
182
- getCurrentNetworkEIP1559Compatibility: () => Promise<boolean>;
183
- getExternalPendingTransactions?: (address: string) => NonceTrackerTransaction[];
184
- getGasFeeEstimates?: () => Promise<GasFeeState>;
185
- getNetworkState: () => NetworkState;
186
- getPermittedAccounts: (origin?: string) => Promise<string[]>;
187
- getSavedGasFees?: (chainId: Hex) => SavedGasFees | undefined;
188
- getSelectedAddress: () => string;
189
- incomingTransactions?: {
190
- includeTokenTransfers?: boolean;
191
- isEnabled?: () => boolean;
192
- queryEntireHistory?: boolean;
193
- updateTransactions?: boolean;
194
- };
195
- messenger: TransactionControllerMessenger;
196
- onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
197
- pendingTransactions?: {
198
- isResubmitEnabled?: boolean;
199
- };
200
- provider: Provider;
201
- securityProviderRequest?: SecurityProviderRequest;
202
- hooks: {
203
- afterSign?: (transactionMeta: TransactionMeta, signedTx: TypedTransaction) => boolean;
204
- beforeApproveOnInit?: (transactionMeta: TransactionMeta) => boolean;
205
- beforeCheckPendingTransaction?: (transactionMeta: TransactionMeta) => boolean;
206
- beforePublish?: (transactionMeta: TransactionMeta) => boolean;
207
- getAdditionalSignArguments?: (transactionMeta: TransactionMeta) => (TransactionMeta | undefined)[];
208
- publish?: (transactionMeta: TransactionMeta) => Promise<{
209
- transactionHash: string;
210
- }>;
211
- };
212
- }, config?: Partial<TransactionConfig>, state?: Partial<TransactionState>);
212
+ * Stops polling and removes listeners to prepare the controller for garbage collection.
213
+ */
214
+ destroy(): void;
213
215
  /**
214
216
  * Handle new method data request.
215
217
  *
@@ -235,9 +237,10 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
235
237
  * @param opts.swaps - Options for swaps transactions.
236
238
  * @param opts.swaps.hasApproveTx - Whether the transaction has an approval transaction.
237
239
  * @param opts.swaps.meta - Metadata for swap transaction.
240
+ * @param opts.networkClientId - The id of the network client for this transaction.
238
241
  * @returns Object containing a promise resolving to the transaction hash if approved.
239
242
  */
240
- addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, type, }?: {
243
+ addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, type, networkClientId, }?: {
241
244
  actionId?: string;
242
245
  deviceConfirmedOn?: WalletDevice;
243
246
  method?: string;
@@ -250,10 +253,12 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
250
253
  meta?: Partial<TransactionMeta>;
251
254
  };
252
255
  type?: TransactionType;
256
+ networkClientId?: NetworkClientId;
253
257
  }): Promise<Result>;
254
- startIncomingTransactionPolling(): void;
255
- stopIncomingTransactionPolling(): void;
256
- updateIncomingTransactions(): Promise<void>;
258
+ startIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
259
+ stopIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
260
+ stopAllIncomingTransactionPolling(): void;
261
+ updateIncomingTransactions(networkClientIds?: NetworkClientId[]): Promise<void>;
257
262
  /**
258
263
  * Attempts to cancel a transaction based on its ID by setting its status to "rejected"
259
264
  * and emitting a `<tx.id>:finished` hub event.
@@ -285,9 +290,10 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
285
290
  * Estimates required gas for a given transaction.
286
291
  *
287
292
  * @param transaction - The transaction to estimate gas for.
293
+ * @param networkClientId - The network client id to use for the estimate.
288
294
  * @returns The gas and gas price.
289
295
  */
290
- estimateGas(transaction: TransactionParams): Promise<{
296
+ estimateGas(transaction: TransactionParams, networkClientId?: NetworkClientId): Promise<{
291
297
  gas: string;
292
298
  simulationFails: {
293
299
  reason: any;
@@ -303,8 +309,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
303
309
  *
304
310
  * @param transaction - The transaction params to estimate gas for.
305
311
  * @param multiplier - The multiplier to use for the gas buffer.
312
+ * @param networkClientId - The network client id to use for the estimate.
306
313
  */
307
- estimateGasBuffered(transaction: TransactionParams, multiplier: number): Promise<{
314
+ estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId?: NetworkClientId): Promise<{
308
315
  gas: string;
309
316
  simulationFails: {
310
317
  reason: any;
@@ -338,8 +345,6 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
338
345
  * wiped on current network.
339
346
  */
340
347
  wipeTransactions(ignoreNetwork?: boolean, address?: string): void;
341
- startIncomingTransactionProcessing(): void;
342
- stopIncomingTransactionProcessing(): void;
343
348
  /**
344
349
  * Adds external provided transaction to state as confirmed transaction.
345
350
  *
@@ -403,14 +408,7 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
403
408
  maxFeePerGas?: string;
404
409
  maxPriorityFeePerGas?: string;
405
410
  }): TransactionMeta;
406
- /**
407
- * Gets the next nonce according to the nonce-tracker.
408
- * Ensure `releaseLock` is called once processing of the `nonce` value is complete.
409
- *
410
- * @param address - The hex string address for the transaction.
411
- * @returns object with the `nextNonce` `nonceDetails`, and the releaseLock.
412
- */
413
- getNonceLock(address: string): Promise<NonceLock>;
411
+ getNonceLock(address: string, networkClientId?: NetworkClientId): Promise<NonceLock>;
414
412
  /**
415
413
  * Updates the editable parameters of a transaction.
416
414
  *
@@ -440,7 +438,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
440
438
  * @param opts.hasNonce - Whether the transactions already have a nonce.
441
439
  * @returns The raw transactions.
442
440
  */
443
- approveTransactionsWithSameNonce(listOfTxParams?: TransactionParams[], { hasNonce }?: {
441
+ approveTransactionsWithSameNonce(listOfTxParams?: (TransactionParams & {
442
+ chainId: Hex;
443
+ })[], { hasNonce }?: {
444
444
  hasNonce?: boolean;
445
445
  }): Promise<string | string[]>;
446
446
  /**
@@ -490,10 +490,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
490
490
  abortTransactionSigning(transactionId: string): void;
491
491
  private addMetadata;
492
492
  private updateGasProperties;
493
- private getCurrentChainTransactionsByStatus;
494
493
  private onBootCleanup;
495
494
  /**
496
- * Force to submit approved transactions on current chain.
495
+ * Force submit approved transactions for all chains.
497
496
  */
498
497
  private submitApprovedTransactions;
499
498
  private processApproval;
@@ -557,6 +556,7 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
557
556
  * specified in txParams, @ethereumjs/tx is able to determine which EIP-2718
558
557
  * transaction type to use.
559
558
  *
559
+ * @param chainId - The chainId to use for the configuration.
560
560
  * @returns common configuration object
561
561
  */
562
562
  private getCommonConfiguration;
@@ -599,10 +599,8 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
599
599
  */
600
600
  private updateTransactionMetaRSV;
601
601
  private getEIP1559Compatibility;
602
- private addPendingTransactionTrackerListeners;
603
602
  private signTransaction;
604
603
  private onTransactionStatusChange;
605
- private getNonceTrackerPendingTransactions;
606
604
  private getNonceTrackerTransactions;
607
605
  private onConfirmedTransaction;
608
606
  private updatePostBalance;
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionController.d.ts","sourceRoot":"","sources":["../src/TransactionController.ts"],"names":[],"mappings":";AAAA,OA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