helium_py.api.elections.Elections¶
- class helium_py.api.elections.Elections(host=None, port=None, user_agent=None, base_path=None)[source]¶
Bases:
API
Elections client class for Helium Blockchain API.
https://docs.helium.com/api/blockchain/elections
- __init__(host=None, port=None, user_agent=None, base_path=None)¶
Allow for overriding API details at instantiation.
Methods
__init__
([host, port, user_agent, base_path])Allow for overriding API details at instantiation.
all
(params)Yield all elections (consensus group transactions).
Attributes
base_path
Return a client singleton per API.
host
port
user_agent