Merge pull request #411 from hermeznetwork/feature/forged-txs-in-batchesapi

Add forged txs in batch endpoints response
This commit is contained in:
Eduard S
2020-12-23 12:07:45 +01:00
committed by GitHub
4 changed files with 18 additions and 2 deletions

View File

@@ -2086,6 +2086,10 @@ components:
nullable: true
slotNum:
$ref: '#/components/schemas/SlotNum'
forgedTransactions:
type: integer
description: Amount of forged transactions in this batch.
example: 318
additionalProperties: false
required:
- itemId
@@ -2101,6 +2105,7 @@ components:
- exitRoot
- forgeL1TransactionsNum
- slotNum
- forgedTransactions
FullBatch:
type: object
description: Group of transactions forged in a coordinator and sent and validated in Ethereum.