Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 3.26 KB

File metadata and controls

35 lines (26 loc) · 3.26 KB

MpcTransferSource

The information about the transaction source types Org-Controlled and User-Controlled. Refer to Transaction sources and destinations for a detailed introduction about the supported sources and destinations for each transaction type. - For UTXO-based chains: both address and included_utxos are optional. If both address and included_utxos are provided, the UTXOs must belong to the specified address. If neither address nor included_utxos is provided, the system will select UTXOs from the wallet associated with wallet_id. - For account-based chains: You need to provide address otherwise the token transfer will fail. However, when estimating fees for a transfer, address is not required. For detailed rules on address and included_utxos in both regular and RBF transactions, see Address and included_utxos usage. Switch between the tabs to display the properties for different transaction sources.

Properties

Name Type Description Notes
source_type WalletSubtype
wallet_id str The wallet ID.
address str Indicates the wallet address to be used as the source of funds. - For UTXO-based chains: both `address` and `included_utxos` are optional. If both `address` and `included_utxos` are provided, the UTXOs must belong to the specified address. If neither `address` nor `included_utxos` is provided, the system will select UTXOs from the wallet associated with `wallet_id`. - For account-based chains: You need to provide `address` otherwise the token transfer will fail. However, when estimating fees for a transfer, `address` is not required. For detailed rules on `address` and `included_utxos` in both regular and RBF transactions, see Address and included_utxos usage. [optional]
included_utxos List[TransactionUtxo] [optional]
excluded_utxos List[TransactionUtxo] [optional]
mpc_used_key_share_holder_group MpcSigningGroup [optional]

Example

from cobo_waas2.models.mpc_transfer_source import MpcTransferSource

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

# convert the object into a dict
mpc_transfer_source_dict = mpc_transfer_source_instance.to_dict()
# create an instance of MpcTransferSource from a dict
mpc_transfer_source_from_dict = MpcTransferSource.from_dict(mpc_transfer_source_dict)

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