Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 80351c8

Browse files
committed
typo fixed 'earlist' => 'earliest' and getProof parameter documentation updated in web3-eth.rst
1 parent 1ef739b commit 80351c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/web3-eth.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ Parameters
677677
----------
678678

679679
1. ``String`` - The address to get the balance of.
680-
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
680+
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
681681
3. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
682682

683683
-------
@@ -718,7 +718,7 @@ Parameters
718718

719719
1. ``String`` - The address to get the storage from.
720720
2. ``Number|String|BN|BigNumber`` - The index position of the storage.
721-
3. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
721+
3. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
722722
4. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
723723

724724

@@ -756,7 +756,7 @@ Parameters
756756
----------
757757

758758
1. ``String`` - The address to get the code from.
759-
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
759+
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
760760
3. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
761761

762762
-------
@@ -1177,7 +1177,7 @@ Parameters
11771177
----------
11781178

11791179
1. ``String`` - The address to get the numbers of transactions from.
1180-
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
1180+
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
11811181
3. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
11821182

11831183
-------
@@ -1492,7 +1492,7 @@ Parameters
14921492
----------
14931493

14941494
1. ``Object`` - A transaction object see :ref:`web3.eth.sendTransaction <eth-sendtransaction-return>`, with the difference that for calls the ``from`` property is optional as well.
1495-
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
1495+
2. ``Number|String|BN|BigNumber`` - (optional) If you pass this parameter it will not use the default block set with :ref:`web3.eth.defaultBlock <eth-defaultblock>`. Pre-defined block numbers as ``"latest"``, ``"earliest"``, ``"pending"``, and ``"genesis"`` can also be used.
14961496
3. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
14971497

14981498
-------
@@ -1783,7 +1783,7 @@ Parameters
17831783

17841784
1. ``String`` 20 Bytes: The Address of the account or contract.
17851785
2. ``Number[] | BigNumber[] | BN[] | String[]`` 32 Bytes: Array of storage-keys which should be proofed and included. See :ref:`web3.eth.getStorageAt <eth-getStorageAt>`.
1786-
3. ``Number | String | BN | BigNumber``: Integer block number. Pre-defined block numbers as ``"latest"``, ``"earlist"``, ``"pending"``, and ``"genesis"`` can also be used.
1786+
3. ``Number | String | BN | BigNumber``: Integer block number. Pre-defined block numbers as ``"latest"``, ``"earliest"``, and ``"genesis"`` can also be used.
17871787
4. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
17881788

17891789
-------

0 commit comments

Comments
 (0)