auth {rgdax}R Documentation

Parse Authenticated Calls To COINBASE PRO (erstwhile GDAX) API

Description

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).

Usage

auth(method, req.url = "/accounts/", api.key, secret, passphrase, order = NULL)

Arguments

method

Mandatory character value. Value must be upper case.

req.url

THE URL component for the API. Default to "/accounts".

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 pass-phrase as generated by GDAX. Typically a 11 character value.

order

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.

Value

A named list of server response.


[Package rgdax version 1.2.1 Index]