Package: rbtc 0.1-7

rbtc: Bitcoin API

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

Authors:Bernhard Pfaff [aut, cre]

rbtc_0.1-7.tar.gz
rbtc_0.1-7.zip(r-4.5)rbtc_0.1-7.zip(r-4.4)rbtc_0.1-7.zip(r-4.3)
rbtc_0.1-7.tgz(r-4.4-any)rbtc_0.1-7.tgz(r-4.3-any)
rbtc_0.1-7.tar.gz(r-4.5-noble)rbtc_0.1-7.tar.gz(r-4.4-noble)
rbtc_0.1-7.tgz(r-4.4-emscripten)rbtc_0.1-7.tgz(r-4.3-emscripten)
rbtc.pdf |rbtc.html
rbtc/json (API)

# Install 'rbtc' in R:
install.packages('rbtc', repos = c('https://bpfaff.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.15 score 14 scripts 279 downloads 78 exports 10 dependencies

Last updated 30 days agofrom:be9d924f0b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winOKNov 20 2024
R-4.5-linuxOKNov 20 2024
R-4.4-winOKNov 20 2024
R-4.4-macOKNov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:addnodebase58CheckDecodebase58CheckEncodebkfeeblockattimeblockstatsclearbannedconcatHexconrpccontainsPointcreateBtcAdrcreatePrivateKeydate2intdecodeHexdecoderawtransactiondecodescriptdisconnectnodedoubleUpecparamecpointgetaddednodeinfogetbestblockhashgetblockgetblockchaininfogetblockcountgetblockhashgetblockheadergetchaintipsgetchaintxstatsgetconnectioncountgetdifficultygethelpgetinfogetmempoolancestorsgetmempooldescendantsgetmempoolentrygetmempoolinfogetnettotalsgetnetworkinfogetpeerinfogetrawmempoolgetrawtransactiongettxoutgettxoutproofgettxoutsetinfogetwalletinfohash160hash256int2dateintMaxDayintMinDayintRangeDayintRangePeriodisNulllistbannedpingpreciousblockPrivKey2PubKeyPrivKey2WifpruneblockchainPubHash2BtcAdrPubKey2PubHashrpcpostsetnetworkactivestartbtcstopbtctimeofblocktxfeetxidstxinidstxstatsutxoageutxotypeutxovaluevalidBtcAdrverifychainverifytxoutproofWif2PrivKey

Dependencies:askpasscurlgmphttrjsonlitemimeopensslR6rjsonsys

Readme and manuals

Help Manual

Help pageTopics
RPC-JSON API: addnodeaddnode
The ANSRPC classANSRPC-class
Base 58 binary-to-text-decodingbase58CheckDecode
Base 58 binary-to-text-encodingbase58CheckEncode
Compute fee in a blockbkfee
Block height at timeblockattime
Obtaining statistics of a blockblockstats
S4 class BTCADRBTCADR-class
RPC-JSON API: clearbannedclearbanned
Concatenate two hex stringsconcatHex
Extracting Configuration Settingsconrpc
The CONRPC classCONRPC-class
containsPoint-methodscontainsPoint containsPoint,ECPARAM,bigz,bigz-method containsPoint,ECPARAM,character,character-method containsPoint,ECPARAM,integer,integer-method
Create BTC addressescreateBtcAdr
Creation of a private keycreatePrivateKey
Convert date/time to integerdate2int
Decoding of a hex stringdecodeHex
RPC-JSON API: decoderawtransactiondecoderawtransaction
RPC-JSON API: decodescriptdecodescript
RPC-JSON API: disconnectnodedisconnectnode
Elliptic curve operators*,bigz,ECPOINT-method *,ECPOINT,bigz-method +,ECPOINT,ECPOINT-method AND AND,bigz,bigz-method doubleUp doubleUp,ECPOINT-method ecoperators leftmostBit leftmostBit,bigz-method
Creating objects of class ECPARAMecparam
The ECPARAM classECPARAM-class
S4 Class Union ECPARAM or NULLEcparamOrNull-class
Creating objects of class ECPOINTecpoint
S4 Class ECPOINTECPOINT-class
RPC-JSON API: getaddednodeinfogetaddednodeinfo
RPC-JSON API: getbestblockhashgetbestblockhash
RPC-JSON API: getblockgetblock
RPC-JSON API: getblockchaininfogetblockchaininfo
RPC-JSON API: getblockcountgetblockcount
RPC-JSON API: getblockhashgetblockhash
RPC-JSON API: getblockheadergetblockheader
RPC-JSON API: getchaintipsgetchaintips
RPC-JSON API: getchaintxstatsgetchaintxstats
RPC-JSON API: getconnectioncountgetconnectioncount
RPC-JSON API: getdifficultygetdifficulty
RPC-JSON API: Helpgethelp
RPC-JSON API: getinfogetinfo
RPC-JSON API: getmempoolancestorsgetmempoolancestors
RPC-JSON API: getmempooldescendantsgetmempooldescendants
RPC-JSON API: getmempoolentrygetmempoolentry
RPC-JSON API: getmempoolinfogetmempoolinfo
RPC-JSON API: getnettotalsgetnettotals
RPC-JSON API: getnetworkinfogetnetworkinfo
RPC-JSON API: getpeerinfogetpeerinfo
RPC-JSON API: getrawmempoolgetrawmempool
RPC-JSON API: getrawtransactiongetrawtransaction
RPC-JSON API: gettxoutgettxout
RPC-JSON API: gettxoutproofgettxoutproof
RPC-JSON API: gettxoutsetinfogettxoutsetinfo
RPC-JSON API: getwalletinfogetwalletinfo
BTC hash160hash160
BTC hash256hash256
Convert time stamp to POSIXint2date
Integer representation of a day-endintMaxDay
Integer representation of a day-beginintMinDay
Integer range within a dayintRangeDay
Integer range between two datesintRangePeriod
Test for empty EC pointisNull isNull,ECPOINT-method
RPC-JSON API: listbannedlistbanned
S4 Class Union NULL or characterNullOrCharacter-class
S4 Class Union NULL or integerNullOrInteger-class
RPC-JSON API: pingping
RPC-JSON API: preciousblockpreciousblock
Create public key from private keyPrivKey2PubKey
Create WIF from a private keyPrivKey2Wif
RPC-JSON API: pruneblockchainpruneblockchain
Create BTC address from public key hashPubHash2BtcAdr
Create public key hash from 512-bit public keyPubKey2PubHash
HTTP post of RPC-JSONrpcpost
RPC-JSON API: setnetworkactivesetnetworkactive
show-methodsshow show,ANSRPC-method show,BTCADR-method show,ECPARAM-method
Start bitcoind server processstartbtc
Stop bitcoind server processstopbtc
Time of a blocktimeofblock
Compute fee of a transactiontxfee
Retrieve TX Ids in blocktxids
Retrieving the input transaction IDstxinids
Statistics of a transactiontxstats
Age of UTXOsutxoage
Retrieving types of UTXOsutxotype
Retrieving values of UTXOsutxovalue
Validate S4-class BTCADRvalidBtcAdr
RPC-JSON API: verifychainverifychain
RPC-JSON API: verifytxoutproofverifytxoutproof
Create private key from WIFWif2PrivKey