aggregate_attestation.yaml
1 get: 2 operationId: "getAggregatedAttestation" 3 summary: "Get aggregated attestation" 4 description: "Aggregates all attestations matching given attestation data root and slot" 5 tags: 6 - ValidatorRequiredApi 7 - Validator 8 parameters: 9 - name: attestation_data_root 10 in: query 11 required: true 12 description: "HashTreeRoot of AttestationData that validator want's aggregated" 13 schema: 14 $ref: '../../beacon-node-oapi.yaml#/components/schemas/Root' 15 - name: slot 16 in: query 17 required: true 18 schema: 19 $ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64' 20 responses: 21 "200": 22 description: "Returns aggregated `Attestation` object with same `AttestationData` root." 23 content: 24 application/json: 25 schema: 26 title: GetAggregatedAttestationResponse 27 type: object 28 properties: 29 data: 30 $ref: '../../beacon-node-oapi.yaml#/components/schemas/Attestation' 31 "400": 32 description: "Invalid request" 33 content: 34 application/json: 35 schema: 36 $ref: "../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" 37 examples: 38 NotAggregator: 39 value: 40 code: 403 41 message: Beacon node was not assigned to aggregate on that subnet. 42 "500": 43 $ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError'