Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.46 KB

cosmosapiresponse.md

File metadata and controls

31 lines (24 loc) · 1.46 KB

CosmosAPIResponse

Properties

Name Type Description Notes
success bool
message str
body InputBody [optional]
address str [optional]
data CosmosTransactionOutput [optional]

Example

from moonsdk.models.cosmos_api_response import CosmosAPIResponse

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

# convert the object into a dict
cosmos_api_response_dict = cosmos_api_response_instance.to_dict()
# create an instance of CosmosAPIResponse from a dict
cosmos_api_response_form_dict = cosmos_api_response.from_dict(cosmos_api_response_dict)

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