Create a Listener
Last updated
Last updated
'Listeners' is a service that allows businesses to receive real-time notifications when specific events occur on Networks and Deployed Applications. These notifications can include transactions, smart contract events, and more. By using Listeners, businesses can streamline their workflow and quickly respond to critical events as they occur.
To create a listener:
Open the desired network.
In the left menu, click on "Listeners".
Click "Create Listener".
Fill out the required details in the pop
Set Owner Organization
Specify the owner organization for the listner
Select Channel
Pick the channel where the listener should operate.
Choose Application
Select the application within the chosen channel you want to monitor.
Select Listener Type
Choose between app events (e.g., asset created, asset updated) and network events (e.g., commit block, commit event).
If the listener type is network, select the type of event you want to be notified about. Learn more about network events here
If the listener type is "app," select the type of event to be notified about.
You can choose from asset type events, asset events, workflow events, or approval events. Learn more about app listener events.
Additionally, you add filters if you want to listener to a very specific event.
For instance, to filter events for a specific asset type where any of its data fields match a certain criterion, such as
Multiple conditions can be added, but it always uses "and". There is no support for "or
Select the type of URL and enter the listener URL.
Select authentication type for the source URL between basic, custom or none
If authentication type is basic, enter the username and password
If authentication type is custom, enter custom key value pair(s)
If authentication type is none, no authentication is required to use the source URL
Once these details are entered, click 'Create Listener'
Example of a typical whole event: