1
0
Fork 0
forked from lthn/blockchain
blockchain/utils/sdk/client/python/docs/BlockTemplateModel.md
Snider 2852702a4b Add Python SDK for lthn API
Introduces a new Python client SDK for the lthn API, generated via OpenAPI Generator. Includes source code, models, API classes, documentation, tests, CI/CD workflows for GitHub and GitLab, and project configuration files.
2025-10-19 15:15:41 +01:00

37 lines
1.3 KiB
Markdown
Generated

# BlockTemplateModel
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**blocktemplate_blob** | **str** | | [optional]
**difficulty** | **str** | | [optional]
**height** | **int** | | [optional]
**miner_tx_tgc** | [**TxGenerationContextModel**](TxGenerationContextModel.md) | | [optional]
**block_reward_without_fee** | **int** | | [optional]
**block_reward** | **int** | | [optional]
**txs_fee** | **int** | | [optional]
**prev_hash** | **str** | | [optional]
**seed** | **str** | | [optional]
## Example
```python
from lthn.models.block_template_model import BlockTemplateModel
# TODO update the JSON string below
json = "{}"
# create an instance of BlockTemplateModel from a JSON string
block_template_model_instance = BlockTemplateModel.from_json(json)
# print the JSON string representation of the object
print(BlockTemplateModel.to_json())
# convert the object into a dict
block_template_model_dict = block_template_model_instance.to_dict()
# create an instance of BlockTemplateModel from a dict
block_template_model_from_dict = BlockTemplateModel.from_dict(block_template_model_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)