Add pending L1 txs to API

This commit is contained in:
arnaubennassar
2021-03-22 11:50:37 +01:00
parent 334eecc99e
commit 3fcec947b4
3 changed files with 11 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ type NetworkAPI struct {
LastBatch *BatchAPI `json:"lastBatch"`
CurrentSlot int64 `json:"currentSlot"`
NextForgers []NextForgerAPI `json:"nextForgers"`
PendingL1Txs int `json:"pendingL1Transactions"`
}
// NodePublicConfig is the configuration of the node that is exposed via API