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

# POST /EXPERIMENTAL_light_client_proof

`POST /EXPERIMENTAL_light_client_proof`

## Request

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

Returns the proofs for a transaction execution.

## Request body

- JsonRpcRequestForEXPERIMENTALLightClientProof
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'EXPERIMENTAL_light_client_proof', required
  - `params` union, required
    - object
      - `sender_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
      - `transaction_hash` string, required
      - `type` 'transaction', required
      - `light_client_head` string, required
    - object
      - `receipt_id` string, required
      - `receiver_id` string, required: NEAR Account Identifier. This is a unique, syntactically valid, human-readable account identifier on the NEAR network. [See the crate-level docs for information about validation.](index.html#account-id-rules) Also see [Error kind precedence](AccountId#error-kind-precedence). ## Examples ``` use near_account_id::AccountId; let alice: AccountId = "alice.near".parse().unwrap(); assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f) ```
      - `type` 'receipt', required
      - `light_client_head` string, required

## Response `200`

- union
  - object
    - `result` RpcLightClientExecutionProofResponse, required
      - `block_header_lite` LightClientBlockLiteView, required
        - `inner_lite` BlockHeaderInnerLiteView, required: A part of a state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).
          - `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, required
        - `prev_block_hash` string, required
      - `block_proof` MerklePathItem[], required
        - `direction` 'Left' | 'Right', required
        - `hash` string, required
      - `outcome_proof` ExecutionOutcomeWithIdView, required
        - `block_hash` string, required
        - `id` string, required
        - `outcome` ExecutionOutcomeView, required
          - `executor_id` string, required: The id of the account on which the execution happens. For transaction this is signer_id, for receipt this is receiver_id.
          - `gas_burnt` integer, required: The amount of the gas burnt by the given transaction or receipt.
          - `logs` string[], required: Logs from this transaction or receipt.
          - `metadata` ExecutionMetadataView: Execution metadata, versioned
            - `contracts` AccountContractView[], nullable: One entry per action in the receipt (V4+ only): the contract attached to the receiver account immediately before that action ran. The inner `Option` is `Some` (a tagged contract object) when the account had a contract and `None` (rendered as JSON `null`) when it did not (e.g. an account with no code, or one that did not yet exist). The outer `Option` is `None` for older metadata versions.
              - …
            - `gas_profile` CostGasUsed[], nullable
              - …
            - `version` integer, required
          - `receipt_ids` CryptoHash[], required: Receipt IDs generated by this transaction or receipt.
          - `status` union, required: Execution status. Contains the result in case of successful execution.
            - 'Unknown': The execution is pending or unknown.
            - object: The execution has failed.
              - …
            - object: The final action succeeded and returned some value or an empty vec encoded in base64.
              - …
            - object: The final action of the receipt returned a promise or the signed transaction was converted to a receipt. Contains the receipt_id of the generated receipt.
              - …
          - `tokens_burnt` string, required: The amount of tokens burnt corresponding to the burnt gas amount. This value doesn't always equal to the `gas_burnt` multiplied by the gas price, because the prepaid gas price might be lower than the actual gas price and it creates a deficit. `tokens_burnt` also contains the penalty subtracted from refunds, while `gas_burnt` only contains the gas that we actually burn for the execution.
        - `proof` MerklePathItem[], required
          - `direction` 'Left' | 'Right', required
          - `hash` string, required
      - `outcome_root_proof` MerklePathItem[], required
        - `direction` 'Left' | 'Right', required
        - `hash` string, required
    - `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` 'UNKNOWN_BLOCK', required
          - object
            - `info` object, required
              - …
            - `name` 'INCONSISTENT_STATE', required
          - object
            - `info` object, required
              - …
            - `name` 'NOT_CONFIRMED', required
          - object
            - `info` object, required
              - …
            - `name` 'UNKNOWN_TRANSACTION_OR_RECEIPT', required
          - object
            - `info` object, required
              - …
            - `name` 'UNAVAILABLE_SHARD', required
          - object
            - `info` object, required
              - …
            - `name` 'SHARD_NOT_TRACKED', required
          - object
            - `info` object, required
              - …
            - `name` 'TARGET_SHARD_MISMATCH', required
          - object
            - `info` object, required
              - …
            - `name` 'STATE_NOT_AVAILABLE', required
          - object
            - `info` object, required
              - …
            - `name` 'CHUNK_NOT_CERTIFIED', required
          - object
            - `info` object, required
              - …
            - `name` 'LIGHT_CLIENT_HEAD_TOO_OLD', required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', 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-11-16** `1ce6181198ef`: 1 breaking
  - added `subschema #10, subschema #11` to the `oneOf[subschema #1]/result/outcome_proof/outcome/status/allOf[#/components/schemas/ExecutionStatusView]/oneOf[subschema #2]/Failure/oneOf[subschema #1]/ActionError/kind/allOf[#/components/schemas/ActionErrorKind]/oneOf[subschema #14]/NewReceiptValidationError` response property `oneOf` list for the response status `200`
- **2026-11-12** `79ed36295796`: 1 breaking, 1 info
  - added `subschema #1, subschema #2` to the `oneOf[subschema #1]/result/outcome_proof/outcome/status/allOf[#/components/schemas/ExecutionStatusView]/oneOf[subschema #2]/Failure` response property `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `oneOf[subschema #1]/result/outcome_proof/outcome/status/allOf[#/components/schemas/ExecutionStatusView]/oneOf[subschema #2]/Failure` response property `oneOf` list for the response status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/changes/EXPERIMENTAL_light_client_proof/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)
