API configuration options
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
ReadonlyaccountAccount module for balance and transaction queries
ReadonlyblockBlock module for block data and timestamps
ReadonlycontractContract module for contract verification and source code
ReadonlynftNFT module for NFT balances and transfers
ReadonlystatsStatistics module for network metrics
ReadonlytokenToken module for token balances and transfers
ReadonlytransactionTransaction module for transaction data and receipts
ReadonlyutilsUtilities module for method decoding and other tools
ReadonlydeprecatedDeprecated module for legacy endpoints
ProtectedformatFormat a timestamp value to a human-readable date string.
The timestamp to format
Formatted date string
ProtectedformatCFXFormat a CFX value with appropriate decimal places and units.
The CFX value to format
Formatted CFX value
ProtectedformatFormat a gas value with appropriate units.
The gas value to format
Formatted gas value
ProtectedformatFormat a numeric value with appropriate separators.
The number to format
Formatted number string
ProtectedformatFormat a value with specified decimal places.
The value to format
Number of decimal places
Formatted value with specified decimals
Create a new ESpaceScannerWrapper instance