Interface: ContractEvent

fabric-network. ContractEvent

Event representing a contract event emitted by a smart contract.
Properties:
Name Type Argument Description
chaincodeId string The chaincode ID of the smart contract that emitted this event.
eventName string The name of the emitted event.
payload Buffer <optional>
The data associated with this event by the smart contract. Note that filtered events do not include any payload data.

Methods


getTransactionEvent()

Get the parent transaction event of this event.
Returns:
A transaction event.
Type
module:fabric-network.TransactionEvent