Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.8 KB

File metadata and controls

36 lines (27 loc) · 1.8 KB

ContractCallDestination

Properties

Name Type Description Notes
destination_type ContractCallDestinationType
address str The destination address.
value str The transfer amount. For example, if you trade 1.5 TRX, then the value is `1.5`. [optional]
calldata str The data that is used to invoke a specific function or method within the specified contract at the destination address.
instructions List[SolContractCallInstruction]
address_lookup_table_accounts List[SolContractCallAddressLookupTableAccount] [optional]
contract_param StellarContractCallContractParam
cosmos_messages List[CosmosContractCallMessage]

Example

from cobo_waas2.models.contract_call_destination import ContractCallDestination

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

# convert the object into a dict
contract_call_destination_dict = contract_call_destination_instance.to_dict()
# create an instance of ContractCallDestination from a dict
contract_call_destination_from_dict = ContractCallDestination.from_dict(contract_call_destination_dict)

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