feat(docs): add transactionCount to getEpochInfo response

This commit is contained in:
yihau 2021-10-12 01:58:41 +08:00 committed by Michael Vines
parent f14365f4b4
commit aa13c90dd7
1 changed files with 3 additions and 1 deletions

View File

@ -927,6 +927,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:
@ -946,7 +947,8 @@ Result:
"blockHeight": 166500,
"epoch": 27,
"slotIndex": 2790,
"slotsInEpoch": 8192
"slotsInEpoch": 8192,
"transactionCount": 22661093
},
"id": 1
}