Skip to content

Commit

Permalink
feat(docs): add transactionCount to getEpochInfo response
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau authored and mvines committed Oct 25, 2021
1 parent f14365f commit aa13c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/developing/clients/jsonrpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -946,7 +947,8 @@ Result:
"blockHeight": 166500,
"epoch": 27,
"slotIndex": 2790,
"slotsInEpoch": 8192
"slotsInEpoch": 8192,
"transactionCount": 22661093
},
"id": 1
}
Expand Down

0 comments on commit aa13c90

Please sign in to comment.