---
title: "POST /next_light_client_block"
method: POST
path: "/next_light_client_block"
---

# POST /next_light_client_block

`POST /next_light_client_block`

## Request

- The document declares no server URL.
- Auth: none declared

Returns the next light client block.

## Request body

- JsonRpcRequestForNextLightClientBlock
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'next_light_client_block', required
  - `params` RpcLightClientNextBlockRequest, required
    - `last_block_hash` string, required

## Response `200`

- union
  - object
    - `result` RpcLightClientNextBlockResponse, required: A state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).
      - `approvals_after_next` Signature[]
      - `inner_lite` BlockHeaderInnerLiteView: Inner part of the block header that gets hashed, split into two parts, one that is sent to light clients, and the rest
        - `block_merkle_root` string, required: The merkle root of all the block hashes
        - `chunk_execution_root` string, nullable
        - `epoch_id` string, required: The epoch to which the block that is the current known head belongs
        - `height` integer, required
        - `next_bp_hash` string, required: The hash of the block producers set for the next epoch
        - `next_epoch_id` string, required: The epoch that will follow the current epoch
        - `outcome_root` string, required
        - `prev_state_root` string, required
        - `timestamp` integer, required: Legacy json number. Should not be used.
        - `timestamp_nanosec` string, required
      - `inner_rest_hash` string
      - `next_block_inner_hash` string
      - `next_bps` ValidatorStakeView[], nullable
        - ValidatorStakeView
          - [`ValidatorStakeViewV1`](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57/schema?at=%2Fcomponents%2Fschemas%2FValidatorStakeViewV1)
          - object
            - `validator_stake_struct_version` 'V1', required
      - `prev_block_hash` string
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
          - object
            - `info` object, required
            - `name` 'UNKNOWN_BLOCK', required
          - object
            - `info` object, required
              - …
            - `name` 'EPOCH_OUT_OF_BOUNDS', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

## Changes

- **2026-08-05** `488ac537ef6e`: 1 info
  - added the optional property `oneOf[subschema #1]/result/inner_lite/allOf[#/components/schemas/BlockHeaderInnerLiteView]/chunk_execution_root` to the response with the `200` status
- **2025-11-17** `7a2ca0a8ec29`: 4 breaking, 3 warning, 1 info
  - added `subschema #2, subschema #3` to the `oneOf[subschema #2]/error` response property `oneOf` list for the response status `200`
  - the `oneOf[subschema #2]/error` response's property type changed from `object` to no type for status `200`
  - removed the required property `oneOf[subschema #2]/error/code` from the response with the `200` status
  - removed the required property `oneOf[subschema #2]/error/message` from the response with the `200` status
  - …4 more
- **2025-07-17** `3e2ba6171658`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`

[Operation history](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/changes/next_light_client_block/post.md)

---

[API](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3.md) - [All operations](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57?raw)
