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

> Everything one block paid out



## OpenAPI

````yaml specs/krnx_getBlockReward.json POST /
openapi: 3.1.0
info:
  description: >-
    Generated from internal/krnxapi/krnx_block_reward_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_getBlockReward
      description: >-
        Returns the full reward breakdown for a single KRNX block: the sealer
        subsidy, uncle shares, per-workshare amounts, and the priority-fee pool
        split layered on top.


        The priority-fee pool is the one input that cannot be read back from
        state, so it is reconstructed from the block's own transactions exactly
        as the workshare reward index does. Both therefore agree, and both would
        understate a block that inherited a pool an earlier block failed to
        split.
      operationId: krnx_getBlockReward
      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_getBlockReward
          example: krnx_getBlockReward
          type: string
        params:
          description: >-
            Positional parameters: 1. `blockNrOrHash` (string, required). 2.
            `verbose` (boolean, optional).
          example:
            - latest
            - true
          maxItems: 2
          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/krnxBlockRewardResult'
      type: object
    krnxBlockRewardResult:
      properties:
        blockHash:
          example: '0x0000000000000000000000000000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{64}$
          type: string
        blockNumber:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        difficulty:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        lockedAt:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        miner:
          example: '0x0000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        priorityFeePool:
          $ref: '#/components/schemas/krnxAmountResult'
        sealer:
          $ref: '#/components/schemas/krnxBlockRewardRecipientResult'
        status:
          type: string
        total:
          $ref: '#/components/schemas/krnxBlockRewardGroupResult'
        uncles:
          items:
            $ref: '#/components/schemas/krnxBlockRewardRecipientResult'
          type: array
        unlockTime:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        workshareRecipients:
          items:
            $ref: '#/components/schemas/krnxBlockRewardRecipientResult'
          type: array
        workshares:
          $ref: '#/components/schemas/krnxBlockRewardGroupResult'
      required:
        - blockHash
        - blockNumber
        - lockedAt
        - miner
        - status
        - uncles
        - unlockTime
      type: object
    krnxAmountResult:
      properties:
        decimal:
          type: string
        raw:
          type: string
      required:
        - decimal
        - raw
      type: object
    krnxBlockRewardRecipientResult:
      properties:
        baseReward:
          $ref: '#/components/schemas/krnxAmountResult'
        beneficiary:
          example: '0x0000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        feeReward:
          $ref: '#/components/schemas/krnxAmountResult'
        kind:
          type: string
        parentChain:
          type: string
        parentChainId:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        sourceBlock:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        totalReward:
          $ref: '#/components/schemas/krnxAmountResult'
        workshareIndex:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
      required:
        - beneficiary
        - kind
        - sourceBlock
      type: object
    krnxBlockRewardGroupResult:
      properties:
        baseReward:
          $ref: '#/components/schemas/krnxAmountResult'
        count:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        feeReward:
          $ref: '#/components/schemas/krnxAmountResult'
        totalReward:
          $ref: '#/components/schemas/krnxAmountResult'
      required:
        - count
      type: object

````