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

# krnx_getMiningInfo

> Mining status of the node



## OpenAPI

````yaml specs/krnx_getMiningInfo.json POST /
openapi: 3.1.0
info:
  description: >-
    Generated from internal/krnxapi/krnx_mining_rpc.go by tools/rpcdocgen. Do
    not edit by hand.
  title: KRNX JSON-RPC
  version: 1.0.0
servers:
  - url: https://rpc.kronex.network
security: []
paths:
  /:
    post:
      summary: krnx_getMiningInfo
      description: >-
        Returns the node's current mining view: chain head, difficulty, and the
        parent chains it is prepared to merge-mine against.
      operationId: krnx_getMiningInfo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
          description: JSON-RPC response
components:
  schemas:
    Request:
      properties:
        id:
          example: 1
          type: integer
        jsonrpc:
          enum:
            - '2.0'
          example: '2.0'
          type: string
        method:
          enum:
            - krnx_getMiningInfo
          example: krnx_getMiningInfo
          type: string
        params:
          description: This method takes no parameters.
          example: []
          maxItems: 0
          minItems: 0
          type: array
      required:
        - jsonrpc
        - method
        - params
        - id
      type: object
    Response:
      properties:
        error:
          description: Present instead of `result` when the call fails.
          properties:
            code:
              example: -32602
              type: integer
            message:
              type: string
          type: object
        id:
          example: 1
          type: integer
        jsonrpc:
          example: '2.0'
          type: string
        result:
          $ref: '#/components/schemas/KRNXGetMiningInfoResponse'
      type: object
    KRNXGetMiningInfoResponse:
      properties:
        inclusionWindowBlocks:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
      required:
        - inclusionWindowBlocks
      type: object

````