Description

Metrics that shows token flow between labels and labeled balances

Labeled balance metrics:

  • all_known_balance
  • unlabeled_balance
  • [label]_balance

Labeled exchange flow:

  • [label]_to_exchanges_flow
  • exchanges_to_[label]_flow
  • [label]_exchange_balance

Flow between labels:

  • [label]_to_[label]_flow
  • [label]_[label]_balance

Available labels:

  • miners
  • genesis
  • dex_trader
  • trader
  • defi
  • dex
  • cex
  • withdrawal
  • deposit
  • proxy
  • whale
  • makerdao_bite_keeper
  • makerdao_cdp_owner
  • unlabeled
  • all_known_balance

Access

Restricted Access.


Measuring Unit

Amount of tokens


Data Type

Timeseries Data


Frequency

Five-minute Intervals


Latency

Price Latency


Available Assets

All ERC20 assets, ethereum


SanAPI

Balance of all labeled addresses in DAI:

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

Run in Explorer

Balance of all unlabeled addresses in DAI:

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

Run in Explorer

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: "multi-collateral-dai"
      	owner: "compound"
      	label: "defi"
      }
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1h"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer(<

Balance of all addresses that belongs to a given label (example DAI DEX traders balances):

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

Run in Explorer

Flow from label to exchanges (example DAI flow from DEX traders to exchanges):

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

Run in Explorer

Flow from exchanges to label (example DAI flow from exchanges to DEX traders):

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

Run in Explorer

Label exchange balance (example DEX traders DAI exchanges balance):

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

Run in Explorer

Flow from label to label (example DAI flow from traders to DeFi):

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

Run in Explorer

Flow from label to label (example DAI flow from traders to DeFi):

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

Run in Explorer

Labeled balance (example DAI traders balance on DeFi):

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

Run in Explorer

Was this article helpful?