We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb7f9c commit 06b2d27Copy full SHA for 06b2d27
input/chainsync/tx.go
@@ -34,6 +34,7 @@ type TransactionEvent struct {
34
Inputs []ledger.TransactionInput `json:"inputs"`
35
Outputs []ledger.TransactionOutput `json:"outputs"`
36
Certificates []ledger.Certificate `json:"certificates,omitempty"`
37
+ ReferenceInputs []ledger.TransactionInput `json:"referenceInputs,omitempty"`
38
Metadata *cbor.LazyValue `json:"metadata,omitempty"`
39
Fee uint64 `json:"fee"`
40
TTL uint64 `json:"ttl,omitempty"`
@@ -76,6 +77,9 @@ func NewTransactionEvent(
76
77
if tx.Metadata() != nil {
78
evt.Metadata = tx.Metadata()
79
}
80
+ if tx.ReferenceInputs() != nil {
81
+ evt.ReferenceInputs = tx.ReferenceInputs()
82
+ }
83
if tx.TTL() != 0 {
84
evt.TTL = tx.TTL()
85
0 commit comments