1
0
Fork 0
forked from lthn/blockchain
blockchain/utils/sdk/client/python/docs/TxGenerationContextModel.md
Snider 88d4357628
New API Interface (#27)
This pull request introduces a comprehensive new API interface for the blockchain, leveraging OpenAPI v3 to facilitate direct consumption of chain data by GUI and web applications. This change significantly refines the project's build infrastructure, incorporating Conan for dependency management and CMake for configuration, alongside the integration of an OpenAPI Generator to produce SDKs for multiple languages. 

### Highlights

* **New API Interface**: Introduced a new API interface using OpenAPI v3 to enable GUI/WEB development to consume chain data without needing custom server applications.
* **Build System Enhancements**: Significant updates to the build system, including Makefile, CMake, and Conan configurations, to streamline the build process and support new functionalities.
* **Multi-language SDK Generation**: Integrated OpenAPI Generator to automatically create SDKs for various programming languages, including Go, Angular, and PHP, simplifying client-side integration.
2025-10-19 19:12:37 +01:00

2.3 KiB
Generated

TxGenerationContextModel

Properties

Name Type Description Notes
asset_ids List[str] [optional]
blinded_asset_ids List[str] [optional]
amount_commitments List[str] [optional]
asset_id_blinding_masks List[str] [optional]
amounts List[str] [optional]
amount_blinding_masks List[str] [optional]
pseudo_outs_blinded_asset_ids List[str] [optional]
pseudo_outs_plus_real_out_blinding_masks List[str] [optional]
real_zc_ins_asset_ids List[str] [optional]
zc_input_amounts List[int] [optional]
pseudo_out_amount_commitments_sum str [optional]
pseudo_out_amount_blinding_masks_sum str [optional]
real_in_asset_id_blinding_mask_x_amount_sum str [optional]
amount_commitments_sum str [optional]
amount_blinding_masks_sum str [optional]
asset_id_blinding_mask_x_amount_sum str [optional]
ao_asset_id str [optional]
ao_asset_id_pt str [optional]
ao_amount_commitment str [optional]
ao_amount_blinding_mask str [optional]
ao_commitment_in_outputs bool [optional]
tx_key_pub str [optional]
tx_key_sec str [optional]
tx_pub_key_p str [optional]

Example

from lthn.models.tx_generation_context_model import TxGenerationContextModel

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

# convert the object into a dict
tx_generation_context_model_dict = tx_generation_context_model_instance.to_dict()
# create an instance of TxGenerationContextModel from a dict
tx_generation_context_model_from_dict = TxGenerationContextModel.from_dict(tx_generation_context_model_dict)

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