@metamask/transaction-controller 62.22.0 → 63.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.
- package/CHANGELOG.md +47 -1
- package/dist/TransactionController-method-action-types.cjs +7 -0
- package/dist/TransactionController-method-action-types.cjs.map +1 -0
- package/dist/TransactionController-method-action-types.d.cts +327 -0
- package/dist/TransactionController-method-action-types.d.cts.map +1 -0
- package/dist/TransactionController-method-action-types.d.mts +327 -0
- package/dist/TransactionController-method-action-types.d.mts.map +1 -0
- package/dist/TransactionController-method-action-types.mjs +6 -0
- package/dist/TransactionController-method-action-types.mjs.map +1 -0
- package/dist/TransactionController.cjs +157 -123
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +36 -93
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +36 -93
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +157 -123
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.cjs +4 -0
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +8 -2
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +8 -2
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +4 -0
- package/dist/types.mjs.map +1 -1
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [63.1.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `perpsWithdraw` to `TransactionType` ([#8271](https://github.com/MetaMask/core/pull/8271))
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Bump `@metamask/core-backend` from `^6.1.1` to `^6.2.0` ([#8232](https://github.com/MetaMask/core/pull/8232))
|
|
19
|
+
- Remove legacy `actionId` deduplication logic from transaction lifecycle methods ([#8256](https://github.com/MetaMask/core/pull/8256))
|
|
20
|
+
|
|
21
|
+
## [63.0.0]
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- New public `getGasFeeTokens()` controller method ([#8183](https://github.com/MetaMask/core/pull/8183))
|
|
26
|
+
- Expose missing public `TransactionController` methods through its messenger ([#8183](https://github.com/MetaMask/core/pull/8183))
|
|
27
|
+
- The following actions are now available:
|
|
28
|
+
- `TransactionController:handleMethodData`
|
|
29
|
+
- `TransactionController:isAtomicBatchSupported`
|
|
30
|
+
- `TransactionController:startIncomingTransactionPolling`
|
|
31
|
+
- `TransactionController:stopIncomingTransactionPolling`
|
|
32
|
+
- `TransactionController:updateIncomingTransactions`
|
|
33
|
+
- `TransactionController:stopTransaction`
|
|
34
|
+
- `TransactionController:speedUpTransaction`
|
|
35
|
+
- `TransactionController:estimateGasBuffered`
|
|
36
|
+
- `TransactionController:updateEditableParams`
|
|
37
|
+
- `TransactionController:setTransactionActive`
|
|
38
|
+
- `TransactionController:approveTransactionsWithSameNonce`
|
|
39
|
+
- `TransactionController:estimateGasFee`
|
|
40
|
+
- `TransactionController:getLayer1GasFee`
|
|
41
|
+
- `TransactionController:clearUnapprovedTransactions`
|
|
42
|
+
- `TransactionController:abortTransactionSigning`
|
|
43
|
+
- `TransactionController:updateAtomicBatchData`
|
|
44
|
+
- Corresponding action types (e.g. `TransactionControllerHandleMethodDataAction`) are available as well.
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- Bump `@metamask/approval-controller` from `^8.0.0` to `^9.0.0` ([#8225](https://github.com/MetaMask/core/pull/8225))
|
|
49
|
+
- Bump `@metamask/gas-fee-controller` from `^26.0.3` to `^26.1.0` ([#8225](https://github.com/MetaMask/core/pull/8225))
|
|
50
|
+
- **BREAKING:** Standardize names of `TransactionController` messenger action types ([#8183](https://github.com/MetaMask/core/pull/8183))
|
|
51
|
+
- All existing types for messenger actions have been renamed so they end in `Action` (e.g. `TransactionControllerEmulateNewTransaction` -> `TransactionControllerEmulateNewTransactionAction`). You will need to update imports appropriately.
|
|
52
|
+
- This change only affects the types. The action type strings themselves have not changed, so you do not need to update the list of actions you pass when initializing `TransactionController` messenger.
|
|
53
|
+
|
|
10
54
|
## [62.22.0]
|
|
11
55
|
|
|
12
56
|
### Added
|
|
@@ -2221,7 +2265,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
2221
2265
|
|
|
2222
2266
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
2223
2267
|
|
|
2224
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
2268
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@63.1.0...HEAD
|
|
2269
|
+
[63.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@63.0.0...@metamask/transaction-controller@63.1.0
|
|
2270
|
+
[63.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.22.0...@metamask/transaction-controller@63.0.0
|
|
2225
2271
|
[62.22.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.21.0...@metamask/transaction-controller@62.22.0
|
|
2226
2272
|
[62.21.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.20.0...@metamask/transaction-controller@62.21.0
|
|
2227
2273
|
[62.20.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.19.0...@metamask/transaction-controller@62.20.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionController-method-action-types.cjs","sourceRoot":"","sources":["../src/TransactionController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by `scripts/generate-method-action-types.ts`.\n * Do not edit manually.\n */\n\nimport type { TransactionController } from './TransactionController';\n\n/**\n * Handle new method data request.\n *\n * @param fourBytePrefix - The method prefix.\n * @param networkClientId - The ID of the network client used to fetch the method data.\n * @returns The method data object corresponding to the given signature prefix.\n */\nexport type TransactionControllerHandleMethodDataAction = {\n type: `TransactionController:handleMethodData`;\n handler: TransactionController['handleMethodData'];\n};\n\n/**\n * Add a batch of transactions to be submitted after approval.\n *\n * @param request - Request object containing the transactions to add.\n * @returns Result object containing the generated batch ID.\n */\nexport type TransactionControllerAddTransactionBatchAction = {\n type: `TransactionController:addTransactionBatch`;\n handler: TransactionController['addTransactionBatch'];\n};\n\n/**\n * Determine which chains support atomic batch transactions with the given account address.\n *\n * @param request - Request object containing the account address and other parameters.\n * @returns Result object containing the supported chains and related information.\n */\nexport type TransactionControllerIsAtomicBatchSupportedAction = {\n type: `TransactionController:isAtomicBatchSupported`;\n handler: TransactionController['isAtomicBatchSupported'];\n};\n\n/**\n * Add a new unapproved transaction to state. Parameters will be validated, a\n * unique transaction ID will be generated, and `gas` and `gasPrice` will be calculated\n * if not provided. A `<tx.id>:unapproved` hub event will be emitted once added.\n *\n * @param txParams - Standard parameters for an Ethereum transaction.\n * @param options - Additional options to control how the transaction is added.\n * @returns Object containing a promise resolving to the transaction hash if approved.\n */\nexport type TransactionControllerAddTransactionAction = {\n type: `TransactionController:addTransaction`;\n handler: TransactionController['addTransaction'];\n};\n\n/**\n * Starts polling for incoming transactions from the remote transaction source.\n */\nexport type TransactionControllerStartIncomingTransactionPollingAction = {\n type: `TransactionController:startIncomingTransactionPolling`;\n handler: TransactionController['startIncomingTransactionPolling'];\n};\n\n/**\n * Stops polling for incoming transactions from the remote transaction source.\n */\nexport type TransactionControllerStopIncomingTransactionPollingAction = {\n type: `TransactionController:stopIncomingTransactionPolling`;\n handler: TransactionController['stopIncomingTransactionPolling'];\n};\n\n/**\n * Update the incoming transactions by polling the remote transaction source.\n *\n * @param request - Request object.\n * @param request.tags - Additional tags to identify the source of the request.\n */\nexport type TransactionControllerUpdateIncomingTransactionsAction = {\n type: `TransactionController:updateIncomingTransactions`;\n handler: TransactionController['updateIncomingTransactions'];\n};\n\n/**\n * Attempts to cancel a transaction based on its ID by setting its status to \"rejected\"\n * and emitting a `<tx.id>:finished` hub event.\n *\n * @param transactionId - The ID of the transaction to cancel.\n * @param gasValues - The gas values to use for the cancellation transaction.\n * @param options - The options for the cancellation transaction.\n * @param options.actionId - Unique ID persisted on transaction metadata.\n * @param options.estimatedBaseFee - The estimated base fee of the transaction.\n */\nexport type TransactionControllerStopTransactionAction = {\n type: `TransactionController:stopTransaction`;\n handler: TransactionController['stopTransaction'];\n};\n\n/**\n * Attempts to speed up a transaction increasing transaction gasPrice by ten percent.\n *\n * @param transactionId - The ID of the transaction to speed up.\n * @param gasValues - The gas values to use for the speed up transaction.\n * @param options - The options for the speed up transaction.\n * @param options.actionId - Unique ID persisted on transaction metadata.\n * @param options.estimatedBaseFee - The estimated base fee of the transaction.\n */\nexport type TransactionControllerSpeedUpTransactionAction = {\n type: `TransactionController:speedUpTransaction`;\n handler: TransactionController['speedUpTransaction'];\n};\n\n/**\n * Estimates required gas for a given transaction.\n *\n * @param transaction - The transaction to estimate gas for.\n * @param networkClientId - The network client id to use for the estimate.\n * @param options - Additional options for the estimate.\n * @param options.ignoreDelegationSignatures - Ignore signature errors if submitting delegations to the DelegationManager.\n * @returns The gas and gas price.\n */\nexport type TransactionControllerEstimateGasAction = {\n type: `TransactionController:estimateGas`;\n handler: TransactionController['estimateGas'];\n};\n\n/**\n * Estimates required gas for a batch of transactions.\n *\n * @param request - Request object.\n * @param request.chainId - Chain ID of the transactions.\n * @param request.from - Address of the sender.\n * @param request.transactions - Array of transactions within a batch request.\n * @returns Object containing the gas limit.\n */\nexport type TransactionControllerEstimateGasBatchAction = {\n type: `TransactionController:estimateGasBatch`;\n handler: TransactionController['estimateGasBatch'];\n};\n\n/**\n * Estimates required gas for a given transaction and add additional gas buffer with the given multiplier.\n *\n * @param transaction - The transaction params to estimate gas for.\n * @param multiplier - The multiplier to use for the gas buffer.\n * @param networkClientId - The network client id to use for the estimate.\n * @returns The buffered estimated gas and whether the estimation failed.\n */\nexport type TransactionControllerEstimateGasBufferedAction = {\n type: `TransactionController:estimateGasBuffered`;\n handler: TransactionController['estimateGasBuffered'];\n};\n\n/**\n * Updates an existing transaction in state.\n *\n * @param transactionMeta - The new transaction to store in state.\n * @param note - A note or update reason to be logged.\n */\nexport type TransactionControllerUpdateTransactionAction = {\n type: `TransactionController:updateTransaction`;\n handler: TransactionController['updateTransaction'];\n};\n\n/**\n * Adds external provided transaction to state as confirmed transaction.\n *\n * @param transactionMeta - TransactionMeta to add transactions.\n * @param transactionReceipt - TransactionReceipt of the external transaction.\n * @param baseFeePerGas - Base fee per gas of the external transaction.\n */\nexport type TransactionControllerConfirmExternalTransactionAction = {\n type: `TransactionController:confirmExternalTransaction`;\n handler: TransactionController['confirmExternalTransaction'];\n};\n\n/**\n * Acquires a nonce lock for the given address on the specified network,\n * ensuring that nonces are assigned sequentially without conflicts.\n *\n * @param address - The account address for which to acquire the nonce lock.\n * @param networkClientId - The ID of the network client to use.\n * @returns A promise that resolves to a nonce lock containing the next nonce and a release function.\n */\nexport type TransactionControllerGetNonceLockAction = {\n type: `TransactionController:getNonceLock`;\n handler: TransactionController['getNonceLock'];\n};\n\n/**\n * Updates the editable parameters of a transaction.\n *\n * @param txId - The ID of the transaction to update.\n * @param params - The editable parameters to update.\n * @param params.containerTypes - Container types applied to the parameters.\n * @param params.data - Data to pass with the transaction.\n * @param params.from - Address to send the transaction from.\n * @param params.gas - Maximum number of units of gas to use for the transaction.\n * @param params.gasPrice - Price per gas for legacy transactions.\n * @param params.maxFeePerGas - Maximum amount per gas to pay for the transaction, including the priority fee.\n * @param params.maxPriorityFeePerGas - Maximum amount per gas to give to validator as incentive.\n * @param params.updateType - Whether to update the transaction type. Defaults to `true`.\n * @param params.to - Address to send the transaction to.\n * @param params.value - Value associated with the transaction.\n * @returns The updated transaction metadata.\n */\nexport type TransactionControllerUpdateEditableParamsAction = {\n type: `TransactionController:updateEditableParams`;\n handler: TransactionController['updateEditableParams'];\n};\n\n/**\n * Update the isActive state of a transaction.\n *\n * @param transactionId - The ID of the transaction to update.\n * @param isActive - The active state.\n */\nexport type TransactionControllerSetTransactionActiveAction = {\n type: `TransactionController:setTransactionActive`;\n handler: TransactionController['setTransactionActive'];\n};\n\n/**\n * Signs and returns the raw transaction data for provided transaction params list.\n *\n * @param listOfTxParams - The list of transaction params to approve.\n * @param opts - Options bag.\n * @param opts.hasNonce - Whether the transactions already have a nonce.\n * @returns The raw transactions.\n */\nexport type TransactionControllerApproveTransactionsWithSameNonceAction = {\n type: `TransactionController:approveTransactionsWithSameNonce`;\n handler: TransactionController['approveTransactionsWithSameNonce'];\n};\n\n/**\n * Update a custodial transaction.\n *\n * @param request - The custodial transaction update request.\n *\n * @returns The updated transaction metadata.\n */\nexport type TransactionControllerUpdateCustodialTransactionAction = {\n type: `TransactionController:updateCustodialTransaction`;\n handler: TransactionController['updateCustodialTransaction'];\n};\n\n/**\n * Search transaction metadata for matching entries.\n *\n * @param opts - Options bag.\n * @param opts.initialList - The transactions to search. Defaults to the current state.\n * @param opts.limit - The maximum number of transactions to return. No limit by default.\n * @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.\n * @returns An array of transactions matching the provided options.\n */\nexport type TransactionControllerGetTransactionsAction = {\n type: `TransactionController:getTransactions`;\n handler: TransactionController['getTransactions'];\n};\n\n/**\n * Estimates the gas fees for a transaction.\n *\n * @param args - The arguments for estimating gas fees.\n * @param args.transactionParams - The transaction parameters to estimate fees for.\n * @param args.chainId - The chain ID to use. If not provided, the network client ID is used to determine the chain.\n * @param args.networkClientId - The network client ID to use for the estimation.\n * @returns A promise that resolves to the estimated gas fee response.\n */\nexport type TransactionControllerEstimateGasFeeAction = {\n type: `TransactionController:estimateGasFee`;\n handler: TransactionController['estimateGasFee'];\n};\n\n/**\n * Determine the layer 1 gas fee for the given transaction parameters.\n *\n * @param request - The request object.\n * @param request.transactionParams - The transaction parameters to estimate the layer 1 gas fee for.\n * @param request.chainId - The ID of the chain where the transaction will be executed.\n * @param request.networkClientId - The ID of a specific network client to process the transaction.\n * @returns The layer 1 gas fee.\n */\nexport type TransactionControllerGetLayer1GasFeeAction = {\n type: `TransactionController:getLayer1GasFee`;\n handler: TransactionController['getLayer1GasFee'];\n};\n\n/**\n * Removes unapproved transactions from state.\n */\nexport type TransactionControllerClearUnapprovedTransactionsAction = {\n type: `TransactionController:clearUnapprovedTransactions`;\n handler: TransactionController['clearUnapprovedTransactions'];\n};\n\n/**\n * Stop the signing process for a specific transaction.\n * Throws an error causing the transaction status to be set to failed.\n *\n * @param transactionId - The ID of the transaction to stop signing.\n */\nexport type TransactionControllerAbortTransactionSigningAction = {\n type: `TransactionController:abortTransactionSigning`;\n handler: TransactionController['abortTransactionSigning'];\n};\n\n/**\n * Update the transaction data of a single nested transaction within an atomic batch transaction.\n *\n * @param options - The options bag.\n * @param options.transactionId - ID of the atomic batch transaction.\n * @param options.transactionIndex - Index of the nested transaction within the atomic batch transaction.\n * @param options.transactionData - New data to set for the nested transaction.\n * @returns The updated data for the atomic batch transaction.\n */\nexport type TransactionControllerUpdateAtomicBatchDataAction = {\n type: `TransactionController:updateAtomicBatchData`;\n handler: TransactionController['updateAtomicBatchData'];\n};\n\n/**\n * Emulate a new transaction.\n *\n * @param transactionId - The transaction ID.\n */\nexport type TransactionControllerEmulateNewTransactionAction = {\n type: `TransactionController:emulateNewTransaction`;\n handler: TransactionController['emulateNewTransaction'];\n};\n\n/**\n * Emulate a transaction update.\n *\n * @param transactionMeta - Transaction metadata.\n */\nexport type TransactionControllerEmulateTransactionUpdateAction = {\n type: `TransactionController:emulateTransactionUpdate`;\n handler: TransactionController['emulateTransactionUpdate'];\n};\n\n/**\n * Retrieve available gas fee tokens for a transaction.\n *\n * @param request - The request object containing transaction details.\n * @returns The list of available gas fee tokens.\n */\nexport type TransactionControllerGetGasFeeTokensAction = {\n type: `TransactionController:getGasFeeTokens`;\n handler: TransactionController['getGasFeeTokens'];\n};\n\n/**\n * Union of all TransactionController action types.\n */\nexport type TransactionControllerMethodActions =\n | TransactionControllerHandleMethodDataAction\n | TransactionControllerAddTransactionBatchAction\n | TransactionControllerIsAtomicBatchSupportedAction\n | TransactionControllerAddTransactionAction\n | TransactionControllerStartIncomingTransactionPollingAction\n | TransactionControllerStopIncomingTransactionPollingAction\n | TransactionControllerUpdateIncomingTransactionsAction\n | TransactionControllerStopTransactionAction\n | TransactionControllerSpeedUpTransactionAction\n | TransactionControllerEstimateGasAction\n | TransactionControllerEstimateGasBatchAction\n | TransactionControllerEstimateGasBufferedAction\n | TransactionControllerUpdateTransactionAction\n | TransactionControllerConfirmExternalTransactionAction\n | TransactionControllerGetNonceLockAction\n | TransactionControllerUpdateEditableParamsAction\n | TransactionControllerSetTransactionActiveAction\n | TransactionControllerApproveTransactionsWithSameNonceAction\n | TransactionControllerUpdateCustodialTransactionAction\n | TransactionControllerGetTransactionsAction\n | TransactionControllerEstimateGasFeeAction\n | TransactionControllerGetLayer1GasFeeAction\n | TransactionControllerClearUnapprovedTransactionsAction\n | TransactionControllerAbortTransactionSigningAction\n | TransactionControllerUpdateAtomicBatchDataAction\n | TransactionControllerEmulateNewTransactionAction\n | TransactionControllerEmulateTransactionUpdateAction\n | TransactionControllerGetGasFeeTokensAction;\n"]}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto generated by `scripts/generate-method-action-types.ts`.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { TransactionController } from "./TransactionController.cjs";
|
|
6
|
+
/**
|
|
7
|
+
* Handle new method data request.
|
|
8
|
+
*
|
|
9
|
+
* @param fourBytePrefix - The method prefix.
|
|
10
|
+
* @param networkClientId - The ID of the network client used to fetch the method data.
|
|
11
|
+
* @returns The method data object corresponding to the given signature prefix.
|
|
12
|
+
*/
|
|
13
|
+
export type TransactionControllerHandleMethodDataAction = {
|
|
14
|
+
type: `TransactionController:handleMethodData`;
|
|
15
|
+
handler: TransactionController['handleMethodData'];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Add a batch of transactions to be submitted after approval.
|
|
19
|
+
*
|
|
20
|
+
* @param request - Request object containing the transactions to add.
|
|
21
|
+
* @returns Result object containing the generated batch ID.
|
|
22
|
+
*/
|
|
23
|
+
export type TransactionControllerAddTransactionBatchAction = {
|
|
24
|
+
type: `TransactionController:addTransactionBatch`;
|
|
25
|
+
handler: TransactionController['addTransactionBatch'];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Determine which chains support atomic batch transactions with the given account address.
|
|
29
|
+
*
|
|
30
|
+
* @param request - Request object containing the account address and other parameters.
|
|
31
|
+
* @returns Result object containing the supported chains and related information.
|
|
32
|
+
*/
|
|
33
|
+
export type TransactionControllerIsAtomicBatchSupportedAction = {
|
|
34
|
+
type: `TransactionController:isAtomicBatchSupported`;
|
|
35
|
+
handler: TransactionController['isAtomicBatchSupported'];
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Add a new unapproved transaction to state. Parameters will be validated, a
|
|
39
|
+
* unique transaction ID will be generated, and `gas` and `gasPrice` will be calculated
|
|
40
|
+
* if not provided. A `<tx.id>:unapproved` hub event will be emitted once added.
|
|
41
|
+
*
|
|
42
|
+
* @param txParams - Standard parameters for an Ethereum transaction.
|
|
43
|
+
* @param options - Additional options to control how the transaction is added.
|
|
44
|
+
* @returns Object containing a promise resolving to the transaction hash if approved.
|
|
45
|
+
*/
|
|
46
|
+
export type TransactionControllerAddTransactionAction = {
|
|
47
|
+
type: `TransactionController:addTransaction`;
|
|
48
|
+
handler: TransactionController['addTransaction'];
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Starts polling for incoming transactions from the remote transaction source.
|
|
52
|
+
*/
|
|
53
|
+
export type TransactionControllerStartIncomingTransactionPollingAction = {
|
|
54
|
+
type: `TransactionController:startIncomingTransactionPolling`;
|
|
55
|
+
handler: TransactionController['startIncomingTransactionPolling'];
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Stops polling for incoming transactions from the remote transaction source.
|
|
59
|
+
*/
|
|
60
|
+
export type TransactionControllerStopIncomingTransactionPollingAction = {
|
|
61
|
+
type: `TransactionController:stopIncomingTransactionPolling`;
|
|
62
|
+
handler: TransactionController['stopIncomingTransactionPolling'];
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Update the incoming transactions by polling the remote transaction source.
|
|
66
|
+
*
|
|
67
|
+
* @param request - Request object.
|
|
68
|
+
* @param request.tags - Additional tags to identify the source of the request.
|
|
69
|
+
*/
|
|
70
|
+
export type TransactionControllerUpdateIncomingTransactionsAction = {
|
|
71
|
+
type: `TransactionController:updateIncomingTransactions`;
|
|
72
|
+
handler: TransactionController['updateIncomingTransactions'];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Attempts to cancel a transaction based on its ID by setting its status to "rejected"
|
|
76
|
+
* and emitting a `<tx.id>:finished` hub event.
|
|
77
|
+
*
|
|
78
|
+
* @param transactionId - The ID of the transaction to cancel.
|
|
79
|
+
* @param gasValues - The gas values to use for the cancellation transaction.
|
|
80
|
+
* @param options - The options for the cancellation transaction.
|
|
81
|
+
* @param options.actionId - Unique ID persisted on transaction metadata.
|
|
82
|
+
* @param options.estimatedBaseFee - The estimated base fee of the transaction.
|
|
83
|
+
*/
|
|
84
|
+
export type TransactionControllerStopTransactionAction = {
|
|
85
|
+
type: `TransactionController:stopTransaction`;
|
|
86
|
+
handler: TransactionController['stopTransaction'];
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Attempts to speed up a transaction increasing transaction gasPrice by ten percent.
|
|
90
|
+
*
|
|
91
|
+
* @param transactionId - The ID of the transaction to speed up.
|
|
92
|
+
* @param gasValues - The gas values to use for the speed up transaction.
|
|
93
|
+
* @param options - The options for the speed up transaction.
|
|
94
|
+
* @param options.actionId - Unique ID persisted on transaction metadata.
|
|
95
|
+
* @param options.estimatedBaseFee - The estimated base fee of the transaction.
|
|
96
|
+
*/
|
|
97
|
+
export type TransactionControllerSpeedUpTransactionAction = {
|
|
98
|
+
type: `TransactionController:speedUpTransaction`;
|
|
99
|
+
handler: TransactionController['speedUpTransaction'];
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Estimates required gas for a given transaction.
|
|
103
|
+
*
|
|
104
|
+
* @param transaction - The transaction to estimate gas for.
|
|
105
|
+
* @param networkClientId - The network client id to use for the estimate.
|
|
106
|
+
* @param options - Additional options for the estimate.
|
|
107
|
+
* @param options.ignoreDelegationSignatures - Ignore signature errors if submitting delegations to the DelegationManager.
|
|
108
|
+
* @returns The gas and gas price.
|
|
109
|
+
*/
|
|
110
|
+
export type TransactionControllerEstimateGasAction = {
|
|
111
|
+
type: `TransactionController:estimateGas`;
|
|
112
|
+
handler: TransactionController['estimateGas'];
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Estimates required gas for a batch of transactions.
|
|
116
|
+
*
|
|
117
|
+
* @param request - Request object.
|
|
118
|
+
* @param request.chainId - Chain ID of the transactions.
|
|
119
|
+
* @param request.from - Address of the sender.
|
|
120
|
+
* @param request.transactions - Array of transactions within a batch request.
|
|
121
|
+
* @returns Object containing the gas limit.
|
|
122
|
+
*/
|
|
123
|
+
export type TransactionControllerEstimateGasBatchAction = {
|
|
124
|
+
type: `TransactionController:estimateGasBatch`;
|
|
125
|
+
handler: TransactionController['estimateGasBatch'];
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Estimates required gas for a given transaction and add additional gas buffer with the given multiplier.
|
|
129
|
+
*
|
|
130
|
+
* @param transaction - The transaction params to estimate gas for.
|
|
131
|
+
* @param multiplier - The multiplier to use for the gas buffer.
|
|
132
|
+
* @param networkClientId - The network client id to use for the estimate.
|
|
133
|
+
* @returns The buffered estimated gas and whether the estimation failed.
|
|
134
|
+
*/
|
|
135
|
+
export type TransactionControllerEstimateGasBufferedAction = {
|
|
136
|
+
type: `TransactionController:estimateGasBuffered`;
|
|
137
|
+
handler: TransactionController['estimateGasBuffered'];
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Updates an existing transaction in state.
|
|
141
|
+
*
|
|
142
|
+
* @param transactionMeta - The new transaction to store in state.
|
|
143
|
+
* @param note - A note or update reason to be logged.
|
|
144
|
+
*/
|
|
145
|
+
export type TransactionControllerUpdateTransactionAction = {
|
|
146
|
+
type: `TransactionController:updateTransaction`;
|
|
147
|
+
handler: TransactionController['updateTransaction'];
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Adds external provided transaction to state as confirmed transaction.
|
|
151
|
+
*
|
|
152
|
+
* @param transactionMeta - TransactionMeta to add transactions.
|
|
153
|
+
* @param transactionReceipt - TransactionReceipt of the external transaction.
|
|
154
|
+
* @param baseFeePerGas - Base fee per gas of the external transaction.
|
|
155
|
+
*/
|
|
156
|
+
export type TransactionControllerConfirmExternalTransactionAction = {
|
|
157
|
+
type: `TransactionController:confirmExternalTransaction`;
|
|
158
|
+
handler: TransactionController['confirmExternalTransaction'];
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Acquires a nonce lock for the given address on the specified network,
|
|
162
|
+
* ensuring that nonces are assigned sequentially without conflicts.
|
|
163
|
+
*
|
|
164
|
+
* @param address - The account address for which to acquire the nonce lock.
|
|
165
|
+
* @param networkClientId - The ID of the network client to use.
|
|
166
|
+
* @returns A promise that resolves to a nonce lock containing the next nonce and a release function.
|
|
167
|
+
*/
|
|
168
|
+
export type TransactionControllerGetNonceLockAction = {
|
|
169
|
+
type: `TransactionController:getNonceLock`;
|
|
170
|
+
handler: TransactionController['getNonceLock'];
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Updates the editable parameters of a transaction.
|
|
174
|
+
*
|
|
175
|
+
* @param txId - The ID of the transaction to update.
|
|
176
|
+
* @param params - The editable parameters to update.
|
|
177
|
+
* @param params.containerTypes - Container types applied to the parameters.
|
|
178
|
+
* @param params.data - Data to pass with the transaction.
|
|
179
|
+
* @param params.from - Address to send the transaction from.
|
|
180
|
+
* @param params.gas - Maximum number of units of gas to use for the transaction.
|
|
181
|
+
* @param params.gasPrice - Price per gas for legacy transactions.
|
|
182
|
+
* @param params.maxFeePerGas - Maximum amount per gas to pay for the transaction, including the priority fee.
|
|
183
|
+
* @param params.maxPriorityFeePerGas - Maximum amount per gas to give to validator as incentive.
|
|
184
|
+
* @param params.updateType - Whether to update the transaction type. Defaults to `true`.
|
|
185
|
+
* @param params.to - Address to send the transaction to.
|
|
186
|
+
* @param params.value - Value associated with the transaction.
|
|
187
|
+
* @returns The updated transaction metadata.
|
|
188
|
+
*/
|
|
189
|
+
export type TransactionControllerUpdateEditableParamsAction = {
|
|
190
|
+
type: `TransactionController:updateEditableParams`;
|
|
191
|
+
handler: TransactionController['updateEditableParams'];
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Update the isActive state of a transaction.
|
|
195
|
+
*
|
|
196
|
+
* @param transactionId - The ID of the transaction to update.
|
|
197
|
+
* @param isActive - The active state.
|
|
198
|
+
*/
|
|
199
|
+
export type TransactionControllerSetTransactionActiveAction = {
|
|
200
|
+
type: `TransactionController:setTransactionActive`;
|
|
201
|
+
handler: TransactionController['setTransactionActive'];
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Signs and returns the raw transaction data for provided transaction params list.
|
|
205
|
+
*
|
|
206
|
+
* @param listOfTxParams - The list of transaction params to approve.
|
|
207
|
+
* @param opts - Options bag.
|
|
208
|
+
* @param opts.hasNonce - Whether the transactions already have a nonce.
|
|
209
|
+
* @returns The raw transactions.
|
|
210
|
+
*/
|
|
211
|
+
export type TransactionControllerApproveTransactionsWithSameNonceAction = {
|
|
212
|
+
type: `TransactionController:approveTransactionsWithSameNonce`;
|
|
213
|
+
handler: TransactionController['approveTransactionsWithSameNonce'];
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Update a custodial transaction.
|
|
217
|
+
*
|
|
218
|
+
* @param request - The custodial transaction update request.
|
|
219
|
+
*
|
|
220
|
+
* @returns The updated transaction metadata.
|
|
221
|
+
*/
|
|
222
|
+
export type TransactionControllerUpdateCustodialTransactionAction = {
|
|
223
|
+
type: `TransactionController:updateCustodialTransaction`;
|
|
224
|
+
handler: TransactionController['updateCustodialTransaction'];
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Search transaction metadata for matching entries.
|
|
228
|
+
*
|
|
229
|
+
* @param opts - Options bag.
|
|
230
|
+
* @param opts.initialList - The transactions to search. Defaults to the current state.
|
|
231
|
+
* @param opts.limit - The maximum number of transactions to return. No limit by default.
|
|
232
|
+
* @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
|
|
233
|
+
* @returns An array of transactions matching the provided options.
|
|
234
|
+
*/
|
|
235
|
+
export type TransactionControllerGetTransactionsAction = {
|
|
236
|
+
type: `TransactionController:getTransactions`;
|
|
237
|
+
handler: TransactionController['getTransactions'];
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Estimates the gas fees for a transaction.
|
|
241
|
+
*
|
|
242
|
+
* @param args - The arguments for estimating gas fees.
|
|
243
|
+
* @param args.transactionParams - The transaction parameters to estimate fees for.
|
|
244
|
+
* @param args.chainId - The chain ID to use. If not provided, the network client ID is used to determine the chain.
|
|
245
|
+
* @param args.networkClientId - The network client ID to use for the estimation.
|
|
246
|
+
* @returns A promise that resolves to the estimated gas fee response.
|
|
247
|
+
*/
|
|
248
|
+
export type TransactionControllerEstimateGasFeeAction = {
|
|
249
|
+
type: `TransactionController:estimateGasFee`;
|
|
250
|
+
handler: TransactionController['estimateGasFee'];
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Determine the layer 1 gas fee for the given transaction parameters.
|
|
254
|
+
*
|
|
255
|
+
* @param request - The request object.
|
|
256
|
+
* @param request.transactionParams - The transaction parameters to estimate the layer 1 gas fee for.
|
|
257
|
+
* @param request.chainId - The ID of the chain where the transaction will be executed.
|
|
258
|
+
* @param request.networkClientId - The ID of a specific network client to process the transaction.
|
|
259
|
+
* @returns The layer 1 gas fee.
|
|
260
|
+
*/
|
|
261
|
+
export type TransactionControllerGetLayer1GasFeeAction = {
|
|
262
|
+
type: `TransactionController:getLayer1GasFee`;
|
|
263
|
+
handler: TransactionController['getLayer1GasFee'];
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Removes unapproved transactions from state.
|
|
267
|
+
*/
|
|
268
|
+
export type TransactionControllerClearUnapprovedTransactionsAction = {
|
|
269
|
+
type: `TransactionController:clearUnapprovedTransactions`;
|
|
270
|
+
handler: TransactionController['clearUnapprovedTransactions'];
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* Stop the signing process for a specific transaction.
|
|
274
|
+
* Throws an error causing the transaction status to be set to failed.
|
|
275
|
+
*
|
|
276
|
+
* @param transactionId - The ID of the transaction to stop signing.
|
|
277
|
+
*/
|
|
278
|
+
export type TransactionControllerAbortTransactionSigningAction = {
|
|
279
|
+
type: `TransactionController:abortTransactionSigning`;
|
|
280
|
+
handler: TransactionController['abortTransactionSigning'];
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Update the transaction data of a single nested transaction within an atomic batch transaction.
|
|
284
|
+
*
|
|
285
|
+
* @param options - The options bag.
|
|
286
|
+
* @param options.transactionId - ID of the atomic batch transaction.
|
|
287
|
+
* @param options.transactionIndex - Index of the nested transaction within the atomic batch transaction.
|
|
288
|
+
* @param options.transactionData - New data to set for the nested transaction.
|
|
289
|
+
* @returns The updated data for the atomic batch transaction.
|
|
290
|
+
*/
|
|
291
|
+
export type TransactionControllerUpdateAtomicBatchDataAction = {
|
|
292
|
+
type: `TransactionController:updateAtomicBatchData`;
|
|
293
|
+
handler: TransactionController['updateAtomicBatchData'];
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Emulate a new transaction.
|
|
297
|
+
*
|
|
298
|
+
* @param transactionId - The transaction ID.
|
|
299
|
+
*/
|
|
300
|
+
export type TransactionControllerEmulateNewTransactionAction = {
|
|
301
|
+
type: `TransactionController:emulateNewTransaction`;
|
|
302
|
+
handler: TransactionController['emulateNewTransaction'];
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Emulate a transaction update.
|
|
306
|
+
*
|
|
307
|
+
* @param transactionMeta - Transaction metadata.
|
|
308
|
+
*/
|
|
309
|
+
export type TransactionControllerEmulateTransactionUpdateAction = {
|
|
310
|
+
type: `TransactionController:emulateTransactionUpdate`;
|
|
311
|
+
handler: TransactionController['emulateTransactionUpdate'];
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Retrieve available gas fee tokens for a transaction.
|
|
315
|
+
*
|
|
316
|
+
* @param request - The request object containing transaction details.
|
|
317
|
+
* @returns The list of available gas fee tokens.
|
|
318
|
+
*/
|
|
319
|
+
export type TransactionControllerGetGasFeeTokensAction = {
|
|
320
|
+
type: `TransactionController:getGasFeeTokens`;
|
|
321
|
+
handler: TransactionController['getGasFeeTokens'];
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* Union of all TransactionController action types.
|
|
325
|
+
*/
|
|
326
|
+
export type TransactionControllerMethodActions = TransactionControllerHandleMethodDataAction | TransactionControllerAddTransactionBatchAction | TransactionControllerIsAtomicBatchSupportedAction | TransactionControllerAddTransactionAction | TransactionControllerStartIncomingTransactionPollingAction | TransactionControllerStopIncomingTransactionPollingAction | TransactionControllerUpdateIncomingTransactionsAction | TransactionControllerStopTransactionAction | TransactionControllerSpeedUpTransactionAction | TransactionControllerEstimateGasAction | TransactionControllerEstimateGasBatchAction | TransactionControllerEstimateGasBufferedAction | TransactionControllerUpdateTransactionAction | TransactionControllerConfirmExternalTransactionAction | TransactionControllerGetNonceLockAction | TransactionControllerUpdateEditableParamsAction | TransactionControllerSetTransactionActiveAction | TransactionControllerApproveTransactionsWithSameNonceAction | TransactionControllerUpdateCustodialTransactionAction | TransactionControllerGetTransactionsAction | TransactionControllerEstimateGasFeeAction | TransactionControllerGetLayer1GasFeeAction | TransactionControllerClearUnapprovedTransactionsAction | TransactionControllerAbortTransactionSigningAction | TransactionControllerUpdateAtomicBatchDataAction | TransactionControllerEmulateNewTransactionAction | TransactionControllerEmulateTransactionUpdateAction | TransactionControllerGetGasFeeTokensAction;
|
|
327
|
+
//# sourceMappingURL=TransactionController-method-action-types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionController-method-action-types.d.cts","sourceRoot":"","sources":["../src/TransactionController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,oCAAgC;AAErE;;;;;;GAMG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,wCAAwC,CAAC;IAC/C,OAAO,EAAE,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;CACpD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,2CAA2C,CAAC;IAClD,OAAO,EAAE,qBAAqB,CAAC,qBAAqB,CAAC,CAAC;CACvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,8CAA8C,CAAC;IACrD,OAAO,EAAE,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;CAC1D,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,yCAAyC,GAAG;IACtD,IAAI,EAAE,sCAAsC,CAAC;IAC7C,OAAO,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,uDAAuD,CAAC;IAC9D,OAAO,EA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