other
To get tx/hours of last 24 hours Search for TxModel with DateF > last24h Count for each hour
To get tx/day of last month Search TxModel with DateF > last month Count each day
Add counter with total blocks, total tx, total address
store date hour, day, etc:
type DateModel struct {
Hour string `json:"hour"`
Day string `json:"day"`
Month string `json:"month"`
Amount float64 `json:"amount"`
BlockHash string `json:"blockhash"`
BlockHeight string `json:"blockheight"`
}
- mantain connection with wallet using websockets
- add 24h to hour analysis, to show also hours with 0 transactions