1
0
Fork 0
forked from lthn/blockchain
blockchain/utils/sdk/client/python/docs/BlockTemplateRequestModel.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

1.3 KiB
Generated

BlockTemplateRequestModel

Properties

Name Type Description Notes
miner_address str [optional]
stakeholder_address str [optional]
ex_nonce str [optional]
pos_block bool [optional]
ignore_pow_ts_check bool [optional]
pe PosEntryModel [optional]
explicit_txs List[str] [optional]

Example

from lthn.models.block_template_request_model import BlockTemplateRequestModel

# TODO update the JSON string below
json = "{}"
# create an instance of BlockTemplateRequestModel from a JSON string
block_template_request_model_instance = BlockTemplateRequestModel.from_json(json)
# print the JSON string representation of the object
print(BlockTemplateRequestModel.to_json())

# convert the object into a dict
block_template_request_model_dict = block_template_request_model_instance.to_dict()
# create an instance of BlockTemplateRequestModel from a dict
block_template_request_model_from_dict = BlockTemplateRequestModel.from_dict(block_template_request_model_dict)

[Back to Model list] [Back to API list] [Back to README]