etherscan_block_reward {cryptotrackr}R Documentation

etherscan_block_reward

Description

etherscan_block_reward

Usage

etherscan_block_reward(block, api_key, timeout_seconds = 60)

Arguments

block

the numeric block number

api_key

your Etherscan API key

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns the block and uncle reward for the specified block number as a list.

Examples

## Not run: 
block <- 12697906
api_key <- "..."
block_reward <- etherscan_block_reward(block, api_key)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]