forked from lthn/blockchain
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.
1.1 KiB
Generated
1.1 KiB
Generated
TransactionOutputModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| amount | int | [optional] | |
| global_index | int | [optional] | |
| is_spent | bool | [optional] | |
| minimum_sigs | int | [optional] | |
| pub_keys | List[str] | [optional] |
Example
from lthn.models.transaction_output_model import TransactionOutputModel
# TODO update the JSON string below
json = "{}"
# create an instance of TransactionOutputModel from a JSON string
transaction_output_model_instance = TransactionOutputModel.from_json(json)
# print the JSON string representation of the object
print(TransactionOutputModel.to_json())
# convert the object into a dict
transaction_output_model_dict = transaction_output_model_instance.to_dict()
# create an instance of TransactionOutputModel from a dict
transaction_output_model_from_dict = TransactionOutputModel.from_dict(transaction_output_model_dict)