# Mean Coin Age

## Definition

Recall that the **coin-age model**
allows us at each given point in time to assign age to each coin/token.

There are two coin age defined metrics:

- Mean Coin Age - The average age of all coins/tokens on the blockchain.
- Mean Dollar Invested Age - The average age of all coins/tokens on the blockchain weighted by the purchase price.

Mean Coin Age metrics are also available for different time bounds, which compute the mean coin age for tokens moved at least once no longer than a specific number of days or years ago.

### Example (Mean Coin age)

Given there are 100 tokens in existence:

- 50 of them have age 10 days
- 50 of them have age 20 days

then the average coin age is:

### Example (Mean Dollar Invested Age)

Given there 100 tokens in existence:

- 50 of them have age 10 days and the token's price was $1 at that time
- 50 of them have age 20 days and the token's price was $2 at that time

then the mean dollar invested age is:

More technical definition and computation description can be found here

## Access

## Measuring Unit

- Coin Age in Days
- Coin Dollar Age in Days

## Data Type

## Timebound

## Change Metrics

## Frequency

## Latency

## Available Assets

- Mean Coin Age is available for these assets
- Mean Dollar Invested Age is available for these assets

Note: timebound Mean Age metrics are available for these assets

## SanAPI

Available under the `mean_age`

and `mean_age_<timebound>`

names.

`1 2 3 4 5 6 7 8 9 10 11 12 13`

`{ getMetric(metric: "mean_age") { timeseriesData( slug: "santiment" from: "2020-01-13T00:00:00Z" to: "2020-01-18T00:00:00Z" interval: "1d" ) { datetime value } } }`

Available under the `mean_dollar_invested_age`

and
`mean_dollar_invested_age_<timebound>`

names.

`1 2 3 4 5 6 7 8 9 10 11 12 13`

`{ getMetric(metric: "mean_dollar_invested_age") { timeseriesData( slug: "santiment" from: "2020-01-13T00:00:00Z" to: "2020-01-18T00:00:00Z" interval: "1d" ) { datetime value } } }`

## Full list of metrics

Mean coin age metrics

Mean coin age metrics

- mean_age
- mean_age_90d
- mean_age_180d
- mean_age_365d
- mean_age_2y
- mean_age_3y
- mean_age_5y

Mean dollar invested age metrics

Mean dollar invested age metrics

- mean_dollar_invested_age
- mean_dollar_invested_age_90d
- mean_dollar_invested_age_180d
- mean_dollar_invested_age_365d
- mean_dollar_invested_age_2y
- mean_dollar_invested_age_3y
- mean_dollar_invested_age_5y
- mean_dollar_invested_age_change_1d
- mean_dollar_invested_age_change_7d
- mean_dollar_invested_age_change_30d