peerplays.event module

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

Bases: peerplays.blockchainobject.BlockchainObject

Read data about an event on the chain

Parameters:
  • identifier (str) – Identifier
  • blockchain_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
bettingmarketgroups
eventgroup
refresh()
set_status(status, scores=[], **kwargs)
type_id = 18
class peerplays.event.Events(eventgroup_id, *args, **kwargs)

Bases: list

List of all available events in an eventgroup

cache = {}