Package org.hyperledger.fabric.sdk
Class ChaincodeEvent
java.lang.Object
org.hyperledger.fabric.sdk.ChaincodeEvent
Encapsulates a Chaincode event.
-
Method Summary
Modifier and TypeMethodDescriptionGet Chaincode identifier.Get Chaincode event's name;byte[]Binary data associated with this event.getTxId()Get transaction id associated with this event.
-
Method Details
-
getEventName
Get Chaincode event's name;- Returns:
- Return name;
-
getChaincodeId
Get Chaincode identifier.- Returns:
- The identifier
-
getTxId
Get transaction id associated with this event.- Returns:
- The transactions id.
-
getPayload
public byte[] getPayload()Binary data associated with this event.- Returns:
- binary data set by the chaincode for this event. This may return null.
-