mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Add PoolL2Tx.Info about the status of the tx
PoolL2Tx.Info contains information about the status & State of the transaction. As for example, if the Tx has not been selected in the last batch due not enough Balance at the Sender account, this reason would appear at this parameter. This will help the client (wallet, batchexplorer, etc) to reason why a L2Tx is not selected in the forged batches.
This commit is contained in:
@@ -1314,6 +1314,12 @@ components:
|
||||
$ref: '#/components/schemas/Nonce'
|
||||
state:
|
||||
$ref: '#/components/schemas/PoolL2TransactionState'
|
||||
info:
|
||||
type: string
|
||||
description: "Info contains information about the status & State of the transaction. As for example, if the Tx has not been selected in the last batch due not enough Balance at the Sender account, this reason would appear at this parameter."
|
||||
pattern: ".*"
|
||||
example: "Tx not selected due not enough Balance at the sender."
|
||||
nullable: true
|
||||
signature:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/BJJSignature'
|
||||
@@ -1429,6 +1435,7 @@ components:
|
||||
- fee
|
||||
- nonce
|
||||
- state
|
||||
- info
|
||||
- signature
|
||||
- timestamp
|
||||
- batchNum
|
||||
|
||||
Reference in New Issue
Block a user