|
16 | 16 | oneOf: |
17 | 17 | - $ref: '#/components/schemas/notFound' |
18 | 18 | - $ref: '#/components/schemas/Block' |
| 19 | + errors: |
| 20 | + - code: 4444 |
| 21 | + message: Pruned history unavailable |
19 | 22 | examples: |
20 | 23 | - name: eth_getBlockByHash example |
21 | 24 | params: |
|
76 | 79 | oneOf: |
77 | 80 | - $ref: '#/components/schemas/notFound' |
78 | 81 | - $ref: '#/components/schemas/Block' |
| 82 | + errors: |
| 83 | + - code: 4444 |
| 84 | + message: Pruned history unavailable |
79 | 85 | examples: |
80 | 86 | - name: eth_getBlockByNumber example |
81 | 87 | params: |
|
131 | 137 | - $ref: '#/components/schemas/notFound' |
132 | 138 | - title: Transaction count |
133 | 139 | $ref: '#/components/schemas/uint' |
| 140 | + errors: |
| 141 | + - code: 4444 |
| 142 | + message: Pruned history unavailable |
134 | 143 | examples: |
135 | 144 | - name: eth_getBlockTransactionCountByHash example |
136 | 145 | params: |
|
152 | 161 | - $ref: '#/components/schemas/notFound' |
153 | 162 | - title: Transaction count |
154 | 163 | $ref: '#/components/schemas/uint' |
| 164 | + errors: |
| 165 | + - code: 4444 |
| 166 | + message: Pruned history unavailable |
155 | 167 | examples: |
156 | 168 | - name: eth_getBlockTransactionCountByNumber example |
157 | 169 | params: |
|
173 | 185 | - $ref: '#/components/schemas/notFound' |
174 | 186 | - title: Uncle count |
175 | 187 | $ref: '#/components/schemas/uint' |
| 188 | + errors: |
| 189 | + - code: 4444 |
| 190 | + message: Pruned history unavailable |
176 | 191 | examples: |
177 | 192 | - name: eth_getUncleCountByBlockHash example |
178 | 193 | params: |
|
194 | 209 | - $ref: '#/components/schemas/notFound' |
195 | 210 | - title: Uncle count |
196 | 211 | $ref: '#/components/schemas/uint' |
| 212 | + errors: |
| 213 | + - code: 4444 |
| 214 | + message: Pruned history unavailable |
197 | 215 | examples: |
198 | 216 | - name: eth_getUncleCountByBlockNumber example |
199 | 217 | params: |
|
218 | 236 | type: array |
219 | 237 | items: |
220 | 238 | $ref: '#/components/schemas/ReceiptInfo' |
| 239 | + errors: |
| 240 | + - code: 4444 |
| 241 | + message: Pruned history unavailable |
221 | 242 | examples: |
222 | 243 | - name: eth_getBlockReceipts example |
223 | 244 | params: |
|
0 commit comments