FallbackRetryConfiguration
Documentation for eth_defi.provider.fallback.FallbackRetryConfiguration Python class.
- class FallbackRetryConfiguration
Bases:
objectBound selected fallback retries for one optional contract call.
EncodedCalluses this context-local configuration while probing optional Solidity methods. It preserves the caller’s retry budget without placing Python exception classes in a JSON-RPC transaction payload.- Parameters
retry_exceptions – Exception classes which remain retryable despite
ignore_error.retries – Maximum number of fallback retries after the initial request.
sleep – Seconds to wait before each selected retry.
Attributes summary
Exception classes which remain retryable despite
ignore_error.Maximum number of fallback retries after the initial request.
Seconds to wait before each selected retry.
Methods summary
__init__(retry_exceptions, retries, sleep)- retry_exceptions: tuple[type[Exception], ...]
Exception classes which remain retryable despite
ignore_error.
- retries: int
Maximum number of fallback retries after the initial request.
- sleep: float
Seconds to wait before each selected retry.