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.7 KiB
Generated
1.7 KiB
Generated
TransactionDetailsModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| amount | int | [optional] | |
| attachments | List[TransactionAttachmentModel] | [optional] | |
| blob | str | [optional] | |
| blob_size | int | [optional] | |
| extra | List[TransactionExtraModel] | [optional] | |
| fee | int | [optional] | |
| id | str | [optional] | |
| ins | List[TransactionInputModel] | [optional] | |
| keeper_block | int | [optional] | |
| object_in_json | str | [optional] | |
| outs | List[TransactionOutputModel] | [optional] | |
| pub_key | str | [optional] | |
| timestamp | int | [optional] |
Example
from lthn.models.transaction_details_model import TransactionDetailsModel
# TODO update the JSON string below
json = "{}"
# create an instance of TransactionDetailsModel from a JSON string
transaction_details_model_instance = TransactionDetailsModel.from_json(json)
# print the JSON string representation of the object
print(TransactionDetailsModel.to_json())
# convert the object into a dict
transaction_details_model_dict = transaction_details_model_instance.to_dict()
# create an instance of TransactionDetailsModel from a dict
transaction_details_model_from_dict = TransactionDetailsModel.from_dict(transaction_details_model_dict)