Learn R Programming

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

rbtc (version 0.1-5)

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

145

Version

0.1-5

License

GPL-3

Maintainer

Bernhard Pfaff

Last Published

September 12th, 2018

Functions in rbtc (0.1-5)

bkfee

Compute fee in a block
blockattime

Block height at time
containsPoint

containsPoint-methods
ecoperators

Elliptic curve operators
createBtcAdr

Create BTC addresses
getinfo

RPC-JSON API: getinfo
ecparam

Creating objects of class ECPARAM
gethelp

RPC-JSON API: Help
addnode

RPC-JSON API: addnode
Wif2PrivKey

Create private key from WIF
ping

RPC-JSON API: ping
createPrivateKey

Creation of a private key
base58CheckDecode

Base 58 binary-to-text-decoding
decodeHex

Decoding of a hex string
base58CheckEncode

Base 58 binary-to-text-encoding
NullOrInteger-class

S4 Class Union NULL or integer
decodescript

RPC-JSON API: decodescript
ecpoint

Creating objects of class ECPOINT
disconnectnode

RPC-JSON API: disconnectnode
getaddednodeinfo

RPC-JSON API: getaddednodeinfo
date2int

Convert date/time to integer
getmempoolentry

RPC-JSON API: getmempoolentry
blockstats

Obtaining statistics of a block
preciousblock

RPC-JSON API: preciousblock
txids

Retrieve TX Ids in block
decoderawtransaction

RPC-JSON API: decoderawtransaction
PubHash2BtcAdr

Create BTC address from public key hash
PubKey2PubHash

Create public key hash from 512-bit public key
getblockchaininfo

RPC-JSON API: getblockchaininfo
clearbanned

RPC-JSON API: clearbanned
getmempoolinfo

RPC-JSON API: getmempoolinfo
getpeerinfo

RPC-JSON API: getpeerinfo
getrawmempool

RPC-JSON API: getrawmempool
getblockcount

RPC-JSON API: getblockcount
concatHex

Concatenate two hex strings
txinids

Retrieving the input transaction IDs
conrpc

Extracting Configuration Settings
getchaintips

RPC-JSON API: getchaintips
getchaintxstats

RPC-JSON API: getchaintxstats
getblockhash

RPC-JSON API: getblockhash
getrawtransaction

RPC-JSON API: getrawtransaction
getwalletinfo

RPC-JSON API: getwalletinfo
getblockheader

RPC-JSON API: getblockheader
hash160

BTC hash160
getbestblockhash

RPC-JSON API: getbestblockhash
getconnectioncount

RPC-JSON API: getconnectioncount
intMaxDay

Integer representation of a day-end
intMinDay

Integer representation of a day-begin
intRangeDay

Integer range within a day
startbtc

Start bitcoind server process
getdifficulty

RPC-JSON API: getdifficulty
gettxout

RPC-JSON API: gettxout
intRangePeriod

Integer range between two dates
stopbtc

Stop bitcoind server process
getblock

RPC-JSON API: getblock
getmempoolancestors

RPC-JSON API: getmempoolancestors
getnettotals

RPC-JSON API: getnettotals
getnetworkinfo

RPC-JSON API: getnetworkinfo
getmempooldescendants

RPC-JSON API: getmempooldescendants
gettxoutproof

RPC-JSON API: gettxoutproof
hash256

BTC hash256
int2date

Convert time stamp to POSIX
timeofblock

Time of a block
gettxoutsetinfo

RPC-JSON API: gettxoutsetinfo
setnetworkactive

RPC-JSON API: setnetworkactive
txfee

Compute fee of a transaction
isNull

Test for empty EC point
show

show-methods
validBtcAdr

Validate S4-class BTCADR
verifytxoutproof

RPC-JSON API: verifytxoutproof
pruneblockchain

RPC-JSON API: pruneblockchain
listbanned

RPC-JSON API: listbanned
verifychain

RPC-JSON API: verifychain
utxotype

Retrieving types of UTXOs
utxoage

Age of UTXOs
rpcpost

HTTP post of RPC-JSON
txstats

Statistics of a transaction
utxovalue

Retrieving values of UTXOs
NullOrCharacter-class

S4 Class Union NULL or character
ECPARAM-class

The ECPARAM class
PrivKey2Wif

Create WIF from a private key
CONRPC-class

The CONRPC class
EcparamOrNull-class

S4 Class Union ECPARAM or NULL
ANSRPC-class

The ANSRPC class
ECPOINT-class

S4 Class ECPOINT
PrivKey2PubKey

Create public key from private key
BTCADR-class

S4 class BTCADR