Learn R Programming

cryptotrackr (version 1.3.3)

coinbase_signature: coinbase_signature

Description

coinbase_signature

Usage

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

Value

returns a signature for use in your Coinbase API calls

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

Examples

Run this code
if (FALSE) {
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)}

Run the code above in your browser using DataLab