Listens for a specific event on the chain and resolves when the event matches the specified conditions.
{Error} - If the section or method is not defined on the chain.
If no response is received within the given time or if an error occurs during validation.
The section of the event to listen for.
The method of the event to listen for.
The validator function to validate the event data.
The timeout value in minutes. Default is 2 minutes.
Generated using TypeDoc
Listens for a specific event on the chain and resolves when the event matches the specified conditions.
{Error} - If the section or method is not defined on the chain.
If no response is received within the given time or if an error occurs during validation.