eth_getUserOperationByHash
Return a UserOperation
based on a userOpHash
.
Supported EntryPoints
eth_getUserOperationByHash
supports both v0.6 and v0.7 userOps. The format of the returned userOp depends on the version found with the requested hash. Check our FAQs to determine which version you should use.
Limitations
The eth_getUserOperationByHash
method retrieves and decodes user operations from the logs of mined transactions by querying the node. If you attempt to fetch a receipt for a transaction 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
Request
The userOpHash
of the UserOperation
to retrieve.
Response
The UserOperation
object.