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 |