import type { GetRequest } from './get-request.js'; import type { EtherscanResponse } from './types.js'; import type { EthPrice, ChainSize } from './results.js'; export declare function stats(getRequest: GetRequest): { /** * Returns the supply of a token. * @param tokenname - Name of the token * @param contractaddress - Token contract address * @example * api.stats.tokensupply(null, '0x57d90b64a1a57749b0f932f1a3395792e12e7055'); */ tokensupply(tokenname?: string | null, contractaddress?: string): Promise>; /** Returns the total supply of ether. */ ethsupply(): Promise>; /** Returns the total supply of ether including Eth2 staking and burnt fees. */ ethsupply2(): Promise>; /** Returns the total number of discoverable nodes on the network. */ nodecount(): Promise>; /** Returns the current ether price. */ ethprice(): Promise>; /** * Returns the size of the blockchain, in bytes, sampled daily over a date range. * @param startdate - Start date, `yyyy-MM-dd` * @param enddate - End date, `yyyy-MM-dd` * @param clienttype - Node client to measure: `'geth'` (default) or `'parity'` * @param syncmode - Sync mode: `'default'` (default) or `'archive'` * @param sort - Sort asc/desc (default `'asc'`) * @example * api.stats.chainsize('2019-02-01', '2019-02-28'); */ chainsize(startdate: string, enddate: string, clienttype?: "geth" | "parity", syncmode?: "default" | "archive", sort?: "asc" | "desc"): Promise>; };