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