Get the serialized bytes of the signable object. Serialized bytes can be used to recreate the object using methods on Gateway.
Get chaincode events emitted by transaction functions of a specific chaincode.
Optional
options: CallOptionsgRPC call options.
The iterator should be closed after use to complete the eventing session.
GatewayError Thrown by the iterator if the gRPC service invocation fails.
const events = await request.getEvents();
try {
for async (const event of events) {
// Process event
}
} finally {
events.close();
}
Generated using TypeDoc
Delivers events emitted by transaction functions in a specific chaincode.