From 0faa7681793a9706c1109fe699c6eb2cc2dab9ac Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Fri, 16 Apr 2021 13:01:30 -0700 Subject: [PATCH] add API return info for getBlockTxnCount methods Signed-off-by: Alexandra Tran --- docs/Reference/API-Methods.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/Reference/API-Methods.md b/docs/Reference/API-Methods.md index 3fa5255463c..bfb3cf55fb0 100644 --- a/docs/Reference/API-Methods.md +++ b/docs/Reference/API-Methods.md @@ -1698,7 +1698,8 @@ Returns the number of transactions in the block matching the given block hash. #### Returns -`result` : `quantity` - Integer representing the number of transactions in the specified block. +`result` : `quantity` - Integer representing the number of transactions in the specified block, +or `null` if no matching block hash is found. !!! example @@ -1764,7 +1765,8 @@ Returns the number of transactions in a block matching the specified block numbe #### Returns -`result` : *QUANTITY* - Integer representing the number of transactions in the specified block. +`result` : *QUANTITY* - Integer representing the number of transactions in the specified block, +or `null` if no matching block number is found. !!! example