Skip to content

Commit 7e7ec30

Browse files
authored
Clarify ValueError: The method eth_sendTransaction (#2474)
* Clarify ValueError: The method eth_sendTransaction does not exist/is not available This confuses new user so better to put it directly in the docs
1 parent 548fd27 commit 7e7ec30

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/web3.eth.account.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ Example ``account_test_script.py``
9090
9191
print(f"Your hot wallet address is {account.address}")
9292
93+
# Now you can use web3.eth.send_transaction(), Contract.functions.xxx.transact() functions
94+
# with your local private key through middleware and you no longer get the error
95+
# "ValueError: The method eth_sendTransaction does not exist/is not available
96+
9397
Example how to run this in UNIX shell:
9498

9599
.. code-block:: shell
@@ -103,6 +107,7 @@ Example how to run this in UNIX shell:
103107
# Run our script
104108
python account_test_script.py
105109
110+
106111
This will print::
107112

108113
Your hot wallet address is 0x27C8F899bb69E1501BBB96d09d7477a2a7518918

newsfragments/2474.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add clarification around ValueError and Local Signing middleware

0 commit comments

Comments
 (0)