# Active Addresses

## Active Addresses

### Contents

* [Active Monthly, Weekly, Daily Addresses (AdrActXdCnt)](#adract)
* [Active Addresses (Sent) (AdrActSentCnt)](#adractsent)
* [Active Addresses (Received) (AdrActRecCnt)](#adractrec)
* [Active Smart Contract Addresses (AdrActContCnt)](#adractcont)
* [Active Blob Addresses (AdrActBlobCnt)](#adractcont-1)
* [Active Blob Addresses (Sent) (AdrActBlobSendCnt)](#adractcont-2)
* [Active Blob Addresses (Received) (AdrActBlobRecCnt)](#adractcont-3)
* [MEV Active Address Count (MevAdrActCnt)](#adractcont-4)
* [Economically Active Addresses (AdrActUSDXCnt)](#economically-active-addresses)

### **Interpretation**

Active addresses is a popular measure to proxy the number of users on a blockchain, since it is typically less sensitive to stress-tests (which often focus on transaction count). However, active addresses inherit idiosyncrasies from the structure of the particular blockchain, and care must be taken to understand structural differences in active address counts. In blockchains where address creation is cheap or free, and transacting is cheap or free, active addresses can still be trivially forged.

## Active Monthly, Weekly, Daily Addresses <a href="#adract" id="adract"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td><a href="#active">Active Monthly Addresses</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrAct30dCnt">AdrAct30dCnt</a></td><td>Addresses</td><td>1 Day</td></tr><tr><td><a href="#active">Active Weekly Addresses</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrAct7dCnt">AdrAct7dCnt</a></td><td>Addresses</td><td>1 Day</td></tr><tr><td><a href="#active">Active Daily Addresses</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrActCnt">AdrActCnt</a></td><td>Addresses</td><td>1 Day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active in the network (either as a recipient or originator of a ledger change) in the trailing X days up to the end of that interval. All parties in a ledger change action (recipients and originators) are counted. Individual addresses are not double-counted if active several times in the considered interval.

### Details

* Active addresses count the number of unique addresses that participated in a ledger change.
* Ledger changes can include activities such as transacting, signing of blocks, claiming of mining or staking rewards, voting, creating accounts, and more dependent on whether the underlying protocol supports the activity (different protocols vary in the types of activities that are supported).
* All participants of a ledger change activity are included.
* If an address was active multiple times during the aggregation interval (e.g., 30 days), it is counted only once.
* For ETH, miners receiving fees from the original sender of a failed transaction are counted as active (receiving) addresses.
* Any address that's active (even if sending 0 ETH, or sending ETH to itself, or involved in failed transactions) is counted towards active addresses.
* The null address (issuance address) is excluded from this metric.

### **Asset-Specific Details**

* This metric is not available for assets that have full privacy, like Monero and Grin. For assets that have opt-in privacy features, like ZCash, it only takes the non-private activities into account.
* For Solana, includes both owner accounts as well as sub accounts

### Coverage

* [AdrAct30dCnt](https://coverage.coinmetrics.io/search-results?query=AdrAct30dCnt)
* [AdrAct7dCnt](https://coverage.coinmetrics.io/search-results?query=AdrAct7dCnt)
* [AdrActCnt](https://coverage.coinmetrics.io/search-results?query=AdrActCnt)

## Economically Active Addresses <a href="#economically-active-addresses" id="economically-active-addresses"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td><a href="https://coverage.coinmetrics.io/asset-metrics-v2/AdrActUSD1Cnt">Economically Active Addr Cnt >1 USD</a></td><td><a href="https://coverage.coinmetrics.io/asset-metrics-v2/AdrActUSD1Cnt">AdrActUSD1Cnt</a></td><td>Addresses</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active in the network (either as a recipient or originator of a ledger change) that interval for any transfer worth more than the USD threshold for that metric in native units. All parties in a ledger change action (recipients and originators) are counted. Individual addresses are not double-counted if previously active.

### Details

* The same [details](#details) as for AdrActCnt apply to this metric with the exception of the USD threshold being added to this metric.
* To be counted, an address needs to have at least one ledger change that is larger than the threshold for the metric. The USD equivalent price is calculated based on the `PriceUSD` metric for the given day.

### Examples

* Address A has participated in 10 ledger changes for BTC, each for 1 BTC on a given day. The PriceUSD value on that day for BTC is $70,000.
  * Address A is counted as 1 address for the AdrActUSD1Cnt for BTC
* Address B has 1 ledger change for BTC for 0.000001 at a PriceUSD of $70,000. This ledger change is worth $0.07. For this metric this address will not be counted.
* Address C has 10 ledger changes in the given interval that are each for the equivalent of $0.11. While the sum of these ledger changes adds up to $1.10 the address is not counted since none of the individual transfers is worth more than the threshold of 1 USD.

### Coverage

{% embed url="<https://coverage.coinmetrics.io/asset-metrics-v2/AdrActUSD1Cnt>" %}

## Active Addresses (Sent) <a href="#adractsent" id="adractsent"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td><a href="#sent">Active Addresses (Sent)</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrActSentCnt">AdrActSentCnt</a></td><td>Addresses</td><td>1 day, 1 hour</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active in the network (as a recipient of a ledger change) that day. Individual destination addresses are counted. Individual addresses are not double-counted if previously active.

### **Details**

* Active Addresses (sent) is the sum count of unique addresses that where the sending side of a ledger change
* For this unadjusted version of the metric, all ledger change scenarios are considered.
* Such ledger changes can include mining, staking, transacting, account creation, etc..
* If an address was active multiple times as sender during that interval, it is counted only once.
* The null address (issuance address) is excluded from this metric.

### **Asset-Specific Details**

* This metric is not available for assets that have full privacy, like Monero, Grin. For assets that have opt-in privacy features, like ZCash, it only takes the non-private activities into account.
* For SOL, all accounts that sent SOL tokens in the period. Includes owner accounts and sub accounts. Owner accounts are always counted since they are paying and signing for the transaction, even if the owner account itself doesn't send more SOL than just the fee.
* For SPL tokens, all accounts that sent the SPL token in the period. This includes validators & delegators. Includes owner accounts and sub accounts.

### **Examples**

In a given day:

* Address A mines 10 coins
  * A was recipient, no sender
* Address B sends 2 coins to each C and D
  * C and D were recipients, B was sender
* Address D delegates 20 coins to E
  * D is the sender, E is recipient
* Address A burns 1 coin
  * A is the sender, no recipient
* Address F votes on a protocol change
  * F is the sender/initiator

We would count as active senders: A, B, D and F. The value of the metric would therefore be: 4.

### Coverage

* [AdrActSentCnt](https://coverage.coinmetrics.io/search-results?query=AdrActSentCnt)

## Active Addresses (Received) <a href="#adractrec" id="adractrec"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td><a href="#received">Active Addresses (Received)</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrActRecCnt">AdrActRecCnt</a></td><td>Addresses</td><td>1 day, 1 hour</td></tr></tbody></table>

### **Definition**

The sum count of unique addresses that were active in the network (as a recipient of a ledger change) that day. Individual destination addresses are counted. Individual addresses are not double-counted if previously active.

### **Details**

* Active Addresses (Received) is the sum count of unique addresses that where the receiving end of a ledger change
* For this unadjusted version of the metric, all ledger change scenarios are considered.
* Such ledger changes can include mining, staking, transacting, account creation, etc..
* If an address was active multiple times as recipient during that interval, it is counted only once.
* For ETH, miners receiving fees from the original sender of a failed transaction are counted as active receiving addresses.
* The null address (issuance address) is excluded from this metric.

### **Asset-Specific Details**

* This metric is not available for assets that have full privacy, like Monero, Grin. For assets that have opt-in privacy features, like ZCash, it only takes the non-private activities into account.
* For SOL, all accounts that received SOL tokens (balance updates or rewards) in the period. This includes validators & delegators. Includes owner accounts and sub accounts.
* For SPL tokens, all accounts that received the SPL token in the period. This includes validators & delegators. Includes owner accounts and sub accounts.

### **Examples**

In a given day:

* Address A mines 10 coins
  * A was recipient, no sender
* Address B sends 2 coins to each C and D
  * C and D were recipients, B was sender
* Address D delegates 20 coins to E
  * D is the sender, E is recipient
* Address A burns 1 coin
  * A is the sender, no recipient
* Address F votes on a protocol change
  * F is the sender/initiator

We would count as active recipients: A, C, D and E. The value of the metric would therefore be: 4.

### Coverage

* [AdrActRecCnt](https://coverage.coinmetrics.io/search-results?query=AdrActRecCnt)

## Active Smart Contract Addresses <a href="#adractcont" id="adractcont"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td><a href="#smart">Active Smart Contract Addr Cnt</a></td><td><a href="https://coverage.coinmetrics.io/search-results?query=AdrActContCnt">AdrActContCnt</a></td><td>Smart Contract Addresses</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique smart contract addresses that were active in the network (either as a recipient or originator of a ledger change) that interval. All unique smart contracts involved in a ledger change action (recipients and originators) are counted. This metric does not double-count contracts. In other words, if a contract has been deemed active by being part of a ledger change, it is not counted again if is subsequently invoked during the same time interval.

### Details

* Active smart contact [address](https://gitbook-docs.coinmetrics.io/on-chain-basics#address) count represents the number of unique smart contract addresses that participated in a ledger change.
* For this unadjusted version of the metric, all ledger changes are considered.
* Ledger changes can include activities such as Decentralized Finance (DeFi) trades, DAO votes, token transfers, as well as any other activity facilitated by a smart contract.
* All participants of a ledger change activity are included.
* If an address was active multiple times during the aggregation interval (e.g., 1 day), it is counted only once.

### **Asset-Specific Details**

* This metric is only available for assets that feature the notion of smart contract addresses, such as Ethereum.

### Coverage

* [AdrActContCnt](https://coverage.coinmetrics.io/search-results?query=AdrActContCnt)

## Active Blob Addresses <a href="#adractcont" id="adractcont"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td>Active Blob Addresses</td><td>AdrActBlobCnt</td><td>Blobs</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active either initiating or receiving blob transactions in the network that interval. Individual addresses are not double-counted if previously active.

### Coverage

{% embed url="<https://coverage.coinmetrics.io/asset-metrics/AdrActBlobCnt>" %}

## Active Blob Addresses (Sent) <a href="#adractcont" id="adractcont"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td>Active Blob Addresses (Sent)</td><td>AdrActBlobSendCnt</td><td>Blobs</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active initiating blob transactions in the network that interval. Individual addresses are not double-counted if previously active.

### Coverage

{% embed url="<https://coverage.coinmetrics.io/asset-metrics/AdrActBlobSendCnt>" %}

## Active Blob Addresses (Received) <a href="#adractcont" id="adractcont"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td>Active Blob Addresses (Received)</td><td>AdrActBlobRecCnt</td><td>Blobs</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active receiving blob transactions in the network that interval. Individual addresses are not double-counted if previously active.

### Coverage

{% embed url="<https://coverage.coinmetrics.io/asset-metrics/AdrActBlobRecCnt>" %}

## MEV Active Address Count <a href="#adractcont" id="adractcont"></a>

<table><thead><tr><th width="177">Name</th><th width="157">MetricID</th><th width="124">Unit</th><th>Interval</th></tr></thead><tbody><tr><td>MEV Active Address Count</td><td>MevAdrActCnt</td><td>Addresses</td><td>1 day</td></tr></tbody></table>

### Definition

The sum count of unique addresses that were active in a MEV-enabled transaction in the network. An MEV-enabled transaction is one that paid an MEV tip to miners/validators in exchange for specific block ordering. Individual addresses are not double-counted if previously active.

### Details

* Ledger changes can include activities such as Decentralized Finance (DeFi) trades, DAO votes, token transfers, as well as any other activity facilitated by a smart contract.
* All participants of a ledger change activity are included.
* If an address was active multiple times during the aggregation interval (e.g., 1 day), it is counted only once.

### **Asset-Specific Details**

* For Solana, slots proposed by validators running the Jito-Solana client are considered as MEV slots. Further, in Solana it is possible to identify which transactions paid MEV tip in addition to simply identifying the slot. For this metric each individual transaction is evaluated to determine which are MEV-enabled and which aren't.

### Coverage

{% embed url="<https://coverage.coinmetrics.io/asset-metrics-v2/MevAdrActCnt>" %}

## API Endpoints

Active Addresses can be accessed using these endpoints:

* `timeseries/asset-metrics`

and by passing in the metric ID's `AdrAct30dCnt`, `AdrAct7dCnt`, etc. in the `metrics` parameter.

{% openapi src="<https://2398817338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO23j33wWGzm0NrZseN%2Fuploads%2Fgit-blob-1522f16027d90845f8750dd9c51c03b8e7aab67f%2Fopenapi.yaml?alt=media>" path="/timeseries/asset-metrics" method="get" %}
[openapi.yaml](https://2398817338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO23j33wWGzm0NrZseN%2Fuploads%2Fgit-blob-1522f16027d90845f8750dd9c51c03b8e7aab67f%2Fopenapi.yaml?alt=media)
{% endopenapi %}

{% tabs %}
{% tab title="Shell" %}

```shell
curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=AdrAct30dCnt&assets=btc&pretty=true&api_key=<your_key>"
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
response = requests.get('https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=AdrAct30dCnt&assets=btc&pretty=true&api_key=<your_key>').json()
print(response)
```

{% endtab %}

{% tab title="Python Client" %}

```python
from coinmetrics.api_client import CoinMetricsClient

api_key = "<API_KEY>"
client = CoinMetricsClient(api_key)

print(
    client.get_asset_metrics(
        metrics="AdrAct30dCnt", 
        assets="btc",
    ).to_dataframe()
)
```

{% endtab %}
{% endtabs %}

### **Release History**

* Release Version: 1.0 (X, 2019)
