Learn R Programming

ether (version 0.1.6)

eth_getUncleCountByBlockNumber: Returns the number of uncles in a block from a block matching the given block number.

Description

Returns the number of uncles in a block from a block matching the given block number.

Usage

eth_getUncleCountByBlockNumber(number)

Arguments

number

An integer block number (as a hexidecimal string) or one of "earliest", "latest" or "pending".

Value

Integer.

Examples

Run this code
# NOT RUN {
eth_getUncleCountByBlockNumber("0x4720fe")
# }

Run the code above in your browser using DataLab