viz.witness

Module Contents

class Witness

Bases: graphenecommon.witness.Witness

Inheritance diagram of viz.witness.Witness
private-bases

Read data about a witness in the chain.

param str account_name

Name of the witness

param viz blockchain_instance

Client() instance to use when accesing a RPC

define_classes(self)
class Witnesses

Bases: graphenecommon.witness.Witnesses

Inheritance diagram of viz.witness.Witnesses
private-bases

Obtain a list of active witnesses and the current schedule.

param bool only_active

(False) Only return witnesses that are actively producing blocks

param viz blockchain_instance

Client() instance to use when accesing a RPC

define_classes(self)