eth_getBlockRange
Returns the block info in the form of an array of block objects for multiple blocks within a specified range. (See eth_getBlockByHash for the structure of a block object)
Parameters:
QUANTITY|TAG - Integer | String, Starting block no. of the range, or one of "earliest"
, "latest"
, or "pending"
, as in the default block parameter
QUANTITY|TAG - Integer | String, Ending block no. of the range, or one of "earliest"
, "latest"
, or "pending"
, as in the default block parameter
BOOLEAN - If true
, returns full transaction objects If false
, returns transaction hashes only
Returns:
Block Object
Example:
Last updated