Creates an instance of ESpaceScanner with all available modules.
Configuration object for the scanner
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 the scanner
ReadonlyaccountModule for account-related operations
ReadonlyblockModule for block-related operations
ReadonlycontractModule for smart contract operations
ReadonlynftModule for NFT-related operations
ReadonlystatisticsModule for statistics and metrics
ReadonlytokenModule for token-related operations
ReadonlytransactionModule for transaction operations
ReadonlyutilsModule for utility functions
ReadonlydeprecatedModule containing deprecated functionality
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
Main scanner class that provides access to all Conflux eSpace API modules. Extends the base API class with specific module implementations.
ESpaceScanner