mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Add get pending partial withdrawals (#14949)
* add pending partial withdrawals endpoint * changelog * missing new line * fix changelog * removing unneeded header * using generic instead of redundant functions --------- Co-authored-by: james-prysm <james@prysmaticlabs.com>
This commit is contained in:
@@ -257,3 +257,10 @@ type GetPendingDepositsResponse struct {
|
||||
Finalized bool `json:"finalized"`
|
||||
Data []*PendingDeposit `json:"data"`
|
||||
}
|
||||
|
||||
type GetPendingPartialWithdrawalsResponse struct {
|
||||
Version string `json:"version"`
|
||||
ExecutionOptimistic bool `json:"execution_optimistic"`
|
||||
Finalized bool `json:"finalized"`
|
||||
Data []*PendingPartialWithdrawal `json:"data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user