This is an internal function that will be used for all private connections to the user account. This function determines the kind of API call (GET / POST / DELETE).
auth(method, req.url = "/accounts/", api.key, secret, passphrase, order = NULL)
Mandatory character value. Value must be upper case.
THE URL component for the API. Default to "/accounts".
Mandatory character value. This is the API key as generated by GDAX. Typically a 32 character value.
Mandatory character value. This is the API secret as generated by GDAX. Typically a 88 character value.
Mandatory character value. This is the pass-phrase as generated by GDAX. Typically a 11 character value.
Optional named list. If method is POST
then the field is required for post to work, else the api end point will return an error.
A named list of server response.