Learn R Programming

⚠️There's a newer version (0.1-7) of this package.Take me there.

rbtc (version 0.1-6)

Bitcoin API

Description

Implementation of the RPC-JSON API for Bitcoin and utility functions for address creation and content analysis of the blockchain.

Copy Link

Version

Install

install.packages('rbtc')

Monthly Downloads

152

Version

0.1-6

License

GPL-3

Maintainer

Bernhard Pfaff

Last Published

March 11th, 2019

Functions in rbtc (0.1-6)

CONRPC-class

The CONRPC class
ECPARAM-class

The ECPARAM class
PubHash2BtcAdr

Create BTC address from public key hash
PubKey2PubHash

Create public key hash from 512-bit public key
conrpc

Extracting Configuration Settings
concatHex

Concatenate two hex strings
ecoperators

Elliptic curve operators
ecparam

Creating objects of class ECPARAM
getconnectioncount

RPC-JSON API: getconnectioncount
hash256

BTC hash256
getdifficulty

RPC-JSON API: getdifficulty
int2date

Convert time stamp to POSIX
ECPOINT-class

S4 Class ECPOINT
startbtc

Start bitcoind server process
PrivKey2PubKey

Create public key from private key
stopbtc

Stop bitcoind server process
PrivKey2Wif

Create WIF from a private key
EcparamOrNull-class

S4 Class Union ECPARAM or NULL
validBtcAdr

Validate S4-class BTCADR
verifychain

RPC-JSON API: verifychain
decodeHex

Decoding of a hex string
NullOrCharacter-class

S4 Class Union NULL or character
NullOrInteger-class

S4 Class Union NULL or integer
base58CheckDecode

Base 58 binary-to-text-decoding
Wif2PrivKey

Create private key from WIF
base58CheckEncode

Base 58 binary-to-text-encoding
ecpoint

Creating objects of class ECPOINT
addnode

RPC-JSON API: addnode
createPrivateKey

Creation of a private key
date2int

Convert date/time to integer
getaddednodeinfo

RPC-JSON API: getaddednodeinfo
getblockchaininfo

RPC-JSON API: getblockchaininfo
decoderawtransaction

RPC-JSON API: decoderawtransaction
getblockcount

RPC-JSON API: getblockcount
getwalletinfo

RPC-JSON API: getwalletinfo
hash160

BTC hash160
intMaxDay

Integer representation of a day-end
getmempoolancestors

RPC-JSON API: getmempoolancestors
getmempooldescendants

RPC-JSON API: getmempooldescendants
getrawtransaction

RPC-JSON API: getrawtransaction
gettxout

RPC-JSON API: gettxout
bkfee

Compute fee in a block
blockattime

Block height at time
containsPoint

containsPoint-methods
getblockhash

RPC-JSON API: getblockhash
isNull

Test for empty EC point
getblockheader

RPC-JSON API: getblockheader
intMinDay

Integer representation of a day-begin
pruneblockchain

RPC-JSON API: pruneblockchain
getmempoolentry

RPC-JSON API: getmempoolentry
listbanned

RPC-JSON API: listbanned
createBtcAdr

Create BTC addresses
getmempoolinfo

RPC-JSON API: getmempoolinfo
gettxoutproof

RPC-JSON API: gettxoutproof
getchaintips

RPC-JSON API: getchaintips
timeofblock

Time of a block
gettxoutsetinfo

RPC-JSON API: gettxoutsetinfo
utxovalue

Retrieving values of UTXOs
txfee

Compute fee of a transaction
utxotype

Retrieving types of UTXOs
getchaintxstats

RPC-JSON API: getchaintxstats
ANSRPC-class

The ANSRPC class
rpcpost

HTTP post of RPC-JSON
getnettotals

RPC-JSON API: getnettotals
intRangeDay

Integer range within a day
getnetworkinfo

RPC-JSON API: getnetworkinfo
BTCADR-class

S4 class BTCADR
intRangePeriod

Integer range between two dates
blockstats

Obtaining statistics of a block
clearbanned

RPC-JSON API: clearbanned
ping

RPC-JSON API: ping
preciousblock

RPC-JSON API: preciousblock
txids

Retrieve TX Ids in block
decodescript

RPC-JSON API: decodescript
txinids

Retrieving the input transaction IDs
txstats

Statistics of a transaction
disconnectnode

RPC-JSON API: disconnectnode
getbestblockhash

RPC-JSON API: getbestblockhash
getblock

RPC-JSON API: getblock
gethelp

RPC-JSON API: Help
utxoage

Age of UTXOs
getinfo

RPC-JSON API: getinfo
getpeerinfo

RPC-JSON API: getpeerinfo
getrawmempool

RPC-JSON API: getrawmempool
setnetworkactive

RPC-JSON API: setnetworkactive
show

show-methods
verifytxoutproof

RPC-JSON API: verifytxoutproof