Static methods
send()
Send an event to the ChainPatrol relay.
Example
Parameters
The send()
method accepts two parameters:
type
EventType
requiredThe type
property specifies what type of event you want to send.
data
object
requiredThe data
property is an object that contains the event data.