> ## 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_submitKawpowBlock

> Submit a KawPoW-sealed parent block



## OpenAPI

````yaml specs/krnx_submitKawpowBlock.json POST /
openapi: 3.1.0
info:
  description: >-
    Generated from internal/krnxapi/krnx_mining_rpc_kawpow.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_submitKawpowBlock
      description: >-
        Submits a solved RVN-side KawPoW block for the template previously
        handed out by `krnx_getBlockTemplate`.
      operationId: krnx_submitKawpowBlock
      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_submitKawpowBlock
          example: krnx_submitKawpowBlock
          type: string
        params:
          description: 'Positional parameters: 1. `req` (object, required).'
          maxItems: 1
          minItems: 1
          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/KRNXSubmitShaBlockResponse'
      type: object
    KRNXSubmitShaBlockResponse:
      description: KRNXSubmitShaBlockResponse is what every pool submit method returns.
      properties:
        candidateMode:
          type: string
        difficulty:
          type: string
        hash:
          example: '0x0000000000000000000000000000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        number:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        parentBlockCandidate:
          type: boolean
        parentBlockHash:
          example: '0x0000000000000000000000000000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        pendingShareCount:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        rewardIneligibleReason:
          type: string
        status:
          type: string
        workshareId:
          example: '0x0000000000000000000000000000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
      required:
        - candidateMode
        - difficulty
        - hash
        - number
        - parentBlockCandidate
        - parentBlockHash
        - pendingShareCount
        - status
        - workshareId
      type: object

````