Initializes the BaseClient with a session ID and access denied handler.
The session ID.
OptionalonAccessDenied: (() => void | Promise<void>)A callback function when access is denied.
ProtectedclientStatic ReadonlygetCreates a new instance of the API client.
Optionalsession: null | stringThe session ID, which can be null or undefined.
OptionalonAccessDenied: (() => void | Promise<void>)Callback function to execute when access is denied.
The API client.
StaticgetStaticgetStaticisOptionalnetwork?: InfuraNetwork
The
BaseClientclass provides methods for interacting with API clients, handling sessions, and managing users.