eth_sendUserOperation
Send UserOperation
This endpoint submits a User Operation object to the Bundler's User Operation pool. Upon successful submission, the result will return a userOpHash, but only if the request passes simulation and is accepted into the Bundler's User Operation pool. If the submission fails due to validation errors, simulation issues, or User Operation pool inclusion problems, the endpoint will return the corresponding failure reason.
For detailed information on the request and response objects, please refer ERC4337 spec
Parameters
Body
method
string
Name of method in this case: eth_sendUserOperation
Required
params
array
An array consisting of the UserOperation object, Entrypoint contract address
Required
id
string
id for request determined by client for JSON RPC requests
Required
jsonrpc
string
JSON RPC version in this case 2.0.0
Required
Request
Request Type: POST
Success Response
Failure Response
Last updated