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
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: docs/web3-eth-accounts.rst
+5-3
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ Returns
163
163
- ``s`` - ``String``: Next 32 bytes of the signature
164
164
- ``v`` - ``String``: Recovery value + 27
165
165
- ``rawTransaction`` - ``String``: The RLP encoded transaction, ready to be send using :ref:`web3.eth.sendSignedTransaction <eth-sendsignedtransaction>`.
166
-
166
+
- ``transactionHash`` - ``String``: The transaction hash for the RLP encoded transaction.
It starts an WebSocket based JSON RPC API webserver to handle client requests. All the parameters are optional.
345
+
The RPC method used is ``admin_startWS``.
340
346
341
347
----------
342
348
Parameters
343
349
----------
344
350
345
351
1. ``host`` - ``String`` - (optional) The network interface to open the listener socket on (defaults to "localhost").
346
-
2. ``port`` - ``string | number`` - (optional) The network port to open the listener socket on (defaults to 8545).
352
+
2. ``port`` - ``number`` - (optional) The network port to open the listener socket on (defaults to 8545).
347
353
3. ``cors`` - ``string`` - (optional) Cross-origin resource sharing header to use (defaults to "").
348
354
4. ``apis`` - ``string`` - (optional) API modules to offer over this interface (defaults to "eth,net,web3").
349
355
5. ``Function`` - (optional) Optional callback, returns an error object as first parameter and the result as second.
@@ -376,6 +382,7 @@ stopRPC
376
382
admin.stopRPC([, callback])
377
383
378
384
This method closes the currently open HTTP RPC endpoint. As the node can only have a single HTTP endpoint running, this method takes no parameters, returning a boolean whether the endpoint was closed or not.
385
+
The RPC method used is ``admin_stopRPC``.
379
386
380
387
----------
381
388
Parameters
@@ -410,6 +417,7 @@ stopWS
410
417
admin.stopWS([, callback])
411
418
412
419
This method closes the currently open WebSocket RPC endpoint. As the node can only have a single WebSocket endpoint running, this method takes no parameters, returning a boolean whether the endpoint was closed or not.
Copy file name to clipboardexpand all lines: docs/web3-eth-miner.rst
+5-1
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ setExtra
36
36
miner.setExtra(extraData, [, callback])
37
37
38
38
This method allows miner to set extra data during mining the block.
39
+
The RPC method used is ``miner_setExtra``.
39
40
40
41
----------
41
42
Parameters
@@ -70,7 +71,7 @@ setGasPrice
70
71
miner.setGasPrice(gasPrice, [, callback])
71
72
72
73
This method allows to set minimal accepted gas price during mining transactions. Any transactions that are below this limit will get excluded from the mining process.
73
-
74
+
The RPC method used is ``miner_setGasPrice``.
74
75
----------
75
76
Parameters
76
77
----------
@@ -113,6 +114,7 @@ setEtherBase
113
114
miner.setEtherBase(address, [, callback])
114
115
115
116
Sets etherbase, where mining reward will go.
117
+
The RPC method used is ``miner_setEtherbase``.
116
118
117
119
----------
118
120
Parameters
@@ -152,6 +154,7 @@ start
152
154
miner.start(miningThread, [, callback])
153
155
154
156
Start the CPU mining process with the given number of threads.
Copy file name to clipboardexpand all lines: docs/web3-eth-txpool.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
.. include:: include_announcement.rst
4
4
5
-
===============
6
-
web3.eth.txpool
7
-
===============
5
+
==================
6
+
Web3 Txpool Module
7
+
==================
8
8
9
9
10
10
The ``web3-eth-txpool`` package gives you access to several non-standard RPC methods to inspect the contents of the transaction pool containing all the currently pending transactions as well as the ones queued for future processing.
0 commit comments