-
Notifications
You must be signed in to change notification settings - Fork 492
Expand file tree
/
Copy pathforkchoice.yaml
More file actions
111 lines (111 loc) · 3.22 KB
/
forkchoice.yaml
File metadata and controls
111 lines (111 loc) · 3.22 KB
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
ForkchoiceStateV1:
title: Forkchoice state object V1
type: object
required:
- headBlockHash
- safeBlockHash
- finalizedBlockHash
properties:
headBlockHash:
title: Head block hash
$ref: '#/components/schemas/hash32'
safeBlockHash:
title: Safe block hash
$ref: '#/components/schemas/hash32'
finalizedBlockHash:
title: Finalized block hash
$ref: '#/components/schemas/hash32'
ForkchoiceUpdatedResponseV1:
title: Forkchoice updated response
type: object
required:
- payloadStatus
properties:
payloadStatus:
title: Payload status
$ref: '#/components/schemas/RestrictedPayloadStatusV1'
payloadId:
title: Payload id
$ref: '#/components/schemas/bytes8'
PayloadAttributesV1:
title: Payload attributes object V1
type: object
required:
- timestamp
- prevRandao
- suggestedFeeRecipient
properties:
timestamp:
title: Timestamp
$ref: '#/components/schemas/uint64'
prevRandao:
title: Previous randao value
$ref: '#/components/schemas/bytes32'
suggestedFeeRecipient:
title: Suggested fee recipient
$ref: '#/components/schemas/address'
PayloadAttributesV2:
title: Payload attributes object V2
type: object
required:
- timestamp
- prevRandao
- suggestedFeeRecipient
- withdrawals
properties:
timestamp:
$ref: '#/components/schemas/PayloadAttributesV1/properties/timestamp'
prevRandao:
$ref: '#/components/schemas/PayloadAttributesV1/properties/prevRandao'
suggestedFeeRecipient:
$ref: '#/components/schemas/PayloadAttributesV1/properties/suggestedFeeRecipient'
withdrawals:
title: Withdrawals
type: array
items:
$ref: '#/components/schemas/WithdrawalV1'
PayloadAttributesV3:
title: Payload attributes object V3
type: object
required:
- timestamp
- prevRandao
- suggestedFeeRecipient
- withdrawals
- parentBeaconBlockRoot
properties:
timestamp:
$ref: '#/components/schemas/PayloadAttributesV2/properties/timestamp'
prevRandao:
$ref: '#/components/schemas/PayloadAttributesV2/properties/prevRandao'
suggestedFeeRecipient:
$ref: '#/components/schemas/PayloadAttributesV2/properties/suggestedFeeRecipient'
withdrawals:
$ref: '#/components/schemas/PayloadAttributesV2/properties/withdrawals'
parentBeaconBlockRoot:
title: Parent beacon block root
$ref: '#/components/schemas/hash32'
PayloadAttributesV4:
title: Payload attributes object V4
type: object
required:
- timestamp
- prevRandao
- suggestedFeeRecipient
- withdrawals
- parentBeaconBlockRoot
- targetGasLimit
properties:
timestamp:
$ref: '#/components/schemas/PayloadAttributesV2/properties/timestamp'
prevRandao:
$ref: '#/components/schemas/PayloadAttributesV2/properties/prevRandao'
suggestedFeeRecipient:
$ref: '#/components/schemas/PayloadAttributesV2/properties/suggestedFeeRecipient'
withdrawals:
$ref: '#/components/schemas/PayloadAttributesV2/properties/withdrawals'
parentBeaconBlockRoot:
title: Parent beacon block root
$ref: '#/components/schemas/hash32'
targetGasLimit:
$ref: '#/components/schemas/uint64'