mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Calulate total collected batch fee and fix merkleproof api format
This commit is contained in:
@@ -21,6 +21,7 @@ type Batch struct {
|
||||
ExitRoot Hash `meddler:"exit_root"`
|
||||
ForgeL1TxsNum *int64 `meddler:"forge_l1_txs_num"` // optional, Only when the batch forges L1 txs. Identifier that corresponds to the group of L1 txs forged in the current batch.
|
||||
SlotNum SlotNum `meddler:"slot_num"` // Slot in which the batch is forged
|
||||
TotalFeesUSD *float64 `meddler:"total_fees_usd"`
|
||||
}
|
||||
|
||||
// BatchNum identifies a batch
|
||||
|
||||
Reference in New Issue
Block a user