blockchain.api.process: Process blockchain.info API

Description Usage Arguments Details Value References See Also Examples

View source: R/blockchain.R

Description

Query and process results from blockchain.info.

Usage

1
2
blockchain.api.process(..., method, verbose = getOption("Rbitcoin.verbose",
  0))

Arguments

method

character. For details see blockchain.api.query, currently supported 'Single Address' and 'Single Transaction'. If method missing the function will try to guess it based on first param in ....

verbose

integer. Rbitcoin processing messages, print to console if verbose > 0, each subfunction reduce verbose by 1. If missing then getOption("Rbitcoin.verbose",0) is used.

...

params passed to blockchain.info API, specific for particular method, example 'bitcoin_address' or 'tx_index', for more read blockchain.api.query.

Details

By default it will perform antiddos check and wait if required, it can be turned off but in such case you should expect to be banned quite easily. Read antiddos.

Value

post processed response from blockchain api, list or data.table.

References

https://blockchain.info/api/blockchain_api

See Also

blockchain.api.query, antiddos

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Rbitcoin donation address wallet
Rbitcoin_donation_wallet <- blockchain.api.process('15Mb2QcgF3XDMeVn6M7oCG6CQLw4mkedDi')
# some transaction
tx <- blockchain.api.process('e5c4de1c70cb6d60db53410e871e9cab6a0ba75404360bf4cda1b993e58d45f8')
tx

## End(Not run)

jangorecki/Rbitcoin documentation built on May 18, 2019, 12:24 p.m.