mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
API add get state
This commit is contained in:
@@ -1482,3 +1482,9 @@ func (hdb *HistoryDB) GetAccountsAPI(tokenIDs []common.TokenID, ethAddr *ethComm
|
||||
LastItem: accounts[0].LastItem,
|
||||
}, nil
|
||||
}
|
||||
|
||||
// GetMetrics returns metrics
|
||||
func (hdb *HistoryDB) GetMetrics() (Metrics, error) {
|
||||
metrics := Metrics{}
|
||||
return metrics, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user