Offshore Sweep All
offshore_sweep_all
Send all unlocked xUSD balance to an address.
Alias: None.
Inputs:
address- string; Destination public address.account_index- unsigned int; Sweep transactions from this account.subaddr_indices- array of unsigned int; (Optional) Sweep from this set of subaddresses in the account.priority- unsigned int; (Optional) Priority for sending the sweep transfer, partially determines fee.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.below_amount- unsigned int; (Optional) Include outputs below this amount.do_not_relay- boolean; (Optional) If true, do not relay this sweep transfer. (Defaults to false)get_tx_hex- boolean; (Optional) return the transactions as hex encoded string. (Defaults to false)get_tx_metadata- boolean; (Optional) return the transaction metadata as a string. (Defaults to false)
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
Was this helpful?