eth_sendUserOperation

Sends a UserOperation 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 parameters

apiKeystringRequired

Request

This endpoint expects an object.
UserOperationobjectRequired

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.

Entrypoint addressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

The entrypoint address the request should be sent through. This MUST be one of the entry points returned by the supportedEntryPoints RPC call.

Response

The calculated userOpHash for the UserOperation.