feat(docs): add transactionCount to getEpochInfo response

(cherry picked from commit aa13c90dd7)
This commit is contained in:
yihau
2021-10-12 01:58:41 +08:00
committed by Michael Vines
parent 307cda52ac
commit 6c4a8b2d72

View File

@ -923,6 +923,7 @@ The result field will be an object with the following fields:
- `epoch: <u64>`, the current epoch
- `slotIndex: <u64>`, the current slot relative to the start of the current epoch
- `slotsInEpoch: <u64>`, the number of slots in this epoch
- `transactionCount: <u64 | null>`, total number of transactions processed without error since genesis
#### Example:
@ -942,7 +943,8 @@ Result:
"blockHeight": 166500,
"epoch": 27,
"slotIndex": 2790,
"slotsInEpoch": 8192
"slotsInEpoch": 8192,
"transactionCount": 22661093
},
"id": 1
}