Skip to main content

Assets

Type: Asset

Description

The following table provides a detailed overview of the metrics methodology used to track and measure the performance of a particular asset. To get more information about the object / class itself, please refer to the Assets section.

KeyDescription

Sample queries

You can get the data of a particular asset by running the following query, filtered by the asset's symbol. If you need more information about the asset, you can use the assets query with the metrics field. This will return all the metrics available for the asset (you can also add variations, changeAbsolutes and changePercentages)

  • changeAbsolutes is the absolute change in the metric value within the last 24h, 7d, 30d, 90d or 1y.
  • changePercentages is the percentage change in the metric value within the last 24h, 7d, 30d, 90d or 1y.

Refer to the Metrics section for more information.

Get active validators of Ethereum

To get the active validators (which is a Metric) and base data of Ethereum, you can run the following query.

{
assets(where: { symbols: ["ETH"] }, limit: 1) {
id
name
slug
description
symbol
metrics(where: { metricKeys: ["active_validators"] }, limit: 1) {
metricKey
label
defaultValue
}
}
}