Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getPoolSyncCommitteeSignatures route #381

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion apis/beacon/pool/sync_committees.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
get:
operationId: getPoolSyncCommitteeSignatures
summary: Get sync committee signatures from operations pool
description: Retrieves SyncCommitteeSignature known by the node but not necessarily incorporated into any block
parameters:
- name: slot
in: query
required: false
schema:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64'
tags:
- Beacon
responses:
"200":
description: Successful response
content:
application/json:
schema:
title: GetPoolSyncCommitteeSignaturesResponse
type: object
properties:
data:
type: array
items:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.SyncCommitteeSignature'
"400":
description: "The slot could not be parsed"
content:
application/json:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 400
message: "Invalid slot: current"
"500":
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'

post:
operationId: submitPoolSyncCommitteeSignatures
summary: Submit sync committee signatures to node
Expand Down Expand Up @@ -31,4 +68,4 @@ post:
schema:
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/IndexedErrorMessage"
"500":
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError'
Loading