API configuration options
API configuration options. Contains settings for connecting to the Conflux Core Scanner API.
Target network environment
OptionalapiKey?: stringAPI key for authentication
Optionalhost?: stringCustom API host URL
ReadonlyaccountAccount module for balance and transaction queries
ReadonlycontractContract module for contract verification and source code
ReadonlynftNFT module for NFT balances and transfers
ReadonlystatsStatistics module for network metrics
ReadonlyutilsUtilities module for method decoding and other tools
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 CoreScannerWrapper instance