signer.sendTransaction() can be signed successfully but an error is reported, missing from address #4235
RookieBomb
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.7.2
Search Terms
No response
Describe the Problem

I used the signer.sendTransaction() method for swap, and I included all the necessary parameters, including from.
When I used this method to transact, the transaction succeeded, but the method itself reported an error as follows:
{reason: 'missing from address', code: 'INVALID_ARGUMENT', argument: 'transaction', value: {jsonrpc: '2.0', id:1689067341921, result: null}, transactionHash:"********************************"}
By looking up the code, it was found that the error was issued here:
This creates problems, transactions that should theoretically fail succeed, and the flow is blocked
Code Snippet
Errors
{reason: 'missing from address', code: 'INVALID_ARGUMENT', argument: 'transaction', value: {jsonrpc: '2.0', id:1689067341921, result: null}, transactionHash:"********************************"}
Does anyone know why that is?
Beta Was this translation helpful? Give feedback.
All reactions