mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 11:38:12 +00:00
small doc addition
This commit is contained in:
parent
5211feb9c7
commit
683c0826e3
@ -26,11 +26,11 @@ The ``web3-eth`` package allows you to interact with an Ethereum blockchain and
|
||||
Note on checksum addresses
|
||||
=======
|
||||
|
||||
All Ethereum addresses returned by function of this package are checksum addresses.
|
||||
All Ethereum addresses returned by functions of this package are returned as checksum addresses.
|
||||
This means some letters are uppercase and some are lowercase.
|
||||
Based on that it will calculate a checksum for the address and prove its correctness.
|
||||
Incorrect checksum address will throw an error when passed into a function.
|
||||
If you want to circumvent the checksum check you can make an address all lowercase or uppercase.
|
||||
Incorrect checksum address will throw an error when passed into functions.
|
||||
If you want to circumvent the checksum check you can make an address all lower- or uppercase.
|
||||
|
||||
|
||||
-------
|
||||
@ -40,7 +40,7 @@ Example
|
||||
.. code-block:: javascript
|
||||
|
||||
web3.eth.getAccounts(console.log);
|
||||
> ["0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe"]
|
||||
> ["0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe" ,"0x85F43D8a49eeB85d32Cf465507DD71d507100C1d"]
|
||||
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user