Learn R Programming

gethr

Overview

The goal of gethr is to provide access to Ethereum-based blockchains through Geth nodes using the R language.

Installation

You can install the development version from GitHub with:

devtools::install_github("vicegd/gethr")

Copy Link

Version

Install

install.packages('gethr')

Monthly Downloads

23

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Vicente Garcia Diaz

Last Published

January 8th, 2019

Functions in gethr (0.1.0)

debug_memStats

Runtime memory statistics
debug_startGoTrace

Go runtime trace permanent activation.
debug_vmodule

Logging verbosity by pattern.
debug_verbosity

Logging verbosity.
eth_getBalance

Balance of an account.
eth_gasPrice

Gas price.
debug_stopCPUProfile

CPU profiling stop.
eth_getUncleByBlockHashAndIndex

Uncle information given a block hash and an index position.
eth_getTransactionReceipt

Transaction receipt.
ether.toFinney

Conversion to Finney.
debug_dumpBlock

State of the block.
debug_gcStats

Garbage collector statistics.
eth_blockNumber

Current block number.
debug_cpuProfile

CPU profiling activation.
debug_blockProfile

Block profiling activation.
eth_getProof

Value from storage position.
eth_mining

Whether client is mining or not.
ether.toEther

Conversion to Ether.
eth_hashrate

Hashes per second that are mined.
eth_uninstallFilter

Filter removal.
eth_getStorageAt

Value from storage position.
eth_call

New message call.
ether.toMwei

Conversion to Mwei.
debug_setBlockProfileRate

Block profile data collection rate.
ether.toSzabo

Conversion to Szabo.
eth_getCode

Code at an address.
debug_traceBlockByNumber

Full trace of a block by number.
debug_traceBlockByHash

Full trace of a block by hash.
debug_backtraceAt

Logging backtrace location.
debug_setHead

Current head of the chain configuration.
is.wholenumber

Whole numbers identification.
eth_getFilterChanges

Filter information since last poll.
miner_setEtherBase

Etherbase for mining.
ether.toGether

Conversion to Gether.
debug_seedHash

Seed hash of the block
debug_traceBlockFromFile

Full trace of a block using a file as input.
ether.toKwei

Conversion to Kwei.
ether.toMether

Conversion to Mether.
net_listening

Whether client is listening or not.
debug_stopGoTrace

Go trace stop.
personal_importRawKey

New account creation giving the private key.
eth_getUncleByBlockNumberAndIndex

Uncle information given a block number and an index position.
personal_listAccounts

Addresses owned by client.
debug_traceBlock

Full trace of a block.
debug_writeBlockProfile

Goroutine blocking profile to file.
debug_writeMemProfile

Allocation profile to file.
eth_getWork

Work performed by the current block
eth_getUncleCountByBlockNumber

Uncles in a block given a number.
eth_getUncleCountByBlockHash

Uncles in a block given a hash.
get_network_id

ID of the network.
get_post

RPC call helper method.
set_rpc_address

Query of the RPC address of the node.
eth_getFilterLogs

Filter information.
shh_addPrivatekey

Key pair storage.
debug_traceTransaction

Transaction tracing.
personal_unlockAccount

Unlocking the key.
dec_to_hex

Decimal to hexadecimal conversion.
eth_getTransactionCount

Transactions an address has sent.
eth_getLogs

New filter and its logs.
eth_getTransactionByHash

Transaction information given a transaction hash.
eth_newPendingTransactionFilter

New pending transaction filter.
debug_getBlockRlp

Recursive Length Prefix of the block.
process_block

Values of the blocks in plain text or decimal instead of hexadecimal.
eth_protocolVersion

Ethereum protocol version.
debug_goTrace

Go runtime tracing activation.
process_transaction

Values of the transactions in plain text or decimal instead of hexadecimal.
shh_markTrustedPeer

Indication of trusted peers.
shh_newKeyPair

Key pair creation and storage.
net_peerCount

Number of peers connected.
shh_addSymKey

Symmetric key storage.
shh_deleteKeyPair

Key pair deletion.
set_network_id

ID of the network update.
debug_stacks

Printer representation of the stacks.
debug_startCPUProfile

CPU profiling permanent activation.
shh_hasSymKey

Symmetric key existence confirmation.
eth_accounts

Addresses owned by client.
eth_getBlockByHash

Block information based on its hash.
eth_getBlockByNumber

Block information based on its number.
eth_coinbase

Coinbase address.
eth_sign

Ethereum specific signature
shh_info

Information about the whisper.
eth_submitHashrate

Mining hashrate submission.
get_rpc_address

RPC address of the node.
text_to_hex

String to hexadecimal conversion.
txpool_content

Information about pending and queued transactions.
gethr

gethr: Access to Ethereum-based Blockchains through Geth Nodes Using the R Language
web3_clientVersion

Current client version.
web3_sha3

Keccak-256 value of the data.
eth_estimateGas

Estimation of the gas.
miner_setExtra

Extra data for mined blocks.
eth_getBlockTransactionCountByHash

Transactions in a block given a hash.
eth_getTransactionByBlockHashAndIndex

Transaction information given a block hash and an index position.
miner_setGasPrice

Minimal gas price for mining.
eth_getBlockTransactionCountByNumber

Transactions in a block given a number.
eth_newBlockFilter

New block filter.
eth_getTransactionByBlockNumberAndIndex

Transaction information given a block number and an index position.
eth_sendRawTransaction

New raw transaction
personal_sendTransaction

New transaction
eth_newFilter

New filter.
personal_sign

Ethereum specific signature
eth_sendTransaction

New transaction
ether.toGwei

Conversion to Gwei.
shh_newMessageFilter

New filter in the node.
ether.toKether

Conversion to Kether.
shh_setMinPoW

Minimal Pow.
shh_newSymKey

Symmetric key creation and storage.
hex_to_dec

Hexadecimal to decimal conversion.
eth_submitWork

Proof-of-work submission
eth_syncing

Sync status.
hex_to_text

Hexadecimal to string conversion.
shh_version

Current whisper protocol.
personal_lockAccount

Account deletion.
ether.toTether

Conversion to Tether.
ether.toWei

Conversion to Wei.
miner_start

Mining process to be started.
miner_stop

Mining process to be stopped.
net_version

Current network id.
personal_newAccount

New account creation.
personal_ecRecover

Signatory address.
shh_deleteSymKey

Symmetric key deletion.
process_log

Values of the logs in decimal instead of hexadecimal.
process_receipt

Values of the receipts in plain text or decimal instead of hexadecimal.
shh_generateSymKeyFromPassword

Symmetric key generation and storage.
shh_getPrivateKey

Private key given a key pair ID.
shh_getSymKey

Symmetric key given a symmetric key ID.
shh_getPublicKey

Public key given a key pair ID.
shh_hasKeyPair

Key pair existence confirmation.
shh_post

New whisper message.
txpool_inspect

Summary of the information about pending and queued transactions.
shh_setMaxMessageSize

Maximal message size allowed by this node.
txpool_status

Number of pending and queued transactions.
admin_nodeInfo

Node basic information
admin_stopWS

WebSocket based JSON RPC API stop.
admin_peers

Peers basic information
admin_setSolc

Solidity compiler path
admin_datadir

Path being used by the node.
admin_addPeer

New node based on the enode
admin_stopRPC

HTTP based JSON RPC API stop.
admin_startWS

WebSocket based JSON RPC API initialization.
admin_startRPC

HTTP based JSON RPC API initialization.