explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Add high-level network statistics

Open markmhendrickson opened this issue 3 years ago • 6 comments

The Explorer may be a good place for a section with high-level network statistics for the purpose of helping people gauge overall network activity and health.

Possible stats for display per day, month, year, etc:

  • Total transaction volume
  • Total STX volume
  • Total addresses with STX holdings
  • Total fungible and non-fungible tokens held on network
  • Total smart contracts deployed
  • Total unique smart contracts executed
  • Total usernames registered via BNS

This came up when meeting with @ades5.

markmhendrickson avatar Jan 25 '21 14:01 markmhendrickson

I agree completely, however this won't be possible to show in the explorer until it's exposed via the api / core node.

aulneau avatar Jan 25 '21 14:01 aulneau

Came here to add something like this only to see the issue created already. 🙌🏼 Looking forward to this when possible! 😁

GinaAbrams avatar Jan 25 '21 17:01 GinaAbrams

Total smart contracts deployed: https://stacks-node-api.mainnet.stacks.co/extended/v1/tx?type=smart_contract filtered by tx_status === "success"

friedger avatar Mar 02 '21 12:03 friedger

@He1DAr I really like this idea. Does the API currently provides this data?

andresgalante avatar Aug 02 '22 17:08 andresgalante

@rafaelcr If we wanted to implement this, do we have this data from the API?

andresgalante avatar Aug 04 '22 18:08 andresgalante

@andresgalante we have all the data necessary to calculate those stats but don't have the endpoints yet. We're tracking that effort here: https://github.com/hirosystems/stacks-blockchain-api/issues/1130

rafaelcr avatar Aug 04 '22 18:08 rafaelcr

:tada: This issue has been resolved in version 1.64.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Dec 08 '22 16:12 github-actions[bot]