> ## Documentation Index
> Fetch the complete documentation index at: https://developers.particle.network/llms.txt
> Use this file to discover all available pages before exploring further.

# getUserOperationReceipt

> Learn how to use the getUserOperationReceipt JSON-RPC method.

## Understanding `getUserOperationReceipt`

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

***

## Query example

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


## OpenAPI

````yaml openapi-bundler POST /#eth_getUserOperationReceipt
openapi: 3.0.0
info:
  title: Particle Network Bundler
  version: 1.0.0
servers:
  - url: https://bundler.particle.network
security: []
paths:
  /#eth_getUserOperationReceipt:
    post:
      summary: getUserOperationReceipt
      operationId: getUserOperationReceipt
      requestBody:
        description: Request to retrieve the receipt of a user operation.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetUserOperationReceiptRequest'
      responses:
        '200':
          description: Successful response with the user operation receipt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserOperationReceiptResponse'
components:
  schemas:
    GetUserOperationReceiptRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - eth_getUserOperationReceipt
            params:
              type: array
              description: Hash of the user operation.
              items:
                type: string
                example: 0xOperationHash
    GetUserOperationReceiptResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: object
              description: Receipt of the user operation.
              properties:
                userOpHash:
                  type: string
                  example: 0xUserOpHash
                sender:
                  type: string
                  example: 0xSenderAddress
                nonce:
                  type: string
                  example: '0x1'
                actualGasCost:
                  type: string
                  example: 0xActualGasCost
                actualGasUsed:
                  type: string
                  example: 0xActualGasUsed
                success:
                  type: boolean
                  example: true
                logs:
                  type: array
                  items:
                    type: object
                receipt:
                  type: object
                isPending:
                  type: boolean
                  example: false
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The chain ID.
          example: 80001
        method:
          type: string
          description: API method being called.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      required:
        - jsonrpc
        - id
        - result
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The chain ID.
          example: 80001
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}

````