-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue - Analytics
#15
Comments
Some requirements: Granularity
Messages
Transactions
Outputs
Addresses
|
* 🚧 Still work in progress * 🚧 More WIP * Finished the remaining DTOs for you (#14) * Complete DTOs * Implement DTO types into API * Update src/dto/output/unlock_condition/mod.rs Co-authored-by: Jochen Görtler <[email protected]> * Bug fixes (#15) * Complete DTOs * Implement DTO types into API * Update src/dto/output/unlock_condition/mod.rs * Fix a bug when inserting metadata, and cache successful selects in solidifier to avoid many requests Co-authored-by: Jochen Görtler <[email protected]> * Add `Ed25519Address` * Rename to `stringify` * Move `LedgerInclusionState` and add `ConflictReason` * Fix docs * Bring branch up to main (#16) * chore!: remove `Archiver` (#125) Creating archive files is performed by Hornet. * fix!: improve compliance with core API spec (#116) * Fix * Format * Doc comment * Add TODO for missing comments Co-authored-by: Alexandcoats <[email protected]>
Analytics
hello, i think It would be nice to have a feature to see the "value" activity on tangle (i.e. the number of blocks that contain transaction payloads within a given time period only, excluding other message type of Milestone, Indexed and No payload). I think "value" TPS (or per day/week) is one of the important metrics from tokenomics point of view. |
This information is already (almost) provided by the proposed API, indirectly, as transactions per second/day/week can be calculated easily using the time period given to the API and the total count. However, this does not work if you do not send a start or end time. We could either:
|
In general it might be cool to have a |
Thanks for the feedback @dharam0034! We will provide block level statistics that can be used to generate such a graph. |
There are several statistics that can help us better understand how a network is used. The following analytic endpoints should be supported by Chronicle:
The activity analytics should be implemented for set time intervals of 24h, 7d, 30d, and 90d.
In addition to these required statistics @Alexandcoats has some more brainstorming ideas below, which we could tackle afterwards.
Here is what the endpoints will look like:
Activity
/activity ?startIndex & endIndex
/blocks
(total count)/transaction
/tagged-data
/milestone
/treasury-transaction
/outputs
(total count/amount created/alias
/basic
/nft
/foundry
/storage-deposit
/base-tokens
(use ledger update table)/native-tokens
(use ledger update table)/nfts
(use ledger update table)Ledger Status
/ledger ?ledger_index
(total count unspent)/storage-deposit
(byte cost at ledger index)/nfts
(count of the number of unspent nft ouputs)/native-tokens
(count of the number of unspent foundry outputs)The text was updated successfully, but these errors were encountered: