ValidatorRequiredApi
Validator

Get aggregated attestation

Aggregates all attestations matching given attestation data root and slot.

A 503 error must be returned if the block identified by the response beacon_block_root is optimistic (i.e. the aggregated attestation attests to a block that has not been fully verified by an execution engine).

get/eth/v1/validator/aggregate_attestation

Request

  • Base URL: http://public-mainnet-node.ethereum.org
  • URL: http://public-mainnet-node.ethereum.org/eth/v1/validator/aggregate_attestation
  • Auth: none declared

Query parameters

attestation_data_rootstring hex required
Example:0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2

HashTreeRoot of AttestationData that validator wants aggregated

slotstring required
Example:1

Response

Returns aggregated Attestation object with same AttestationData root.

Example response

{
  "data": {
    "aggregation_bits": "0x01",
    "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
    "data": {
      "slot": "1",
      "index": "1",
      "beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
      "source": {
        "epoch": "1",
        "root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      },
      "target": {
        "epoch": "1",
        "root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.