import { GetEvmChainRollingWindowMetricsRequest } from "@avalabs/avacloud-sdk/models/operations";
let value: GetEvmChainRollingWindowMetricsRequest = {
metric: "txCount",
chainId: "43114",
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
metric |
components.ChainRollingWindowMetric | ✔️ | Which chain level metric to fetch for the rolling window. | txCount |
chainId |
string | ➖ | A supported EVM chain ID or one of "total", "mainnet", or "testnet". Use the /chains endpoint to get a list of supported chain IDs. |
43114 |