Skip to content

Commit aaf5c06

Browse files
committed
Update links for geth namespaced api docs
1 parent 6a0c7ca commit aaf5c06

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

web3/geth.py

+25-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def __call__(
6464

6565

6666
class GethPersonal(Module):
67+
"""
68+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-personal
69+
"""
70+
6771
is_async = False
6872

6973
ec_recover: Method[Callable[[str, HexStr], ChecksumAddress]] = Method(
@@ -120,6 +124,10 @@ class GethPersonal(Module):
120124

121125

122126
class GethTxPool(Module):
127+
"""
128+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool
129+
"""
130+
123131
is_async = False
124132

125133
content: Method[Callable[[], TxPoolContent]] = Method(
@@ -160,6 +168,10 @@ def admin_start_params_munger(
160168

161169

162170
class GethAdmin(Module):
171+
"""
172+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin
173+
"""
174+
163175
is_async = False
164176

165177
add_peer: Method[Callable[[EnodeURI], bool]] = Method(
@@ -205,7 +217,7 @@ class GethAdmin(Module):
205217

206218
class GethMiner(Module):
207219
"""
208-
https://github.com/ethereum/go-ethereum/wiki/Management-APIs#miner
220+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-miner
209221
"""
210222

211223
make_dag = make_dag
@@ -228,6 +240,10 @@ class Geth(Module):
228240

229241

230242
class AsyncGethTxPool(Module):
243+
"""
244+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool
245+
"""
246+
231247
is_async = True
232248

233249
_content: Method[Callable[[], Awaitable[TxPoolContent]]] = Method(
@@ -256,6 +272,10 @@ async def status(self) -> TxPoolStatus:
256272

257273

258274
class AsyncGethAdmin(Module):
275+
"""
276+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin
277+
"""
278+
259279
is_async = True
260280

261281
_add_peer: Method[Callable[[EnodeURI], Awaitable[bool]]] = Method(
@@ -340,6 +360,10 @@ async def stop_ws(self) -> bool:
340360

341361

342362
class AsyncGethPersonal(Module):
363+
"""
364+
https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-personal
365+
"""
366+
343367
is_async = True
344368

345369
# ec_recover

0 commit comments

Comments
 (0)