---
title: "Get block"
method: GET
path: "/eth/v1/beacon/blocks/{block_id}"
tags: ["Beacon"]
deprecated: true
---

# Get block

`GET /eth/v1/beacon/blocks/{block_id}`

## Request

- Base URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key` (relative, and the document’s source URL is not known)
- URL: `eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/blocks/{block_id}`
- Auth: none declared

> **Deprecated.**

Returns the complete `SignedBeaconBlock` for a given block ID.
Depending on the `Accept` header it can be returned either as JSON or SSZ-serialized bytes.

## Path parameters

- `block_id` string, required

## Response `200`

Success

- object
  - `data` object: The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.
    - `message` object: The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.
      - `slot` string: The slot to which this block corresponds.
      - `proposer_index` string: Index of validator in validator registry.
      - `parent_root` string: The signing merkle root of the parent `BeaconBlock`.
      - `state_root` string: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`.
      - `body` object: The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.
        - `randao_reveal` string: The RanDAO reveal value provided by the validator.
        - `eth1_data` object: The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.
          - `deposit_root` string: Root of the deposit tree.
          - `deposit_count` string: Total number of deposits.
          - `block_hash` string: Ethereum 1.x block hash.
        - `graffiti` string
        - `proposer_slashings` object[]
          - `signed_header_1` object: The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.
            - `message` object: The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.
              - …
            - `signature` string
          - `signed_header_2` object: The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.
            - `message` object: The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.
              - …
            - `signature` string
        - `attester_slashings` object[]
          - `attestation_1` object: The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.
            - `attesting_indices` string[]: Attesting validator indices
            - `signature` string: The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.
            - `data` object: The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.
              - …
          - `attestation_2` object: The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.
            - `attesting_indices` string[]: Attesting validator indices
            - `signature` string: The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.
            - `data` object: The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.
              - …
        - `attestations` object[]
          - `aggregation_bits` string: Attester aggregation bits.
          - `signature` string: BLS aggregate signature.
          - `data` object: The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.
            - `slot` string
            - `index` string
            - `beacon_block_root` string: LMD GHOST vote.
            - `source` object: The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#checkpoint
              - …
            - `target` object: The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#checkpoint
              - …
        - `deposits` object[]
          - `proof` string[]: Branch in the deposit tree.
          - `data` object: The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.
            - `pubkey` string: The validator's BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._
            - `withdrawal_credentials` string: The withdrawal credentials.
            - `amount` string: Amount in Gwei.
            - `signature` string: Container self-signature.
        - `voluntary_exits` object[]
          - `message` object: The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.0.1/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.
            - `epoch` string: Minimum epoch for processing exit.
            - `validator_index` string: Index of the exiting validator.
          - `signature` string
    - `signature` string

## Other responses

- `400`: The block ID supplied could not be parsed
- `404`: Block not found
- `500`: Beacon node internal error.

---

[API](https://skmtc.dev/nodereal/apis/eth-beacon-node-api.md) - [All operations](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodereal/apis/eth-beacon-node-api/revisions/1878ea8657a1?raw)
