BlockNumberOutOfRange
Documentation for eth_defi.provider.broken_provider.BlockNumberOutOfRange exception.
- exception BlockNumberOutOfRange
Bases:
ExceptionRaised when the RPC returns a block number that is impossibly far from the last known block.
This typically happens when a fallback provider switches to a misconfigured endpoint or the RPC backend routes the request to the wrong chain after a transient error.
- __init__(*args, **kwargs)
- __new__(**kwargs)
- add_note(note, /)
Add a note to the exception
- with_traceback(tb, /)
Set self.__traceback__ to tb and return self.