@metamask/transaction-controller 40.1.0 → 41.1.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 (67) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/README.md +4 -0
  3. package/dist/TransactionController.cjs +116 -227
  4. package/dist/TransactionController.cjs.map +1 -1
  5. package/dist/TransactionController.d.cts +34 -52
  6. package/dist/TransactionController.d.cts.map +1 -1
  7. package/dist/TransactionController.d.mts +34 -52
  8. package/dist/TransactionController.d.mts.map +1 -1
  9. package/dist/TransactionController.mjs +119 -232
  10. package/dist/TransactionController.mjs.map +1 -1
  11. package/dist/gas-flows/OracleLayer1GasFeeFlow.mjs +1 -2
  12. package/dist/gas-flows/OracleLayer1GasFeeFlow.mjs.map +1 -1
  13. package/dist/helpers/EtherscanRemoteTransactionSource.cjs +13 -12
  14. package/dist/helpers/EtherscanRemoteTransactionSource.cjs.map +1 -1
  15. package/dist/helpers/EtherscanRemoteTransactionSource.d.cts.map +1 -1
  16. package/dist/helpers/EtherscanRemoteTransactionSource.d.mts.map +1 -1
  17. package/dist/helpers/EtherscanRemoteTransactionSource.mjs +13 -12
  18. package/dist/helpers/EtherscanRemoteTransactionSource.mjs.map +1 -1
  19. package/dist/helpers/GasFeePoller.cjs +6 -4
  20. package/dist/helpers/GasFeePoller.cjs.map +1 -1
  21. package/dist/helpers/GasFeePoller.d.cts +1 -1
  22. package/dist/helpers/GasFeePoller.d.cts.map +1 -1
  23. package/dist/helpers/GasFeePoller.d.mts +1 -1
  24. package/dist/helpers/GasFeePoller.d.mts.map +1 -1
  25. package/dist/helpers/GasFeePoller.mjs +6 -4
  26. package/dist/helpers/GasFeePoller.mjs.map +1 -1
  27. package/dist/helpers/IncomingTransactionHelper.cjs +20 -11
  28. package/dist/helpers/IncomingTransactionHelper.cjs.map +1 -1
  29. package/dist/helpers/IncomingTransactionHelper.d.cts.map +1 -1
  30. package/dist/helpers/IncomingTransactionHelper.d.mts.map +1 -1
  31. package/dist/helpers/IncomingTransactionHelper.mjs +21 -12
  32. package/dist/helpers/IncomingTransactionHelper.mjs.map +1 -1
  33. package/dist/helpers/MethodDataHelper.cjs +80 -0
  34. package/dist/helpers/MethodDataHelper.cjs.map +1 -0
  35. package/dist/helpers/MethodDataHelper.d.cts +14 -0
  36. package/dist/helpers/MethodDataHelper.d.cts.map +1 -0
  37. package/dist/helpers/MethodDataHelper.d.mts +14 -0
  38. package/dist/helpers/MethodDataHelper.d.mts.map +1 -0
  39. package/dist/helpers/MethodDataHelper.mjs +73 -0
  40. package/dist/helpers/MethodDataHelper.mjs.map +1 -0
  41. package/dist/helpers/MultichainTrackingHelper.cjs +87 -104
  42. package/dist/helpers/MultichainTrackingHelper.cjs.map +1 -1
  43. package/dist/helpers/MultichainTrackingHelper.d.cts +16 -22
  44. package/dist/helpers/MultichainTrackingHelper.d.cts.map +1 -1
  45. package/dist/helpers/MultichainTrackingHelper.d.mts +16 -22
  46. package/dist/helpers/MultichainTrackingHelper.d.mts.map +1 -1
  47. package/dist/helpers/MultichainTrackingHelper.mjs +88 -109
  48. package/dist/helpers/MultichainTrackingHelper.mjs.map +1 -1
  49. package/dist/helpers/PendingTransactionTracker.cjs +26 -22
  50. package/dist/helpers/PendingTransactionTracker.cjs.map +1 -1
  51. package/dist/helpers/PendingTransactionTracker.d.cts.map +1 -1
  52. package/dist/helpers/PendingTransactionTracker.d.mts.map +1 -1
  53. package/dist/helpers/PendingTransactionTracker.mjs +26 -22
  54. package/dist/helpers/PendingTransactionTracker.mjs.map +1 -1
  55. package/dist/types.cjs.map +1 -1
  56. package/dist/types.d.cts +7 -3
  57. package/dist/types.d.cts.map +1 -1
  58. package/dist/types.d.mts +7 -3
  59. package/dist/types.d.mts.map +1 -1
  60. package/dist/types.mjs.map +1 -1
  61. package/dist/utils/etherscan.cjs +2 -1
  62. package/dist/utils/etherscan.cjs.map +1 -1
  63. package/dist/utils/etherscan.d.cts.map +1 -1
  64. package/dist/utils/etherscan.d.mts.map +1 -1
  65. package/dist/utils/etherscan.mjs +3 -2
  66. package/dist/utils/etherscan.mjs.map +1 -1
  67. package/package.json +8 -6
@@ -6,7 +6,7 @@ import type { ControllerGetStateAction, ControllerStateChangeEvent, RestrictedCo
6
6
  import { BaseController } from "@metamask/base-controller";
7
7
  import type { TraceCallback } from "@metamask/controller-utils";
8
8
  import type { FetchGasFeeEstimateOptions, GasFeeState } from "@metamask/gas-fee-controller";
9
- import type { BlockTracker, NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, Provider, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from "@metamask/network-controller";
9
+ import type { NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from "@metamask/network-controller";
10
10
  import type { NonceLock, Transaction as NonceTrackerTransaction } from "@metamask/nonce-tracker";
11
11
  import type { Hex } from "@metamask/utils";
12
12
  import type { IncomingTransactionOptions } from "./helpers/IncomingTransactionHelper.cjs";
@@ -84,7 +84,6 @@ export type PendingTransactionOptions = {
84
84
  /**
85
85
  * TransactionController constructor options.
86
86
  *
87
- * @property blockTracker - The block tracker used to poll for new blocks data.
88
87
  * @property disableHistory - Whether to disable storing history in transaction metadata.
89
88
  * @property disableSendFlowHistory - Explicitly disable transaction metadata history.
90
89
  * @property disableSwaps - Whether to disable additional processing on swaps transactions.
@@ -98,12 +97,9 @@ export type PendingTransactionOptions = {
98
97
  * @property getSavedGasFees - Gets the saved gas fee config.
99
98
  * @property getSelectedAddress - Gets the address of the currently selected account.
100
99
  * @property incomingTransactions - Configuration options for incoming transaction support.
101
- * @property isMultichainEnabled - Enable multichain support.
102
100
  * @property isSimulationEnabled - Whether new transactions will be automatically simulated.
103
101
  * @property messenger - The controller messenger.
104
- * @property onNetworkStateChange - Allows subscribing to network controller state changes.
105
102
  * @property pendingTransactions - Configuration options for pending transaction support.
106
- * @property provider - The provider used to create the underlying EthQuery instance.
107
103
  * @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
108
104
  * @property sign - Function used to sign transactions.
109
105
  * @property state - Initial state to set on this controller.
@@ -117,7 +113,6 @@ export type PendingTransactionOptions = {
117
113
  * @property hooks.publish - Alternate logic to publish a transaction.
118
114
  */
119
115
  export type TransactionControllerOptions = {
120
- blockTracker: BlockTracker;
121
116
  disableHistory: boolean;
122
117
  disableSendFlowHistory: boolean;
123
118
  disableSwaps: boolean;
@@ -133,13 +128,10 @@ export type TransactionControllerOptions = {
133
128
  /** API keys to be used for Etherscan requests to prevent rate limiting. */
134
129
  etherscanApiKeysByChainId?: Record<Hex, string>;
135
130
  };
136
- isMultichainEnabled: boolean;
137
131
  isFirstTimeInteractionEnabled?: () => boolean;
138
132
  isSimulationEnabled?: () => boolean;
139
133
  messenger: TransactionControllerMessenger;
140
- onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
141
134
  pendingTransactions?: PendingTransactionOptions;
142
- provider: Provider;
143
135
  securityProviderRequest?: SecurityProviderRequest;
144
136
  sign?: (transaction: TypedTransaction, from: string, transactionMeta?: TransactionMeta) => Promise<TypedTransaction>;
145
137
  state?: Partial<TransactionControllerState>;
@@ -347,8 +339,6 @@ export declare class TransactionController extends BaseController<typeof control
347
339
  private readonly isSwapsDisabled;
348
340
  private readonly isSendFlowHistoryDisabled;
349
341
  private readonly approvingTransactionIds;
350
- private readonly nonceTracker;
351
- private readonly registry;
352
342
  private readonly mutex;
353
343
  private readonly gasFeeFlows;
354
344
  private readonly getSavedGasFees;
@@ -359,9 +349,7 @@ export declare class TransactionController extends BaseController<typeof control
359
349
  private readonly getPermittedAccounts?;
360
350
  private readonly getExternalPendingTransactions;
361
351
  private readonly layer1GasFeeFlows;
362
- private readonly incomingTransactionHelper;
363
352
  private readonly securityProviderRequest?;
364
- private readonly pendingTransactionTracker;
365
353
  private readonly signAbortCallbacks;
366
354
  private readonly afterSign;
367
355
  private readonly beforeCheckPendingTransaction;
@@ -369,7 +357,6 @@ export declare class TransactionController extends BaseController<typeof control
369
357
  private readonly publish;
370
358
  private readonly getAdditionalSignArguments;
371
359
  private failTransaction;
372
- private registryLookup;
373
360
  /**
374
361
  * Method used to sign transactions
375
362
  */
@@ -378,7 +365,6 @@ export declare class TransactionController extends BaseController<typeof control
378
365
  * Constructs a TransactionController.
379
366
  *
380
367
  * @param options - The controller options.
381
- * @param options.blockTracker - The block tracker used to poll for new blocks data.
382
368
  * @param options.disableHistory - Whether to disable storing history in transaction metadata.
383
369
  * @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
384
370
  * @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
@@ -391,13 +377,10 @@ export declare class TransactionController extends BaseController<typeof control
391
377
  * @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
392
378
  * @param options.getSavedGasFees - Gets the saved gas fee config.
393
379
  * @param options.incomingTransactions - Configuration options for incoming transaction support.
394
- * @param options.isMultichainEnabled - Enable multichain support.
395
380
  * @param options.isFirstTimeInteractionEnabled - Whether first time interaction checks are enabled.
396
381
  * @param options.isSimulationEnabled - Whether new transactions will be automatically simulated.
397
382
  * @param options.messenger - The controller messenger.
398
- * @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
399
383
  * @param options.pendingTransactions - Configuration options for pending transaction support.
400
- * @param options.provider - The provider used to create the underlying EthQuery instance.
401
384
  * @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
402
385
  * @param options.sign - Function used to sign transactions.
403
386
  * @param options.state - Initial state to set on this controller.
@@ -406,7 +389,7 @@ export declare class TransactionController extends BaseController<typeof control
406
389
  * @param options.transactionHistoryLimit - Transaction history limit.
407
390
  * @param options.hooks - The controller hooks.
408
391
  */
409
- constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkClientRegistry, getNetworkState, getPermittedAccounts, getSavedGasFees, incomingTransactions, isMultichainEnabled, isFirstTimeInteractionEnabled, isSimulationEnabled, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, sign, state, testGasFeeFlows, trace, transactionHistoryLimit, hooks, }: TransactionControllerOptions);
392
+ constructor({ disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkClientRegistry, getNetworkState, getPermittedAccounts, getSavedGasFees, incomingTransactions, isFirstTimeInteractionEnabled, isSimulationEnabled, messenger, pendingTransactions, securityProviderRequest, sign, state, testGasFeeFlows, trace, transactionHistoryLimit, hooks, }: TransactionControllerOptions);
410
393
  /**
411
394
  * Stops polling and removes listeners to prepare the controller for garbage collection.
412
395
  */
@@ -415,35 +398,37 @@ export declare class TransactionController extends BaseController<typeof control
415
398
  * Handle new method data request.
416
399
  *
417
400
  * @param fourBytePrefix - The method prefix.
401
+ * @param networkClientId - The ID of the network client used to fetch the method data.
418
402
  * @returns The method data object corresponding to the given signature prefix.
419
403
  */
420
- handleMethodData(fourBytePrefix: string): Promise<MethodData>;
404
+ handleMethodData(fourBytePrefix: string, networkClientId: NetworkClientId): Promise<MethodData>;
421
405
  /**
422
406
  * Add a new unapproved transaction to state. Parameters will be validated, a
423
407
  * unique transaction id will be generated, and gas and gasPrice will be calculated
424
408
  * if not provided. If A `<tx.id>:unapproved` hub event will be emitted once added.
425
409
  *
426
410
  * @param txParams - Standard parameters for an Ethereum transaction.
427
- * @param opts - Additional options to control how the transaction is added.
428
- * @param opts.actionId - Unique ID to prevent duplicate requests.
429
- * @param opts.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
430
- * @param opts.method - RPC method that requested the transaction.
431
- * @param opts.origin - The origin of the transaction request, such as a dApp hostname.
432
- * @param opts.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
433
- * @param opts.securityAlertResponse - Response from security validator.
434
- * @param opts.sendFlowHistory - The sendFlowHistory entries to add.
435
- * @param opts.type - Type of transaction to add, such as 'cancel' or 'swap'.
436
- * @param opts.swaps - Options for swaps transactions.
437
- * @param opts.swaps.hasApproveTx - Whether the transaction has an approval transaction.
438
- * @param opts.swaps.meta - Metadata for swap transaction.
439
- * @param opts.networkClientId - The id of the network client for this transaction.
440
- * @param opts.traceContext - The parent context for any new traces.
411
+ * @param options - Additional options to control how the transaction is added.
412
+ * @param options.actionId - Unique ID to prevent duplicate requests.
413
+ * @param options.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
414
+ * @param options.method - RPC method that requested the transaction.
415
+ * @param options.origin - The origin of the transaction request, such as a dApp hostname.
416
+ * @param options.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
417
+ * @param options.securityAlertResponse - Response from security validator.
418
+ * @param options.sendFlowHistory - The sendFlowHistory entries to add.
419
+ * @param options.type - Type of transaction to add, such as 'cancel' or 'swap'.
420
+ * @param options.swaps - Options for swaps transactions.
421
+ * @param options.swaps.hasApproveTx - Whether the transaction has an approval transaction.
422
+ * @param options.swaps.meta - Metadata for swap transaction.
423
+ * @param options.networkClientId - The id of the network client for this transaction.
424
+ * @param options.traceContext - The parent context for any new traces.
441
425
  * @returns Object containing a promise resolving to the transaction hash if approved.
442
426
  */
443
- addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, traceContext, type, networkClientId: requestNetworkClientId, }?: {
427
+ addTransaction(txParams: TransactionParams, options: {
444
428
  actionId?: string;
445
429
  deviceConfirmedOn?: WalletDevice;
446
430
  method?: string;
431
+ networkClientId: NetworkClientId;
447
432
  origin?: string;
448
433
  requireApproval?: boolean | undefined;
449
434
  securityAlertResponse?: SecurityAlertResponse;
@@ -454,11 +439,9 @@ export declare class TransactionController extends BaseController<typeof control
454
439
  };
455
440
  traceContext?: unknown;
456
441
  type?: TransactionType;
457
- networkClientId?: NetworkClientId;
458
442
  }): Promise<Result>;
459
443
  startIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
460
444
  stopIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
461
- stopAllIncomingTransactionPolling(): void;
462
445
  updateIncomingTransactions(networkClientIds?: NetworkClientId[]): Promise<void>;
463
446
  /**
464
447
  * Attempts to cancel a transaction based on its ID by setting its status to "rejected"
@@ -494,7 +477,7 @@ export declare class TransactionController extends BaseController<typeof control
494
477
  * @param networkClientId - The network client id to use for the estimate.
495
478
  * @returns The gas and gas price.
496
479
  */
497
- estimateGas(transaction: TransactionParams, networkClientId?: NetworkClientId): Promise<{
480
+ estimateGas(transaction: TransactionParams, networkClientId: NetworkClientId): Promise<{
498
481
  gas: `0x${string}`;
499
482
  simulationFails: {
500
483
  reason?: string | undefined;
@@ -512,7 +495,7 @@ export declare class TransactionController extends BaseController<typeof control
512
495
  * @param multiplier - The multiplier to use for the gas buffer.
513
496
  * @param networkClientId - The network client id to use for the estimate.
514
497
  */
515
- estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId?: NetworkClientId): Promise<{
498
+ estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId: NetworkClientId): Promise<{
516
499
  gas: `0x${string}`;
517
500
  simulationFails: {
518
501
  reason?: string | undefined;
@@ -538,14 +521,16 @@ export declare class TransactionController extends BaseController<typeof control
538
521
  */
539
522
  updateSecurityAlertResponse(transactionId: string, securityAlertResponse: SecurityAlertResponse): void;
540
523
  /**
541
- * Removes all transactions from state, optionally based on the current network.
524
+ * Remove transactions from state.
542
525
  *
543
- * @param ignoreNetwork - Determines whether to wipe all transactions, or just those on the
544
- * current network. If `true`, all transactions are wiped.
545
- * @param address - If specified, only transactions originating from this address will be
546
- * wiped on current network.
526
+ * @param options - The options bag.
527
+ * @param options.address - Remove transactions from this account only. Defaults to all accounts.
528
+ * @param options.chainId - Remove transactions for the specified chain only. Defaults to all chains.
547
529
  */
548
- wipeTransactions(ignoreNetwork?: boolean, address?: string): void;
530
+ wipeTransactions({ address, chainId, }?: {
531
+ address?: string;
532
+ chainId?: string;
533
+ }): void;
549
534
  /**
550
535
  * Adds external provided transaction to state as confirmed transaction.
551
536
  *
@@ -609,7 +594,7 @@ export declare class TransactionController extends BaseController<typeof control
609
594
  maxFeePerGas?: string;
610
595
  maxPriorityFeePerGas?: string;
611
596
  }): TransactionMeta;
612
- getNonceLock(address: string, networkClientId?: NetworkClientId): Promise<NonceLock>;
597
+ getNonceLock(address: string, networkClientId: NetworkClientId): Promise<NonceLock>;
613
598
  /**
614
599
  * Updates the editable parameters of a transaction.
615
600
  *
@@ -662,17 +647,15 @@ export declare class TransactionController extends BaseController<typeof control
662
647
  * Search transaction metadata for matching entries.
663
648
  *
664
649
  * @param opts - Options bag.
665
- * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
666
650
  * @param opts.initialList - The transactions to search. Defaults to the current state.
667
- * @param opts.filterToCurrentNetwork - Whether to filter the results to the current network. Defaults to true.
668
651
  * @param opts.limit - The maximum number of transactions to return. No limit by default.
652
+ * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
669
653
  * @returns An array of transactions matching the provided options.
670
654
  */
671
- getTransactions({ searchCriteria, initialList, filterToCurrentNetwork, limit, }?: {
672
- searchCriteria?: any;
655
+ getTransactions({ initialList, limit, searchCriteria, }?: {
673
656
  initialList?: TransactionMeta[];
674
- filterToCurrentNetwork?: boolean;
675
657
  limit?: number;
658
+ searchCriteria?: any;
676
659
  }): TransactionMeta[];
677
660
  estimateGasFee({ transactionParams, chainId, networkClientId: requestNetworkClientId, }: {
678
661
  transactionParams: TransactionParams;
@@ -761,7 +744,6 @@ export declare class TransactionController extends BaseController<typeof control
761
744
  private getTransactionOrThrow;
762
745
  private getApprovalId;
763
746
  private isTransactionCompleted;
764
- private getChainId;
765
747
  private prepareUnsignedEthTx;
766
748
  /**
767
749
  * `@ethereumjs/tx` uses `@ethereumjs/common` as a configuration tool for
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionController.d.cts","sourceRoot":"","sources":["../src/TransactionController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA4B,2BAA2B;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,uBAAuB;AAGvD,OAAO,KAAK,EAAE,0CAA0C,EAAE,sCAAsC;AAChG,OAAO,KAAK,EAEV,kBAAkB,EAEnB,sCAAsC;AACvC,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC9B,kCAAkC;AACnC,OAAO,EAAE,cAAc,EAAE,kCAAkC;AAQ3D,OAAO,KAAK,EAAE,aAAa,EAAgB,mCAAmC;AAE9E,OAAO,KAAK,EACV,0BAA0B,EAC1B,WAAW,EACZ,qCAAqC;AACtC,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,iCAAiC,EACjC,YAAY,EACZ,QAAQ,EACR,mDAAmD,EACnD,2CAA2C,EAC5C,qCAAqC;AAEtC,OAAO,KAAK,EACV,SAAS,EACT,WAAW,IAAI,uBAAuB,EACvC,gCAAgC;AAGjC,OAAO,KAAK,EAAE,GAAG,EAAE,wBAAwB;AAmB3C,OAAO,KAAK,EAAE,0BAA0B,EAAE,gDAA4C;AAKtF,OAAO,KAAK,EAGV,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EAIrB,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EACnB,oBAAgB;AACjB,OAAO,EAEL,eAAe,EACf,iBAAiB,EAElB,oBAAgB;AA+DjB,eAAO,MAAM,QAAQ,kBAAkB,CAAC;AAGxC;;;;;;GAMG;AAIH,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CAClC;AAED;;;;;GAKG;AACH,MAAM,MAAM,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C,kCAAkC;CA0X3C"}
1
+ {"version":3,"file":"TransactionController.d.cts","sourceRoot":"","sources":["../src/TransactionController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA4B,2BAA2B;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,uBAAuB;AAGvD,OAAO,KAAK,EAAE,0CAA0C,EAAE,sCAAsC;AAChG,OAAO,KAAK,EAEV,kBAAkB,EAEnB,sCAAsC;AACvC,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC9B,kCAAkC;AACnC,OAAO,EAAE,cAAc,EAAE,kCAAkC;AAO3D,OAAO,KAAK,EAAE,aAAa,EAAgB,mCAAmC;AAE9E,OAAO,KAAK,EACV,0BAA0B,EAC1B,WAAW,EACZ,qCAAqC;AACtC,OAAO,KAAK,EAEV,eAAe,EACf,iBAAiB,EACjB,iCAAiC,EACjC,YAAY,EAEZ,mDAAmD,EACnD,2CAA2C,EAC5C,qCAAqC;AAEtC,OAAO,KAAK,EACV,SAAS,EACT,WAAW,IAAI,uBAAuB,EACvC,gCAAgC;AAGjC,OAAO,KAAK,EAAE,GAAG,EAAE,wBAAwB;AAoB3C,OAAO,KAAK,EAAE,0BAA0B,EAAE,gDAA4C;AAMtF,OAAO,KAAK,EAGV,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EAIrB,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAEnB,oBAAgB;AACjB,OAAO,EAEL,eAAe,EACf,iBAAiB,EAElB,oBAAgB;AA+DjB,eAAO,MAAM,QAAQ,kBAAkB,CAAC;AAGxC;;;;;;GAMG;AAIH,MAAM,WAAW,MAAM;IACrB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CAClC;AAED;;;;;GAKG;AACH,MAAM,MAA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;IAIrB,OAAO,CAAC,sBAAsB;IA2D9B,OAAO,CAAC,oBAAoB;IAU5B;;;;;;;;;OASG;IACH,OAAO,CAAC,sBAAsB;IAS9B,OAAO,CAAC,sBAAsB;IA8B9B,OAAO,CAAC,gCAAgC;IAkBxC,OAAO,CAAC,4BAA4B;IAsCpC;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAsC9B;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;IA4ClC;;;;OAIG;IACH,OAAO,CAAC,2BAA2B;IAenC;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;YAMpB,0BAA0B;IAUxC;;;;;;;OAOG;IACH,OAAO,CAAC,wBAAwB;YAmBlB,uBAAuB;YAYvB,eAAe;IAsE7B,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,2BAA2B;IAanC,OAAO,CAAC,sBAAsB;YAmBhB,iBAAiB;YAgNjB,0BAA0B;IAcxC;;;;;OAKG;IAIH,OAAO,CAAC,kCAAkC;CAsU3C"}
@@ -6,7 +6,7 @@ import type { ControllerGetStateAction, ControllerStateChangeEvent, RestrictedCo
6
6
  import { BaseController } from "@metamask/base-controller";
7
7
  import type { TraceCallback } from "@metamask/controller-utils";
8
8
  import type { FetchGasFeeEstimateOptions, GasFeeState } from "@metamask/gas-fee-controller";
9
- import type { BlockTracker, NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, Provider, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from "@metamask/network-controller";
9
+ import type { NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from "@metamask/network-controller";
10
10
  import type { NonceLock, Transaction as NonceTrackerTransaction } from "@metamask/nonce-tracker";
11
11
  import type { Hex } from "@metamask/utils";
12
12
  import type { IncomingTransactionOptions } from "./helpers/IncomingTransactionHelper.mjs";
@@ -84,7 +84,6 @@ export type PendingTransactionOptions = {
84
84
  /**
85
85
  * TransactionController constructor options.
86
86
  *
87
- * @property blockTracker - The block tracker used to poll for new blocks data.
88
87
  * @property disableHistory - Whether to disable storing history in transaction metadata.
89
88
  * @property disableSendFlowHistory - Explicitly disable transaction metadata history.
90
89
  * @property disableSwaps - Whether to disable additional processing on swaps transactions.
@@ -98,12 +97,9 @@ export type PendingTransactionOptions = {
98
97
  * @property getSavedGasFees - Gets the saved gas fee config.
99
98
  * @property getSelectedAddress - Gets the address of the currently selected account.
100
99
  * @property incomingTransactions - Configuration options for incoming transaction support.
101
- * @property isMultichainEnabled - Enable multichain support.
102
100
  * @property isSimulationEnabled - Whether new transactions will be automatically simulated.
103
101
  * @property messenger - The controller messenger.
104
- * @property onNetworkStateChange - Allows subscribing to network controller state changes.
105
102
  * @property pendingTransactions - Configuration options for pending transaction support.
106
- * @property provider - The provider used to create the underlying EthQuery instance.
107
103
  * @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
108
104
  * @property sign - Function used to sign transactions.
109
105
  * @property state - Initial state to set on this controller.
@@ -117,7 +113,6 @@ export type PendingTransactionOptions = {
117
113
  * @property hooks.publish - Alternate logic to publish a transaction.
118
114
  */
119
115
  export type TransactionControllerOptions = {
120
- blockTracker: BlockTracker;
121
116
  disableHistory: boolean;
122
117
  disableSendFlowHistory: boolean;
123
118
  disableSwaps: boolean;
@@ -133,13 +128,10 @@ export type TransactionControllerOptions = {
133
128
  /** API keys to be used for Etherscan requests to prevent rate limiting. */
134
129
  etherscanApiKeysByChainId?: Record<Hex, string>;
135
130
  };
136
- isMultichainEnabled: boolean;
137
131
  isFirstTimeInteractionEnabled?: () => boolean;
138
132
  isSimulationEnabled?: () => boolean;
139
133
  messenger: TransactionControllerMessenger;
140
- onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
141
134
  pendingTransactions?: PendingTransactionOptions;
142
- provider: Provider;
143
135
  securityProviderRequest?: SecurityProviderRequest;
144
136
  sign?: (transaction: TypedTransaction, from: string, transactionMeta?: TransactionMeta) => Promise<TypedTransaction>;
145
137
  state?: Partial<TransactionControllerState>;
@@ -347,8 +339,6 @@ export declare class TransactionController extends BaseController<typeof control
347
339
  private readonly isSwapsDisabled;
348
340
  private readonly isSendFlowHistoryDisabled;
349
341
  private readonly approvingTransactionIds;
350
- private readonly nonceTracker;
351
- private readonly registry;
352
342
  private readonly mutex;
353
343
  private readonly gasFeeFlows;
354
344
  private readonly getSavedGasFees;
@@ -359,9 +349,7 @@ export declare class TransactionController extends BaseController<typeof control
359
349
  private readonly getPermittedAccounts?;
360
350
  private readonly getExternalPendingTransactions;
361
351
  private readonly layer1GasFeeFlows;
362
- private readonly incomingTransactionHelper;
363
352
  private readonly securityProviderRequest?;
364
- private readonly pendingTransactionTracker;
365
353
  private readonly signAbortCallbacks;
366
354
  private readonly afterSign;
367
355
  private readonly beforeCheckPendingTransaction;
@@ -369,7 +357,6 @@ export declare class TransactionController extends BaseController<typeof control
369
357
  private readonly publish;
370
358
  private readonly getAdditionalSignArguments;
371
359
  private failTransaction;
372
- private registryLookup;
373
360
  /**
374
361
  * Method used to sign transactions
375
362
  */
@@ -378,7 +365,6 @@ export declare class TransactionController extends BaseController<typeof control
378
365
  * Constructs a TransactionController.
379
366
  *
380
367
  * @param options - The controller options.
381
- * @param options.blockTracker - The block tracker used to poll for new blocks data.
382
368
  * @param options.disableHistory - Whether to disable storing history in transaction metadata.
383
369
  * @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
384
370
  * @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
@@ -391,13 +377,10 @@ export declare class TransactionController extends BaseController<typeof control
391
377
  * @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
392
378
  * @param options.getSavedGasFees - Gets the saved gas fee config.
393
379
  * @param options.incomingTransactions - Configuration options for incoming transaction support.
394
- * @param options.isMultichainEnabled - Enable multichain support.
395
380
  * @param options.isFirstTimeInteractionEnabled - Whether first time interaction checks are enabled.
396
381
  * @param options.isSimulationEnabled - Whether new transactions will be automatically simulated.
397
382
  * @param options.messenger - The controller messenger.
398
- * @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
399
383
  * @param options.pendingTransactions - Configuration options for pending transaction support.
400
- * @param options.provider - The provider used to create the underlying EthQuery instance.
401
384
  * @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
402
385
  * @param options.sign - Function used to sign transactions.
403
386
  * @param options.state - Initial state to set on this controller.
@@ -406,7 +389,7 @@ export declare class TransactionController extends BaseController<typeof control
406
389
  * @param options.transactionHistoryLimit - Transaction history limit.
407
390
  * @param options.hooks - The controller hooks.
408
391
  */
409
- constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkClientRegistry, getNetworkState, getPermittedAccounts, getSavedGasFees, incomingTransactions, isMultichainEnabled, isFirstTimeInteractionEnabled, isSimulationEnabled, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, sign, state, testGasFeeFlows, trace, transactionHistoryLimit, hooks, }: TransactionControllerOptions);
392
+ constructor({ disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkClientRegistry, getNetworkState, getPermittedAccounts, getSavedGasFees, incomingTransactions, isFirstTimeInteractionEnabled, isSimulationEnabled, messenger, pendingTransactions, securityProviderRequest, sign, state, testGasFeeFlows, trace, transactionHistoryLimit, hooks, }: TransactionControllerOptions);
410
393
  /**
411
394
  * Stops polling and removes listeners to prepare the controller for garbage collection.
412
395
  */
@@ -415,35 +398,37 @@ export declare class TransactionController extends BaseController<typeof control
415
398
  * Handle new method data request.
416
399
  *
417
400
  * @param fourBytePrefix - The method prefix.
401
+ * @param networkClientId - The ID of the network client used to fetch the method data.
418
402
  * @returns The method data object corresponding to the given signature prefix.
419
403
  */
420
- handleMethodData(fourBytePrefix: string): Promise<MethodData>;
404
+ handleMethodData(fourBytePrefix: string, networkClientId: NetworkClientId): Promise<MethodData>;
421
405
  /**
422
406
  * Add a new unapproved transaction to state. Parameters will be validated, a
423
407
  * unique transaction id will be generated, and gas and gasPrice will be calculated
424
408
  * if not provided. If A `<tx.id>:unapproved` hub event will be emitted once added.
425
409
  *
426
410
  * @param txParams - Standard parameters for an Ethereum transaction.
427
- * @param opts - Additional options to control how the transaction is added.
428
- * @param opts.actionId - Unique ID to prevent duplicate requests.
429
- * @param opts.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
430
- * @param opts.method - RPC method that requested the transaction.
431
- * @param opts.origin - The origin of the transaction request, such as a dApp hostname.
432
- * @param opts.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
433
- * @param opts.securityAlertResponse - Response from security validator.
434
- * @param opts.sendFlowHistory - The sendFlowHistory entries to add.
435
- * @param opts.type - Type of transaction to add, such as 'cancel' or 'swap'.
436
- * @param opts.swaps - Options for swaps transactions.
437
- * @param opts.swaps.hasApproveTx - Whether the transaction has an approval transaction.
438
- * @param opts.swaps.meta - Metadata for swap transaction.
439
- * @param opts.networkClientId - The id of the network client for this transaction.
440
- * @param opts.traceContext - The parent context for any new traces.
411
+ * @param options - Additional options to control how the transaction is added.
412
+ * @param options.actionId - Unique ID to prevent duplicate requests.
413
+ * @param options.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
414
+ * @param options.method - RPC method that requested the transaction.
415
+ * @param options.origin - The origin of the transaction request, such as a dApp hostname.
416
+ * @param options.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
417
+ * @param options.securityAlertResponse - Response from security validator.
418
+ * @param options.sendFlowHistory - The sendFlowHistory entries to add.
419
+ * @param options.type - Type of transaction to add, such as 'cancel' or 'swap'.
420
+ * @param options.swaps - Options for swaps transactions.
421
+ * @param options.swaps.hasApproveTx - Whether the transaction has an approval transaction.
422
+ * @param options.swaps.meta - Metadata for swap transaction.
423
+ * @param options.networkClientId - The id of the network client for this transaction.
424
+ * @param options.traceContext - The parent context for any new traces.
441
425
  * @returns Object containing a promise resolving to the transaction hash if approved.
442
426
  */
443
- addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, traceContext, type, networkClientId: requestNetworkClientId, }?: {
427
+ addTransaction(txParams: TransactionParams, options: {
444
428
  actionId?: string;
445
429
  deviceConfirmedOn?: WalletDevice;
446
430
  method?: string;
431
+ networkClientId: NetworkClientId;
447
432
  origin?: string;
448
433
  requireApproval?: boolean | undefined;
449
434
  securityAlertResponse?: SecurityAlertResponse;
@@ -454,11 +439,9 @@ export declare class TransactionController extends BaseController<typeof control
454
439
  };
455
440
  traceContext?: unknown;
456
441
  type?: TransactionType;
457
- networkClientId?: NetworkClientId;
458
442
  }): Promise<Result>;
459
443
  startIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
460
444
  stopIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
461
- stopAllIncomingTransactionPolling(): void;
462
445
  updateIncomingTransactions(networkClientIds?: NetworkClientId[]): Promise<void>;
463
446
  /**
464
447
  * Attempts to cancel a transaction based on its ID by setting its status to "rejected"
@@ -494,7 +477,7 @@ export declare class TransactionController extends BaseController<typeof control
494
477
  * @param networkClientId - The network client id to use for the estimate.
495
478
  * @returns The gas and gas price.
496
479
  */
497
- estimateGas(transaction: TransactionParams, networkClientId?: NetworkClientId): Promise<{
480
+ estimateGas(transaction: TransactionParams, networkClientId: NetworkClientId): Promise<{
498
481
  gas: `0x${string}`;
499
482
  simulationFails: {
500
483
  reason?: string | undefined;
@@ -512,7 +495,7 @@ export declare class TransactionController extends BaseController<typeof control
512
495
  * @param multiplier - The multiplier to use for the gas buffer.
513
496
  * @param networkClientId - The network client id to use for the estimate.
514
497
  */
515
- estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId?: NetworkClientId): Promise<{
498
+ estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId: NetworkClientId): Promise<{
516
499
  gas: `0x${string}`;
517
500
  simulationFails: {
518
501
  reason?: string | undefined;
@@ -538,14 +521,16 @@ export declare class TransactionController extends BaseController<typeof control
538
521
  */
539
522
  updateSecurityAlertResponse(transactionId: string, securityAlertResponse: SecurityAlertResponse): void;
540
523
  /**
541
- * Removes all transactions from state, optionally based on the current network.
524
+ * Remove transactions from state.
542
525
  *
543
- * @param ignoreNetwork - Determines whether to wipe all transactions, or just those on the
544
- * current network. If `true`, all transactions are wiped.
545
- * @param address - If specified, only transactions originating from this address will be
546
- * wiped on current network.
526
+ * @param options - The options bag.
527
+ * @param options.address - Remove transactions from this account only. Defaults to all accounts.
528
+ * @param options.chainId - Remove transactions for the specified chain only. Defaults to all chains.
547
529
  */
548
- wipeTransactions(ignoreNetwork?: boolean, address?: string): void;
530
+ wipeTransactions({ address, chainId, }?: {
531
+ address?: string;
532
+ chainId?: string;
533
+ }): void;
549
534
  /**
550
535
  * Adds external provided transaction to state as confirmed transaction.
551
536
  *
@@ -609,7 +594,7 @@ export declare class TransactionController extends BaseController<typeof control
609
594
  maxFeePerGas?: string;
610
595
  maxPriorityFeePerGas?: string;
611
596
  }): TransactionMeta;
612
- getNonceLock(address: string, networkClientId?: NetworkClientId): Promise<NonceLock>;
597
+ getNonceLock(address: string, networkClientId: NetworkClientId): Promise<NonceLock>;
613
598
  /**
614
599
  * Updates the editable parameters of a transaction.
615
600
  *
@@ -662,17 +647,15 @@ export declare class TransactionController extends BaseController<typeof control
662
647
  * Search transaction metadata for matching entries.
663
648
  *
664
649
  * @param opts - Options bag.
665
- * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
666
650
  * @param opts.initialList - The transactions to search. Defaults to the current state.
667
- * @param opts.filterToCurrentNetwork - Whether to filter the results to the current network. Defaults to true.
668
651
  * @param opts.limit - The maximum number of transactions to return. No limit by default.
652
+ * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
669
653
  * @returns An array of transactions matching the provided options.
670
654
  */
671
- getTransactions({ searchCriteria, initialList, filterToCurrentNetwork, limit, }?: {
672
- searchCriteria?: any;
655
+ getTransactions({ initialList, limit, searchCriteria, }?: {
673
656
  initialList?: TransactionMeta[];
674
- filterToCurrentNetwork?: boolean;
675
657
  limit?: number;
658
+ searchCriteria?: any;
676
659
  }): TransactionMeta[];
677
660
  estimateGasFee({ transactionParams, chainId, networkClientId: requestNetworkClientId, }: {
678
661
  transactionParams: TransactionParams;
@@ -761,7 +744,6 @@ export declare class TransactionController extends BaseController<typeof control
761
744
  private getTransactionOrThrow;
762
745
  private getApprovalId;
763
746
  private isTransactionCompleted;
764
- private getChainId;
765
747
  private prepareUnsignedEthTx;
766
748
  /**
767
749
  * `@ethereumjs/tx` uses `@ethereumjs/common` as a configuration tool for