Package org.hyperledger.fabric.sdk
Class TransactionInfo
- java.lang.Object
-
- org.hyperledger.fabric.sdk.TransactionInfo
-
public class TransactionInfo extends java.lang.Object
TransactionInfo contains the data from aFabricTransaction.ProcessedTransaction
message
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hyperledger.fabric.protos.common.Common.Envelope
getEnvelope()
org.hyperledger.fabric.protos.peer.FabricTransaction.ProcessedTransaction
getProcessedTransaction()
java.lang.String
getTransactionID()
org.hyperledger.fabric.protos.peer.FabricTransaction.TxValidationCode
getValidationCode()
-
-
-
Method Detail
-
getTransactionID
public java.lang.String getTransactionID()
- Returns:
- the transaction ID of this
FabricTransaction.ProcessedTransaction
-
getEnvelope
public org.hyperledger.fabric.protos.common.Common.Envelope getEnvelope()
- Returns:
- the
Common.Envelope
of thisFabricTransaction.ProcessedTransaction
-
getProcessedTransaction
public org.hyperledger.fabric.protos.peer.FabricTransaction.ProcessedTransaction getProcessedTransaction()
- Returns:
- the raw
FabricTransaction.ProcessedTransaction
-
getValidationCode
public org.hyperledger.fabric.protos.peer.FabricTransaction.TxValidationCode getValidationCode()
- Returns:
- the
FabricTransaction.TxValidationCode
of thisFabricTransaction.ProcessedTransaction
-
-