/eth/v1/validator/aggregate_attestation

Get aggregated attestation

Get aggregated attestation

get

Aggregates all attestations matching given attestation data root and slot

Query parameters
attestation_data_rootstringRequired

HashTreeRoot of AttestationData that validator wants aggregated

Example: 0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2Pattern: ^0x[a-fA-F0-9]{64}$
slotstringRequiredExample: 1
Responses
200
Returns aggregated `Attestation` object with same `AttestationData` root.
application/json
get
GET /v1/<YOUR_API_KEY_HERE>//eth/v1/validator/aggregate_attestation HTTP/1.1
Host: mainnet.ethereum.validationcloud.io
Accept: */*
{
  "data": {
    "aggregation_bits": "0x01",
    "signature": null,
    "data": {
      "slot": "1",
      "index": "1",
      "beacon_block_root": null,
      "source": {
        "epoch": "1",
        "root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      },
      "target": {
        "epoch": "1",
        "root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      }
    }
  }
}

curl -X GET \
    "https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/validator/aggregate_attestation?attestation_data_root=0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2&slot=1" \
    -H "Content-Type: application/json"

Last updated

Was this helpful?