You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <codeclass="docutils literal"><spanclass="pre">web3.eth.accounts</span></code> contains functions to generate Ethereum accounts and sign transactions and data.</p>
@@ -563,7 +558,7 @@ <h2>wallet.add<a class="headerlink" href="#wallet-add" title="Permalink to this
563
558
<divclass="section" id="id29">
564
559
<h3>Parameters<aclass="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
565
560
<olclass="arabic simple">
566
-
<li><codeclass="docutils literal"><spanclass="pre">account</span></code> - <codeclass="docutils literal"><spanclass="pre">String|Object</span></code>: A private key or account object created with <aclass="reference internal" href="#accounts-create"><spanclass="std std-ref">web3.eth.accounts.new()</span></a>.</li>
561
+
<li><codeclass="docutils literal"><spanclass="pre">account</span></code> - <codeclass="docutils literal"><spanclass="pre">String|Object</span></code>: A private key or account object created with <aclass="reference internal" href="#accounts-create"><spanclass="std std-ref">web3.eth.accounts.create()</span></a>.</li>
@@ -734,6 +737,7 @@ <h3>Parameters<a class="headerlink" href="#id32" title="Permalink to this headli
734
737
<p>The structure of the returned event <codeclass="docutils literal"><spanclass="pre">Object</span></code> looks as follows:</p>
735
738
<ulclass="simple">
736
739
<li><codeclass="docutils literal"><spanclass="pre">event</span></code> - <codeclass="docutils literal"><spanclass="pre">String</span></code>: The event name.</li>
740
+
<li><codeclass="docutils literal"><spanclass="pre">signature</span></code> - <codeclass="docutils literal"><spanclass="pre">String|Null</span></code>: The event signature, <codeclass="docutils literal"><spanclass="pre">null</span></code> if its an anonymous event.</li>
737
741
<li><codeclass="docutils literal"><spanclass="pre">address</span></code> - <codeclass="docutils literal"><spanclass="pre">String</span></code>: From which this event originated from.</li>
738
742
<li><codeclass="docutils literal"><spanclass="pre">returnValues</span></code> - <codeclass="docutils literal"><spanclass="pre">Object</span></code>: The return values coming from the event, e.g. <codeclass="docutils literal"><spanclass="pre">{myVar:</span><spanclass="pre">1,</span><spanclass="pre">myVar2:</span><spanclass="pre">'0x234...'}</span></code>.</li>
739
743
<li><codeclass="docutils literal"><spanclass="pre">logIndex</span></code> - <codeclass="docutils literal"><spanclass="pre">Number</span></code>: Integer of the event index position in the block.</li>
@@ -771,6 +775,7 @@ <h3>Example<a class="headerlink" href="#id34" title="Permalink to this headline"
Copy file name to clipboardExpand all lines: docs/_build/html/web3-eth-personal.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -373,6 +373,7 @@ <h3>Parameters<a class="headerlink" href="#id15" title="Permalink to this headli
373
373
<olclass="arabic simple">
374
374
<li><codeclass="docutils literal"><spanclass="pre">String</span></code> - Data to sign. If String it will be converted using <aclass="reference internal" href="web3-utils.html#utils-utf8tohex"><spanclass="std std-ref">web3.utils.utf8ToHex</span></a>.</li>
375
375
<li><codeclass="docutils literal"><spanclass="pre">String</span></code> - Address to sign data with.</li>
376
+
<li><codeclass="docutils literal"><spanclass="pre">String</span></code> - The password of the account to sign data with.</li>
376
377
<li><codeclass="docutils literal"><spanclass="pre">Function</span></code> - (optional) Optional callback, returns an error object as first parameter and the result as second.</li>
Copy file name to clipboardExpand all lines: docs/_build/html/web3-utils.html
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ <h2>sha3<a class="headerlink" href="#sha3" title="Permalink to this headline">¶
215
215
<p>Will calculate the sha3 of the input.</p>
216
216
<divclass="admonition note">
217
217
<pclass="first admonition-title">Note</p>
218
-
<pclass="last">To mimick the sha3 behaviour of solidity use <aclass="reference internal" href="#utils-soliditysha3"><spanclass="std std-ref">soliditySah3</span></a></p>
218
+
<pclass="last">To mimic the sha3 behaviour of solidity use <aclass="reference internal" href="#utils-soliditysha3"><spanclass="std std-ref">soliditySah3</span></a></p>
219
219
</div>
220
220
<divclass="section" id="id12">
221
221
<h3>Parameters<aclass="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
@@ -253,7 +253,8 @@ <h3>Example<a class="headerlink" href="#id14" title="Permalink to this headline"
0 commit comments