bt_getbalances: Account Balances for All Currencies

View source: R/private-interface.r

bt_getbalancesR Documentation

Account Balances for All Currencies

Description

The bt_getbalances() function retrieves the account balance for all currencies on https://bittrex.com. This function can only be used after you provide information for authentication.

Usage

bt_getbalances()

Value

A named list with the following elements:

  • success: a boolean indicating whether the request was successful.

  • message: a string describing the error if the request was not successful, otherwise an empty string.

  • result: a data.frame with the currencies, balances, available funds, the amount of any pending transactions, and cryptographic addresses that can be used to receive funding.

References

https://bittrex.com/api/v1.1/account/getbalances

See Also

bt_authenticate()

Examples

## Not run: 
# Note you must authenticate first.
balances <- bt_getbalances()$result
# $success
# [1] TRUE
#
# $message
# [1] ""
#
# $result
#   currency   balance available pending
# 1      BTC 0.0000000 0.0000000       0
# 2      ETH 0.2187638 0.2187638       0
# 3      LTC 0.0000000 0.0000000       0
#                               crypto_address
# 1         1Q6WissSMNF7NCNw3sDXQ2F7AbrSCYouj2
# 2 0x0ceac821a72037b07df691a53e201d797252b5a6
# 3         Li71CUBjxFH6PfEZn2phqfPhoasydfNfqF

## End(Not run)

kaneplusplus/bittrex documentation built on July 6, 2022, 10:02 p.m.