Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.01 KB

File metadata and controls

34 lines (25 loc) · 2.01 KB

TransactionEvmContractDestination

Information about the transaction destination type EVM_Contract. Refer to Transaction sources and destinations for a detailed introduction about the supported sources and destinations for each transaction type. Switch between the tabs to display the properties for different transaction destinations.

Properties

Name Type Description Notes
destination_type TransactionDestinationType
address str The destination address.
value str The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. [optional]
calldata str The data used to invoke a specific function or method within the specified contract at the destination address, with a maximum length of 65,000 characters.
calldata_info TransactionEvmCalldataInfo [optional]

Example

from cobo_waas2.models.transaction_evm_contract_destination import TransactionEvmContractDestination

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

# convert the object into a dict
transaction_evm_contract_destination_dict = transaction_evm_contract_destination_instance.to_dict()
# create an instance of TransactionEvmContractDestination from a dict
transaction_evm_contract_destination_from_dict = TransactionEvmContractDestination.from_dict(transaction_evm_contract_destination_dict)

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