File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type GetAssetDescriptionResponse = {
10
10
denomination : number ;
11
11
} ;
12
12
13
+ // https://docs.avax.network/api-reference/p-chain/api#platformgetcurrentvalidators
13
14
export type GetCurrentValidatorsResponse = {
14
15
validators : {
15
16
accruedDelegateeReward : string ;
@@ -24,6 +25,15 @@ export type GetCurrentValidatorsResponse = {
24
25
threshold : string ;
25
26
addresses : string [ ] ;
26
27
} ;
28
+ delegationRewardOwner : {
29
+ locktime : string ;
30
+ threshold : string ;
31
+ addresses : string [ ] ;
32
+ } ;
33
+ signer : {
34
+ publicKey : string ;
35
+ proofOfPosession : string ;
36
+ } ;
27
37
delegatorCount : string ;
28
38
delegatorWeight : string ;
29
39
potentialReward : string ;
@@ -36,7 +46,7 @@ export type GetCurrentValidatorsResponse = {
36
46
endTime : string ;
37
47
stakeAmount : string ;
38
48
nodeID : string ;
39
- delegationRewardOwner : {
49
+ rewardOwner : {
40
50
locktime : string ;
41
51
threshold : string ;
42
52
addresses : string [ ] ;
@@ -51,6 +61,7 @@ export type GetPendingValidatorsParams = {
51
61
nodeIDs ?: string [ ] ;
52
62
} ;
53
63
64
+ // https://docs.avax.network/api-reference/p-chain/api#platformgetpendingvalidators
54
65
export type GetPendingValidatorsResponse = {
55
66
validators : {
56
67
txID : string ;
@@ -61,6 +72,10 @@ export type GetPendingValidatorsResponse = {
61
72
delegationFee : string ;
62
73
connected : boolean ;
63
74
weight : string ;
75
+ signer : {
76
+ publicKey : string ;
77
+ proofOfPosession : string ;
78
+ } ;
64
79
} [ ] ;
65
80
delegators : {
66
81
txID : string ;
You can’t perform that action at this time.
0 commit comments