You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns pending consolidations for state with given 'stateId'. Should return 400 if the state retrieved is prior to Electra.
2291
+
tags:
2292
+
- Beacon
2293
+
parameters:
2294
+
- name: state_id
2295
+
in: path
2296
+
required: true
2297
+
example: head
2298
+
schema:
2299
+
type: string
2300
+
description: |
2301
+
State identifier.
2302
+
Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", \<slot\>, \<hex encoded stateRoot with 0x prefix\>.
2303
+
responses:
2304
+
'200':
2305
+
description: Success
2306
+
headers:
2307
+
Eth-Consensus-Version:
2308
+
description: The active consensus version to which the pending consolidations belong.
2309
+
required: true
2310
+
schema:
2311
+
type: string
2312
+
enum:
2313
+
- phase0
2314
+
- altair
2315
+
- bellatrix
2316
+
- capella
2317
+
- deneb
2318
+
- electra
2319
+
example: electra
2320
+
content:
2321
+
application/json:
2322
+
schema:
2323
+
title: GetPendingDepositsResponse
2324
+
type: object
2325
+
required:
2326
+
- version
2327
+
- execution_optimistic
2328
+
- finalized
2329
+
- data
2330
+
properties:
2331
+
version:
2332
+
type: string
2333
+
enum:
2334
+
- phase0
2335
+
- altair
2336
+
- bellatrix
2337
+
- capella
2338
+
- deneb
2339
+
- electra
2340
+
example: electra
2341
+
execution_optimistic:
2342
+
type: boolean
2343
+
example: false
2344
+
description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.'
2345
+
finalized:
2346
+
type: boolean
2347
+
example: false
2348
+
description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.'
2349
+
data:
2350
+
type: array
2351
+
items:
2352
+
type: object
2353
+
description: 'The [`PendingConsolidation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.2/specs/electra/beacon-chain.md#pendingconsolidation) object from the CL Electra spec.'
2354
+
required:
2355
+
- source_index
2356
+
- target_index
2357
+
properties:
2358
+
source_index:
2359
+
type: string
2360
+
example: '1'
2361
+
description: Index of validator to consolidate from.
2362
+
target_index:
2363
+
type: string
2364
+
example: '1'
2365
+
description: Index of validator to consolidate to.
2366
+
maxItems: 262144
2367
+
application/octet-stream:
2368
+
schema:
2369
+
description: 'SSZ serialized `List[PendingConsolidation, PENDING_CONSOLIDATIONS_LIMIT]` bytes. Use Accept header to choose this response type'
2370
+
'400':
2371
+
description: Invalid request syntax.
2372
+
content:
2373
+
application/json:
2374
+
schema:
2375
+
type: object
2376
+
required:
2377
+
- code
2378
+
- message
2379
+
properties:
2380
+
code:
2381
+
description: Either specific error code in case of invalid request or http status code
2382
+
type: number
2383
+
example: 400
2384
+
message:
2385
+
description: Message describing error
2386
+
type: string
2387
+
stacktraces:
2388
+
description: 'Optional stacktraces, sent when node is in debug mode'
2389
+
type: array
2390
+
items:
2391
+
type: string
2392
+
'404':
2393
+
description: Not found
2394
+
content:
2395
+
application/json:
2396
+
schema:
2397
+
type: object
2398
+
required:
2399
+
- code
2400
+
- message
2401
+
properties:
2402
+
code:
2403
+
description: Either specific error code in case of invalid request or http status code
2404
+
type: number
2405
+
example: 404
2406
+
message:
2407
+
description: Message describing error
2408
+
type: string
2409
+
stacktraces:
2410
+
description: 'Optional stacktraces, sent when node is in debug mode'
2411
+
type: array
2412
+
items:
2413
+
type: string
2414
+
example:
2415
+
code: 404
2416
+
message: Requested item not found
2417
+
'415':
2418
+
description: Supplied content-type is not supported.
2419
+
content:
2420
+
application/json:
2421
+
schema:
2422
+
type: object
2423
+
required:
2424
+
- code
2425
+
- message
2426
+
properties:
2427
+
code:
2428
+
description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.'
2429
+
type: number
2430
+
example: 415
2431
+
message:
2432
+
description: Message describing error
2433
+
type: string
2434
+
stacktraces:
2435
+
description: 'Optional stacktraces, sent when node is in debug mode'
2436
+
type: array
2437
+
items:
2438
+
type: string
2439
+
example:
2440
+
code: 415
2441
+
message: Cannot read the supplied content type.
2442
+
'500':
2443
+
description: Beacon node internal error.
2444
+
content:
2445
+
application/json:
2446
+
schema:
2447
+
type: object
2448
+
required:
2449
+
- code
2450
+
- message
2451
+
properties:
2452
+
code:
2453
+
description: Either specific error code in case of invalid request or http status code
2454
+
type: number
2455
+
example: 404
2456
+
message:
2457
+
description: Message describing error
2458
+
type: string
2459
+
stacktraces:
2460
+
description: 'Optional stacktraces, sent when node is in debug mode'
description: The slot at which the deposit request was processed.
74530
+
Electra.PendingConsolidation:
74531
+
type: object
74532
+
description: 'The [`PendingConsolidation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.2/specs/electra/beacon-chain.md#pendingconsolidation) object from the CL Electra spec.'
74533
+
required:
74534
+
- source_index
74535
+
- target_index
74536
+
properties:
74537
+
source_index:
74538
+
type: string
74539
+
example: '1'
74540
+
description: Index of validator to consolidate from.
74541
+
target_index:
74542
+
type: string
74543
+
example: '1'
74544
+
description: Index of validator to consolidate to.
74348
74545
Electra.PendingPartialWithdrawal:
74349
74546
type: object
74350
74547
description: 'The [`PendingPartialWithdrawal`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-beta.2/specs/electra/beacon-chain.md#pendingpartialwithdrawal) object from the CL Electra spec.'
0 commit comments