grapheneapi.http module

class grapheneapi.http.Http(url, **kwargs)

Bases: grapheneapi.rpc.Rpc

RPC Calls

proxies()
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
  • HttpInvalidStatusCode – if the server returns a status code that is not 200