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

# eth_getUserOperationReceipt

> Returns a `UserOperationReceipt` given a `userOpHash`.



## OpenAPI

````yaml /paymaster-&-bundler/bundler-api-endpoints/erc4337/eth_getUserOperationReceipt.json post /rpc/{chainId}
openapi: 3.1.0
info:
  title: eth_getUserOperationReceipt
  version: 1.0.0
servers:
  - url: https://api.gelato.cloud
security: []
paths:
  /rpc/{chainId}:
    post:
      summary: eth_getUserOperationReceipt
      description: Returns a `UserOperationReceipt` given a `userOpHash`.
      parameters:
        - name: chainId
          in: path
          required: true
          schema:
            type: number
          description: Target network chain identifier.
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
          description: >-
            Gelato API key for higher rate limits. This must be provided if
            sponsoring off-chain via Gas Tank.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request'
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
components:
  schemas:
    Request:
      type: object
      properties:
        id:
          type: number
          default: 1
        jsonrpc:
          type: string
          default: '2.0'
        method:
          type: string
          default: eth_getUserOperationReceipt
        params:
          type: array
          minItems: 1
          maxItems: 1
          items:
            type: string
            description: >-
              The `userOpHash` of the `UserOperation` (as returned by
              `eth_sendUserOperation`)
            default: '0xa501bf1cbb27adecb09aef8adb58ab5fe423be7975d5a4f687408525e4cabee9'
    Response:
      type: object
      properties:
        id:
          type: number
          default: 1
        jsonrpc:
          type: string
          default: '2.0'
        result:
          type: object
          properties:
            userOpHash:
              type: string
              default: >-
                0x13574b2256b73bdc33fb121052f64b3803161e5ec602a6dc9e56177ba387e700
            entryPoint:
              $ref: '#/components/schemas/EntryPoint'
            sender:
              type: string
              default: '0x023fEF87894773DF227587d9B29af8D17b4dBB5A'
            nonce:
              type: string
              default: '0x1'
            paymaster:
              type: string
              default: null
            actualGasCost:
              type: string
              default: '0x6f75ef8d'
            actualGasUsed:
              type: string
              default: '0x329af'
            success:
              type: boolean
              default: true
            reason:
              type: string
              description: In case of revert, this is the revert reason.
              default: ''
            logs:
              type: array
              items:
                $ref: '#/components/schemas/Log'
              description: >-
                The logs generated by this `UserOperation` (not including logs
                of other operations in the same bundle).
            receipt:
              $ref: '#/components/schemas/Receipt'
              description: >-
                The `TransactionReceipt` object for the entire bundle, not only
                for this `UserOperation`.
    EntryPoint:
      type: string
      title: '`EntryPoint`'
      default: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789'
    Log:
      type: object
      title: '`Log`'
      properties:
        address:
          type: string
          default: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789'
        topics:
          type: array
          items:
            type: string
            default: '0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972'
        data:
          type: string
          default: 0x
        blockNumber:
          type: string
          default: '0x27fb22e'
        transactionHash:
          type: string
          default: '0x0f9b0e5868beaf345d8d55895c8037ae85adb91c422c00badcdcae8a0bf247a1'
        transactionIndex:
          type: string
          default: '0x4'
        blockHash:
          type: string
          default: '0x965e08190b1093c078bde81f67362203834784e34cf499d516f1a7b9c7a7b29e'
        logIndex:
          type: string
          default: '0x13'
        removed:
          type: boolean
          default: false
    Receipt:
      type: object
      title: '`Receipt`'
      properties:
        blockHash:
          type: string
          default: '0x965e08190b1093c078bde81f67362203834784e34cf499d516f1a7b9c7a7b29e'
        blockNumber:
          type: string
          default: '0x27fb22e'
        from:
          type: string
          default: '0x425d190ef5F561aFc8728593cA13EAf2FD9E3380'
        to:
          type: string
          default: '0x25aD59adbe00C2d80c86d01e2E05e1294DA84823'
        cumulativeGasUsed:
          type: string
          default: '0xe13e1'
        gasUsed:
          type: string
          default: '0x329af'
        contractAddress:
          type: string
          default: null
        logs:
          type: array
          items:
            $ref: '#/components/schemas/Log'
        logsBloom:
          type: string
          default: >-
            0x000000010000000000000000800000000000000000000008000000000200000000080000020000020002080100010000001080000000000000100210000000000000000000000008000000000000808010000000000000000001000000000000000000000e000000000000000000080000002200000000408880000000000040000020000000000001000000080000002040000000040000000000000008000020000000000100000040000000000000000000000000000000000220000000400000000000000000000100000010000044000000800020000a100000010020000000000040000081000000000000000000000000000000400000000000100000
        status:
          type: number
          default: 1
        type:
          type: string
          default: '0x2'
        transactionHash:
          type: string
          default: '0x0f9b0e5868beaf345d8d55895c8037ae85adb91c422c00badcdcae8a0bf247a1'
        transactionIndex:
          type: string
          default: '0x4'
        effectiveGasPrice:
          type: string
          default: '0x6f75ef8d'

````