grapheneapi.websocket module

class grapheneapi.websocket.Websocket(*args, **kwargs)

Bases: grapheneapi.rpc.Rpc

connect()
disconnect()
rpcexec(payload)

Execute a call by sending the payload

Parameters:payload (json) – Payload data
Raises:ValueError – if the server does not respond in proper JSON format