Class ChaincodeEvent

java.lang.Object
org.hyperledger.fabric.sdk.ChaincodeEvent

public class ChaincodeEvent extends Object
Encapsulates a Chaincode event.
  • Method Details

    • getEventName

      public String getEventName()
      Get Chaincode event's name;
      Returns:
      Return name;
    • getChaincodeId

      public String getChaincodeId()
      Get Chaincode identifier.
      Returns:
      The identifier
    • getTxId

      public String 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.