Establish a websocket connection to receive blockchain beats, which contain a summary of new blocks and bloom filters composited with affected addresses.
Example:
const ws = new WebSocket('ws://localhost:8669/subscriptions/beat')
ws.onmessage = (event) => {
console.log(event.data)
}
OK
false
325324
"0x0004f6cc88bb4626a92907718e82f255b8fa511453a78e8797eb8cea3393b215"
^0x[0-9a-f]{64}$
"0x0004f6cb730dbd90fed09d165bfdf33cc0eed47ec068938f6ee7b7c12a4ea98d"
^0x[0-9a-f]{64}$
1533267900
0
"0x0424c1ff47029280"
^0x[0-9a-f]*$
13