Learn R Programming

ether (version 0.1.6)

get_blocks: Retrieve a series of blocks.

Description

Retrieve a series of blocks.

Usage

get_blocks(start = NULL, stop = NULL, count = NULL)

Arguments

start

Initial block number.

stop

Final block number.

count

Number of blocks.

Value

Data frame of blocks.

Examples

Run this code
# NOT RUN {
get_blocks("0x4720FF", "0x472108")
get_blocks("0x4720FF", count = 5)
get_blocks("0x49a8ea", count = 5) # Two blocks containing uncles.
# }

Run the code above in your browser using DataLab