/ types / altair / sync_committee.yaml
sync_committee.yaml
  1  Altair:
  2    SyncCommittee:
  3      type: object
  4      properties:
  5        pubkeys:
  6          type: array
  7          items:
  8            allOf:
  9              - $ref: '../primitive.yaml#/Pubkey'
 10          minItems: 512
 11          maxItems: 512
 12        aggregate_pubkey:
 13          $ref: '../primitive.yaml#/Pubkey'
 14    SyncCommitteeSignature:
 15        type: object
 16        properties:
 17          slot:
 18            $ref: '../primitive.yaml#/Uint64'
 19          beacon_block_root:
 20            $ref: '../primitive.yaml#/Root'
 21          validator_index:
 22            $ref: '../primitive.yaml#/Uint64'
 23          signature:
 24            $ref: '../primitive.yaml#/Signature'
 25    SyncCommitteeSubscription:
 26      type: object
 27      properties:
 28        validator_index:
 29          $ref: '../primitive.yaml#/Uint64'
 30        sync_committee_indices:
 31          type: array
 32          items:
 33            allOf:
 34             - $ref: '../primitive.yaml#/Uint64'
 35        until_epoch:
 36          allOf:
 37           - $ref: '../primitive.yaml#/Uint64'
 38           - description: 'The final epoch (exclusive value) that the specified validator requires the subscription for.'
 39           
 40    SignedContributionAndProof:
 41      type: object
 42      properties:
 43        message:
 44          $ref: '../../beacon-node-oapi.yaml#/components/schemas/Altair.ContributionAndProof'
 45        signature:
 46          $ref: '../primitive.yaml#/Signature'
 47  
 48    ContributionAndProof:
 49      type: object
 50      properties:
 51        aggregator_index:
 52          allOf:
 53            - $ref: "../primitive.yaml#/Uint64"
 54            - description: "Index of validator in validator registry."
 55        selection_proof:
 56          $ref: '../primitive.yaml#/Signature'
 57        contribution:
 58          $ref: '../../beacon-node-oapi.yaml#/components/schemas/Altair.SyncCommitteeContribution'
 59  
 60    SyncCommitteeContribution:
 61      type: object
 62      properties:
 63        slot:
 64          allOf:
 65            - $ref: "../primitive.yaml#/Uint64"
 66            - description: "The slot at which the validator is providing a sync committee contribution."
 67        beacon_block_root:
 68          allOf:
 69            - $ref: '../primitive.yaml#/Root'
 70            - description: "Block root for this contribution."
 71        subcommittee_index:
 72          allOf:
 73            - $ref: '../primitive.yaml#/Uint64'
 74            - description: 'The index of the subcommittee that the contribution pertains to.'
 75        aggregation_bits:
 76          allOf:
 77            - description: 'A bit is set if a signature from the validator at the corresponding index in the subcommittee is present in the aggregate `signature`.'
 78            - $ref: "../primitive.yaml#/Hex"
 79            - example: "0x01"
 80        signature:
 81          allOf:
 82            - $ref: '../primitive.yaml#/Signature'
 83            - description: 'Signature by the validator(s) over the block root of `slot`'
 84    ValidatorsByIndex:
 85      type: array
 86      items:
 87        allOf:
 88          - $ref: '../primitive.yaml#/Uint64'
 89    SyncCommitteeByValidatorIndices:
 90      type: object
 91      properties:
 92        validators:
 93          allOf:
 94           - $ref: '#/Altair/ValidatorsByIndex'
 95           - description: 'all of the validator indices in the current sync committee'
 96        validator_aggregates:
 97          type: array
 98          items:
 99            allOf:
100              - $ref: '#/Altair/ValidatorsByIndex'
101              - description: 'Subcommittee slices of the current sync committee'
102