-
Notifications
You must be signed in to change notification settings - Fork 169
/
deposit_snapshot.yaml
36 lines (36 loc) · 1.32 KB
/
deposit_snapshot.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
get:
operationId: getDepositSnapshot
summary: "Get Deposit Tree Snapshot"
description: |
Retrieve [EIP-4881](https://eips.ethereum.org/EIPS/eip-4881) Deposit Tree Snapshot.
Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ
tags:
- Beacon
responses:
"200":
description: Success
content:
application/json:
schema:
type: object
title: GetDepositSnapshotResponse
required: [data]
properties:
data:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/DepositSnapshotResponse'
application/octet-stream:
schema:
description: "SSZ serialized block bytes. Use Accept header to choose this response type"
"404":
description: "No Finalized Snapshot Available"
content:
application/json:
schema:
$ref: "../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage"
example:
code: 404
message: "No Finalized Snapshot Available"
"406":
$ref: "../../beacon-node-oapi.yaml#/components/responses/NotAcceptable"
"500":
$ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError'