bitcoind.rpc: Bitcoin daemon curl call wrapper.

Description Usage Arguments Value Examples

View source: R/rpc.R

Description

Bitcoin daemon curl call wrapper.

Usage

1
2
3
4
bitcoind.rpc(connect = getOption("rpchost", "127.0.0.1"),
  user = getOption("rpcuser"), password = getOption("rpcpassword"),
  port = getOption("rpcport", "8332"), id = NA_integer_, method,
  params = list())

Arguments

connect

character.

user

character.

password

character.

port

character.

id

any.

method

character.

params

list.

Value

jsonlite decoded response from json-rpc bitcoind. If option("use.data.table"=TRUE) then it will recursively turn data.frames to data.tables.

Examples

1
2
3
4
5
6
7
## Not run: 
bitcoind.rpc(user = "username",
             password = "password",
             port = "18332",
             method = "getinfo")

## End(Not run)

jangorecki/rbitcoind documentation built on May 17, 2017, 9:47 a.m.