peerplays.proposal module

class peerplays.proposal.Proposal(data, klass=None, space_id=1, object_id=None, lazy=False, use_cache=True, *args, **kwargs)

Bases: peerplays.blockchainobject.BlockchainObject

Read data about a Proposal Balance in the chain

Parameters:
  • id (str) – Id of the proposal
  • blockchain_instance (peerplays) – Peerplays() instance to use when accesing a RPC
proposed_operations
proposer

Return the proposer of the proposal if available in the backend, else returns None

refresh()
type_id = 10
class peerplays.proposal.Proposals(account, **kwargs)

Bases: list

Obtain a list of pending proposals for an account

Parameters:
  • account (str) – Account name
  • blockchain_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
cache = {}