Description Usage Arguments Value Examples
View source: R/getBlockTransactions.R
Queries the blockchain and returns a data.frame of transactions for either a given number of blocks or a specified block range of blocks.
1 2 3 |
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. |
rpc_address |
character, The address of the RPC API. |
data.frame Table combining the block data and transaction data returned by eth_getBlockByNumber and the transaction table contained within it.
1 2 | getBlockTransactions(100)
getBlockTransactions(start_block = 951460, end_block = 951560)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.