Beta
the ValidContractInstance instance of the contract to listen to events for
Optional eventName: stringthe name of the event to query for (omit this or pass undefined to query for all events)
Optional options: { options includes the filters (QueryAllEvents) for the query as well as if you want to subscribe to real-time updates (default: true)
Optional queryOptional subscribe?: booleana response object that includes the contract events
Generated using TypeDoc
Get or subscribe to contract events