interlay / interbtc-squid

Subquid GraphQL schema and indexer for the Interlay and Kintsugi networks
Apache License 2.0
4 stars 7 forks source link

Store number of daily transactions as cummulitave volume query #110

Open nud3l opened 1 year ago

nud3l commented 1 year ago

Store number of transactions:

We can use this to determine overall total transactions and also do a breakdown by user. This kind of query is not possible to do in airflow as querying the chain state for this is not feasible with the number of accounts that we currently have.

Suggested return shape same as cumulativeDexTradeCounts and cumulativeDexTradeCountPerAccounts.

Required for https://github.com/interlay/airflow/issues/5