@@ -64,6 +64,10 @@ def __call__(
64
64
65
65
66
66
class GethPersonal (Module ):
67
+ """
68
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-personal
69
+ """
70
+
67
71
is_async = False
68
72
69
73
ec_recover : Method [Callable [[str , HexStr ], ChecksumAddress ]] = Method (
@@ -120,6 +124,10 @@ class GethPersonal(Module):
120
124
121
125
122
126
class GethTxPool (Module ):
127
+ """
128
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool
129
+ """
130
+
123
131
is_async = False
124
132
125
133
content : Method [Callable [[], TxPoolContent ]] = Method (
@@ -160,6 +168,10 @@ def admin_start_params_munger(
160
168
161
169
162
170
class GethAdmin (Module ):
171
+ """
172
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin
173
+ """
174
+
163
175
is_async = False
164
176
165
177
add_peer : Method [Callable [[EnodeURI ], bool ]] = Method (
@@ -205,7 +217,7 @@ class GethAdmin(Module):
205
217
206
218
class GethMiner (Module ):
207
219
"""
208
- https://github.com/ ethereum/go-ethereum/wiki/Management-APIs# miner
220
+ https://geth. ethereum.org/docs/interacting-with-geth/rpc/ns- miner
209
221
"""
210
222
211
223
make_dag = make_dag
@@ -228,6 +240,10 @@ class Geth(Module):
228
240
229
241
230
242
class AsyncGethTxPool (Module ):
243
+ """
244
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool
245
+ """
246
+
231
247
is_async = True
232
248
233
249
_content : Method [Callable [[], Awaitable [TxPoolContent ]]] = Method (
@@ -256,6 +272,10 @@ async def status(self) -> TxPoolStatus:
256
272
257
273
258
274
class AsyncGethAdmin (Module ):
275
+ """
276
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin
277
+ """
278
+
259
279
is_async = True
260
280
261
281
_add_peer : Method [Callable [[EnodeURI ], Awaitable [bool ]]] = Method (
@@ -340,6 +360,10 @@ async def stop_ws(self) -> bool:
340
360
341
361
342
362
class AsyncGethPersonal (Module ):
363
+ """
364
+ https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-personal
365
+ """
366
+
343
367
is_async = True
344
368
345
369
# ec_recover
0 commit comments