BalancesChannel

# Import statement

from bcx.channels import BalancesChannel
class BalancesChannel(ws, name)[source]

Representation of balances channel

Parameters
namestr
wsBlockchainWebsocket

Attributes

is_subscribed

(bool)

snapshots

(List)

Methods

on_snapshot(self, event_response)

Perform action upon snapshot event message received from server

on_snapshot(self, event_response)[source]

Perform action upon snapshot event message received from server

Parameters
event_responseDict