Bundler RPC
getUserOperationByHash
Learn how to use the getUserOperationByHash JSON-RPC method.
POST
/
#eth_getUserOperationByHash
Understanding getUserOperationByHash
getUserOperationByHash
returns a UserOperation object corresponding with a specific hash. It takes:hash
- string.
Query example
JSON
Body
application/json
jsonrpc
string
default: 2.0requiredVersion of the JSON-RPC protocol, should be 2.0.
id
integer
default: 1requiredThe request identifier.
chainId
integer
requiredThe chain ID.
method
enum<string>
requiredAPI method being called.
Available options:
eth_getUserOperationByHash
params
string[]
requiredHash of the user operation.
Response
200 - application/json
jsonrpc
string
default: 2.0requiredVersion of the JSON-RPC protocol, should be 2.0.
id
integer
default: 1requiredThe request identifier.
chainId
integer
requiredThe chain ID.
result
object
requiredDetails of the user operation.
Was this page helpful?