hermez-node/api/state.go
api/state.goRaw
1package api
2
3import (
4 "github.com/hermeznetwork/hermez-node/common"
5 "github.com/hermeznetwork/hermez-node/db/historydb"
6 "github.com/hermeznetwork/hermez-node/eth"
7)
8
9// Status define status of the network
10type Status struct {
11 Network historydb.Network `json:"network"`
12 Metrics historydb.Metrics `json:"metrics"`
13 Rollup eth.RollupVariables `json:"rollup"`
14 Auction eth.AuctionVariables `json:"auction"`
15 WithdrawalDelayer eth.WDelayerVariables `json:"withdrawalDelayer"`
16 RecommendedFee common.RecommendedFee `json:"recommendedFee"`
17}