Mining¶
Mining¶
- class Mining(**kwargs)¶
Implements the mining api endpoints.
- generate(block_count: int, **kwargs) GenerateBlocksModel ¶
Generate blocks by mining.
- Parameters:
block_count (int) – The number of blocks to mine.
**kwargs – Extra keyword arguments.
- Returns:
A list of generated blocks.
- Return type:
- Raises:
APIError – Error thrown by node API. See message for details.