The State History Plugin (SHiP) exposes the actions and deltas from the chain though Websocket.
@tbfleming, the creator of SHiP, have an example application that connects to the node and gets the actions and deltas using nodeJS:
https://github.com/EOSIO/test-state-history/blob/master/a.js
However, I get the following error when I am trying to read the block 21,289,343 in Jungle:
RangeError: Max payload size exceeded
I made a smaller example from the previous repo that reproduces the error:
https://github.com/mauhcs/ship_monitoring/blob/master/fill.js
(from the above file simple run node fill.js
, I left a Jungle node running with the State Plugin up for easier reference)
Is that a problem in the plugin or in the NodeJs application?