peerplays.bettingmarketgroup module

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

Bases: peerplays.blockchainobject.BlockchainObject

Read data about a Betting Market Group on the chain

Parameters:
  • identifier (str) – Identifier
  • blockchain_instance (peerplays) – PeerPlays() instance to use when accesing a RPC
bettingmarkets
event
refresh()
resolve(results, **kwargs)
type_id = 20
class peerplays.bettingmarketgroup.BettingMarketGroups(event_id, *args, **kwargs)

Bases: list

List of all available BettingMarketGroups

Parameters:strevent_id – Event ID (1.18.xxx)
cache = {}