Bundler RPC
getUserOperationByHash
Learn how to use the getUserOperationByHash JSON-RPC method.
POST
Understanding getUserOperationByHash
getUserOperationByHash
returns a UserOperation object corresponding with a specific hash. It takes:hash
- string.
Query example
JSON
Body
application/json
Request to retrieve a user operation by its hash.
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
1
The chain ID.
Example:
80001
API method being called.
Available options:
eth_getUserOperationByHash
Hash of the user operation.
Response
200 - application/json
Successful response with the user operation details.
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
1
The chain ID.
Example:
80001
Details of the user operation.
Was this page helpful?