Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 3.1 KB

File metadata and controls

38 lines (29 loc) · 3.1 KB

TransferDestination

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]
wallet_id str The wallet ID.
amount str The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`.
trading_account_type str The trading account type.

Example

from cobo_waas2.models.transfer_destination import TransferDestination

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

# convert the object into a dict
transfer_destination_dict = transfer_destination_instance.to_dict()
# create an instance of TransferDestination from a dict
transfer_destination_from_dict = TransferDestination.from_dict(transfer_destination_dict)

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