I need to find an API giving the total number of unique addresses used on the Ethereum Classic blockchain.
For example, the following API provides it for Ethereum: https://etherscan.io/chart/address
Is there a similar API for ETC?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityI need to find an API giving the total number of unique addresses used on the Ethereum Classic blockchain.
For example, the following API provides it for Ethereum: https://etherscan.io/chart/address
Is there a similar API for ETC?
It is hard to tell what exactly Etherscan.io counts on that chart. I tried to reproduce it via Google BigQuery but didn't manage to get the same result. Here is what I tried:
SELECT COUNT(*)
FROM `bigquery-public-data.crypto_ethereum.balances`;
Gives me 104,951,247
for Ethereum and 73,653,935
for Ethereum Classic.
SELECT count(*)
FROM (
SELECT `from_address`
FROM `bigquery-public-data.crypto_ethereum.transactions`
UNION DISTINCT
SELECT `to_address`
FROM `bigquery-public-data.crypto_ethereum.transactions`
UNION DISTINCT
SELECT `from_address`
FROM `bigquery-public-data.crypto_ethereum.traces`
UNION DISTINCT
SELECT `to_address`
FROM `bigquery-public-data.crypto_ethereum.traces`
)
Gives me 105,040,917
for Ethereum and 73,693,901
for Ethereum Classic.
You may play with the queries above and probably you will find out how Etherscan.io counts addresses.
total number of unique addresses used in transactions
or, in other words,total number of unique addresses ever seen on the blockchain
Hope that's clear.