-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from rolfyone/sync-committee-contribution
GET `/eth/v1/validator/sync_committee_contribution`
- Loading branch information
Showing
3 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
get: | ||
tags: | ||
- ValidatorRequiredApi | ||
- Validator | ||
operationId: "produceSyncCommitteeContribution" | ||
summary: "Produce a sync committee contribution" | ||
description: "Requests that the beacon node produce a sync committee contribution." | ||
parameters: | ||
- name: slot | ||
in: query | ||
required: true | ||
description: "The slot for which a sync committee contribution should be created." | ||
schema: | ||
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64' | ||
- name: subcommittee_index | ||
in: query | ||
description: "the subcommittee index for which to produce the contribution." | ||
required: true | ||
schema: | ||
$ref: "../../beacon-node-oapi.yaml#/components/schemas/Uint64" | ||
- name: beacon_block_root | ||
in: query | ||
description: "the block root for which to produce the contribution." | ||
required: true | ||
schema: | ||
$ref: "../../beacon-node-oapi.yaml#/components/schemas/Root" | ||
responses: | ||
"200": | ||
description: Success response | ||
content: | ||
application/json: | ||
schema: | ||
title: produceSyncCommitteeContributionResponse | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Altair.SyncCommitteeContribution' | ||
"400": | ||
$ref: '../../beacon-node-oapi.yaml#/components/responses/InvalidRequest' | ||
"500": | ||
$ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError' | ||
"503": | ||
$ref: '../../beacon-node-oapi.yaml#/components/responses/CurrentlySyncing' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters