Package org.hyperledger.fabric.sdk
Class BlockInfo.EnvelopeInfo
- java.lang.Object
-
- org.hyperledger.fabric.sdk.BlockInfo.EnvelopeInfo
-
- Direct Known Subclasses:
BlockInfo.TransactionEnvelopeInfo
- Enclosing class:
- BlockInfo
public class BlockInfo.EnvelopeInfo extends java.lang.Object
Wrappers Envelope
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
BlockInfo.EnvelopeInfo.IdentitiesInfo
-
Field Summary
Fields Modifier and Type Field Description protected org.hyperledger.fabric.protos.peer.PeerEvents.FilteredTransaction
filteredTx
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getChannelId()
Get channel idBlockInfo.EnvelopeInfo.IdentitiesInfo
getCreator()
This is the creator or submitter of the transaction.long
getEpoch()
Deprecated.byte[]
getNonce()
The nonce of the transaction.java.util.Date
getTimestamp()
Timestampjava.lang.String
getTransactionID()
The transaction IDBlockInfo.EnvelopeType
getType()
byte
getValidationCode()
boolean
isValid()
-
-
-
Method Detail
-
getChannelId
public java.lang.String getChannelId()
Get channel id- Returns:
- The channel id also referred to as channel name.
-
getCreator
public BlockInfo.EnvelopeInfo.IdentitiesInfo getCreator()
This is the creator or submitter of the transaction. Returns null for a filtered block.
-
getNonce
public byte[] getNonce()
The nonce of the transaction.- Returns:
- return null for filtered block.
-
getTransactionID
public java.lang.String getTransactionID()
The transaction ID- Returns:
- the transaction id.
-
getEpoch
public long getEpoch()
Deprecated.- Returns:
- epoch and -1 if filtered block.
-
getTimestamp
public java.util.Date getTimestamp()
Timestamp- Returns:
- timestamp and null if filtered block.
-
isValid
public boolean isValid()
- Returns:
- whether this Transaction is marked as TxValidationCode.VALID
-
getValidationCode
public byte getValidationCode()
- Returns:
- the validation code of this Transaction (enumeration TxValidationCode in Transaction.proto)
-
getType
public BlockInfo.EnvelopeType getType()
-
-