From aa13c90dd7011837a9782b8840019c17b11642a6 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 --- 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 4c5aa08f98..309a3f05fe 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -927,6 +927,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: @@ -946,7 +947,8 @@ Result: "blockHeight": 166500, "epoch": 27, "slotIndex": 2790, - "slotsInEpoch": 8192 + "slotsInEpoch": 8192, + "transactionCount": 22661093 }, "id": 1 }