eth_getUserOperationByHash

Return a UserOperation based on a userOpHash.

Limitations

This method method retrieves and decodes userOperations from the logs of mined transactions by querying the node. If you attempt to fetch a userOperation from a distant past block, the request may be rejected by the node due to limitations on the block range size it can process.

The default range we support is 150 blocks, however the following networks have an unlimited range.

  • Ethereum
  • Polygon
  • Base
  • Optimism
  • Worldchain
  • Arbitrum

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
userOpHashstringRequiredformat: "^0x[0-9a-f]{64}$"

The userOpHash of the UserOperation to retrieve.

Response

The UserOperation object.

entrypointV06Responseobject
entrypointV07Responseobject