Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 3.63 KB

File metadata and controls

36 lines (27 loc) · 3.63 KB

AddressTransferDestination

The information about the transaction destination type Address. Refer to Transaction sources and destinations for a detailed introduction about the supported sources and destinations for each transaction type. You need to specify either the account_output property or the utxo_outputs property. You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the utxo_outputs property to specify the destination addresses. Switch between the tabs to display the properties for different transaction destinations.

Properties

Name Type Description Notes
destination_type TransferDestinationType
account_output AddressTransferDestinationAccountOutput [optional]
utxo_outputs List[AddressTransferDestinationUtxoOutputsInner] [optional]
change_address str The address used to receive the remaining funds or change from the transaction. [optional]
change_output_type str The position of the change output in the transaction's outputs. Possible values are: - `Last`: The change output is placed at the end of the transaction's outputs. - `First`: The change output is placed at the beginning of the transaction's outputs. [optional]
force_internal bool Whether the transaction request must be executed as a Cobo Loop transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. [optional]
force_external bool Whether the transaction request must not be executed as a Cobo Loop transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`. If both are set to `false`, the system uses Cobo Loop by default if possible; otherwise, it proceeds with an on-chain transfer. [optional]

Example

from cobo_waas2.models.address_transfer_destination import AddressTransferDestination

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

# convert the object into a dict
address_transfer_destination_dict = address_transfer_destination_instance.to_dict()
# create an instance of AddressTransferDestination from a dict
address_transfer_destination_from_dict = AddressTransferDestination.from_dict(address_transfer_destination_dict)

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