Description Usage Arguments Value Examples
View source: R/getBlockHeaders.R
Queries the blockchain and returns a data.frame of the block headers for either a given number of blocks or a specified block range of blocks.
1 2 |
n_blocks |
numeric, Number of blocks to extract back from the latest block. |
start_block |
numeric, Starting block number for extraction. |
end_block |
numeric, Ending block for extraction, inclusive. |
parallel |
|
rpc_address, |
The address of the RPC API. |
data.frame Block header data of requested blocks.
1 2 | getBlockHeaders(100)
getBlockHeaders(start_block = 951460, end_block = 951560)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.