Class: CommitEventListener

fabric-network~ CommitEventListener

The Commit Event Listener handles transaction commit events

new CommitEventListener(network, transactionId, eventCallback, options)

Parameters:
Name Type Description
network module:fabric-network.Network The fabric network
transactionId string the transaction id being listened to
eventCallback function The event callback called when a transaction is committed. It has signature (err, transactionId, status, blockNumber)
options module:fabric-network.Network~ListenerOptions