API State RecommendedFee

This commit is contained in:
laisolizq
2020-11-09 17:01:35 +01:00
parent a1b9720e77
commit 9edf9d2168
4 changed files with 65 additions and 5 deletions

View File

@@ -10,6 +10,12 @@ import (
"github.com/hermeznetwork/hermez-node/db/statedb"
)
// TODO: Add correct values to constants
const (
createAccountExtraFeePercentage float64 = 2
createAccountInternalExtraFeePercentage float64 = 2.5
)
// Status define status of the network
type Status struct {
Network Network `json:"network"`