Learn R Programming

cryptotrackr (version 1.3.3)

etherscan_block_reward: etherscan_block_reward

Description

etherscan_block_reward

Usage

etherscan_block_reward(block, api_key, timeout_seconds = 60)

Value

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

Arguments

block

the numeric block number

api_key

your Etherscan API key

timeout_seconds

seconds until the query times out. Default is 60.

Examples

Run this code
if (FALSE) {
block <- 12697906
api_key <- "..."
block_reward <- etherscan_block_reward(block, api_key)}

Run the code above in your browser using DataLab