accounts: Get Account Details For All Accounts

Description Usage Arguments Value Examples

View source: R/accounts.R

Description

This is an auth based function. User must have valid api keys generated by GDAX which must be passed as mandatory arguments. The function takes no additional arguments and returns the account details for all accounts linked to that authenticated user. The account details currently include information about the currency (fiat or crypto) and the details on the balance (total, available and helpful information for other transactions). All accounts are returned even ones with zero balance.

Usage

1
accounts(api.key, secret, passphrase)

Arguments

api.key

Mandatory character value. This is the API key as generated by GDAX. Typically a 32 character value.

secret

Mandatory character value. This is the API secret as generated by GDAX. Typically a 88 character value.

passphrase

Mandatory character value. This is the passphrase as generated by GDAX. Typically a 11 character value.

Value

Dataframe with a single row for each account_id, the currency, the current balance, available, holds and profile_id of the user.

Examples

1
2
3
4
## Not run: 
accounts(api.key = your_key, secret = your_api_secret, passphrase = your_api_pass)

## End(Not run)

rgdax documentation built on Aug. 3, 2021, 9:06 a.m.