Package org.hyperledger.fabric.sdk
Class BlockInfo.TransactionEnvelopeInfo.TransactionActionInfo
- java.lang.Object
-
- org.hyperledger.fabric.sdk.BlockInfo.TransactionEnvelopeInfo.TransactionActionInfo
-
- Enclosing class:
- BlockInfo.TransactionEnvelopeInfo
public class BlockInfo.TransactionEnvelopeInfo.TransactionActionInfo extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChaincodeIDName()
get name of chaincode with this transaction actionjava.lang.String
getChaincodeIDPath()
get path of chaincode with this transaction actionjava.lang.String
getChaincodeIDVersion()
get version of chaincode with this transaction actionbyte[]
getChaincodeInputArgs(int index)
int
getChaincodeInputArgsCount()
BlockInfo.EndorserInfo
getEndorsementInfo(int index)
int
getEndorsementsCount()
ChaincodeEvent
getEvent()
Get chaincode events for this transaction.byte[]
getProposalResponseMessageBytes()
byte[]
getProposalResponsePayload()
int
getProposalResponseStatus()
java.lang.String
getResponseMessage()
byte[]
getResponseMessageBytes()
int
getResponseStatus()
TxReadWriteSetInfo
getTxReadWriteSet()
Get read write set for this transaction.
-
-
-
Method Detail
-
getResponseMessageBytes
public byte[] getResponseMessageBytes()
-
getResponseMessage
public java.lang.String getResponseMessage()
-
getResponseStatus
public int getResponseStatus()
-
getChaincodeInputArgsCount
public int getChaincodeInputArgsCount()
-
getChaincodeInputArgs
public byte[] getChaincodeInputArgs(int index)
-
getEndorsementsCount
public int getEndorsementsCount()
-
getEndorsementInfo
public BlockInfo.EndorserInfo getEndorsementInfo(int index)
-
getProposalResponseMessageBytes
public byte[] getProposalResponseMessageBytes()
-
getProposalResponsePayload
public byte[] getProposalResponsePayload()
-
getProposalResponseStatus
public int getProposalResponseStatus()
-
getChaincodeIDName
public java.lang.String getChaincodeIDName()
get name of chaincode with this transaction action- Returns:
- name of chaincode. Maybe null if no chaincode or if block is filtered.
-
getChaincodeIDPath
public java.lang.String getChaincodeIDPath()
get path of chaincode with this transaction action- Returns:
- path of chaincode. Maybe null if no chaincode or if block is filtered.
-
getChaincodeIDVersion
public java.lang.String getChaincodeIDVersion()
get version of chaincode with this transaction action- Returns:
- version of chaincode. Maybe null if no chaincode or if block is filtered.
-
getTxReadWriteSet
public TxReadWriteSetInfo getTxReadWriteSet()
Get read write set for this transaction. Will return null on for Eventhub events. For eventhub events find the block by block number to get read write set if needed.- Returns:
- Read write set.
-
getEvent
public ChaincodeEvent getEvent()
Get chaincode events for this transaction.- Returns:
- A chaincode event if the chaincode set an event otherwise null.
-
-