coinbase_signature {cryptotrackr}R Documentation

coinbase_signature

Description

coinbase_signature

Usage

coinbase_signature(api_secret, coinbase_time, method, path, body)

Arguments

api_secret

your Coinbase API secret

coinbase_time

a timestamp in the correct format according to Coinbase

method

"GET" or "POST"

path

the path of your API call

body

the body of your API call

Value

returns a signature for use in your Coinbase API calls

Examples

## Not run: 
api_secret <- "..."
coinbase_time <- coinbase_time()
method <- "GET"
path <- "/api/v3/brokerage/accounts"
body <- ""
coinbase_signature <- coinbase_signature(api_secret, coinbase_time, method, path, body)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]