File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
packages/transaction-controller Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Added
11+
12+ - Add optional ` submissionMethod ` property and ` TransactionSubmissionMethod ` enum to ` TransactionMeta ` ([ #8375 ] ( https://github.com/MetaMask/core/pull/8375 ) )
13+
1014### Changed
1115
1216- Bump ` @metamask/accounts-controller ` from ` ^37.1.1 ` to ` ^37.2.0 ` ([ #8363 ] ( https://github.com/MetaMask/core/pull/8363 ) )
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ export {
123123 TransactionContainerType ,
124124 TransactionEnvelopeType ,
125125 TransactionStatus ,
126+ TransactionSubmissionMethod ,
126127 TransactionType ,
127128 UserFeeLevel ,
128129 WalletDevice ,
Original file line number Diff line number Diff line change @@ -574,6 +574,11 @@ export type TransactionMeta = {
574574 error : string ;
575575 message : string ;
576576 } ;
577+
578+ /**
579+ * The method used to submit the transaction to the network.
580+ */
581+ submissionMethod ?: TransactionSubmissionMethod ;
577582} ;
578583
579584/**
@@ -640,6 +645,14 @@ export type SendFlowHistoryEntry = {
640645 timestamp : number ;
641646} ;
642647
648+ /**
649+ * The method used to submit a transaction to the network.
650+ */
651+ export enum TransactionSubmissionMethod {
652+ SentinelStx = 'sentinel_stx' ,
653+ SentinelRelay = 'sentinel_relay' ,
654+ }
655+
643656/**
644657 * Represents the status of a transaction within the wallet.
645658 * Each status reflects the state of the transaction internally,
You can’t perform that action at this time.
0 commit comments