Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 5.01 KB

File metadata and controls

58 lines (49 loc) · 5.01 KB

TransactionDestination

Properties

Name Type Description Notes
destination_type TransactionDestinationType
account_output TransactionTransferToAddressDestinationAccountOutput [optional]
utxo_outputs List[TransactionTransferToAddressDestinationUtxoOutputsInner] [optional]
change_address str The address used to receive the remaining funds or change from the transaction. [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. If both `force_internal` and `force_external` 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. If both `force_internal` and `force_external` 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.
trading_account_type str The trading account type. [optional]
exchange_id ExchangeId [optional]
amount str The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`.
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.
calldata_info TransactionEvmCalldataInfo [optional]
instructions List[TransactionSolContractInstruction] [optional]
address_lookup_table_accounts List[TransactionSolContractAddressLookupTableAccount] [optional]
cosmos_messages List[TransactionCosmosMessage]
message str The raw data of the message to be signed, encoded in Base64 format.
raw_structured_data str The raw structured data to be signed, formatted as a JSON string. [optional]
structured_data Dict[str, object] The structured data to be signed, formatted as a JSON object according to the EIP-712 standard.
safe_tx_extra_data SafeTxExtraData [optional]
msg_hash str Message hash to be signed, in hexadecimal format. [optional]
wallet_type WalletType
wallet_subtype WalletSubtype
memo str The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. [optional]
tx_info TransactionDepositToAddressDestinationTxInfo [optional]
message_bip137 str Message to be signed, in hexadecimal format.
message_bip322 str Message to be signed, in hexadecimal format.
message_cosmos_adr36 str Message to be signed, in hexadecimal format.
contract_param TransactionStellarContractParam

Example

from cobo_waas2.models.transaction_destination import TransactionDestination

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

# convert the object into a dict
transaction_destination_dict = transaction_destination_instance.to_dict()
# create an instance of TransactionDestination from a dict
transaction_destination_from_dict = TransactionDestination.from_dict(transaction_destination_dict)

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