ChainIdMismatch
Documentation for eth_defi.provider.fallback.ChainIdMismatch exception.
- exception ChainIdMismatch
Bases:
ExceptionRaised when a fallback provider returns a different chain ID after switching.
This typically happens when an RPC endpoint is misconfigured or its backend temporarily routes requests to the wrong chain after an outage.
- __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.