Learn R Programming

ether (version 0.1.6)

eth_getBlockTransactionCountByNumber: Returns the number of transactions in a specified block.

Description

Returns the number of transactions in a specified block.

Usage

eth_getBlockTransactionCountByNumber(number = "latest")

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_getBlockTransactionCountByNumber("0x4720FF")
eth_getBlockTransactionCountByNumber()
# }

Run the code above in your browser using DataLab