GolosStream¶
This module allows to stream blocks and individual operations from the blockchain and run bots with a minimum of code.
Example¶
This example code shows all comments starting at block 1893850.
from golosapi.golosnoderpc import GolosNodeRPC
from pprint import pprint
rpc = GolosNodeRPC("wss://golosit.com/ws")
for a in rpc.stream("comment", start=1893850):
pprint(a)