@polygonlabs/staking-api-client 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +93 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/registry-validator.gen.d.ts +425 -2
- package/dist/generated/registry-validator.gen.d.ts.map +1 -1
- package/dist/generated/registry-validator.gen.js +242 -2
- package/dist/generated/registry-validator.gen.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +32 -2
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +51 -1
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +211 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client/index.js';
|
|
2
|
-
import { type AddValidatorV2Errors, type AddValidatorV2Responses, type AdminExportCountErrors, type AdminExportCountResponses, type AdminExportDocumentsErrors, type AdminExportDocumentsResponses, type AdminImportDocumentsErrors, type AdminImportDocumentsResponses, type AdminSetValidatorEngagementStateErrors, type AdminSetValidatorEngagementStateResponses, type AdminUpsertValidatorProfileErrors, type AdminUpsertValidatorProfileResponses, type GetAllDelegatorsV2Errors, type GetAllDelegatorsV2Responses, type GetAllDelegatorsV3Errors, type GetAllDelegatorsV3Responses, type GetAllNotificationsV2Errors, type GetAllNotificationsV2Responses, type GetAllNotificationsV3Errors, type GetAllNotificationsV3Responses, type GetAllValidatorsV2Errors, type GetAllValidatorsV2Responses, type GetAllValidatorsV3Errors, type GetAllValidatorsV3Responses, type GetCheckpointIntervalV2Errors, type GetCheckpointIntervalV2Responses, type GetCheckpointsSignedByValidatorV2Errors, type GetCheckpointsSignedByValidatorV2Responses, type GetCheckpointsSignedByValidatorV3Errors, type GetCheckpointsSignedByValidatorV3Responses, type GetCommissionedRewardV2Errors, type GetCommissionedRewardV2Responses, type GetCurrentAprV2Errors, type GetCurrentAprV2Responses, type GetDelegationsByUserV2Errors, type GetDelegationsByUserV2Responses, type GetDelegationsByUserV3Errors, type GetDelegationsByUserV3Responses, type GetDelegatorUnbondsV2Errors, type GetDelegatorUnbondsV2Responses, type GetDelegatorUnbondsV3Errors, type GetDelegatorUnbondsV3Responses, type GetMissedCheckpointsByAllValidatorsV2Errors, type GetMissedCheckpointsByAllValidatorsV2Responses, type GetPerformanceBenchmarkV2Errors, type GetPerformanceBenchmarkV2Responses, type GetRewardsSummaryV2Errors, type GetRewardsSummaryV2Responses, type GetSignerAddressListForCheckpointNumberV2Errors, type GetSignerAddressListForCheckpointNumberV2Responses, type GetSignerAddressListForLatestCheckpointV2Errors, type GetSignerAddressListForLatestCheckpointV2Responses, type GetSignerEthBalancesV2Errors, type GetSignerEthBalancesV2Responses, type GetSummaryV3Errors, type GetSummaryV3Responses, type GetTotalStakedV2Errors, type GetTotalStakedV2Responses, type GetUserLoginV3Errors, type GetUserLoginV3Responses, type GetValidatorByAddressV2Errors, type GetValidatorByAddressV2Responses, type GetValidatorDelegatorsV2Errors, type GetValidatorDelegatorsV2Responses, type GetValidatorDelegatorsV3Errors, type GetValidatorDelegatorsV3Responses, type GetValidatorV2Errors, type GetValidatorV2Responses, type GetValidatorV3Errors, type GetValidatorV3Responses, type UpdateValidatorV2Errors, type UpdateValidatorV2Responses } from './registry-validator.gen.js';
|
|
3
|
-
import type { AddValidatorV2Data, AdminExportCountData, AdminExportDocumentsData, AdminImportDocumentsData, AdminSetValidatorEngagementStateData, AdminUpsertValidatorProfileData, GetAllDelegatorsV2Data, GetAllDelegatorsV3Data, GetAllNotificationsV2Data, GetAllNotificationsV3Data, GetAllValidatorsV2Data, GetAllValidatorsV3Data, GetCheckpointIntervalV2Data, GetCheckpointsSignedByValidatorV2Data, GetCheckpointsSignedByValidatorV3Data, GetCommissionedRewardV2Data, GetCurrentAprV2Data, GetDelegationsByUserV2Data, GetDelegationsByUserV3Data, GetDelegatorUnbondsV2Data, GetDelegatorUnbondsV3Data, GetMissedCheckpointsByAllValidatorsV2Data, GetPerformanceBenchmarkV2Data, GetRewardsSummaryV2Data, GetSignerAddressListForCheckpointNumberV2Data, GetSignerAddressListForLatestCheckpointV2Data, GetSignerEthBalancesV2Data, GetSummaryV3Data, GetTotalStakedV2Data, GetUserLoginV3Data, GetValidatorByAddressV2Data, GetValidatorDelegatorsV2Data, GetValidatorDelegatorsV3Data, GetValidatorV2Data, GetValidatorV3Data, UpdateValidatorV2Data } from './types.gen.js';
|
|
2
|
+
import { type AddValidatorV2Errors, type AddValidatorV2Responses, type AdminExportCountErrors, type AdminExportCountResponses, type AdminExportDocumentsErrors, type AdminExportDocumentsResponses, type AdminImportDocumentsErrors, type AdminImportDocumentsResponses, type AdminSetValidatorEngagementStateErrors, type AdminSetValidatorEngagementStateResponses, type AdminUpsertValidatorProfileErrors, type AdminUpsertValidatorProfileResponses, type GetAllDelegatorsV2Errors, type GetAllDelegatorsV2Responses, type GetAllDelegatorsV3Errors, type GetAllDelegatorsV3Responses, type GetAllNotificationsPageV2Errors, type GetAllNotificationsPageV2Responses, type GetAllNotificationsPageV3Errors, type GetAllNotificationsPageV3Responses, type GetAllNotificationsV2Errors, type GetAllNotificationsV2Responses, type GetAllNotificationsV3Errors, type GetAllNotificationsV3Responses, type GetAllValidatorsV2Errors, type GetAllValidatorsV2Responses, type GetAllValidatorsV3Errors, type GetAllValidatorsV3Responses, type GetCheckpointIntervalV2Errors, type GetCheckpointIntervalV2Responses, type GetCheckpointsSignedByValidatorV2Errors, type GetCheckpointsSignedByValidatorV2Responses, type GetCheckpointsSignedByValidatorV3Errors, type GetCheckpointsSignedByValidatorV3Responses, type GetCheckpointsSignedPageV2Errors, type GetCheckpointsSignedPageV2Responses, type GetCheckpointsSignedPageV3Errors, type GetCheckpointsSignedPageV3Responses, type GetCommissionedRewardV2Errors, type GetCommissionedRewardV2Responses, type GetCurrentAprV2Errors, type GetCurrentAprV2Responses, type GetDelegationsByUserV2Errors, type GetDelegationsByUserV2Responses, type GetDelegationsByUserV3Errors, type GetDelegationsByUserV3Responses, type GetDelegatorUnbondsV2Errors, type GetDelegatorUnbondsV2Responses, type GetDelegatorUnbondsV3Errors, type GetDelegatorUnbondsV3Responses, type GetMissedCheckpointsByAllValidatorsV2Errors, type GetMissedCheckpointsByAllValidatorsV2Responses, type GetPerformanceBenchmarkV2Errors, type GetPerformanceBenchmarkV2Responses, type GetRewardsSummaryV2Errors, type GetRewardsSummaryV2Responses, type GetSignerAddressListForCheckpointNumberV2Errors, type GetSignerAddressListForCheckpointNumberV2Responses, type GetSignerAddressListForLatestCheckpointV2Errors, type GetSignerAddressListForLatestCheckpointV2Responses, type GetSignerEthBalancesV2Errors, type GetSignerEthBalancesV2Responses, type GetSummaryV3Errors, type GetSummaryV3Responses, type GetTotalStakedV2Errors, type GetTotalStakedV2Responses, type GetUserLoginV3Errors, type GetUserLoginV3Responses, type GetValidatorByAddressV2Errors, type GetValidatorByAddressV2Responses, type GetValidatorDelegatorsV2Errors, type GetValidatorDelegatorsV2Responses, type GetValidatorDelegatorsV3Errors, type GetValidatorDelegatorsV3Responses, type GetValidatorSetV3Errors, type GetValidatorSetV3Responses, type GetValidatorV2Errors, type GetValidatorV2Responses, type GetValidatorV3Errors, type GetValidatorV3Responses, type UpdateValidatorV2Errors, type UpdateValidatorV2Responses } from './registry-validator.gen.js';
|
|
3
|
+
import type { AddValidatorV2Data, AdminExportCountData, AdminExportDocumentsData, AdminImportDocumentsData, AdminSetValidatorEngagementStateData, AdminUpsertValidatorProfileData, GetAllDelegatorsV2Data, GetAllDelegatorsV3Data, GetAllNotificationsPageV2Data, GetAllNotificationsPageV3Data, GetAllNotificationsV2Data, GetAllNotificationsV3Data, GetAllValidatorsV2Data, GetAllValidatorsV3Data, GetCheckpointIntervalV2Data, GetCheckpointsSignedByValidatorV2Data, GetCheckpointsSignedByValidatorV3Data, GetCheckpointsSignedPageV2Data, GetCheckpointsSignedPageV3Data, GetCommissionedRewardV2Data, GetCurrentAprV2Data, GetDelegationsByUserV2Data, GetDelegationsByUserV3Data, GetDelegatorUnbondsV2Data, GetDelegatorUnbondsV3Data, GetMissedCheckpointsByAllValidatorsV2Data, GetPerformanceBenchmarkV2Data, GetRewardsSummaryV2Data, GetSignerAddressListForCheckpointNumberV2Data, GetSignerAddressListForLatestCheckpointV2Data, GetSignerEthBalancesV2Data, GetSummaryV3Data, GetTotalStakedV2Data, GetUserLoginV3Data, GetValidatorByAddressV2Data, GetValidatorDelegatorsV2Data, GetValidatorDelegatorsV3Data, GetValidatorSetV3Data, GetValidatorV2Data, GetValidatorV3Data, UpdateValidatorV2Data } from './types.gen.js';
|
|
4
4
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
5
5
|
/**
|
|
6
6
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -50,6 +50,12 @@ export declare const adminSetValidatorEngagementState: <ThrowOnError extends boo
|
|
|
50
50
|
* Returns v3 validators with optional pagination, sort and search filters.
|
|
51
51
|
*/
|
|
52
52
|
export declare const getAllValidatorsV3: <ThrowOnError extends boolean = false>(options?: Options<GetAllValidatorsV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetAllValidatorsV3Responses, GetAllValidatorsV3Errors, ThrowOnError, "fields">;
|
|
53
|
+
/**
|
|
54
|
+
* Validator set, unpaginated (v3)
|
|
55
|
+
*
|
|
56
|
+
* Every validator with the given `status` (`active`, the default, or `all`), ordered by `validatorId`, in one response. Same rows as the list route, without `summary`. Prefer this over the paginated list when you need the whole set.
|
|
57
|
+
*/
|
|
58
|
+
export declare const getValidatorSetV3: <ThrowOnError extends boolean = false>(options?: Options<GetValidatorSetV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetValidatorSetV3Responses, GetValidatorSetV3Errors, ThrowOnError, "fields">;
|
|
53
59
|
/**
|
|
54
60
|
* Get a validator by id (v3)
|
|
55
61
|
*/
|
|
@@ -58,6 +64,12 @@ export declare const getValidatorV3: <ThrowOnError extends boolean = false>(opti
|
|
|
58
64
|
* Checkpoints signed by a validator (v3)
|
|
59
65
|
*/
|
|
60
66
|
export declare const getCheckpointsSignedByValidatorV3: <ThrowOnError extends boolean = false>(options: Options<GetCheckpointsSignedByValidatorV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetCheckpointsSignedByValidatorV3Responses, GetCheckpointsSignedByValidatorV3Errors, ThrowOnError, "fields">;
|
|
67
|
+
/**
|
|
68
|
+
* Checkpoints signed by a validator, cursor-paginated (v3)
|
|
69
|
+
*
|
|
70
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated checkpoints-signed route.
|
|
71
|
+
*/
|
|
72
|
+
export declare const getCheckpointsSignedPageV3: <ThrowOnError extends boolean = false>(options: Options<GetCheckpointsSignedPageV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetCheckpointsSignedPageV3Responses, GetCheckpointsSignedPageV3Errors, ThrowOnError, "fields">;
|
|
61
73
|
/**
|
|
62
74
|
* List delegators (v3)
|
|
63
75
|
*/
|
|
@@ -98,6 +110,12 @@ export declare const getValidatorByAddressV2: <ThrowOnError extends boolean = fa
|
|
|
98
110
|
* Checkpoints signed by a validator (v2)
|
|
99
111
|
*/
|
|
100
112
|
export declare const getCheckpointsSignedByValidatorV2: <ThrowOnError extends boolean = false>(options: Options<GetCheckpointsSignedByValidatorV2Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetCheckpointsSignedByValidatorV2Responses, GetCheckpointsSignedByValidatorV2Errors, ThrowOnError, "fields">;
|
|
113
|
+
/**
|
|
114
|
+
* Checkpoints signed by a validator, cursor-paginated (v2)
|
|
115
|
+
*
|
|
116
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated checkpoints-signed route.
|
|
117
|
+
*/
|
|
118
|
+
export declare const getCheckpointsSignedPageV2: <ThrowOnError extends boolean = false>(options: Options<GetCheckpointsSignedPageV2Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetCheckpointsSignedPageV2Responses, GetCheckpointsSignedPageV2Errors, ThrowOnError, "fields">;
|
|
101
119
|
/**
|
|
102
120
|
* Commissioned rewards for a validator (v2)
|
|
103
121
|
*/
|
|
@@ -160,10 +178,22 @@ export declare const getPerformanceBenchmarkV2: <ThrowOnError extends boolean =
|
|
|
160
178
|
* Notification feed (v2)
|
|
161
179
|
*/
|
|
162
180
|
export declare const getAllNotificationsV2: <ThrowOnError extends boolean = false>(options?: Options<GetAllNotificationsV2Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetAllNotificationsV2Responses, GetAllNotificationsV2Errors, ThrowOnError, "fields">;
|
|
181
|
+
/**
|
|
182
|
+
* Notification feed, cursor-paginated (v2)
|
|
183
|
+
*
|
|
184
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated notification feed. Send `filterBy` with every page.
|
|
185
|
+
*/
|
|
186
|
+
export declare const getAllNotificationsPageV2: <ThrowOnError extends boolean = false>(options?: Options<GetAllNotificationsPageV2Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetAllNotificationsPageV2Responses, GetAllNotificationsPageV2Errors, ThrowOnError, "fields">;
|
|
163
187
|
/**
|
|
164
188
|
* Notification feed (v3)
|
|
165
189
|
*/
|
|
166
190
|
export declare const getAllNotificationsV3: <ThrowOnError extends boolean = false>(options?: Options<GetAllNotificationsV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetAllNotificationsV3Responses, GetAllNotificationsV3Errors, ThrowOnError, "fields">;
|
|
191
|
+
/**
|
|
192
|
+
* Notification feed, cursor-paginated (v3)
|
|
193
|
+
*
|
|
194
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated notification feed. Send `filterBy` with every page.
|
|
195
|
+
*/
|
|
196
|
+
export declare const getAllNotificationsPageV3: <ThrowOnError extends boolean = false>(options?: Options<GetAllNotificationsPageV3Data, ThrowOnError>) => import("./client/types.gen.ts").RequestResult<GetAllNotificationsPageV3Responses, GetAllNotificationsPageV3Errors, ThrowOnError, "fields">;
|
|
167
197
|
/**
|
|
168
198
|
* Rewards summary (v2)
|
|
169
199
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../src/generated/sdk.gen.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,uBAAuB,EAA6B,KAAK,sBAAsB,EAAE,KAAK,yBAAyB,EAA+B,KAAK,0BAA0B,EAAE,KAAK,6BAA6B,EAAmC,KAAK,0BAA0B,EAAE,KAAK,6BAA6B,EAAmC,KAAK,sCAAsC,EAAE,KAAK,yCAAyC,EAA+C,KAAK,iCAAiC,EAAE,KAAK,oCAAoC,EAA0C,KAAK,wBAAwB,EAAE,KAAK,2BAA2B,EAAiC,KAAK,wBAAwB,EAAE,KAAK,2BAA2B,EAAiC,KAAK,2BAA2B,EAAE,KAAK,8BAA8B,EAAoC,KAAK,2B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ts
|
|
2
2
|
import { client } from './client.gen.js';
|
|
3
|
-
import { addValidatorV2Transformer, adminExportCountTransformer, adminExportDocumentsTransformer, adminImportDocumentsTransformer, adminSetValidatorEngagementStateTransformer, adminUpsertValidatorProfileTransformer, getAllDelegatorsV2Transformer, getAllDelegatorsV3Transformer, getAllNotificationsV2Transformer, getAllNotificationsV3Transformer, getAllValidatorsV2Transformer, getAllValidatorsV3Transformer, getCheckpointIntervalV2Transformer, getCheckpointsSignedByValidatorV2Transformer, getCheckpointsSignedByValidatorV3Transformer, getCommissionedRewardV2Transformer, getCurrentAprV2Transformer, getDelegationsByUserV2Transformer, getDelegationsByUserV3Transformer, getDelegatorUnbondsV2Transformer, getDelegatorUnbondsV3Transformer, getMissedCheckpointsByAllValidatorsV2Transformer, getPerformanceBenchmarkV2Transformer, getRewardsSummaryV2Transformer, getSignerAddressListForCheckpointNumberV2Transformer, getSignerAddressListForLatestCheckpointV2Transformer, getSignerEthBalancesV2Transformer, getSummaryV3Transformer, getTotalStakedV2Transformer, getUserLoginV3Transformer, getValidatorByAddressV2Transformer, getValidatorDelegatorsV2Transformer, getValidatorDelegatorsV3Transformer, getValidatorV2Transformer, getValidatorV3Transformer, updateValidatorV2Transformer } from './registry-validator.gen.js';
|
|
3
|
+
import { addValidatorV2Transformer, adminExportCountTransformer, adminExportDocumentsTransformer, adminImportDocumentsTransformer, adminSetValidatorEngagementStateTransformer, adminUpsertValidatorProfileTransformer, getAllDelegatorsV2Transformer, getAllDelegatorsV3Transformer, getAllNotificationsPageV2Transformer, getAllNotificationsPageV3Transformer, getAllNotificationsV2Transformer, getAllNotificationsV3Transformer, getAllValidatorsV2Transformer, getAllValidatorsV3Transformer, getCheckpointIntervalV2Transformer, getCheckpointsSignedByValidatorV2Transformer, getCheckpointsSignedByValidatorV3Transformer, getCheckpointsSignedPageV2Transformer, getCheckpointsSignedPageV3Transformer, getCommissionedRewardV2Transformer, getCurrentAprV2Transformer, getDelegationsByUserV2Transformer, getDelegationsByUserV3Transformer, getDelegatorUnbondsV2Transformer, getDelegatorUnbondsV3Transformer, getMissedCheckpointsByAllValidatorsV2Transformer, getPerformanceBenchmarkV2Transformer, getRewardsSummaryV2Transformer, getSignerAddressListForCheckpointNumberV2Transformer, getSignerAddressListForLatestCheckpointV2Transformer, getSignerEthBalancesV2Transformer, getSummaryV3Transformer, getTotalStakedV2Transformer, getUserLoginV3Transformer, getValidatorByAddressV2Transformer, getValidatorDelegatorsV2Transformer, getValidatorDelegatorsV3Transformer, getValidatorSetV3Transformer, getValidatorV2Transformer, getValidatorV3Transformer, updateValidatorV2Transformer } from './registry-validator.gen.js';
|
|
4
4
|
/**
|
|
5
5
|
* Upsert a validator profile on an owner’s behalf (admin backstop)
|
|
6
6
|
*
|
|
@@ -78,6 +78,16 @@ export const getAllValidatorsV3 = (options) => (options?.client ?? client).get({
|
|
|
78
78
|
url: '/api/v3/validators',
|
|
79
79
|
...options
|
|
80
80
|
});
|
|
81
|
+
/**
|
|
82
|
+
* Validator set, unpaginated (v3)
|
|
83
|
+
*
|
|
84
|
+
* Every validator with the given `status` (`active`, the default, or `all`), ordered by `validatorId`, in one response. Same rows as the list route, without `summary`. Prefer this over the paginated list when you need the whole set.
|
|
85
|
+
*/
|
|
86
|
+
export const getValidatorSetV3 = (options) => (options?.client ?? client).get({
|
|
87
|
+
responseTransformer: getValidatorSetV3Transformer,
|
|
88
|
+
url: '/api/v3/validators/set',
|
|
89
|
+
...options
|
|
90
|
+
});
|
|
81
91
|
/**
|
|
82
92
|
* Get a validator by id (v3)
|
|
83
93
|
*/
|
|
@@ -94,6 +104,16 @@ export const getCheckpointsSignedByValidatorV3 = (options) => (options.client ??
|
|
|
94
104
|
url: '/api/v3/validators/{validatorId}/checkpoints-signed',
|
|
95
105
|
...options
|
|
96
106
|
});
|
|
107
|
+
/**
|
|
108
|
+
* Checkpoints signed by a validator, cursor-paginated (v3)
|
|
109
|
+
*
|
|
110
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated checkpoints-signed route.
|
|
111
|
+
*/
|
|
112
|
+
export const getCheckpointsSignedPageV3 = (options) => (options.client ?? client).get({
|
|
113
|
+
responseTransformer: getCheckpointsSignedPageV3Transformer,
|
|
114
|
+
url: '/api/v3/validators/{validatorId}/checkpoints-signed/page',
|
|
115
|
+
...options
|
|
116
|
+
});
|
|
97
117
|
/**
|
|
98
118
|
* List delegators (v3)
|
|
99
119
|
*/
|
|
@@ -174,6 +194,16 @@ export const getCheckpointsSignedByValidatorV2 = (options) => (options.client ??
|
|
|
174
194
|
url: '/api/v2/validators/{validatorId}/checkpoints-signed',
|
|
175
195
|
...options
|
|
176
196
|
});
|
|
197
|
+
/**
|
|
198
|
+
* Checkpoints signed by a validator, cursor-paginated (v2)
|
|
199
|
+
*
|
|
200
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated checkpoints-signed route.
|
|
201
|
+
*/
|
|
202
|
+
export const getCheckpointsSignedPageV2 = (options) => (options.client ?? client).get({
|
|
203
|
+
responseTransformer: getCheckpointsSignedPageV2Transformer,
|
|
204
|
+
url: '/api/v2/validators/{validatorId}/checkpoints-signed/page',
|
|
205
|
+
...options
|
|
206
|
+
});
|
|
177
207
|
/**
|
|
178
208
|
* Commissioned rewards for a validator (v2)
|
|
179
209
|
*/
|
|
@@ -306,6 +336,16 @@ export const getAllNotificationsV2 = (options) => (options?.client ?? client).ge
|
|
|
306
336
|
url: '/api/v2/notification/all',
|
|
307
337
|
...options
|
|
308
338
|
});
|
|
339
|
+
/**
|
|
340
|
+
* Notification feed, cursor-paginated (v2)
|
|
341
|
+
*
|
|
342
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated notification feed. Send `filterBy` with every page.
|
|
343
|
+
*/
|
|
344
|
+
export const getAllNotificationsPageV2 = (options) => (options?.client ?? client).get({
|
|
345
|
+
responseTransformer: getAllNotificationsPageV2Transformer,
|
|
346
|
+
url: '/api/v2/notification/all/page',
|
|
347
|
+
...options
|
|
348
|
+
});
|
|
309
349
|
/**
|
|
310
350
|
* Notification feed (v3)
|
|
311
351
|
*/
|
|
@@ -314,6 +354,16 @@ export const getAllNotificationsV3 = (options) => (options?.client ?? client).ge
|
|
|
314
354
|
url: '/api/v3/notification/all',
|
|
315
355
|
...options
|
|
316
356
|
});
|
|
357
|
+
/**
|
|
358
|
+
* Notification feed, cursor-paginated (v3)
|
|
359
|
+
*
|
|
360
|
+
* Newest first. Pass `pagination.nextCursor` from the previous page as `cursor`; `nextCursor` is null on the last page. Every page costs the same at any depth — prefer this over the offset-paginated notification feed. Send `filterBy` with every page.
|
|
361
|
+
*/
|
|
362
|
+
export const getAllNotificationsPageV3 = (options) => (options?.client ?? client).get({
|
|
363
|
+
responseTransformer: getAllNotificationsPageV3Transformer,
|
|
364
|
+
url: '/api/v3/notification/all/page',
|
|
365
|
+
...options
|
|
366
|
+
});
|
|
317
367
|
/**
|
|
318
368
|
* Rewards summary (v2)
|
|
319
369
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../../src/generated/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAA2D,yBAAyB,EAA+D,2BAA2B,EAAuE,+BAA+B,EAAuE,+BAA+B,EAA+F,2CAA2C,EAAqF,sCAAsC,EAAmE,6BAA6B,EAAmE,6BAA6B,EAAyE,gCAAgC,EAAyE,gCAAgC,EAAmE,6BAA6B,EAAmE,6BAA6B,EAA6E,kCAAkC,EAAiG,4CAA4C,EAAiG,4CAA4C,EAA6E,kCAAkC,EAA6D,0BAA0B,EAA2E,iCAAiC,EAA2E,iCAAiC,EAAyE,gCAAgC,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AAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAuC,OAA8D,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAoF;IAClQ,mBAAmB,EAAE,oCAAoC;IACzD,GAAG,EAAE,+BAA+B;IACpC,GAAG,OAAO;CACb,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAuC,OAAwD,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAwE;IAC1O,mBAAmB,EAAE,8BAA8B;IACnD,GAAG,EAAE,yBAAyB;IAC9B,GAAG,OAAO;CACb,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAuC,OAAoD,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAgE;IAC1N,mBAAmB,EAAE,0BAA0B;IAC/C,GAAG,EAAE,6BAA6B;IAClC,GAAG,OAAO;CACb,CAAC,CAAC"}
|
|
@@ -95,6 +95,14 @@ export type GetAllValidatorsV3Response = {
|
|
|
95
95
|
error?: string;
|
|
96
96
|
[key: string]: unknown;
|
|
97
97
|
};
|
|
98
|
+
export type GetValidatorSetV3Response = {
|
|
99
|
+
success: boolean;
|
|
100
|
+
result?: Array<{
|
|
101
|
+
[key: string]: unknown;
|
|
102
|
+
}>;
|
|
103
|
+
error?: string;
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
};
|
|
98
106
|
export type GetValidatorV3Response = {
|
|
99
107
|
success: boolean;
|
|
100
108
|
result?: {
|
|
@@ -113,6 +121,23 @@ export type CheckpointsSignedV3Response = {
|
|
|
113
121
|
error?: string;
|
|
114
122
|
[key: string]: unknown;
|
|
115
123
|
};
|
|
124
|
+
export type CheckpointsSignedCursorV3Response = {
|
|
125
|
+
success: true;
|
|
126
|
+
result: {
|
|
127
|
+
numberOfCheckpointsMissed?: number;
|
|
128
|
+
numberOfCheckpointsSigned?: number;
|
|
129
|
+
checkpointsSigned: Array<{
|
|
130
|
+
checkpointNumber: number;
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
}>;
|
|
133
|
+
};
|
|
134
|
+
pagination: CursorPagination;
|
|
135
|
+
};
|
|
136
|
+
export type CursorPagination = {
|
|
137
|
+
limit: 20 | 50 | 100 | 500;
|
|
138
|
+
total?: number;
|
|
139
|
+
nextCursor: string | null;
|
|
140
|
+
};
|
|
116
141
|
export type DelegatorsListV3Response = {
|
|
117
142
|
success: boolean;
|
|
118
143
|
result?: Array<{
|
|
@@ -181,6 +206,16 @@ export type V2ValidatorObjectResponse = {
|
|
|
181
206
|
error?: string;
|
|
182
207
|
[key: string]: unknown;
|
|
183
208
|
};
|
|
209
|
+
export type CheckpointsSignedCursorV2Response = {
|
|
210
|
+
success: true;
|
|
211
|
+
result: Array<{
|
|
212
|
+
checkpointNumber: number;
|
|
213
|
+
[key: string]: unknown;
|
|
214
|
+
}>;
|
|
215
|
+
checkpointsMissed?: number;
|
|
216
|
+
checkpointsSigned?: number;
|
|
217
|
+
pagination: CursorPagination;
|
|
218
|
+
};
|
|
184
219
|
export type AddValidatorV2Body = {
|
|
185
220
|
owner: string;
|
|
186
221
|
/**
|
|
@@ -238,6 +273,14 @@ export type NotificationArrayResponse = {
|
|
|
238
273
|
error?: string;
|
|
239
274
|
[key: string]: unknown;
|
|
240
275
|
};
|
|
276
|
+
export type NotificationsCursorResponse = {
|
|
277
|
+
success: true;
|
|
278
|
+
result: Array<{
|
|
279
|
+
noticeId: number;
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
}>;
|
|
282
|
+
pagination: CursorPagination;
|
|
283
|
+
};
|
|
241
284
|
export type V2RewardsResponse = unknown;
|
|
242
285
|
export type AdminUpsertValidatorProfileData = {
|
|
243
286
|
body?: AdminUpsertValidatorProfileBody;
|
|
@@ -430,6 +473,32 @@ export type GetAllValidatorsV3Responses = {
|
|
|
430
473
|
200: GetAllValidatorsV3Response;
|
|
431
474
|
};
|
|
432
475
|
export type GetAllValidatorsV3Response2 = GetAllValidatorsV3Responses[keyof GetAllValidatorsV3Responses];
|
|
476
|
+
export type GetValidatorSetV3Data = {
|
|
477
|
+
body?: never;
|
|
478
|
+
path?: never;
|
|
479
|
+
query?: {
|
|
480
|
+
status?: 'active' | 'all';
|
|
481
|
+
};
|
|
482
|
+
url: '/api/v3/validators/set';
|
|
483
|
+
};
|
|
484
|
+
export type GetValidatorSetV3Errors = {
|
|
485
|
+
/**
|
|
486
|
+
* Request failed schema validation.
|
|
487
|
+
*/
|
|
488
|
+
400: ValidationErrorResponse;
|
|
489
|
+
/**
|
|
490
|
+
* Internal server error.
|
|
491
|
+
*/
|
|
492
|
+
500: ErrorResponse;
|
|
493
|
+
};
|
|
494
|
+
export type GetValidatorSetV3Error = GetValidatorSetV3Errors[keyof GetValidatorSetV3Errors];
|
|
495
|
+
export type GetValidatorSetV3Responses = {
|
|
496
|
+
/**
|
|
497
|
+
* Validator set
|
|
498
|
+
*/
|
|
499
|
+
200: GetValidatorSetV3Response;
|
|
500
|
+
};
|
|
501
|
+
export type GetValidatorSetV3Response2 = GetValidatorSetV3Responses[keyof GetValidatorSetV3Responses];
|
|
433
502
|
export type GetValidatorV3Data = {
|
|
434
503
|
body?: never;
|
|
435
504
|
path: {
|
|
@@ -487,6 +556,43 @@ export type GetCheckpointsSignedByValidatorV3Responses = {
|
|
|
487
556
|
200: CheckpointsSignedV3Response;
|
|
488
557
|
};
|
|
489
558
|
export type GetCheckpointsSignedByValidatorV3Response = GetCheckpointsSignedByValidatorV3Responses[keyof GetCheckpointsSignedByValidatorV3Responses];
|
|
559
|
+
export type GetCheckpointsSignedPageV3Data = {
|
|
560
|
+
body?: never;
|
|
561
|
+
path: {
|
|
562
|
+
validatorId: number;
|
|
563
|
+
};
|
|
564
|
+
query?: {
|
|
565
|
+
/**
|
|
566
|
+
* Opaque cursor: pass the `nextCursor` from the previous page. Omit for the first page.
|
|
567
|
+
*/
|
|
568
|
+
cursor?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Page size: one of 20, 50, 100, 500. Defaults to 20.
|
|
571
|
+
*/
|
|
572
|
+
limit?: 20 | 50 | 100 | 500;
|
|
573
|
+
startTimestamp?: number | null;
|
|
574
|
+
endTimestamp?: number | null;
|
|
575
|
+
};
|
|
576
|
+
url: '/api/v3/validators/{validatorId}/checkpoints-signed/page';
|
|
577
|
+
};
|
|
578
|
+
export type GetCheckpointsSignedPageV3Errors = {
|
|
579
|
+
/**
|
|
580
|
+
* Request failed schema validation.
|
|
581
|
+
*/
|
|
582
|
+
400: ValidationErrorResponse;
|
|
583
|
+
/**
|
|
584
|
+
* Internal server error.
|
|
585
|
+
*/
|
|
586
|
+
500: ErrorResponse;
|
|
587
|
+
};
|
|
588
|
+
export type GetCheckpointsSignedPageV3Error = GetCheckpointsSignedPageV3Errors[keyof GetCheckpointsSignedPageV3Errors];
|
|
589
|
+
export type GetCheckpointsSignedPageV3Responses = {
|
|
590
|
+
/**
|
|
591
|
+
* One page of signed checkpoints
|
|
592
|
+
*/
|
|
593
|
+
200: CheckpointsSignedCursorV3Response;
|
|
594
|
+
};
|
|
595
|
+
export type GetCheckpointsSignedPageV3Response = GetCheckpointsSignedPageV3Responses[keyof GetCheckpointsSignedPageV3Responses];
|
|
490
596
|
export type GetAllDelegatorsV3Data = {
|
|
491
597
|
body?: never;
|
|
492
598
|
path?: never;
|
|
@@ -751,6 +857,43 @@ export type GetCheckpointsSignedByValidatorV2Responses = {
|
|
|
751
857
|
200: V2ValidatorArrayResponse;
|
|
752
858
|
};
|
|
753
859
|
export type GetCheckpointsSignedByValidatorV2Response = GetCheckpointsSignedByValidatorV2Responses[keyof GetCheckpointsSignedByValidatorV2Responses];
|
|
860
|
+
export type GetCheckpointsSignedPageV2Data = {
|
|
861
|
+
body?: never;
|
|
862
|
+
path: {
|
|
863
|
+
validatorId: number;
|
|
864
|
+
};
|
|
865
|
+
query?: {
|
|
866
|
+
/**
|
|
867
|
+
* Opaque cursor: pass the `nextCursor` from the previous page. Omit for the first page.
|
|
868
|
+
*/
|
|
869
|
+
cursor?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Page size: one of 20, 50, 100, 500. Defaults to 20.
|
|
872
|
+
*/
|
|
873
|
+
limit?: 20 | 50 | 100 | 500;
|
|
874
|
+
startTimestamp?: number | null;
|
|
875
|
+
endTimestamp?: number | null;
|
|
876
|
+
};
|
|
877
|
+
url: '/api/v2/validators/{validatorId}/checkpoints-signed/page';
|
|
878
|
+
};
|
|
879
|
+
export type GetCheckpointsSignedPageV2Errors = {
|
|
880
|
+
/**
|
|
881
|
+
* Request failed schema validation.
|
|
882
|
+
*/
|
|
883
|
+
400: ValidationErrorResponse;
|
|
884
|
+
/**
|
|
885
|
+
* Internal server error.
|
|
886
|
+
*/
|
|
887
|
+
500: ErrorResponse;
|
|
888
|
+
};
|
|
889
|
+
export type GetCheckpointsSignedPageV2Error = GetCheckpointsSignedPageV2Errors[keyof GetCheckpointsSignedPageV2Errors];
|
|
890
|
+
export type GetCheckpointsSignedPageV2Responses = {
|
|
891
|
+
/**
|
|
892
|
+
* OK
|
|
893
|
+
*/
|
|
894
|
+
200: CheckpointsSignedCursorV2Response;
|
|
895
|
+
};
|
|
896
|
+
export type GetCheckpointsSignedPageV2Response = GetCheckpointsSignedPageV2Responses[keyof GetCheckpointsSignedPageV2Responses];
|
|
754
897
|
export type GetCommissionedRewardV2Data = {
|
|
755
898
|
body?: never;
|
|
756
899
|
path: {
|
|
@@ -1125,6 +1268,40 @@ export type GetAllNotificationsV2Responses = {
|
|
|
1125
1268
|
200: NotificationArrayResponse;
|
|
1126
1269
|
};
|
|
1127
1270
|
export type GetAllNotificationsV2Response = GetAllNotificationsV2Responses[keyof GetAllNotificationsV2Responses];
|
|
1271
|
+
export type GetAllNotificationsPageV2Data = {
|
|
1272
|
+
body?: never;
|
|
1273
|
+
path?: never;
|
|
1274
|
+
query?: {
|
|
1275
|
+
/**
|
|
1276
|
+
* Opaque cursor: pass the `nextCursor` from the previous page. Omit for the first page.
|
|
1277
|
+
*/
|
|
1278
|
+
cursor?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Page size: one of 20, 50, 100, 500. Defaults to 20.
|
|
1281
|
+
*/
|
|
1282
|
+
limit?: 20 | 50 | 100 | 500;
|
|
1283
|
+
filterBy?: string;
|
|
1284
|
+
};
|
|
1285
|
+
url: '/api/v2/notification/all/page';
|
|
1286
|
+
};
|
|
1287
|
+
export type GetAllNotificationsPageV2Errors = {
|
|
1288
|
+
/**
|
|
1289
|
+
* Request failed schema validation.
|
|
1290
|
+
*/
|
|
1291
|
+
400: ValidationErrorResponse;
|
|
1292
|
+
/**
|
|
1293
|
+
* Internal server error.
|
|
1294
|
+
*/
|
|
1295
|
+
500: ErrorResponse;
|
|
1296
|
+
};
|
|
1297
|
+
export type GetAllNotificationsPageV2Error = GetAllNotificationsPageV2Errors[keyof GetAllNotificationsPageV2Errors];
|
|
1298
|
+
export type GetAllNotificationsPageV2Responses = {
|
|
1299
|
+
/**
|
|
1300
|
+
* One page of notifications
|
|
1301
|
+
*/
|
|
1302
|
+
200: NotificationsCursorResponse;
|
|
1303
|
+
};
|
|
1304
|
+
export type GetAllNotificationsPageV2Response = GetAllNotificationsPageV2Responses[keyof GetAllNotificationsPageV2Responses];
|
|
1128
1305
|
export type GetAllNotificationsV3Data = {
|
|
1129
1306
|
body?: never;
|
|
1130
1307
|
path?: never;
|
|
@@ -1154,6 +1331,40 @@ export type GetAllNotificationsV3Responses = {
|
|
|
1154
1331
|
200: NotificationArrayResponse;
|
|
1155
1332
|
};
|
|
1156
1333
|
export type GetAllNotificationsV3Response = GetAllNotificationsV3Responses[keyof GetAllNotificationsV3Responses];
|
|
1334
|
+
export type GetAllNotificationsPageV3Data = {
|
|
1335
|
+
body?: never;
|
|
1336
|
+
path?: never;
|
|
1337
|
+
query?: {
|
|
1338
|
+
/**
|
|
1339
|
+
* Opaque cursor: pass the `nextCursor` from the previous page. Omit for the first page.
|
|
1340
|
+
*/
|
|
1341
|
+
cursor?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Page size: one of 20, 50, 100, 500. Defaults to 20.
|
|
1344
|
+
*/
|
|
1345
|
+
limit?: 20 | 50 | 100 | 500;
|
|
1346
|
+
filterBy?: string;
|
|
1347
|
+
};
|
|
1348
|
+
url: '/api/v3/notification/all/page';
|
|
1349
|
+
};
|
|
1350
|
+
export type GetAllNotificationsPageV3Errors = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Request failed schema validation.
|
|
1353
|
+
*/
|
|
1354
|
+
400: ValidationErrorResponse;
|
|
1355
|
+
/**
|
|
1356
|
+
* Internal server error.
|
|
1357
|
+
*/
|
|
1358
|
+
500: ErrorResponse;
|
|
1359
|
+
};
|
|
1360
|
+
export type GetAllNotificationsPageV3Error = GetAllNotificationsPageV3Errors[keyof GetAllNotificationsPageV3Errors];
|
|
1361
|
+
export type GetAllNotificationsPageV3Responses = {
|
|
1362
|
+
/**
|
|
1363
|
+
* One page of notifications
|
|
1364
|
+
*/
|
|
1365
|
+
200: NotificationsCursorResponse;
|
|
1366
|
+
};
|
|
1367
|
+
export type GetAllNotificationsPageV3Response = GetAllNotificationsPageV3Responses[keyof GetAllNotificationsPageV3Responses];
|
|
1157
1368
|
export type GetRewardsSummaryV2Data = {
|
|
1158
1369
|
body?: never;
|
|
1159
1370
|
path?: never;
|