SteemWebsocket¶
This class allows subscribe to push notifications from the Steem node.
from pprint import pprint
from steempyapi.websocket import SteemWebsocket
ws = SteemWebsocket(
"wss://gtg.steem.house:8090",
accounts=["test"],
# on_market=pprint,
# on_block=print,
on_account=print,
)
ws.run_forever()