Documentation for eth_defi.middleware.ProbablyNodeHasNoBlock exception.

exception ProbablyNodeHasNoBlock[source]

A special exception raised when we suspect JSON-RPC node does not yet have data for a block we asked.

  • Calling a contract on a block before contract was deployed

  • Calling a contract on a block where the node does not have the block data yet

See eth_defi.provider.fallback for details.

__init__(*args, **kwargs)