etherscan_block_reward: etherscan_block_reward

View source: R/etherscan.R

etherscan_block_rewardR 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)

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.