EIP 1898: ERC-NN Add `blockHash` to JSON-RPC methods which accept a default block parameter (DRAFT)

Return to Ethereum ERCs

Note: The following is an excerpt from the official Ethereum site. It is provided here as a convenience and is not authoritative. Refer to the original document as the authoritative reference.

Data sheet for Add to JSON-RPC methods which accept a default block parameter

Title	Add to JSON-RPC methods which accept a default block parameter
Author	Charles Cooper
Status	Draft
Created	2019-04-01
Description	http://eips.ethereum.org/EIPS/eip-1898
Specification	http://eips.ethereum.org/EIPS/eip-1898#Specification
Category	Interface

Simple Summary

For JSON-RPC methods which currently accept a default block parameter, additionally allow the parameter to be a block hash.

Abstract

This EIP can be considered a generalization of EIP234. It would enable clients to unambiguously specify the block they want to query for certain JSON-RPC methods, even if the block is not in the canonical chain. This allows clients to maintain a coherent picture of blockchain state that they are interested in, even in the presence of reorgs, without requiring that the node maintain a persistent connection with the client or store any client-specific state.