Creates an instance of ESpaceApi.
Configuration object for the API
API configuration options. Contains settings for connecting to the Conflux eSpace Scanner API.
Target network environment
OptionalapiKey?: stringAPI key for authentication
Optionalhost?: stringCustom API host URL
ProtectedbaseBase URL for the API endpoints
Protected OptionalapiOptional API key for authenticated requests
ProtectedloggerLogger instance for debugging and error tracking
ProtectedfetchProtectedMakes an API request with the given parameters. Handles parameter sanitization, API key inclusion, and error handling.
API endpoint to call
Query parameters
Promise resolving to the API response
Base API class for making HTTP requests to the Conflux eSpace API. Provides common functionality for API endpoints including request handling and error management.
ESpaceApi