Worker

Read data about a worker

from bitshares.witness import Witness
Witness("refund400")
class bitshares.worker.Worker(data, klass=None, space_id=1, object_id=None, lazy=False, use_cache=True, bitshares_instance=None, *args, **kwargs)

Read data about a worker in the chain

Parameters:
  • id (str) – id of the worker
  • bitshares_instance (bitshares) – BitShares() instance to use when accesing a RPC
class bitshares.worker.Workers(account_name=None, bitshares_instance=None)

Obtain a list of workers for an account

Parameters:
  • account_name/id (str) – Name/id of the account (optional)
  • bitshares_instance (bitshares) – BitShares() instance to use when accesing a RPC