dash-platform-sdk 1.5.0 → 1.5.1

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.
Files changed (68) hide show
  1. package/README.md +15 -15
  2. package/bundle.min.js +1 -1
  3. package/index.d.ts +4 -1
  4. package/index.js +3 -1
  5. package/package.json +1 -1
  6. package/proto/generated/platform.client.d.ts +10 -0
  7. package/proto/generated/platform.client.js +25 -18
  8. package/proto/generated/platform.d.ts +162 -0
  9. package/proto/generated/platform.js +351 -0
  10. package/src/DashPlatformSDK.d.ts +11 -7
  11. package/src/DashPlatformSDK.js +23 -3
  12. package/src/contestedResources/getContestedResourceVoteState.d.ts +2 -2
  13. package/src/contestedResources/index.d.ts +3 -3
  14. package/src/dataContracts/getDataContractByIdentifier.d.ts +2 -2
  15. package/src/dataContracts/index.d.ts +3 -3
  16. package/src/documents/index.d.ts +3 -3
  17. package/src/documents/query.d.ts +2 -2
  18. package/src/grpcConnectionPool.d.ts +13 -2
  19. package/src/grpcConnectionPool.js +16 -13
  20. package/src/identities/getIdentityBalance.d.ts +2 -2
  21. package/src/identities/getIdentityByIdentifier.d.ts +2 -2
  22. package/src/identities/getIdentityByNonUniquePublicKeyHash.d.ts +2 -2
  23. package/src/identities/getIdentityByPublicKeyHash.d.ts +2 -2
  24. package/src/identities/getIdentityContractNonce.d.ts +2 -2
  25. package/src/identities/getIdentityNonce.d.ts +2 -2
  26. package/src/identities/getIdentityPublicKeys.d.ts +2 -2
  27. package/src/identities/index.d.ts +3 -3
  28. package/src/names/index.d.ts +3 -3
  29. package/src/names/registerName.d.ts +2 -2
  30. package/src/names/searchByIdentity.d.ts +2 -2
  31. package/src/names/searchByName.d.ts +2 -2
  32. package/src/node/epochInfos.d.ts +2 -2
  33. package/src/node/finalizedEpochInfos.d.ts +2 -2
  34. package/src/node/getCurrentQuorumsInfo.d.ts +19 -0
  35. package/src/node/getCurrentQuorumsInfo.js +31 -0
  36. package/src/node/index.d.ts +11 -3
  37. package/src/node/index.js +10 -0
  38. package/src/node/status.d.ts +2 -2
  39. package/src/node/totalCredits.d.ts +2 -2
  40. package/src/platformAddresses/getAddressInfo.d.ts +2 -2
  41. package/src/platformAddresses/getAddressesBranchState.d.ts +2 -2
  42. package/src/platformAddresses/getAddressesInfos.d.ts +2 -2
  43. package/src/platformAddresses/getAddressesTrunkState.d.ts +2 -2
  44. package/src/platformAddresses/getRecentAddressBalanceChanges.d.ts +2 -2
  45. package/src/platformAddresses/getRecentCompactedAddressBalanceChanges.d.ts +2 -2
  46. package/src/platformAddresses/index.d.ts +3 -3
  47. package/src/shielded/getMostRecentShieldedAnchor.d.ts +2 -2
  48. package/src/shielded/getShieldedAnchors.d.ts +2 -2
  49. package/src/shielded/getShieldedEncryptedNotes.d.ts +2 -2
  50. package/src/shielded/getShieldedNotesCount.d.ts +2 -2
  51. package/src/shielded/getShieldedNullifiers.d.ts +2 -2
  52. package/src/shielded/getShieldedPoolState.d.ts +2 -2
  53. package/src/shielded/index.d.ts +3 -3
  54. package/src/stateTransitions/broadcast.d.ts +2 -2
  55. package/src/stateTransitions/index.d.ts +3 -3
  56. package/src/stateTransitions/waitForStateTransitionResult.d.ts +2 -2
  57. package/src/tokens/getIdentitiesTokenBalances.d.ts +2 -2
  58. package/src/tokens/getIdentityTokensBalances.d.ts +2 -2
  59. package/src/tokens/getTokenContractInfo.d.ts +2 -2
  60. package/src/tokens/getTokenDirectPurchasePrices.d.ts +2 -2
  61. package/src/tokens/getTokenTotalSupply.d.ts +2 -2
  62. package/src/tokens/index.d.ts +3 -3
  63. package/src/utils/fetchWithDetails.d.ts +24 -0
  64. package/src/utils/fetchWithDetails.js +71 -0
  65. package/src/utils/getQuorumPublicKey.js +2 -1
  66. package/test/unit/Node.spec.js +18 -0
  67. package/src/utils/getEvonodeList.d.ts +0 -2
  68. package/src/utils/getEvonodeList.js +0 -12
package/index.d.ts CHANGED
@@ -1,2 +1,5 @@
1
1
  import { DashPlatformSDK } from './src/DashPlatformSDK.js';
2
- export { DashPlatformSDK };
2
+ import GRPCConnectionPool, { createClient } from './src/grpcConnectionPool.js';
3
+ import { decodeFetchError, decodeFetchErrorDetails, fetchWithDetails } from './src/utils/fetchWithDetails.js';
4
+ export type { GRPCOptions, GRPCPool } from './src/grpcConnectionPool.js';
5
+ export { DashPlatformSDK, GRPCConnectionPool, createClient, decodeFetchError, decodeFetchErrorDetails, fetchWithDetails };
package/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  import { DashPlatformSDK } from './src/DashPlatformSDK.js';
2
- export { DashPlatformSDK };
2
+ import GRPCConnectionPool, { createClient } from './src/grpcConnectionPool.js';
3
+ import { decodeFetchError, decodeFetchErrorDetails, fetchWithDetails } from './src/utils/fetchWithDetails.js';
4
+ export { DashPlatformSDK, GRPCConnectionPool, createClient, decodeFetchError, decodeFetchErrorDetails, fetchWithDetails };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-platform-sdk",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "main": "index.js",
5
5
  "description": "Lightweight SDK for accessing Dash Platform blockchain",
6
6
  "repository": {
@@ -36,6 +36,8 @@ import type { GetIdentitiesTokenBalancesResponse } from "./platform.js";
36
36
  import type { GetIdentitiesTokenBalancesRequest } from "./platform.js";
37
37
  import type { GetIdentityTokenBalancesResponse } from "./platform.js";
38
38
  import type { GetIdentityTokenBalancesRequest } from "./platform.js";
39
+ import type { GetCurrentQuorumsInfoResponse } from "./platform.js";
40
+ import type { GetCurrentQuorumsInfoRequest } from "./platform.js";
39
41
  import type { GetStatusResponse } from "./platform.js";
40
42
  import type { GetStatusRequest } from "./platform.js";
41
43
  import type { GetTotalCreditsInPlatformResponse } from "./platform.js";
@@ -156,6 +158,10 @@ export interface IPlatformClient {
156
158
  * @generated from protobuf rpc: getStatus
157
159
  */
158
160
  getStatus(input: GetStatusRequest, options?: RpcOptions): UnaryCall<GetStatusRequest, GetStatusResponse>;
161
+ /**
162
+ * @generated from protobuf rpc: getCurrentQuorumsInfo
163
+ */
164
+ getCurrentQuorumsInfo(input: GetCurrentQuorumsInfoRequest, options?: RpcOptions): UnaryCall<GetCurrentQuorumsInfoRequest, GetCurrentQuorumsInfoResponse>;
159
165
  /**
160
166
  * @generated from protobuf rpc: getIdentityTokenBalances
161
167
  */
@@ -316,6 +322,10 @@ export declare class PlatformClient implements IPlatformClient, ServiceInfo {
316
322
  * @generated from protobuf rpc: getStatus
317
323
  */
318
324
  getStatus(input: GetStatusRequest, options?: RpcOptions): UnaryCall<GetStatusRequest, GetStatusResponse>;
325
+ /**
326
+ * @generated from protobuf rpc: getCurrentQuorumsInfo
327
+ */
328
+ getCurrentQuorumsInfo(input: GetCurrentQuorumsInfoRequest, options?: RpcOptions): UnaryCall<GetCurrentQuorumsInfoRequest, GetCurrentQuorumsInfoResponse>;
319
329
  /**
320
330
  * @generated from protobuf rpc: getIdentityTokenBalances
321
331
  */
@@ -144,130 +144,137 @@ export class PlatformClient {
144
144
  const method = this.methods[18], opt = this._transport.mergeOptions(options);
145
145
  return stackIntercept("unary", this._transport, method, opt, input);
146
146
  }
147
+ /**
148
+ * @generated from protobuf rpc: getCurrentQuorumsInfo
149
+ */
150
+ getCurrentQuorumsInfo(input, options) {
151
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
152
+ return stackIntercept("unary", this._transport, method, opt, input);
153
+ }
147
154
  /**
148
155
  * @generated from protobuf rpc: getIdentityTokenBalances
149
156
  */
150
157
  getIdentityTokenBalances(input, options) {
151
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
158
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
152
159
  return stackIntercept("unary", this._transport, method, opt, input);
153
160
  }
154
161
  /**
155
162
  * @generated from protobuf rpc: getIdentitiesTokenBalances
156
163
  */
157
164
  getIdentitiesTokenBalances(input, options) {
158
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
165
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
159
166
  return stackIntercept("unary", this._transport, method, opt, input);
160
167
  }
161
168
  /**
162
169
  * @generated from protobuf rpc: getTokenContractInfo
163
170
  */
164
171
  getTokenContractInfo(input, options) {
165
- const method = this.methods[21], opt = this._transport.mergeOptions(options);
172
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
166
173
  return stackIntercept("unary", this._transport, method, opt, input);
167
174
  }
168
175
  /**
169
176
  * @generated from protobuf rpc: getTokenDirectPurchasePrices
170
177
  */
171
178
  getTokenDirectPurchasePrices(input, options) {
172
- const method = this.methods[22], opt = this._transport.mergeOptions(options);
179
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
173
180
  return stackIntercept("unary", this._transport, method, opt, input);
174
181
  }
175
182
  /**
176
183
  * @generated from protobuf rpc: getTokenTotalSupply
177
184
  */
178
185
  getTokenTotalSupply(input, options) {
179
- const method = this.methods[23], opt = this._transport.mergeOptions(options);
186
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
180
187
  return stackIntercept("unary", this._transport, method, opt, input);
181
188
  }
182
189
  /**
183
190
  * @generated from protobuf rpc: waitForStateTransitionResult
184
191
  */
185
192
  waitForStateTransitionResult(input, options) {
186
- const method = this.methods[24], opt = this._transport.mergeOptions(options);
193
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
187
194
  return stackIntercept("unary", this._transport, method, opt, input);
188
195
  }
189
196
  /**
190
197
  * @generated from protobuf rpc: getAddressInfo
191
198
  */
192
199
  getAddressInfo(input, options) {
193
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
200
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
194
201
  return stackIntercept("unary", this._transport, method, opt, input);
195
202
  }
196
203
  /**
197
204
  * @generated from protobuf rpc: getAddressesInfos
198
205
  */
199
206
  getAddressesInfos(input, options) {
200
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
207
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
201
208
  return stackIntercept("unary", this._transport, method, opt, input);
202
209
  }
203
210
  /**
204
211
  * @generated from protobuf rpc: getAddressesTrunkState
205
212
  */
206
213
  getAddressesTrunkState(input, options) {
207
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
214
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
208
215
  return stackIntercept("unary", this._transport, method, opt, input);
209
216
  }
210
217
  /**
211
218
  * @generated from protobuf rpc: getAddressesBranchState
212
219
  */
213
220
  getAddressesBranchState(input, options) {
214
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
221
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
215
222
  return stackIntercept("unary", this._transport, method, opt, input);
216
223
  }
217
224
  /**
218
225
  * @generated from protobuf rpc: getRecentAddressBalanceChanges
219
226
  */
220
227
  getRecentAddressBalanceChanges(input, options) {
221
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
228
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
222
229
  return stackIntercept("unary", this._transport, method, opt, input);
223
230
  }
224
231
  /**
225
232
  * @generated from protobuf rpc: getRecentCompactedAddressBalanceChanges
226
233
  */
227
234
  getRecentCompactedAddressBalanceChanges(input, options) {
228
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
235
+ const method = this.methods[31], opt = this._transport.mergeOptions(options);
229
236
  return stackIntercept("unary", this._transport, method, opt, input);
230
237
  }
231
238
  /**
232
239
  * @generated from protobuf rpc: getShieldedEncryptedNotes
233
240
  */
234
241
  getShieldedEncryptedNotes(input, options) {
235
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
242
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
236
243
  return stackIntercept("unary", this._transport, method, opt, input);
237
244
  }
238
245
  /**
239
246
  * @generated from protobuf rpc: getShieldedAnchors
240
247
  */
241
248
  getShieldedAnchors(input, options) {
242
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
249
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
243
250
  return stackIntercept("unary", this._transport, method, opt, input);
244
251
  }
245
252
  /**
246
253
  * @generated from protobuf rpc: getMostRecentShieldedAnchor
247
254
  */
248
255
  getMostRecentShieldedAnchor(input, options) {
249
- const method = this.methods[33], opt = this._transport.mergeOptions(options);
256
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
250
257
  return stackIntercept("unary", this._transport, method, opt, input);
251
258
  }
252
259
  /**
253
260
  * @generated from protobuf rpc: getShieldedPoolState
254
261
  */
255
262
  getShieldedPoolState(input, options) {
256
- const method = this.methods[34], opt = this._transport.mergeOptions(options);
263
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
257
264
  return stackIntercept("unary", this._transport, method, opt, input);
258
265
  }
259
266
  /**
260
267
  * @generated from protobuf rpc: getShieldedNotesCount
261
268
  */
262
269
  getShieldedNotesCount(input, options) {
263
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
270
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
264
271
  return stackIntercept("unary", this._transport, method, opt, input);
265
272
  }
266
273
  /**
267
274
  * @generated from protobuf rpc: getShieldedNullifiers
268
275
  */
269
276
  getShieldedNullifiers(input, options) {
270
- const method = this.methods[36], opt = this._transport.mergeOptions(options);
277
+ const method = this.methods[37], opt = this._transport.mergeOptions(options);
271
278
  return stackIntercept("unary", this._transport, method, opt, input);
272
279
  }
273
280
  }
@@ -1796,6 +1796,108 @@ export interface GetTotalCreditsInPlatformResponse_GetTotalCreditsInPlatformResp
1796
1796
  */
1797
1797
  metadata?: ResponseMetadata;
1798
1798
  }
1799
+ /**
1800
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest
1801
+ */
1802
+ export interface GetCurrentQuorumsInfoRequest {
1803
+ /**
1804
+ * @generated from protobuf oneof: version
1805
+ */
1806
+ version: {
1807
+ oneofKind: "v0";
1808
+ /**
1809
+ * @generated from protobuf field: org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0 v0 = 1
1810
+ */
1811
+ v0: GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0;
1812
+ } | {
1813
+ oneofKind: undefined;
1814
+ };
1815
+ }
1816
+ /**
1817
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0
1818
+ */
1819
+ export interface GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0 {
1820
+ }
1821
+ /**
1822
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse
1823
+ */
1824
+ export interface GetCurrentQuorumsInfoResponse {
1825
+ /**
1826
+ * @generated from protobuf oneof: version
1827
+ */
1828
+ version: {
1829
+ oneofKind: "v0";
1830
+ /**
1831
+ * @generated from protobuf field: org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0 v0 = 1
1832
+ */
1833
+ v0: GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0;
1834
+ } | {
1835
+ oneofKind: undefined;
1836
+ };
1837
+ }
1838
+ /**
1839
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0
1840
+ */
1841
+ export interface GetCurrentQuorumsInfoResponse_ValidatorV0 {
1842
+ /**
1843
+ * @generated from protobuf field: bytes pro_tx_hash = 1
1844
+ */
1845
+ proTxHash: Uint8Array;
1846
+ /**
1847
+ * @generated from protobuf field: string node_ip = 2
1848
+ */
1849
+ nodeIp: string;
1850
+ /**
1851
+ * @generated from protobuf field: bool is_banned = 3
1852
+ */
1853
+ isBanned: boolean;
1854
+ }
1855
+ /**
1856
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0
1857
+ */
1858
+ export interface GetCurrentQuorumsInfoResponse_ValidatorSetV0 {
1859
+ /**
1860
+ * @generated from protobuf field: bytes quorum_hash = 1
1861
+ */
1862
+ quorumHash: Uint8Array;
1863
+ /**
1864
+ * @generated from protobuf field: uint32 core_height = 2
1865
+ */
1866
+ coreHeight: number;
1867
+ /**
1868
+ * @generated from protobuf field: repeated org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0 members = 3
1869
+ */
1870
+ members: GetCurrentQuorumsInfoResponse_ValidatorV0[];
1871
+ /**
1872
+ * @generated from protobuf field: bytes threshold_public_key = 4
1873
+ */
1874
+ thresholdPublicKey: Uint8Array;
1875
+ }
1876
+ /**
1877
+ * @generated from protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0
1878
+ */
1879
+ export interface GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0 {
1880
+ /**
1881
+ * @generated from protobuf field: repeated bytes quorum_hashes = 1
1882
+ */
1883
+ quorumHashes: Uint8Array[];
1884
+ /**
1885
+ * @generated from protobuf field: bytes current_quorum_hash = 2
1886
+ */
1887
+ currentQuorumHash: Uint8Array;
1888
+ /**
1889
+ * @generated from protobuf field: repeated org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0 validator_sets = 3
1890
+ */
1891
+ validatorSets: GetCurrentQuorumsInfoResponse_ValidatorSetV0[];
1892
+ /**
1893
+ * @generated from protobuf field: bytes last_block_proposer = 4
1894
+ */
1895
+ lastBlockProposer: Uint8Array;
1896
+ /**
1897
+ * @generated from protobuf field: org.dash.platform.dapi.v0.ResponseMetadata metadata = 5
1898
+ */
1899
+ metadata?: ResponseMetadata;
1900
+ }
1799
1901
  /**
1800
1902
  * @generated from protobuf message org.dash.platform.dapi.v0.GetStatusRequest
1801
1903
  */
@@ -5005,6 +5107,66 @@ declare class GetTotalCreditsInPlatformResponse_GetTotalCreditsInPlatformRespons
5005
5107
  * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0
5006
5108
  */
5007
5109
  export declare const GetTotalCreditsInPlatformResponse_GetTotalCreditsInPlatformResponseV0: GetTotalCreditsInPlatformResponse_GetTotalCreditsInPlatformResponseV0$Type;
5110
+ declare class GetCurrentQuorumsInfoRequest$Type extends MessageType<GetCurrentQuorumsInfoRequest> {
5111
+ constructor();
5112
+ create(value?: PartialMessage<GetCurrentQuorumsInfoRequest>): GetCurrentQuorumsInfoRequest;
5113
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoRequest): GetCurrentQuorumsInfoRequest;
5114
+ internalBinaryWrite(message: GetCurrentQuorumsInfoRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5115
+ }
5116
+ /**
5117
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest
5118
+ */
5119
+ export declare const GetCurrentQuorumsInfoRequest: GetCurrentQuorumsInfoRequest$Type;
5120
+ declare class GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0$Type extends MessageType<GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0> {
5121
+ constructor();
5122
+ create(value?: PartialMessage<GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0>): GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0;
5123
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0): GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0;
5124
+ internalBinaryWrite(message: GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5125
+ }
5126
+ /**
5127
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0
5128
+ */
5129
+ export declare const GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0: GetCurrentQuorumsInfoRequest_GetCurrentQuorumsInfoRequestV0$Type;
5130
+ declare class GetCurrentQuorumsInfoResponse$Type extends MessageType<GetCurrentQuorumsInfoResponse> {
5131
+ constructor();
5132
+ create(value?: PartialMessage<GetCurrentQuorumsInfoResponse>): GetCurrentQuorumsInfoResponse;
5133
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoResponse): GetCurrentQuorumsInfoResponse;
5134
+ internalBinaryWrite(message: GetCurrentQuorumsInfoResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5135
+ }
5136
+ /**
5137
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse
5138
+ */
5139
+ export declare const GetCurrentQuorumsInfoResponse: GetCurrentQuorumsInfoResponse$Type;
5140
+ declare class GetCurrentQuorumsInfoResponse_ValidatorV0$Type extends MessageType<GetCurrentQuorumsInfoResponse_ValidatorV0> {
5141
+ constructor();
5142
+ create(value?: PartialMessage<GetCurrentQuorumsInfoResponse_ValidatorV0>): GetCurrentQuorumsInfoResponse_ValidatorV0;
5143
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoResponse_ValidatorV0): GetCurrentQuorumsInfoResponse_ValidatorV0;
5144
+ internalBinaryWrite(message: GetCurrentQuorumsInfoResponse_ValidatorV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5145
+ }
5146
+ /**
5147
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0
5148
+ */
5149
+ export declare const GetCurrentQuorumsInfoResponse_ValidatorV0: GetCurrentQuorumsInfoResponse_ValidatorV0$Type;
5150
+ declare class GetCurrentQuorumsInfoResponse_ValidatorSetV0$Type extends MessageType<GetCurrentQuorumsInfoResponse_ValidatorSetV0> {
5151
+ constructor();
5152
+ create(value?: PartialMessage<GetCurrentQuorumsInfoResponse_ValidatorSetV0>): GetCurrentQuorumsInfoResponse_ValidatorSetV0;
5153
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoResponse_ValidatorSetV0): GetCurrentQuorumsInfoResponse_ValidatorSetV0;
5154
+ internalBinaryWrite(message: GetCurrentQuorumsInfoResponse_ValidatorSetV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5155
+ }
5156
+ /**
5157
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0
5158
+ */
5159
+ export declare const GetCurrentQuorumsInfoResponse_ValidatorSetV0: GetCurrentQuorumsInfoResponse_ValidatorSetV0$Type;
5160
+ declare class GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0$Type extends MessageType<GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0> {
5161
+ constructor();
5162
+ create(value?: PartialMessage<GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0>): GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0;
5163
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0): GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0;
5164
+ internalBinaryWrite(message: GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5165
+ }
5166
+ /**
5167
+ * @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0
5168
+ */
5169
+ export declare const GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0: GetCurrentQuorumsInfoResponse_GetCurrentQuorumsInfoResponseV0$Type;
5008
5170
  declare class GetStatusRequest$Type extends MessageType<GetStatusRequest> {
5009
5171
  constructor();
5010
5172
  create(value?: PartialMessage<GetStatusRequest>): GetStatusRequest;