|
21 | 21 | message: Invalid forkchoice state
|
22 | 22 | - code: -38003
|
23 | 23 | message: Invalid payload attributes
|
| 24 | + examples: |
| 25 | + - name: engine_forkchoiceUpdatedV1 example |
| 26 | + params: |
| 27 | + - name: Forkchoice state |
| 28 | + value: |
| 29 | + headBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 30 | + safeBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 31 | + finalizedBlockHash: '0x3b8fb240d288781d4aac94d3fd16809ee413bc99294a085798a589dae51ddd4a' |
| 32 | + - name: Payload attributes |
| 33 | + value: |
| 34 | + timestamp: '0x5' |
| 35 | + prevRandao: '0x0000000000000000000000000000000000000000000000000000000000000000' |
| 36 | + suggestedFeeRecipient: '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b' |
| 37 | + result: |
| 38 | + name: Response object |
| 39 | + value: |
| 40 | + payloadStatus: |
| 41 | + status: VALID |
| 42 | + latestValidHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 43 | + validationError: null |
| 44 | + payloadId: '0x0000000021f32cc1' |
24 | 45 | - name: engine_forkchoiceUpdatedV2
|
25 | 46 | summary: Updates the forkchoice state
|
26 | 47 | externalDocs:
|
|
44 | 65 | message: Invalid forkchoice state
|
45 | 66 | - code: -38003
|
46 | 67 | message: Invalid payload attributes
|
| 68 | + examples: |
| 69 | + - name: engine_forkchoiceUpdatedV2 example |
| 70 | + params: |
| 71 | + - name: Forkchoice state |
| 72 | + value: |
| 73 | + headBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 74 | + safeBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 75 | + finalizedBlockHash: '0x3b8fb240d288781d4aac94d3fd16809ee413bc99294a085798a589dae51ddd4a' |
| 76 | + - name: Payload attributes |
| 77 | + value: |
| 78 | + timestamp: '0x64e7785b' |
| 79 | + prevRandao: '0xc130d5e63c61c935f6089e61140ca9136172677cf6aa5800dcc1cf0a02152a14' |
| 80 | + suggestedFeeRecipient: '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b' |
| 81 | + withdrawals: |
| 82 | + - index: '0xf0' |
| 83 | + validatorIndex: '0xf0' |
| 84 | + address: '0x00000000000000000000000000000000000010f0' |
| 85 | + amount: '0x1' |
| 86 | + - index: '0xf1' |
| 87 | + validatorIndex: '0xf1' |
| 88 | + address: '0x00000000000000000000000000000000000010f1' |
| 89 | + amount: '0x1' |
| 90 | + result: |
| 91 | + name: Response object |
| 92 | + value: |
| 93 | + payloadStatus: |
| 94 | + status: VALID |
| 95 | + latestValidHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 96 | + validationError: null |
| 97 | + payloadId: '0x0000000021f32cc1' |
47 | 98 | - name: engine_forkchoiceUpdatedV3
|
48 | 99 | summary: Updates the forkchoice state
|
49 | 100 | externalDocs:
|
|
71 | 122 | message: Invalid params
|
72 | 123 | - code: -38005
|
73 | 124 | message: Unsupported fork
|
| 125 | + examples: |
| 126 | + - name: engine_forkchoiceUpdatedV3 example |
| 127 | + params: |
| 128 | + - name: Forkchoice state |
| 129 | + value: |
| 130 | + headBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 131 | + safeBlockHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 132 | + finalizedBlockHash: '0x3b8fb240d288781d4aac94d3fd16809ee413bc99294a085798a589dae51ddd4a' |
| 133 | + - name: Payload attributes |
| 134 | + value: |
| 135 | + timestamp: '0x64e7785b' |
| 136 | + prevRandao: '0xc130d5e63c61c935f6089e61140ca9136172677cf6aa5800dcc1cf0a02152a14' |
| 137 | + suggestedFeeRecipient: '0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b' |
| 138 | + withdrawals: |
| 139 | + - index: '0xf0' |
| 140 | + validatorIndex: '0xf0' |
| 141 | + address: '0x00000000000000000000000000000000000010f0' |
| 142 | + amount: '0x1' |
| 143 | + - index: '0xf1' |
| 144 | + validatorIndex: '0xf1' |
| 145 | + address: '0x00000000000000000000000000000000000010f1' |
| 146 | + amount: '0x1' |
| 147 | + parentBeaconBlockRoot: '0x11f780a954bcba8889998e4e61deaae6388dd2391e9c810bd9c94962cc1eadc1' |
| 148 | + result: |
| 149 | + name: Response object |
| 150 | + value: |
| 151 | + payloadStatus: |
| 152 | + status: VALID |
| 153 | + latestValidHash: '0x3559e851470f6e7bbed1db474980683e8c315bfce99b2a6ef47c057c04de7858' |
| 154 | + validationError: null |
| 155 | + payloadId: '0x0000000021f32cc1' |
0 commit comments