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

    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):

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    {
      getMetric(metric: "inflow_per_label_and_owner") {
        timeseriesData(
          selector: {
            slug: "uniswap"
          	owner: "1inch"
          	label: "decentralized_exchange"
          }
          from: "2023-12-10T00:00:00Z"
          to: "2023-12-11T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "inflow_per_label_and_owner") {
        timeseriesData(
          selector: {
            slug: "lido-dao"
          	label: "defi"
          }
          from: "2023-12-10T00:00:00Z"
          to: "2023-12-11T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    {
      getMetric(metric: "outflow_per_label_and_owner") {
        timeseriesData(
          selector: {
            slug: "uniswap"
          	owner: "1inch"
          	label: "decentralized_exchange"
          }
          from: "2023-12-10T00:00:00Z"
          to: "2023-12-11T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer

    Outflow per label:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "outflow_per_label_and_owner") {
        timeseriesData(
          selector: {
            slug: "lido-dao"
          	label: "defi"
          }
          from: "2023-12-10T00:00:00Z"
          to: "2023-12-11T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    {
      getMetric(metric: "balance_per_label_and_owner_delta") {
        timeseriesData(
          selector: {
            slug: "uniswap"
          	owner: "1inch"
          	label: "decentralized_exchange"
          }
          from: "2023-12-10T00:00:00Z"
          to: "2023-12-11T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    {
      getMetric(metric: "balance_per_owner") {
        timeseriesData(
          selector: {
            slug: "multi-collateral-dai"
          	owner: "aave"
          	label: "defi"
          }
          from: "2020-04-01T00:00:00Z"
          to: "2020-04-07T00:00:00Z"
          interval: "1h"
        ) {
          datetime
          value
        }
      }
    }

    Run in Explorer