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
PosEntryModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| amount | int | [optional] | |
| g_index | int | [optional] | |
| keyimage | str | [optional] | |
| block_timestamp | int | [optional] | |
| stake_unlock_time | int | [optional] | |
| tx_id | str | [optional] | |
| tx_out_index | int | [optional] | |
| wallet_index | int | [optional] |
Example
from lthn.models.pos_entry_model import PosEntryModel
# TODO update the JSON string below
json = "{}"
# create an instance of PosEntryModel from a JSON string
pos_entry_model_instance = PosEntryModel.from_json(json)
# print the JSON string representation of the object
print(PosEntryModel.to_json())
# convert the object into a dict
pos_entry_model_dict = pos_entry_model_instance.to_dict()
# create an instance of PosEntryModel from a dict
pos_entry_model_from_dict = PosEntryModel.from_dict(pos_entry_model_dict)