Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 4.27 KB

File metadata and controls

42 lines (34 loc) · 4.27 KB

TransactionDestination

Properties

Name Type Description Notes
destinationType TransactionDestinationType
accountOutput TransactionTransferToAddressDestinationAccountOutput [optional]
utxoOutputs List<TransactionTransferToAddressDestinationUtxoOutputsInner> [optional]
changeAddress String The address used to receive the remaining funds or change from the transaction. [optional]
forceInternal Boolean 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]
forceExternal Boolean 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]
walletId UUID The wallet ID.
tradingAccountType String The trading account type. [optional]
exchangeId ExchangeId [optional]
amount String The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`.
address String The destination address.
value String The transfer amount. For example, if you trade 1.5 TRX, then the value is `1.5`. [optional]
calldata String The data that is used to invoke a specific function or method within the specified contract at the destination address.
calldataInfo TransactionEvmCalldataInfo [optional]
instructions List<TransactionSolContractInstruction> [optional]
addressLookupTableAccounts List<TransactionSolContractAddressLookupTableAccount> [optional]
cosmosMessages List<TransactionCosmosMessage>
message String The raw data of the message to be signed, encoded in Base64 format.
rawStructuredData String The raw structured data to be signed, formatted as a JSON string. [optional]
structuredData Map<String, Object> The structured data to be signed, formatted as a JSON object according to the EIP-712 standard.
safeTxExtraData SafeTxExtraData [optional]
msgHash String Message hash to be signed, in hexadecimal format. [optional]
walletType WalletType
walletSubtype WalletSubtype
memo String 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]
txInfo TransactionDepositToAddressDestinationTxInfo [optional]
messageBip137 String Message to be signed, in hexadecimal format.
messageBip322 String Message to be signed, in hexadecimal format.
messageCosmosAdr36 String Message to be signed, in hexadecimal format.
contractParam TransactionStellarContractParam