Description Usage Arguments Value Examples
Gets the blockhash corresponding to a certain blocknr via chainquery.com
1 | blocknr_to_hash(blocknr, writecsv = FALSE, filename)
|
blocknr |
a vector of blocknumbers |
writecsv |
logical, should a .csv file be created |
filename |
optional: the name of the file to be created (has to be "xxx.csv") |
a data.frame with the blocknr and the blockhash256 character long hash of the blocknr
1 2 3 4 5 6 | ## Not run:
blocknr_to_hash(blocknr = 500000:500010)
blocknr_to_hash(blocknr = 500000:500010, writecsv = TRUE)
blocknr_to_hash(blocknr = 500000:500010, writecsv = TRUE, filename = "hash.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.