Labeled Balance

Description

Metrics that show labeled addresses inflow, outflow and balances

  • inflow_per_label_and_owner - inflow of a given owner
  • outflow_per_label_and_owner - outflow of a given owner
  • balance_per_label_and_owner_delta - balance change of a given owner
  • balance_per_owner - balance of a given owner

Please note that metrics may undergo changes in historical values due to automated recalculations triggered monthly. We constantly update our labels which helps us to keep labels as fresh as possible but this results in historical data changes. Any modifications to labels, social sources, or relevant jobs will prompt recalculation for the previous month’s data. Within a 12-hour period, the metric can be supplemented with new data. Additionally, adjustments to labels automatically trigger recalculation of labeled balances.

Available labels:

  • centralized_exchange
  • decentralized_exchange
  • defi
  • eth2stakingcontract
  • deposit

Access

Restricted Access


Measuring Unit

Amount of tokens


Data Type

Timeseries Data


Frequency

Five-minute Intervals


Latency

Price Latency


Available Assets


SanAPI

Inflow per label and owner (example DAI inflow to Compound):

{
getMetric(metric: "inflow_per_label_and_owner") {
timeseriesDataJson(
selector: {
slug: "uniswap"
owner: "1inch"
label: "decentralized_exchange"
}
from: "2023-12-10T00:00:00Z"
to: "2023-12-11T00:00:00Z"
interval: "1h"
)
}
}

Inflow per label (example DAI inflow to all DeFi protocols):

{
getMetric(metric: "inflow_per_label_and_owner") {
timeseriesDataJson(
selector: {
slug: "lido-dao"
label: "defi"
}
from: "2023-12-10T00:00:00Z"
to: "2023-12-11T00:00:00Z"
interval: "1h"
)
}
}

Outflow per label and owner (example DAI outflow to Compound):

{
getMetric(metric: "outflow_per_label_and_owner") {
timeseriesDataJson(
selector: {
slug: "uniswap"
owner: "1inch"
label: "decentralized_exchange"
}
from: "2023-12-10T00:00:00Z"
to: "2023-12-11T00:00:00Z"
interval: "1h"
)
}
}

Outflow per label:

{
getMetric(metric: "outflow_per_label_and_owner") {
timeseriesDataJson(
selector: {
slug: "lido-dao"
label: "defi"
}
from: "2023-12-10T00:00:00Z"
to: "2023-12-11T00:00:00Z"
interval: "1h"
)
}
}

Balance delta per label and owner (example DAI balance delta of Aave):

{
getMetric(metric: "balance_per_label_and_owner_delta") {
timeseriesDataJson(
selector: {
slug: "uniswap"
owner: "1inch"
label: "decentralized_exchange"
}
from: "2023-12-10T00:00:00Z"
to: "2023-12-11T00:00:00Z"
interval: "1h"
)
}
}

Balance per label and owner (example DAI balance of Aave):

{
getMetric(metric: "balance_per_owner") {
timeseriesDataJson(
selector: {
slug: "multi-collateral-dai"
owner: "aave"
label: "defi"
}
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "1h"
)
}
}