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

> Future lockups for a beneficiary



## OpenAPI

````yaml specs/krnx_getRewardSchedule.json POST /
openapi: 3.1.0
info:
  description: >-
    Generated from internal/krnxapi/krnx_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_getRewardSchedule
      description: >-
        Returns the indexed future lockups for a beneficiary as of the selected
        state-backed block.


        Lockups are time-based: the unlock time is `lockedAt +
        DefaultKRNXRewardLockupSeconds`. `fromBlock` and `toBlock` narrow the
        indexed range and are hex quantities.
      operationId: krnx_getRewardSchedule
      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_getRewardSchedule
          example: krnx_getRewardSchedule
          type: string
        params:
          description: >-
            Positional parameters: 1. `address` (string, required). 2.
            `blockNrOrHash` (string, required). 3. `fromBlock` (string,
            optional). 4. `toBlock` (string, optional).
          example:
            - '0x299f5F0Ae73248455543Da5A8E14195Bc9CA1D22'
            - latest
            - '0x0'
            - '0x100000'
          maxItems: 4
          minItems: 2
          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/krnxRewardScheduleResult'
      type: object
    krnxRewardScheduleResult:
      properties:
        address:
          example: '0x0000000000000000000000000000000000000000'
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        blockNumber:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        entries:
          items:
            $ref: '#/components/schemas/krnxRewardScheduleEntryResult'
          type: array
        fromBlock:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
        toBlock:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
      required:
        - address
        - blockNumber
        - entries
      type: object
    krnxRewardScheduleEntryResult:
      properties:
        amount:
          $ref: '#/components/schemas/krnxAmountResult'
        kind:
          type: string
        lockedAt:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          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
        unlockTime:
          description: 0x-prefixed hex quantity.
          pattern: ^0x[0-9a-fA-F]+$
          type: string
      required:
        - kind
        - lockedAt
        - parentChainId
        - sourceBlock
        - unlockTime
      type: object
    krnxAmountResult:
      properties:
        decimal:
          type: string
        raw:
          type: string
      required:
        - decimal
        - raw
      type: object

````