ProbablyNodeHasNoBlock
Documentation for eth_defi.middleware.ProbablyNodeHasNoBlock exception.
- exception ProbablyNodeHasNoBlock
Bases:
ExceptionA 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.fallbackfor details.- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.