Skip to content

Commit 1249d7b

Browse files
authored
Update docs for block_count arg (#2104)
1 parent 34875cc commit 1249d7b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/web3.eth.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,10 @@ The following methods are available on the ``web3.eth`` namespace.
10531053

10541054
Returns transaction fee data for up to 1,024 blocks.
10551055

1056-
:param block_count: The number of blocks in the requested range. This value should be an :py:class:`int` between 1
1057-
and 1024. Less than requested may be returned if not all blocks are available.
1058-
:type block_count: int
1056+
:param block_count: The number of blocks in the requested range. Depending on the client, this
1057+
value should be either a :py:class:`int` between 1 and 1024 or a hexstring.
1058+
Less than requested may be returned if not all blocks are available.
1059+
:type block_count: int or hexstring
10591060
:param newest_block: The newest, highest-numbered, block in the requested range. This value may be an
10601061
:py:class:`int` or one of the predefined block parameters ``'latest'``, ``'earliest'``, or ``'pending'``.
10611062
:type newest_block: int or BlockParams

newsfragments/2104.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update feeHistory docs

0 commit comments

Comments
 (0)