File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type GetAssetDescriptionResponse = {
1010 denomination : number ;
1111} ;
1212
13+ // https://docs.avax.network/api-reference/p-chain/api#platformgetcurrentvalidators
1314export type GetCurrentValidatorsResponse = {
1415 validators : {
1516 accruedDelegateeReward : string ;
@@ -24,6 +25,15 @@ export type GetCurrentValidatorsResponse = {
2425 threshold : string ;
2526 addresses : string [ ] ;
2627 } ;
28+ delegationRewardOwner : {
29+ locktime : string ;
30+ threshold : string ;
31+ addresses : string [ ] ;
32+ } ;
33+ signer : {
34+ publicKey : string ;
35+ proofOfPosession : string ;
36+ } ;
2737 delegatorCount : string ;
2838 delegatorWeight : string ;
2939 potentialReward : string ;
@@ -36,7 +46,7 @@ export type GetCurrentValidatorsResponse = {
3646 endTime : string ;
3747 stakeAmount : string ;
3848 nodeID : string ;
39- delegationRewardOwner : {
49+ rewardOwner : {
4050 locktime : string ;
4151 threshold : string ;
4252 addresses : string [ ] ;
@@ -51,6 +61,7 @@ export type GetPendingValidatorsParams = {
5161 nodeIDs ?: string [ ] ;
5262} ;
5363
64+ // https://docs.avax.network/api-reference/p-chain/api#platformgetpendingvalidators
5465export type GetPendingValidatorsResponse = {
5566 validators : {
5667 txID : string ;
@@ -61,6 +72,10 @@ export type GetPendingValidatorsResponse = {
6172 delegationFee : string ;
6273 connected : boolean ;
6374 weight : string ;
75+ signer : {
76+ publicKey : string ;
77+ proofOfPosession : string ;
78+ } ;
6479 } [ ] ;
6580 delegators : {
6681 txID : string ;
You can’t perform that action at this time.
0 commit comments