Skip to content

Using a custom signer gives "code": -32602, "message": "invalid 1st argument: userOperation invalid user operation fields" #812

Closed Answered by ebaizel
ebaizel asked this question in Issues
Discussion options

You must be logged in to vote

Of course, I resolved it right after opening this issue 😄

I needed to format the signature in Hex, so adding this line fixed it:

return `0x${signedPayload}` as Hex;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ebaizel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant