/eth/v1/beacon/blocks/{block_id}/attestations

Get block attestations.

Retrieves attestation included in requested block.

Example Request and Result for /v1/beacon/blocks/{block_id}/attestations

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/blocks/{block_id}/attestations endpoint. Additionally, we present the resulting response containing information about block attestations.

Parameters

FieldTypeDescription

block_id*

string

Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", <slot>, <hex encoded blockRoot with 0x prefix>.

The example in this section uses a non-existing project id.

Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

Get block attestations.

GET https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/blocks/<block_id>/attestations

Path Parameters

NameTypeDescription

block_id*

string

139882

{
  "execution_optimistic": false,
  "finalized": true,
  "data": [
    {
      "aggregation_bits": "0xff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffbfffffffffffffffffffffeffffffffbff7ffffffffffffffffffffffbfffffffffffffffffffffffffffffffffffffffffffffffffffff1f",
      "data": {
        "slot": "139881",
        "index": "6",
        "beacon_block_root": "0xd35e74ebdfbaa6918215076e5010c69e645c70408e19725a1742f3c41dc3b4ae",
        "source": {
          "epoch": "4370",
          "root": "0x7c423a8440541e9f066c7200e0ac8ecb79a8a7bd84be716754ec0b77e68a3c29"
        },
        "target": {
          "epoch": "4371",
          "root": "0xa0fff024a5669148f0cbd4be5d1c9416bcc3f67afc80be39aa17d92491972aac"
        }
      },
      "signature": "0x8401e843371d737ea0288ce453c99578a671bad214e1705584cc3ef6e4180cb5eb63e3dc899e852c5f0c2c62eb3d701317aeeee50974696ffb7f5dca779fde0101247e358bf3410d489ed3e95311d73211fc6c4607f7a8a3991c99fddccbf5da"
    },
    {
      "aggregation_bits": "0xffffbf6ffffffffffefffdf7ffffffffffffffff9fefffffdfff7bfffdfffffffffffffffffff3fffffffffff97bffffeffffffbfdffffffafffbfffffffffdffffffffffefbfffffffffffffffffdfff7fffffffffff7ffdf1f",
      "data": {
        "slot": "139881",
        "index": "3",
        "beacon_block_root": "0xd35e74ebdfbaa6918215076e5010c69e645c70408e19725a1742f3c41dc3b4ae",
        "source": {
          "epoch": "4370",
          "root": "0x7c423a8440541e9f066c7200e0ac8ecb79a8a7bd84be716754ec0b77e68a3c29"
        },
        "target": {
          "epoch": "4371",
          "root": "0xa0fff024a5669148f0cbd4be5d1c9416bcc3f67afc80be39aa17d92491972aac"
        }
      },
      "signature": "0xb6c2bdfaaacb68fc717be4250df976fdd3988b62bb41a7be9f18f342a1314051b11e5c758daa2c0d102b3e249199e69f07c01517f70c271ed9e62d71b6fce43057425fafa324d1f4b09169425de56efee1616c31ccd4bb25ff8e4af2f621b576"
    },
...

Curl Request example

curl -X 'GET' \
  'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/blocks/139882/attestations' \
  -H 'accept: application/json'

Last updated