Interface ChaincodeEvent
public interface ChaincodeEvent
Chaincode event emitted by a transaction function.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Block number that included this chaincode event.Chaincode that emitted this event.Name of the emitted event.byte[]
Application defined payload data associated with this event.Transaction that emitted this chaincode event.
-
Method Details
-
getBlockNumber
long getBlockNumber()Block number that included this chaincode event.Note that the block number is an unsigned 64-bit integer, with the sign bit used to hold the top bit of the number.
- Returns:
- A block number.
-
getTransactionId
-
getChaincodeName
-
getEventName
-
getPayload
byte[] getPayload()Application defined payload data associated with this event.- Returns:
- Event payload.
-