@metamask/transaction-controller 40.0.0 → 41.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 (88) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/dist/TransactionController.cjs +169 -230
  3. package/dist/TransactionController.cjs.map +1 -1
  4. package/dist/TransactionController.d.cts +98 -52
  5. package/dist/TransactionController.d.cts.map +1 -1
  6. package/dist/TransactionController.d.mts +98 -52
  7. package/dist/TransactionController.d.mts.map +1 -1
  8. package/dist/TransactionController.mjs +172 -233
  9. package/dist/TransactionController.mjs.map +1 -1
  10. package/dist/api/accounts-api.cjs +47 -0
  11. package/dist/api/accounts-api.cjs.map +1 -0
  12. package/dist/api/accounts-api.d.cts +43 -0
  13. package/dist/api/accounts-api.d.cts.map +1 -0
  14. package/dist/api/accounts-api.d.mts +43 -0
  15. package/dist/api/accounts-api.d.mts.map +1 -0
  16. package/dist/api/accounts-api.mjs +43 -0
  17. package/dist/api/accounts-api.mjs.map +1 -0
  18. package/dist/errors.cjs +8 -1
  19. package/dist/errors.cjs.map +1 -1
  20. package/dist/errors.d.cts +4 -0
  21. package/dist/errors.d.cts.map +1 -1
  22. package/dist/errors.d.mts +4 -0
  23. package/dist/errors.d.mts.map +1 -1
  24. package/dist/errors.mjs +6 -0
  25. package/dist/errors.mjs.map +1 -1
  26. package/dist/helpers/EtherscanRemoteTransactionSource.cjs +13 -12
  27. package/dist/helpers/EtherscanRemoteTransactionSource.cjs.map +1 -1
  28. package/dist/helpers/EtherscanRemoteTransactionSource.d.cts.map +1 -1
  29. package/dist/helpers/EtherscanRemoteTransactionSource.d.mts.map +1 -1
  30. package/dist/helpers/EtherscanRemoteTransactionSource.mjs +13 -12
  31. package/dist/helpers/EtherscanRemoteTransactionSource.mjs.map +1 -1
  32. package/dist/helpers/GasFeePoller.cjs +4 -4
  33. package/dist/helpers/GasFeePoller.cjs.map +1 -1
  34. package/dist/helpers/GasFeePoller.d.cts +1 -1
  35. package/dist/helpers/GasFeePoller.d.cts.map +1 -1
  36. package/dist/helpers/GasFeePoller.d.mts +1 -1
  37. package/dist/helpers/GasFeePoller.d.mts.map +1 -1
  38. package/dist/helpers/GasFeePoller.mjs +4 -4
  39. package/dist/helpers/GasFeePoller.mjs.map +1 -1
  40. package/dist/helpers/IncomingTransactionHelper.cjs +18 -11
  41. package/dist/helpers/IncomingTransactionHelper.cjs.map +1 -1
  42. package/dist/helpers/IncomingTransactionHelper.d.cts.map +1 -1
  43. package/dist/helpers/IncomingTransactionHelper.d.mts.map +1 -1
  44. package/dist/helpers/IncomingTransactionHelper.mjs +19 -12
  45. package/dist/helpers/IncomingTransactionHelper.mjs.map +1 -1
  46. package/dist/helpers/MethodDataHelper.cjs +78 -0
  47. package/dist/helpers/MethodDataHelper.cjs.map +1 -0
  48. package/dist/helpers/MethodDataHelper.d.cts +14 -0
  49. package/dist/helpers/MethodDataHelper.d.cts.map +1 -0
  50. package/dist/helpers/MethodDataHelper.d.mts +14 -0
  51. package/dist/helpers/MethodDataHelper.d.mts.map +1 -0
  52. package/dist/helpers/MethodDataHelper.mjs +71 -0
  53. package/dist/helpers/MethodDataHelper.mjs.map +1 -0
  54. package/dist/helpers/MultichainTrackingHelper.cjs +87 -104
  55. package/dist/helpers/MultichainTrackingHelper.cjs.map +1 -1
  56. package/dist/helpers/MultichainTrackingHelper.d.cts +16 -22
  57. package/dist/helpers/MultichainTrackingHelper.d.cts.map +1 -1
  58. package/dist/helpers/MultichainTrackingHelper.d.mts +16 -22
  59. package/dist/helpers/MultichainTrackingHelper.d.mts.map +1 -1
  60. package/dist/helpers/MultichainTrackingHelper.mjs +88 -109
  61. package/dist/helpers/MultichainTrackingHelper.mjs.map +1 -1
  62. package/dist/helpers/PendingTransactionTracker.cjs +24 -22
  63. package/dist/helpers/PendingTransactionTracker.cjs.map +1 -1
  64. package/dist/helpers/PendingTransactionTracker.d.cts.map +1 -1
  65. package/dist/helpers/PendingTransactionTracker.d.mts.map +1 -1
  66. package/dist/helpers/PendingTransactionTracker.mjs +24 -22
  67. package/dist/helpers/PendingTransactionTracker.mjs.map +1 -1
  68. package/dist/types.cjs.map +1 -1
  69. package/dist/types.d.cts +7 -3
  70. package/dist/types.d.cts.map +1 -1
  71. package/dist/types.d.mts +7 -3
  72. package/dist/types.d.mts.map +1 -1
  73. package/dist/types.mjs.map +1 -1
  74. package/dist/utils/etherscan.cjs +2 -1
  75. package/dist/utils/etherscan.cjs.map +1 -1
  76. package/dist/utils/etherscan.d.cts.map +1 -1
  77. package/dist/utils/etherscan.d.mts.map +1 -1
  78. package/dist/utils/etherscan.mjs +3 -2
  79. package/dist/utils/etherscan.mjs.map +1 -1
  80. package/dist/utils/validation.cjs +13 -1
  81. package/dist/utils/validation.cjs.map +1 -1
  82. package/dist/utils/validation.d.cts +7 -0
  83. package/dist/utils/validation.d.cts.map +1 -1
  84. package/dist/utils/validation.d.mts +7 -0
  85. package/dist/utils/validation.d.mts.map +1 -1
  86. package/dist/utils/validation.mjs +11 -0
  87. package/dist/utils/validation.mjs.map +1 -1
  88. package/package.json +1 -1
@@ -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,12 +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;
131
+ isFirstTimeInteractionEnabled?: () => boolean;
137
132
  isSimulationEnabled?: () => boolean;
138
133
  messenger: TransactionControllerMessenger;
139
- onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
140
134
  pendingTransactions?: PendingTransactionOptions;
141
- provider: Provider;
142
135
  securityProviderRequest?: SecurityProviderRequest;
143
136
  sign?: (transaction: TypedTransaction, from: string, transactionMeta?: TransactionMeta) => Promise<TypedTransaction>;
144
137
  state?: Partial<TransactionControllerState>;
@@ -346,8 +339,6 @@ export declare class TransactionController extends BaseController<typeof control
346
339
  private readonly isSwapsDisabled;
347
340
  private readonly isSendFlowHistoryDisabled;
348
341
  private readonly approvingTransactionIds;
349
- private readonly nonceTracker;
350
- private readonly registry;
351
342
  private readonly mutex;
352
343
  private readonly gasFeeFlows;
353
344
  private readonly getSavedGasFees;
@@ -358,9 +349,7 @@ export declare class TransactionController extends BaseController<typeof control
358
349
  private readonly getPermittedAccounts?;
359
350
  private readonly getExternalPendingTransactions;
360
351
  private readonly layer1GasFeeFlows;
361
- private readonly incomingTransactionHelper;
362
352
  private readonly securityProviderRequest?;
363
- private readonly pendingTransactionTracker;
364
353
  private readonly signAbortCallbacks;
365
354
  private readonly afterSign;
366
355
  private readonly beforeCheckPendingTransaction;
@@ -368,7 +357,6 @@ export declare class TransactionController extends BaseController<typeof control
368
357
  private readonly publish;
369
358
  private readonly getAdditionalSignArguments;
370
359
  private failTransaction;
371
- private registryLookup;
372
360
  /**
373
361
  * Method used to sign transactions
374
362
  */
@@ -377,7 +365,6 @@ export declare class TransactionController extends BaseController<typeof control
377
365
  * Constructs a TransactionController.
378
366
  *
379
367
  * @param options - The controller options.
380
- * @param options.blockTracker - The block tracker used to poll for new blocks data.
381
368
  * @param options.disableHistory - Whether to disable storing history in transaction metadata.
382
369
  * @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
383
370
  * @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
@@ -390,12 +377,10 @@ export declare class TransactionController extends BaseController<typeof control
390
377
  * @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
391
378
  * @param options.getSavedGasFees - Gets the saved gas fee config.
392
379
  * @param options.incomingTransactions - Configuration options for incoming transaction support.
393
- * @param options.isMultichainEnabled - Enable multichain support.
380
+ * @param options.isFirstTimeInteractionEnabled - Whether first time interaction checks are enabled.
394
381
  * @param options.isSimulationEnabled - Whether new transactions will be automatically simulated.
395
382
  * @param options.messenger - The controller messenger.
396
- * @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
397
383
  * @param options.pendingTransactions - Configuration options for pending transaction support.
398
- * @param options.provider - The provider used to create the underlying EthQuery instance.
399
384
  * @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
400
385
  * @param options.sign - Function used to sign transactions.
401
386
  * @param options.state - Initial state to set on this controller.
@@ -404,7 +389,7 @@ export declare class TransactionController extends BaseController<typeof control
404
389
  * @param options.transactionHistoryLimit - Transaction history limit.
405
390
  * @param options.hooks - The controller hooks.
406
391
  */
407
- constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkClientRegistry, getNetworkState, getPermittedAccounts, getSavedGasFees, incomingTransactions, isMultichainEnabled, 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);
408
393
  /**
409
394
  * Stops polling and removes listeners to prepare the controller for garbage collection.
410
395
  */
@@ -413,35 +398,37 @@ export declare class TransactionController extends BaseController<typeof control
413
398
  * Handle new method data request.
414
399
  *
415
400
  * @param fourBytePrefix - The method prefix.
401
+ * @param networkClientId - The ID of the network client used to fetch the method data.
416
402
  * @returns The method data object corresponding to the given signature prefix.
417
403
  */
418
- handleMethodData(fourBytePrefix: string): Promise<MethodData>;
404
+ handleMethodData(fourBytePrefix: string, networkClientId: NetworkClientId): Promise<MethodData>;
419
405
  /**
420
406
  * Add a new unapproved transaction to state. Parameters will be validated, a
421
407
  * unique transaction id will be generated, and gas and gasPrice will be calculated
422
408
  * if not provided. If A `<tx.id>:unapproved` hub event will be emitted once added.
423
409
  *
424
410
  * @param txParams - Standard parameters for an Ethereum transaction.
425
- * @param opts - Additional options to control how the transaction is added.
426
- * @param opts.actionId - Unique ID to prevent duplicate requests.
427
- * @param opts.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
428
- * @param opts.method - RPC method that requested the transaction.
429
- * @param opts.origin - The origin of the transaction request, such as a dApp hostname.
430
- * @param opts.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
431
- * @param opts.securityAlertResponse - Response from security validator.
432
- * @param opts.sendFlowHistory - The sendFlowHistory entries to add.
433
- * @param opts.type - Type of transaction to add, such as 'cancel' or 'swap'.
434
- * @param opts.swaps - Options for swaps transactions.
435
- * @param opts.swaps.hasApproveTx - Whether the transaction has an approval transaction.
436
- * @param opts.swaps.meta - Metadata for swap transaction.
437
- * @param opts.networkClientId - The id of the network client for this transaction.
438
- * @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.
439
425
  * @returns Object containing a promise resolving to the transaction hash if approved.
440
426
  */
441
- addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, traceContext, type, networkClientId: requestNetworkClientId, }?: {
427
+ addTransaction(txParams: TransactionParams, options: {
442
428
  actionId?: string;
443
429
  deviceConfirmedOn?: WalletDevice;
444
430
  method?: string;
431
+ networkClientId: NetworkClientId;
445
432
  origin?: string;
446
433
  requireApproval?: boolean | undefined;
447
434
  securityAlertResponse?: SecurityAlertResponse;
@@ -452,11 +439,9 @@ export declare class TransactionController extends BaseController<typeof control
452
439
  };
453
440
  traceContext?: unknown;
454
441
  type?: TransactionType;
455
- networkClientId?: NetworkClientId;
456
442
  }): Promise<Result>;
457
443
  startIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
458
444
  stopIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
459
- stopAllIncomingTransactionPolling(): void;
460
445
  updateIncomingTransactions(networkClientIds?: NetworkClientId[]): Promise<void>;
461
446
  /**
462
447
  * Attempts to cancel a transaction based on its ID by setting its status to "rejected"
@@ -492,10 +477,41 @@ export declare class TransactionController extends BaseController<typeof control
492
477
  * @param networkClientId - The network client id to use for the estimate.
493
478
  * @returns The gas and gas price.
494
479
  */
495
- estimateGas(transaction: TransactionParams, networkClientId?: NetworkClientId): Promise<{
480
+ estimateGas(transaction: TransactionParams, networkClientId: NetworkClientId): Promise<{
496
481
  gas: `0x${string}`;
497
482
  simulationFails: {
498
483
  reason?: string | undefined;
484
+ /**
485
+ * TransactionController constructor options.
486
+ *
487
+ * @property disableHistory - Whether to disable storing history in transaction metadata.
488
+ * @property disableSendFlowHistory - Explicitly disable transaction metadata history.
489
+ * @property disableSwaps - Whether to disable additional processing on swaps transactions.
490
+ * @property getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
491
+ * @property getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
492
+ * @property getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
493
+ * @property getGasFeeEstimates - Callback to retrieve gas fee estimates.
494
+ * @property getNetworkClientRegistry - Gets the network client registry.
495
+ * @property getNetworkState - Gets the state of the network controller.
496
+ * @property getPermittedAccounts - Get accounts that a given origin has permissions for.
497
+ * @property getSavedGasFees - Gets the saved gas fee config.
498
+ * @property getSelectedAddress - Gets the address of the currently selected account.
499
+ * @property incomingTransactions - Configuration options for incoming transaction support.
500
+ * @property isSimulationEnabled - Whether new transactions will be automatically simulated.
501
+ * @property messenger - The controller messenger.
502
+ * @property pendingTransactions - Configuration options for pending transaction support.
503
+ * @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
504
+ * @property sign - Function used to sign transactions.
505
+ * @property state - Initial state to set on this controller.
506
+ * @property transactionHistoryLimit - Transaction history limit.
507
+ * @property hooks - The controller hooks.
508
+ * @property hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
509
+ * @property hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
510
+ * @property hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
511
+ * @property hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
512
+ * @property hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
513
+ * @property hooks.publish - Alternate logic to publish a transaction.
514
+ */
499
515
  errorKey?: string | undefined;
500
516
  debug: {
501
517
  blockNumber?: string | undefined;
@@ -510,10 +526,41 @@ export declare class TransactionController extends BaseController<typeof control
510
526
  * @param multiplier - The multiplier to use for the gas buffer.
511
527
  * @param networkClientId - The network client id to use for the estimate.
512
528
  */
513
- estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId?: NetworkClientId): Promise<{
529
+ estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId: NetworkClientId): Promise<{
514
530
  gas: `0x${string}`;
515
531
  simulationFails: {
516
532
  reason?: string | undefined;
533
+ /**
534
+ * TransactionController constructor options.
535
+ *
536
+ * @property disableHistory - Whether to disable storing history in transaction metadata.
537
+ * @property disableSendFlowHistory - Explicitly disable transaction metadata history.
538
+ * @property disableSwaps - Whether to disable additional processing on swaps transactions.
539
+ * @property getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
540
+ * @property getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
541
+ * @property getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
542
+ * @property getGasFeeEstimates - Callback to retrieve gas fee estimates.
543
+ * @property getNetworkClientRegistry - Gets the network client registry.
544
+ * @property getNetworkState - Gets the state of the network controller.
545
+ * @property getPermittedAccounts - Get accounts that a given origin has permissions for.
546
+ * @property getSavedGasFees - Gets the saved gas fee config.
547
+ * @property getSelectedAddress - Gets the address of the currently selected account.
548
+ * @property incomingTransactions - Configuration options for incoming transaction support.
549
+ * @property isSimulationEnabled - Whether new transactions will be automatically simulated.
550
+ * @property messenger - The controller messenger.
551
+ * @property pendingTransactions - Configuration options for pending transaction support.
552
+ * @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
553
+ * @property sign - Function used to sign transactions.
554
+ * @property state - Initial state to set on this controller.
555
+ * @property transactionHistoryLimit - Transaction history limit.
556
+ * @property hooks - The controller hooks.
557
+ * @property hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
558
+ * @property hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
559
+ * @property hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
560
+ * @property hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
561
+ * @property hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
562
+ * @property hooks.publish - Alternate logic to publish a transaction.
563
+ */
517
564
  errorKey?: string | undefined;
518
565
  debug: {
519
566
  blockNumber?: string | undefined;
@@ -536,14 +583,16 @@ export declare class TransactionController extends BaseController<typeof control
536
583
  */
537
584
  updateSecurityAlertResponse(transactionId: string, securityAlertResponse: SecurityAlertResponse): void;
538
585
  /**
539
- * Removes all transactions from state, optionally based on the current network.
586
+ * Remove transactions from state.
540
587
  *
541
- * @param ignoreNetwork - Determines whether to wipe all transactions, or just those on the
542
- * current network. If `true`, all transactions are wiped.
543
- * @param address - If specified, only transactions originating from this address will be
544
- * wiped on current network.
588
+ * @param options - The options bag.
589
+ * @param options.address - Remove transactions from this account only. Defaults to all accounts.
590
+ * @param options.chainId - Remove transactions for the specified chain only. Defaults to all chains.
545
591
  */
546
- wipeTransactions(ignoreNetwork?: boolean, address?: string): void;
592
+ wipeTransactions({ address, chainId, }?: {
593
+ address?: string;
594
+ chainId?: string;
595
+ }): void;
547
596
  /**
548
597
  * Adds external provided transaction to state as confirmed transaction.
549
598
  *
@@ -607,7 +656,7 @@ export declare class TransactionController extends BaseController<typeof control
607
656
  maxFeePerGas?: string;
608
657
  maxPriorityFeePerGas?: string;
609
658
  }): TransactionMeta;
610
- getNonceLock(address: string, networkClientId?: NetworkClientId): Promise<NonceLock>;
659
+ getNonceLock(address: string, networkClientId: NetworkClientId): Promise<NonceLock>;
611
660
  /**
612
661
  * Updates the editable parameters of a transaction.
613
662
  *
@@ -660,17 +709,15 @@ export declare class TransactionController extends BaseController<typeof control
660
709
  * Search transaction metadata for matching entries.
661
710
  *
662
711
  * @param opts - Options bag.
663
- * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
664
712
  * @param opts.initialList - The transactions to search. Defaults to the current state.
665
- * @param opts.filterToCurrentNetwork - Whether to filter the results to the current network. Defaults to true.
666
713
  * @param opts.limit - The maximum number of transactions to return. No limit by default.
714
+ * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
667
715
  * @returns An array of transactions matching the provided options.
668
716
  */
669
- getTransactions({ searchCriteria, initialList, filterToCurrentNetwork, limit, }?: {
670
- searchCriteria?: any;
717
+ getTransactions({ initialList, limit, searchCriteria, }?: {
671
718
  initialList?: TransactionMeta[];
672
- filterToCurrentNetwork?: boolean;
673
719
  limit?: number;
720
+ searchCriteria?: any;
674
721
  }): TransactionMeta[];
675
722
  estimateGasFee({ transactionParams, chainId, networkClientId: requestNetworkClientId, }: {
676
723
  transactionParams: TransactionParams;
@@ -759,7 +806,6 @@ export declare class TransactionController extends BaseController<typeof control
759
806
  private getTransactionOrThrow;
760
807
  private getApprovalId;
761
808
  private isTransactionCompleted;
762
- private getChainId;
763
809
  private prepareUnsignedEthTx;
764
810
  /**
765
811
  * `@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;AAG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