-
Notifications
You must be signed in to change notification settings - Fork 169
/
beacon-node-oapi.yaml
491 lines (468 loc) · 20.9 KB
/
beacon-node-oapi.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
openapi: "3.1.0"
info:
title: "Eth Beacon Node API"
description: |
API specification for the beacon node, which enables users to query and participate in Ethereum 2.0 phase 0 beacon chain.
All requests by default send and receive JSON, and as such should have either or both of the "Content-Type: application/json"
and "Accept: application/json" headers. In addition, some requests can send and receive data in the SSZ format. The header
"Content-Type: application/octet-stream" should be set in requests that contain SSZ data; a preference to receive SSZ data in
response can be indicated by setting the "Accept: application/octet-stream;q=1.0,application/json;q=0.9" header. Note that
only a subset of requests can respond with data in SSZ format; these are noted in each individual request.
When handling requests, the server should return a 415 status code if the "Content-Type" header in the request specifies a format
that is not supported. Similarly, it should return a 406 status code if it cannot produce a response in the format accepted by
the client as specified in the "Accept" header; if no "Accept" header is provided then it is assumed to be "application/json".
In any case, the server should indicate the format of the response by setting the corresponding "Content-Type" header.
API endpoints are individually versioned. As such, there is no direct relationship between all v1 endpoints, all v2 endpoints,
_etc._ and no such relationship should be inferred. All JSON responses return the requested data under a `data` key in the top
level of their response. Additional metadata may or may not be present in other keys at the top level of the response, dependent
on the endpoint. The rules that require an increase in version number are as follows:
- no field that is listed in an endpoint shall be removed without an increase in the version number
- no field that is listed in an endpoint shall be altered in terms of format (_e.g._ from a string to an array) without an
increase in the version number
Note that it is possible for a field to be added to an endpoint's data or metadata without an increase in the version number.
version: "Dev - Ethereum Proof-of-Stake Consensus Specification v1.4.0"
contact:
name: Ethereum Github
url: https://github.com/ethereum/beacon-apis/issues
license:
name: "CC0-1.0"
url: "https://creativecommons.org/publicdomain/zero/1.0/"
servers:
- url: "{server_url}"
variables:
server_url:
description: "Beacon node API url"
default: "http://localhost/"
tags:
- name: Beacon
description: Set of endpoints to query beacon chain.
- name: Builder
description: Set of endpoints specific to building blocks.
- name: Config
description: Endpoints to query chain configuration, specification, and fork schedules.
- name: Debug
description: Set of endpoints to debug chain and shouldn't be exposed publicly.
- name: Events
description: Set of endpoints for event subscription.
- name: Node
description: Endpoints to query node related information.
- name: Validator
description: Endpoints intended for validator clients.
- name: ValidatorRequiredApi
description: |
Minimal set of endpoints to enable a working validator implementation.
[Checkout validator flow](./validator-flow.md) to learn how to use this api.
- name: Rewards
description: Endpoints to query rewards and penalties for validators.
paths:
/eth/v1/beacon/genesis:
$ref: "./apis/beacon/genesis.yaml"
/eth/v1/beacon/states/{state_id}/root:
$ref: "./apis/beacon/states/root.yaml"
/eth/v1/beacon/states/{state_id}/fork:
$ref: "./apis/beacon/states/fork.yaml"
/eth/v1/beacon/states/{state_id}/finality_checkpoints:
$ref: "./apis/beacon/states/finality_checkpoints.yaml"
/eth/v1/beacon/states/{state_id}/validators:
$ref: "./apis/beacon/states/validators.yaml"
/eth/v1/beacon/states/{state_id}/validators/{validator_id}:
$ref: "./apis/beacon/states/validator.yaml"
/eth/v1/beacon/states/{state_id}/validator_balances:
$ref: "./apis/beacon/states/validator_balances.yaml"
/eth/v1/beacon/states/{state_id}/validator_identities:
$ref: "./apis/beacon/states/validator_identities.yaml"
/eth/v1/beacon/states/{state_id}/committees:
$ref: "./apis/beacon/states/committee.yaml"
/eth/v1/beacon/states/{state_id}/sync_committees:
$ref: "./apis/beacon/states/sync_committees.yaml"
/eth/v1/beacon/states/{state_id}/randao:
$ref: "./apis/beacon/states/randao.yaml"
/eth/v1/beacon/headers:
$ref: "./apis/beacon/blocks/headers.yaml"
/eth/v1/beacon/headers/{block_id}:
$ref: "./apis/beacon/blocks/header.yaml"
/eth/v1/beacon/blinded_blocks:
$ref: "./apis/beacon/blocks/blinded_blocks.yaml"
/eth/v2/beacon/blinded_blocks:
$ref: "./apis/beacon/blocks/blinded_blocks.v2.yaml"
/eth/v1/beacon/blocks:
$ref: "./apis/beacon/blocks/blocks.yaml"
/eth/v2/beacon/blocks:
$ref: "./apis/beacon/blocks/blocks.v2.yaml"
/eth/v2/beacon/blocks/{block_id}:
$ref: "./apis/beacon/blocks/block.v2.yaml"
/eth/v1/beacon/blocks/{block_id}/root:
$ref: "./apis/beacon/blocks/root.yaml"
/eth/v1/beacon/blocks/{block_id}/attestations:
$ref: "./apis/beacon/blocks/attestations.yaml"
/eth/v2/beacon/blocks/{block_id}/attestations:
$ref: "./apis/beacon/blocks/attestations.v2.yaml"
/eth/v1/beacon/blob_sidecars/{block_id}:
$ref: "./apis/beacon/blob_sidecars/blob_sidecars.yaml"
/eth/v1/beacon/rewards/sync_committee/{block_id}:
$ref: "./apis/beacon/rewards/sync_committee.yaml"
/eth/v1/beacon/deposit_snapshot:
$ref: "./apis/beacon/deposit_snapshot.yaml"
/eth/v1/beacon/rewards/blocks/{block_id}:
$ref: "./apis/beacon/rewards/blocks.yaml"
/eth/v1/beacon/rewards/attestations/{epoch}:
$ref: "./apis/beacon/rewards/attestations.yaml"
/eth/v1/beacon/blinded_blocks/{block_id}:
$ref: "./apis/beacon/blocks/blinded_block.yaml"
/eth/v1/beacon/light_client/bootstrap/{block_root}:
$ref: "./apis/beacon/light_client/bootstrap.yaml"
/eth/v1/beacon/light_client/updates:
$ref: "./apis/beacon/light_client/updates.yaml"
/eth/v1/beacon/light_client/finality_update:
$ref: "./apis/beacon/light_client/finality_update.yaml"
/eth/v1/beacon/light_client/optimistic_update:
$ref: "./apis/beacon/light_client/optimistic_update.yaml"
/eth/v1/beacon/pool/attestations:
$ref: "./apis/beacon/pool/attestations.yaml"
/eth/v2/beacon/pool/attestations:
$ref: "./apis/beacon/pool/attestations.v2.yaml"
/eth/v1/beacon/pool/attester_slashings:
$ref: "./apis/beacon/pool/attester_slashings.yaml"
/eth/v2/beacon/pool/attester_slashings:
$ref: "./apis/beacon/pool/attester_slashings.v2.yaml"
/eth/v1/beacon/pool/proposer_slashings:
$ref: "./apis/beacon/pool/proposer_slashings.yaml"
/eth/v1/beacon/pool/sync_committees:
$ref: "./apis/beacon/pool/sync_committees.yaml"
/eth/v1/beacon/pool/voluntary_exits:
$ref: "./apis/beacon/pool/voluntary_exits.yaml"
/eth/v1/beacon/pool/bls_to_execution_changes:
$ref: "./apis/beacon/pool/bls_to_execution_changes.yaml"
/eth/v1/builder/states/{state_id}/expected_withdrawals:
$ref: "./apis/builder/states/expected_withdrawals.yaml"
/eth/v2/debug/beacon/states/{state_id}:
$ref: './apis/debug/state.v2.yaml'
/eth/v2/debug/beacon/heads:
$ref: './apis/debug/heads.v2.yaml'
/eth/v1/debug/fork_choice:
$ref: './apis/debug/fork_choice.yaml'
/eth/v1/node/identity:
$ref: "./apis/node/identity.yaml"
/eth/v1/node/peers:
$ref: "./apis/node/peers.yaml"
/eth/v1/node/peers/{peer_id}:
$ref: "./apis/node/peer.yaml"
/eth/v1/node/peer_count:
$ref: "./apis/node/peer_count.yaml"
/eth/v1/node/version:
$ref: "./apis/node/version.yaml"
/eth/v1/node/syncing:
$ref: "./apis/node/syncing.yaml"
/eth/v1/node/health:
$ref: "./apis/node/health.yaml"
/eth/v1/config/fork_schedule:
$ref: "./apis/config/fork_schedule.yaml"
/eth/v1/config/spec:
$ref: "./apis/config/spec.yaml"
/eth/v1/config/deposit_contract:
$ref: "./apis/config/deposit_contract.yaml"
/eth/v1/validator/duties/attester/{epoch}:
$ref: "./apis/validator/duties/attester.yaml"
/eth/v1/validator/duties/proposer/{epoch}:
$ref: "./apis/validator/duties/proposer.yaml"
/eth/v1/validator/duties/sync/{epoch}:
$ref: "./apis/validator/duties/sync.yaml"
/eth/v2/validator/blocks/{slot}:
$ref: "./apis/validator/block.v2.yaml"
/eth/v3/validator/blocks/{slot}:
$ref: "./apis/validator/block.v3.yaml"
/eth/v1/validator/blinded_blocks/{slot}:
$ref: "./apis/validator/blinded_block.yaml"
/eth/v1/validator/attestation_data:
$ref: "./apis/validator/attestation_data.yaml"
/eth/v1/validator/aggregate_attestation:
$ref: "./apis/validator/aggregate_attestation.yaml"
/eth/v2/validator/aggregate_attestation:
$ref: "./apis/validator/aggregate_attestation.v2.yaml"
/eth/v1/validator/aggregate_and_proofs:
$ref: "./apis/validator/aggregate_and_proofs.yaml"
/eth/v2/validator/aggregate_and_proofs:
$ref: "./apis/validator/aggregate_and_proofs.v2.yaml"
/eth/v1/validator/beacon_committee_subscriptions:
$ref: "./apis/validator/beacon_committee_subscriptions.yaml"
/eth/v1/validator/sync_committee_subscriptions:
$ref: "./apis/validator/sync_committee_subscriptions.yaml"
/eth/v1/validator/beacon_committee_selections:
$ref: "./apis/validator/beacon_committee_selections.yaml"
/eth/v1/validator/sync_committee_contribution:
$ref: "./apis/validator/sync_committee_contribution.yaml"
/eth/v1/validator/sync_committee_selections:
$ref: "./apis/validator/sync_committee_selections.yaml"
/eth/v1/validator/contribution_and_proofs:
$ref: "./apis/validator/sync_committee_contribution_and_proof.yaml"
/eth/v1/validator/prepare_beacon_proposer:
$ref: "./apis/validator/prepare_beacon_proposer.yaml"
/eth/v1/validator/register_validator:
$ref: "./apis/validator/register_validator.yaml"
/eth/v1/validator/liveness/{epoch}:
$ref: "./apis/validator/liveness.yaml"
/eth/v1/events:
$ref: "./apis/eventstream/index.yaml"
components:
schemas:
BeaconState:
$ref: './types/state.yaml#/BeaconState'
BeaconBlock:
$ref: './types/block.yaml#/BeaconBlock'
BroadcastValidation:
$ref: './types/api.yaml#/BroadcastValidation'
DepositSnapshotResponse:
$ref: './types/api.yaml#/DepositSnapshotResponse'
SignedBeaconBlock:
$ref: './types/block.yaml#/SignedBeaconBlock'
SignedBeaconBlockHeader:
$ref: './types/block.yaml#/SignedBeaconBlockHeader'
ValidatorResponse:
$ref: './types/api.yaml#/ValidatorResponse'
ValidatorBalanceResponse:
$ref: './types/api.yaml#/ValidatorBalanceResponse'
ValidatorIdentityResponse:
$ref: './types/api.yaml#/ValidatorIdentityResponse'
ValidatorStatus:
$ref: './types/api.yaml#/ValidatorStatus'
Committee:
$ref: './types/api.yaml#/Committee'
AttesterSlashing:
$ref: './types/attester_slashing.yaml#/AttesterSlashing'
ProposerSlashing:
$ref: './types/proposer_slashing.yaml#/ProposerSlashing'
SignedVoluntaryExit:
$ref: './types/voluntary_exit.yaml#/SignedVoluntaryExit'
SignedBLSToExecutionChange:
$ref: './types/bls_to_execution_change.yaml#/SignedBLSToExecutionChange'
AttesterDuty:
$ref: './types/validator.yaml#/AttesterDuty'
ProposerDuty:
$ref: './types/validator.yaml#/ProposerDuty'
Altair.SyncDuty:
$ref: './types/validator.yaml#/Altair/SyncDuty'
SignedAggregateAndProof:
$ref: './types/validator.yaml#/SignedAggregateAndProof'
Attestation:
$ref: './types/attestation.yaml#/Attestation'
AttestationData:
$ref: './types/attestation_data.yaml#/AttestationData'
BeaconCommitteeSelection:
$ref: './types/selection.yaml#/BeaconCommitteeSelection'
SyncCommitteeSelection:
$ref: './types/selection.yaml#/SyncCommitteeSelection'
Fork:
$ref: './types/misc.yaml#/Fork'
Checkpoint:
$ref: './types/misc.yaml#/Checkpoint'
Uint64:
$ref: './types/primitive.yaml#/Uint64'
NetworkIdentity:
$ref: './types/p2p.yaml#/NetworkIdentity'
Peer:
$ref: './types/p2p.yaml#/Peer'
PeerId:
$ref: './types/p2p.yaml#/PeerId'
PeerConnectionState:
$ref: './types/p2p.yaml#/PeerConnectionState'
PeerConnectionDirection:
$ref: './types/p2p.yaml#/PeerConnectionDirection'
GenesisTime:
$ref: './types/primitive.yaml#/GenesisTime'
Version:
$ref: './types/primitive.yaml#/Version'
ForkVersion:
$ref: './types/primitive.yaml#/ForkVersion'
DependentRoot:
$ref: './types/primitive.yaml#/DependentRoot'
ExecutionOptimistic:
$ref: './types/primitive.yaml#/ExecutionOptimistic'
Finalized:
$ref: './types/primitive.yaml#/Finalized'
Root:
$ref: './types/primitive.yaml#/Root'
Graffiti:
$ref: './types/primitive.yaml#/Graffiti'
Signature:
$ref: './types/primitive.yaml#/Signature'
ErrorMessage:
$ref: './types/http.yaml#/ErrorMessage'
IndexedErrorMessage:
$ref: './types/http.yaml#/IndexedErrorMessage'
Altair.BeaconBlock:
$ref: './types/altair/block.yaml#/Altair/BeaconBlock'
Altair.SignedBeaconBlock:
$ref: './types/altair/block.yaml#/Altair/SignedBeaconBlock'
Altair.LightClientBootstrap:
$ref: './types/altair/light_client.yaml#/Altair/LightClientBootstrap'
Altair.LightClientUpdate:
$ref: './types/altair/light_client.yaml#/Altair/LightClientUpdate'
Altair.LightClientFinalityUpdate:
$ref: './types/altair/light_client.yaml#/Altair/LightClientFinalityUpdate'
Altair.LightClientOptimisticUpdate:
$ref: './types/altair/light_client.yaml#/Altair/LightClientOptimisticUpdate'
Altair.BeaconState:
$ref: './types/altair/state.yaml#/Altair/BeaconState'
Altair.SyncCommitteeSignature:
$ref: './types/altair/sync_committee.yaml#/Altair/SyncCommitteeSignature'
Altair.SyncCommitteeSubscription:
$ref: './types/altair/sync_committee.yaml#/Altair/SyncCommitteeSubscription'
Altair.ContributionAndProof:
$ref: './types/altair/sync_committee.yaml#/Altair/ContributionAndProof'
Altair.SignedContributionAndProof:
$ref: './types/altair/sync_committee.yaml#/Altair/SignedContributionAndProof'
Altair.SyncCommitteeContribution:
$ref: './types/altair/sync_committee.yaml#/Altair/SyncCommitteeContribution'
Altair.SyncCommittee:
$ref: './types/altair/sync_committee.yaml#/Altair/SyncCommitteeByValidatorIndices'
ExecutionAddress:
$ref: './types/primitive.yaml#/ExecutionAddress'
Bellatrix.BeaconState:
$ref: './types/bellatrix/state.yaml#/Bellatrix/BeaconState'
Bellatrix.BeaconBlock:
$ref: './types/bellatrix/block.yaml#/Bellatrix/BeaconBlock'
Bellatrix.SignedBeaconBlock:
$ref: './types/bellatrix/block.yaml#/Bellatrix/SignedBeaconBlock'
Bellatrix.BlindedBeaconBlock:
$ref: './types/bellatrix/block.yaml#/Bellatrix/BlindedBeaconBlock'
Bellatrix.SignedBlindedBeaconBlock:
$ref: './types/bellatrix/block.yaml#/Bellatrix/SignedBlindedBeaconBlock'
ConsensusVersion:
type: string
enum: [phase0, altair, bellatrix, capella, deneb, electra]
example: "phase0"
SignedValidatorRegistration:
$ref: './types/registration.yaml#/SignedValidatorRegistration'
Capella.BeaconState:
$ref: './types/capella/state.yaml#/Capella/BeaconState'
Capella.BeaconBlock:
$ref: './types/capella/block.yaml#/Capella/BeaconBlock'
Capella.SignedBeaconBlock:
$ref: './types/capella/block.yaml#/Capella/SignedBeaconBlock'
Capella.BlindedBeaconBlock:
$ref: './types/capella/block.yaml#/Capella/BlindedBeaconBlock'
Capella.SignedBlindedBeaconBlock:
$ref: './types/capella/block.yaml#/Capella/SignedBlindedBeaconBlock'
Capella.LightClientBootstrap:
$ref: './types/capella/light_client.yaml#/Capella/LightClientBootstrap'
Capella.LightClientUpdate:
$ref: './types/capella/light_client.yaml#/Capella/LightClientUpdate'
Capella.LightClientFinalityUpdate:
$ref: './types/capella/light_client.yaml#/Capella/LightClientFinalityUpdate'
Capella.LightClientOptimisticUpdate:
$ref: './types/capella/light_client.yaml#/Capella/LightClientOptimisticUpdate'
Capella.Withdrawal:
$ref: './types/withdrawal.yaml#/Withdrawal'
Deneb.BeaconState:
$ref: './types/deneb/state.yaml#/Deneb/BeaconState'
Deneb.BeaconBlock:
$ref: './types/deneb/block.yaml#/Deneb/BeaconBlock'
Deneb.BlockContents:
$ref: './types/deneb/block_contents.yaml#/Deneb/BlockContents'
Deneb.SignedBeaconBlock:
$ref: './types/deneb/block.yaml#/Deneb/SignedBeaconBlock'
Deneb.SignedBlockContents:
$ref: './types/deneb/block_contents.yaml#/Deneb/SignedBlockContents'
Deneb.BlindedBeaconBlock:
$ref: './types/deneb/block.yaml#/Deneb/BlindedBeaconBlock'
Deneb.SignedBlindedBeaconBlock:
$ref: './types/deneb/block.yaml#/Deneb/SignedBlindedBeaconBlock'
Deneb.LightClientBootstrap:
$ref: './types/deneb/light_client.yaml#/Deneb/LightClientBootstrap'
Deneb.LightClientUpdate:
$ref: './types/deneb/light_client.yaml#/Deneb/LightClientUpdate'
Deneb.LightClientFinalityUpdate:
$ref: './types/deneb/light_client.yaml#/Deneb/LightClientFinalityUpdate'
Deneb.LightClientOptimisticUpdate:
$ref: './types/deneb/light_client.yaml#/Deneb/LightClientOptimisticUpdate'
Blob:
$ref: './types/primitive.yaml#/Blob'
Deneb.BlobSidecars:
$ref: './types/deneb/blob_sidecar.yaml#/Deneb/BlobSidecars'
Electra.BeaconState:
$ref: './types/electra/state.yaml#/Electra/BeaconState'
Electra.BlockContents:
$ref: './types/electra/block_contents.yaml#/Electra/BlockContents'
Electra.SignedBeaconBlock:
$ref: './types/electra/block.yaml#/Electra/SignedBeaconBlock'
Electra.SignedBlockContents:
$ref: './types/electra/block_contents.yaml#/Electra/SignedBlockContents'
Electra.BlindedBeaconBlock:
$ref: './types/electra/block.yaml#/Electra/BlindedBeaconBlock'
Electra.SignedBlindedBeaconBlock:
$ref: './types/electra/block.yaml#/Electra/SignedBlindedBeaconBlock'
Electra.Attestation:
$ref: './types/electra/attestation.yaml#/Electra/Attestation'
Electra.AttesterSlashing:
$ref: './types/electra/attester_slashing.yaml#/Electra/AttesterSlashing'
Electra.SignedAggregateAndProof:
$ref: './types/electra/validator.yaml#/Electra/SignedAggregateAndProof'
Electra.LightClientBootstrap:
$ref: './types/electra/light_client.yaml#/Electra/LightClientBootstrap'
Electra.LightClientUpdate:
$ref: './types/electra/light_client.yaml#/Electra/LightClientUpdate'
Electra.LightClientFinalityUpdate:
$ref: './types/electra/light_client.yaml#/Electra/LightClientFinalityUpdate'
Electra.LightClientOptimisticUpdate:
$ref: './types/electra/light_client.yaml#/Electra/LightClientOptimisticUpdate'
Node:
$ref: './types/fork_choice.yaml#/Node'
ExtraData:
$ref: './types/fork_choice.yaml#/ExtraData'
SyncCommitteeRewards:
$ref: './types/rewards.yaml#/SyncCommitteeRewards'
BlockRewards:
$ref: './types/rewards.yaml#/BlockRewards'
AttestationsRewards:
$ref: './types/rewards.yaml#/AttestationsRewards'
parameters:
StateId:
$ref: './params/index.yaml#/StateId'
BlockId:
$ref: './params/index.yaml#/BlockId'
BlockRoot:
$ref: './params/index.yaml#/BlockRoot'
SkipRandaoVerification:
$ref: './params/index.yaml#/SkipRandaoVerification'
responses:
InvalidRequest:
$ref: './types/http.yaml#/InvalidRequest'
NotFound:
$ref: './types/http.yaml#/NotFound'
NotAcceptable:
$ref: './types/http.yaml#/NotAcceptable'
UnsupportedMediaType:
$ref: './types/http.yaml#/UnsupportedMediaType'
InternalError:
$ref: './types/http.yaml#/InternalError'
NotImplementedError:
$ref: './types/http.yaml#/NotImplementedError'
CurrentlySyncing:
$ref: './types/http.yaml#/CurrentlySyncing'
headers:
Eth-Consensus-Version:
description: |
The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data
more effectively.
required: true
schema:
$ref: '#/components/schemas/ConsensusVersion'
Eth-Execution-Payload-Blinded:
description: Required in response so client can deserialize returned json or ssz data to the correct object.
required: true
schema:
type: boolean
Eth-Execution-Payload-Value:
description: |
Execution payload value in Wei. Required in response so client can determine relative value
of execution payloads.
required: true
schema:
$ref: './types/primitive.yaml#/Wei'
Eth-Consensus-Block-Value:
description: |
Consensus rewards paid to the proposer for this block, in Wei. Required in response so
client can determine relative value of consensus blocks.
required: true
schema:
$ref: './types/primitive.yaml#/Wei'