Description Usage Arguments Details Value Examples
View source: R/get_rawmempool.R
Calls the chainquery.com site and makes a snapshot of the transactions of the rawmempool.
| 1 | get_rawmempool(writecsv = FALSE, filename)
 | 
| writecsv | logical, should a .csv file be created | 
| filename | optional: the name of the file to be created (has to be "xxx.csv") | 
Since it needs to download a lot of data this function can take up to 15 sec. to run. A folder named "data" must exist in the current work directory if writecsv is set to TRUE. The default name is rawmempool_####.csv where #### is the next blocknumber. By default it overwrites itself if there is already a .csv file of the transaction for the next block. This guarantees that only one file per block exists which is the most recent one.
a data.frame with size, fee, time, height, and transactionid or NULL if a .csv file was saved.
| 1 2 3 4 5 6 | ## Not run: 
get_rawmempool()
get_rawmempool(writecsv = TRUE)
get_rawmempool(writecsv = TRUE, filename = "snapshot01.csv")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.