POST
/
#eth_getUserOperationReceipt

Understanding getUserOperationReceipt

  • getUserOperationReceipt returns a detailed object containing specific transaction details for a given user operation hash. It takes:
    • hash - string.

Query example

JSON
{
  "method": "eth_getUserOperationReceipt",
  "params": [
    // user operation hash
    "0x1ee478a6e967c407e8dfb5e3f2eb1131a7418c36396147fce1f7e81a871102a3"
  ],
  "id": 1695717473,
  "jsonrpc": "2.0",
  "chainId": 80001
}

Body

application/json
jsonrpc
string
default: 2.0required

Version of the JSON-RPC protocol, should be 2.0.

id
integer
default: 1required

The request identifier.

chainId
integer
required

The chain ID.

method
enum<string>
required

API method being called.

Available options:
eth_getUserOperationReceipt
params
string[]
required

Hash of the user operation.

Response

200 - application/json
jsonrpc
string
default: 2.0required

Version of the JSON-RPC protocol, should be 2.0.

id
integer
default: 1required

The request identifier.

chainId
integer
required

The chain ID.

result
object
required

Receipt of the user operation.