ArchiveNodeRequired

Documentation for eth_defi.provider.anvil.ArchiveNodeRequired exception.

exception ArchiveNodeRequired

Bases: Exception

RPC endpoint does not provide archive node access.

This is raised when a fork test requires historical block access but the RPC endpoint only provides recent blocks.

__init__(message, rpc_url=None, requested_block=None, available_block=None, response_headers=None)
Parameters
__new__(**kwargs)
add_note(note, /)

Add a note to the exception

with_traceback(tb, /)

Set self.__traceback__ to tb and return self.