Get Offshore Balance
get_offshore_balance
Return the wallet's balance in xUSD.
Alias: None.
Inputs:
account_index
- unsigned int; Return xUSD balance for this account.address_indices
- array of unsigned int; (Optional) Return balance detail for those subaddresses.
Outputs:
balance
- unsigned int; The total balance in xUSD of the current haven-wallet-rpc in session.unlocked_balance
- unsigned int; Unlocked funds are those funds that are sufficiently deep enough in the Haven blockchain to be considered safe to spend.multisig_import_needed
- boolean; True if importing multisig data is needed for returning a correct balance.per_subaddress
- array of subaddress information; Balance information for each subaddress in an account.address_index
- unsigned int; Index of the subaddress in the account.address
- string; Address at this index. Base58 representation of the public keys.balance
- unsigned int; Balance for the subaddress (locked or unlocked).unlocked_balance
- unsigned int; Unlocked balance for the subaddress.label
- string; Label for the subaddress.num_unspent_outputs
- unsigned int; Number of unspent outputs available for the subaddress.
Example:
Last updated