Learn how to use the getUserOperationByHash JSON-RPC method.
getUserOperationByHashgetUserOperationByHash returns a UserOperation object corresponding with a specific hash. It takes:
hash - string.Request to retrieve a user operation by its hash.
Version of the JSON-RPC protocol, should be 2.0.
"2.0"
The request identifier.
1
The chain ID.
80001
API method being called.
eth_getUserOperationByHash Parameters for the API method call. Hash of the user operation.
Successful response with the user operation details.