Skip to content

Commit

Permalink
Merge pull request #82 from ElrondNetwork/extend-transaction-structure
Browse files Browse the repository at this point in the history
Extra field in transaction structure
  • Loading branch information
miiu96 authored Jul 21, 2022
2 parents b8560d6 + c860e78 commit 03f497f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions data/transaction/apiTransactionResult.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type ApiTransactionResult struct {
ProcessingTypeOnDestination string `json:"processingTypeOnDestination,omitempty"`
Hash string `json:"hash,omitempty"`
HashBytes []byte `json:"-"`
Nonce uint64 `json:"nonce,omitempty"`
Round uint64 `json:"round,omitempty"`
Epoch uint32 `json:"epoch,omitempty"`
Nonce uint64 `json:"nonce"`
Round uint64 `json:"round"`
Epoch uint32 `json:"epoch"`
Value string `json:"value,omitempty"`
Receiver string `json:"receiver,omitempty"`
Sender string `json:"sender,omitempty"`
Expand All @@ -43,6 +43,8 @@ type ApiTransactionResult struct {
NotarizedAtDestinationInMetaHash string `json:"notarizedAtDestinationInMetaHash,omitempty"`
MiniBlockType string `json:"miniblockType,omitempty"`
MiniBlockHash string `json:"miniblockHash,omitempty"`
HyperblockNonce uint64 `json:"hyperblockNonce,omitempty"`
HyperblockHash string `json:"hyperblockHash,omitempty"`
Timestamp int64 `json:"timestamp,omitempty"`
Receipt *ApiReceipt `json:"receipt,omitempty"`
SmartContractResults []*ApiSmartContractResult `json:"smartContractResults,omitempty"`
Expand Down

0 comments on commit 03f497f

Please sign in to comment.