Skip to content

Commit c2e4bc4

Browse files
add API return info for getBlockTxnCount methods (#682)
Signed-off-by: Alexandra Tran <[email protected]>
1 parent 78398c0 commit c2e4bc4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/Reference/API-Methods.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,8 @@ Returns the number of transactions in the block matching the given block hash.
16981698

16991699
#### Returns
17001700

1701-
`result` : `quantity` - Integer representing the number of transactions in the specified block.
1701+
`result` : `quantity` - Integer representing the number of transactions in the specified block,
1702+
or `null` if no matching block hash is found.
17021703

17031704
!!! example
17041705

@@ -1764,7 +1765,8 @@ Returns the number of transactions in a block matching the specified block numbe
17641765

17651766
#### Returns
17661767

1767-
`result` : *QUANTITY* - Integer representing the number of transactions in the specified block.
1768+
`result` : *QUANTITY* - Integer representing the number of transactions in the specified block,
1769+
or `null` if no matching block number is found.
17681770

17691771
!!! example
17701772

0 commit comments

Comments
 (0)