Skip to content

Commit

Permalink
Add getPoolSyncCommitteeSignatures route
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Dec 8, 2023
1 parent ad873a0 commit 8a55ae9
Showing 1 changed file with 38 additions and 1 deletion.
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'

0 comments on commit 8a55ae9

Please sign in to comment.