/ apis / validator / attestation_data.yaml
attestation_data.yaml
 1  get:
 2    tags:
 3      - ValidatorRequiredApi
 4      - Validator
 5    operationId: "produceAttestationData"
 6    summary: "Produce an attestation data"
 7    description: "Requests that the beacon node produce an AttestationData."
 8    parameters:
 9      - name: slot
10        in: query
11        required: true
12        description: "The slot for which an attestation data should be created."
13        schema:
14          $ref: ../../beacon-node-oapi.yaml#/components/schemas/Uint64
15      - name: committee_index
16        in: query
17        description: "The committee index for which an attestation data should be created."
18        required: true
19        schema:
20          $ref: "../../beacon-node-oapi.yaml#/components/schemas/Uint64"
21    responses:
22      "200":
23        description: Success response
24        content:
25          application/json:
26            schema:
27              title: ProduceAttestationDataResponse
28              type: object
29              properties:
30                data:
31                  $ref: '../../beacon-node-oapi.yaml#/components/schemas/AttestationData'
32      "400":
33        $ref: '../../beacon-node-oapi.yaml#/components/responses/InvalidRequest'
34      "500":
35        $ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError'
36      "503":
37        $ref: '../../beacon-node-oapi.yaml#/components/responses/CurrentlySyncing'