API configuration options
API configuration options. Contains settings for connecting to the Conflux Core Scanner API.
Target network environment
Optional
apiKey?: stringAPI key for authentication
Optional
host?: stringCustom API host URL
Readonly
accountAccount module for balance and transaction queries
Readonly
contractContract module for contract verification and source code
Readonly
nftNFT module for NFT balances and transfers
Readonly
statsStatistics module for network metrics
Readonly
utilsUtilities module for method decoding and other tools
Protected
formatFormat a timestamp value to a human-readable date string.
The timestamp to format
Formatted date string
Protected
formatCFXFormat a CFX value with appropriate decimal places and units.
The CFX value to format
Formatted CFX value
Protected
formatFormat a gas value with appropriate units.
The gas value to format
Formatted gas value
Protected
formatFormat a numeric value with appropriate separators.
The number to format
Formatted number string
Protected
formatFormat a value with specified decimal places.
The value to format
Number of decimal places
Formatted value with specified decimals
Create a new CoreScannerWrapper instance