From 6c4a8b2d72d43d180c28c91c8c624b3b215bb741 Mon Sep 17 00:00:00 2001 From: yihau Date: Tue, 12 Oct 2021 01:58:41 +0800 Subject: [PATCH] feat(docs): add transactionCount to getEpochInfo response (cherry picked from commit aa13c90dd7011837a9782b8840019c17b11642a6) --- docs/src/developing/clients/jsonrpc-api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index 2f1618e1c4..1b66863ec0 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -923,6 +923,7 @@ The result field will be an object with the following fields: - `epoch: `, the current epoch - `slotIndex: `, the current slot relative to the start of the current epoch - `slotsInEpoch: `, the number of slots in this epoch +- `transactionCount: `, 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 }