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

# POST /EXPERIMENTAL_indexer_block

`POST /EXPERIMENTAL_indexer_block`

## Request

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

Returns an indexer streamer message and tracked shard coverage for a block hash. Requires enable_indexer_rpc and retained execution data.

## Request body

- JsonRpcRequestForEXPERIMENTALIndexerBlock
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'EXPERIMENTAL_indexer_block', required
  - `params` RpcIndexerBlockRequest, required
    - `block_hash` string, required

## Response `200`

- union
  - object
    - `result` RpcIndexerBlockResponse, required: Resulting struct represents block with chunks
      - `block` BlockView, required
        - `author` string, required: The AccountId of the author of the Block
        - `chunks` ChunkHeaderView[], required
          - `balance_burnt` string, required
          - `bandwidth_requests` BandwidthRequests, nullable: A list of shard's bandwidth requests. Describes how much the shard would like to send to other shards.
            - `V1` BandwidthRequestsV1, required: Version 1 of [`BandwidthRequest`].
              - …
          - `chunk_hash` string, required
          - `congestion_info` CongestionInfoView, nullable: Stores the congestion level of a shard. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)
            - `allowed_shard` integer, required
            - `buffered_receipts_gas` string, required
            - `delayed_receipts_gas` string, required
            - `receipt_bytes` integer, required
          - `encoded_length` integer, required
          - `encoded_merkle_root` string, required
          - `gas_limit` integer, required
          - `gas_used` integer, required
          - `height_created` integer, required
          - `height_included` integer, required
          - `outcome_root` string, required
          - `outgoing_receipts_root` string, required
          - `prev_block_hash` string, required
          - `prev_state_root` string, required
          - `proposed_split` TrieSplit, nullable: The result of splitting a memtrie into two possibly even parts, according to `memory_usage` stored in the trie nodes. **NOTE: This is an artificial value calculated according to `TRIE_COST`. Hence, it does not represent actual memory allocation, but the split ratio should be roughly consistent with that.**
            - `boundary_account` string, required: Account ID representing the split path
            - `left_memory` integer, required: Total `memory_usage` of the left part (excluding the split path)
            - `right_memory` integer, required: Total `memory_usage` of the right part (including the split path)
          - `rent_paid` string: TODO(2271): deprecated.
          - `shard_id` integer, required: The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
          - `signature` string, required
          - `tx_root` string, required
          - `validator_proposals` ValidatorStakeView[], required
            - ValidatorStakeView
              - …
          - `validator_reward` string: TODO(2271): deprecated.
        - `header` BlockHeaderView, required: Contains main info about the block.
          - `approvals` Signature[], required
          - `block_body_hash` string, nullable
          - `block_merkle_root` string, required
          - `block_ordinal` integer, nullable
          - `challenges_result` SlashedValidator[], required
            - `account_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) ```
            - `is_double_sign` boolean, required
          - `challenges_root` string, required
          - `chunk_endorsements` array[], nullable
            - integer[]
          - `chunk_execution_root` string, nullable
          - `chunk_headers_root` string, required
          - `chunk_mask` boolean[], required
          - `chunk_receipts_root` string, required
          - `chunk_tx_root` string, required
          - `chunks_included` integer, required
          - `epoch_id` string, required
          - `epoch_sync_data_hash` string, nullable
          - `gas_price` string, required
          - `hash` string, required
          - `height` integer, required
          - `last_ds_final_block` string, required
          - `last_final_block` string, required
          - `latest_protocol_version` integer, required
          - `next_bp_hash` string, required
          - `next_epoch_id` string, required
          - `outcome_root` string, required
          - `prev_hash` string, required: The hash of the previous Block
          - `prev_height` integer, nullable
          - `prev_last_certified_block_epoch_id` string, nullable: Epoch identifier -- wrapped hash, to make it easier to distinguish. EpochId of epoch T is the hash of last block in T-2 EpochId of first two epochs is 0
          - `prev_state_root` string, required
          - `random_value` string, required
          - `rent_paid` string: TODO(2271): deprecated.
          - `shard_split` unknown[], nullable
            - unknown
          - `signature` string, required: Signature of the block producer.
          - `spice_chunk_endorsement_stats` SpiceChunkEndorsementStats[], nullable
            - `expected` integer, required
            - `produced` integer, required
          - `timestamp` integer, required: Legacy json number. Should not be used.
          - `timestamp_nanosec` string, required
          - `total_supply` string, required
          - `validator_proposals` ValidatorStakeView[], required
            - ValidatorStakeView
              - …
          - `validator_reward` string: TODO(2271): deprecated.
      - `shards` IndexerShard[], required
        - `chunk` IndexerChunkView, nullable
          - `author` 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) ```
          - `header` ChunkHeaderView, required: Contains main info about the chunk.
            - `balance_burnt` string, required
            - `bandwidth_requests` BandwidthRequests, nullable: A list of shard's bandwidth requests. Describes how much the shard would like to send to other shards.
              - …
            - `chunk_hash` string, required
            - `congestion_info` CongestionInfoView, nullable: Stores the congestion level of a shard. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)
              - …
            - `encoded_length` integer, required
            - `encoded_merkle_root` string, required
            - `gas_limit` integer, required
            - `gas_used` integer, required
            - `height_created` integer, required
            - `height_included` integer, required
            - `outcome_root` string, required
            - `outgoing_receipts_root` string, required
            - `prev_block_hash` string, required
            - `prev_state_root` string, required
            - `proposed_split` TrieSplit, nullable: The result of splitting a memtrie into two possibly even parts, according to `memory_usage` stored in the trie nodes. **NOTE: This is an artificial value calculated according to `TRIE_COST`. Hence, it does not represent actual memory allocation, but the split ratio should be roughly consistent with that.**
              - …
            - `rent_paid` string: TODO(2271): deprecated.
            - `shard_id` integer, required: The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
            - `signature` string, required
            - `tx_root` string, required
            - `validator_proposals` ValidatorStakeView[], required
              - …
            - `validator_reward` string: TODO(2271): deprecated.
          - `instant_receipts` ReceiptView[]: Receipts that were processed instantly in the same chunk they were created.
            - `predecessor_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) ```
            - `priority` integer: Deprecated, retained for backward compatibility.
            - `receipt` union, required
              - …
            - `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) ```
          - `local_receipts` ReceiptView[]: Receipts generated in this chunk from transactions with `signer_id` equal to `receiver_id`.
            - `predecessor_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) ```
            - `priority` integer: Deprecated, retained for backward compatibility.
            - `receipt` union, required
              - …
            - `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) ```
          - `receipts` ReceiptView[], required: Represents receipts generated by execution of the previous chunk. Note that those are not the receipts executed by this chunk or even targeting that shard.
            - `predecessor_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) ```
            - `priority` integer: Deprecated, retained for backward compatibility.
            - `receipt` union, required
              - …
            - `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) ```
          - `transactions` IndexerTransactionWithOutcome[], required
            - `outcome` IndexerExecutionOutcomeWithOptionalReceipt, required
              - …
            - `transaction` union, required: A transaction of either kind, in a chunk, a tx status result or an indexer message.
              - …
        - `receipt_execution_outcomes` IndexerExecutionOutcomeWithReceipt[], required
          - `execution_outcome` ExecutionOutcomeWithIdView, required
            - `block_hash` string, required
            - `id` string, required
            - `outcome` ExecutionOutcomeView, required
              - …
            - `proof` MerklePathItem[], required
              - …
          - `receipt` ReceiptView, required
            - `predecessor_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) ```
            - `priority` integer: Deprecated, retained for backward compatibility.
            - `receipt` union, required
              - …
            - `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) ```
        - `shard_id` integer, required: The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
        - `state_changes` StateChangeWithCauseView[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
      - `tracked_shards` ShardId[], required: The node's configured chunk and execution coverage, in block layout order. Carried chunks remain None inside the message even for tracked shards.
    - `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` 'DATA_UNAVAILABLE', required
          - object
            - `info` object, required
              - …
            - `name` 'INCOMPLETE_DATA', required
          - object
            - `info` object, required
              - …
            - `name` 'UNSUPPORTED', required
          - object
            - `name` 'LIMIT_EXCEEDED', required
          - object
            - `name` 'BUSY', 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** `fbdcf3b66e85`: 5 info
  - added the optional property `oneOf[subschema #1]/result/shards/items/chunk/anyOf[#/components/schemas/IndexerChunkView]/instant_receipts/items/receipt/oneOf[subschema #1]/Action/creation_protocol_version` to the response with the `200` status
  - added the optional property `oneOf[subschema #1]/result/shards/items/chunk/anyOf[#/components/schemas/IndexerChunkView]/local_receipts/items/receipt/oneOf[subschema #1]/Action/creation_protocol_version` to the response with the `200` status
  - added the optional property `oneOf[subschema #1]/result/shards/items/chunk/anyOf[#/components/schemas/IndexerChunkView]/receipts/items/receipt/oneOf[subschema #1]/Action/creation_protocol_version` to the response with the `200` status
  - added the optional property `oneOf[subschema #1]/result/shards/items/chunk/anyOf[#/components/schemas/IndexerChunkView]/transactions/items/outcome/receipt/anyOf[#/components/schemas/ReceiptView]/receipt/oneOf[subschema #1]/Action/creation_protocol_version` to the response with the `200` status
  - …1 more
- …earlier changes not shown

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