Witness

Read data about a witness

from peerplays.witness import Witness
Witness("chainsquad.com")
class peerplays.witness.Witness(data, *args, klass=None, space_id=1, object_id=None, lazy=False, use_cache=True, peerplays_instance=None, **kwargs)

Read data about a witness in the chain

Parameters:
  • account_name (str) – Name of the witness
  • peerplays_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
class peerplays.witness.Witnesses(peerplays_instance=None)

Obtain a list of active witnesses and the current schedule

Parameters:peerplays_instance (peerplays) – PeerPlays() instance to use when accesing a RPC