eth_sendUserOperation

Sends a user operation to the given EVM network.

📘

Supported EntryPoints

eth_sendUserOperation supports versions v0.6 and v0.7 of ERC-4337. Check our FAQs to determine which version you should use.

🚧

Replacement Underpriced Error

You might get a "Replacement Underpriced Error" when using eth_sendUserOperation. View our FAQs for a description of this error along with resolution steps.

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to eth_sendUserOperation
params
array
length between 2 and 2
  1. Object - The UserOperation object. This can be either a v0.6 or v0.7 user operation, but MUST match the version of the entry point at the address of the second parameter.
  2. String - The entrypoint address the request should be sent through. This MUST be one of the entry points returned by the supportedEntryPoints rpc call and match the version of the user operation in the first parameter.
params
Response

Response body
object
integer
string
string

The calculated userOpHash for the valid UserOperation

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub