coinbase_signature: coinbase_signature

View source: R/coinbase.R

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

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.