AuthChannel

# Import statement

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

Representation of auth channel

Parameters
namestr
wsBlockchainWebsocket

Attributes

is_subscribed

(bool)

api_secret

(str)

is_authenticated

(bool)

Methods

on_subscribe(self)

Perform action upon subscribe event message received from server

property extra_message

Additional message to be send to server

on_subscribe(self)[source]

Perform action upon subscribe event message received from server