Transfer Split
transfer_split
Same as transfer, but can split into more than one tx if necessary.
Alias: None.
Inputs:
destinations
- array of destinations to receive XHV:`amount` - unsigned int; Amount to send to each destination, in @atomic-units.
address
- string; Destination public address.
account_index
- unsigned int; (Optional) Transfer from this account index. (Defaults to 0)subaddr_indices
- array of unsigned int; (Optional) Transfer from this set of subaddresses. (Defaults to empty - all indices)mixin
- unsigned int; Number of outputs from the blockchain to mix with (0 means no mixing).ring_size
- unsigned int; Sets ringsize to n (mixin + 1).unlock_time
- unsigned int; Number of blocks before the haven can be spent (0 to not add a lock).get_tx_keys
- boolean; (Optional) Return the transaction keys after sending.priority
- unsigned int; Set a priority for the transactions. Accepted Values are: 0-3 for: default, unimportant, normal, elevated, priority.do_not_relay
- boolean; (Optional) If true, the newly created transaction will not be relayed to the haven network. (Defaults to false)get_tx_hex
- boolean; Return the transactions as hex string after sendingnew_algorithm
- boolean; True to use the new transaction construction algorithm, defaults to false.get_tx_metadata
- boolean; Return list of transaction metadata needed to relay the transfer later.
Outputs:
tx_hash_list
- array of: string. The tx hashes of every transaction.tx_key_list
- array of: string. The transaction keys for every transaction.amount_list
- array of: integer. The amount transferred for every transaction.amount_usd_list
- array of: integer. The amount transferred for every transaction.`fee_list` - array of: integer. The amount of fees paid for every transaction.
tx_blob_list
- array of: string. The tx as hex string for every transaction.tx_metadata_list
- array of: string. List of transaction metadata needed to relay the transactions later.multisig_txset
- string. The set of signing keys used in a multisig transaction (empty for non-multisig).unsigned_txset
- string. Set of unsigned tx for cold-signing purposes.
Example
Last updated