dash-platform-sdk 1.5.0-dev.1 → 1.5.0-dev.3
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/README.md +13 -13
- package/bundle.min.js +1 -21
- package/package.json +4 -3
- package/proto/generated/platform.client.d.ts +10 -0
- package/proto/generated/platform.client.js +25 -18
- package/proto/generated/platform.d.ts +242 -0
- package/proto/generated/platform.js +492 -0
- package/src/node/{epochs.d.ts → epochInfos.d.ts} +1 -1
- package/src/node/{epochs.js → epochInfos.js} +1 -1
- package/src/node/finalizedEpochInfos.d.ts +21 -0
- package/src/node/finalizedEpochInfos.js +54 -0
- package/src/node/index.d.ts +9 -1
- package/src/node/index.js +11 -1
- package/src/shielded/createStateTransition.d.ts +1 -1
- package/src/shielded/createStateTransition.js +2 -2
- package/src/shielded/index.d.ts +3 -3
- package/src/shielded/index.js +6 -5
- package/test/unit/Node.spec.js +6 -0
- package/test/unit/Shielded.spec.js +17 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dash-platform-sdk",
|
|
3
|
-
"version": "1.5.0-dev.
|
|
3
|
+
"version": "1.5.0-dev.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Lightweight SDK for accessing Dash Platform blockchain",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"@babel/preset-env": "^7.28.0",
|
|
26
26
|
"@babel/preset-typescript": "^7.27.1",
|
|
27
27
|
"@protobuf-ts/plugin": "^2.11.1",
|
|
28
|
-
"@rollup/plugin-
|
|
28
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
29
|
+
"@rollup/plugin-commonjs": "^29.0.3",
|
|
29
30
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
30
31
|
"@rollup/plugin-terser": "^0.4.4",
|
|
31
32
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
@@ -59,6 +60,6 @@
|
|
|
59
60
|
"@scure/bip39": "^2.0.0",
|
|
60
61
|
"@scure/btc-signer": "^2.0.1",
|
|
61
62
|
"cbor-x": "^1.6.0",
|
|
62
|
-
"pshenmic-dpp": "2.0.0-dev.
|
|
63
|
+
"pshenmic-dpp": "2.0.0-dev.24"
|
|
63
64
|
}
|
|
64
65
|
}
|
|
@@ -36,6 +36,8 @@ import type { GetContestedResourceVoteStateResponse } from "./platform.js";
|
|
|
36
36
|
import type { GetContestedResourceVoteStateRequest } from "./platform.js";
|
|
37
37
|
import type { GetContestedResourcesResponse } from "./platform.js";
|
|
38
38
|
import type { GetContestedResourcesRequest } from "./platform.js";
|
|
39
|
+
import type { GetFinalizedEpochInfosResponse } from "./platform.js";
|
|
40
|
+
import type { GetFinalizedEpochInfosRequest } from "./platform.js";
|
|
39
41
|
import type { GetEpochsInfoResponse } from "./platform.js";
|
|
40
42
|
import type { GetEpochsInfoRequest } from "./platform.js";
|
|
41
43
|
import type { GetIdentityByNonUniquePublicKeyHashResponse } from "./platform.js";
|
|
@@ -126,6 +128,10 @@ export interface IPlatformClient {
|
|
|
126
128
|
* @generated from protobuf rpc: getEpochsInfo
|
|
127
129
|
*/
|
|
128
130
|
getEpochsInfo(input: GetEpochsInfoRequest, options?: RpcOptions): UnaryCall<GetEpochsInfoRequest, GetEpochsInfoResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf rpc: getFinalizedEpochInfos
|
|
133
|
+
*/
|
|
134
|
+
getFinalizedEpochInfos(input: GetFinalizedEpochInfosRequest, options?: RpcOptions): UnaryCall<GetFinalizedEpochInfosRequest, GetFinalizedEpochInfosResponse>;
|
|
129
135
|
/**
|
|
130
136
|
* @generated from protobuf rpc: getContestedResources
|
|
131
137
|
*/
|
|
@@ -266,6 +272,10 @@ export declare class PlatformClient implements IPlatformClient, ServiceInfo {
|
|
|
266
272
|
* @generated from protobuf rpc: getEpochsInfo
|
|
267
273
|
*/
|
|
268
274
|
getEpochsInfo(input: GetEpochsInfoRequest, options?: RpcOptions): UnaryCall<GetEpochsInfoRequest, GetEpochsInfoResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from protobuf rpc: getFinalizedEpochInfos
|
|
277
|
+
*/
|
|
278
|
+
getFinalizedEpochInfos(input: GetFinalizedEpochInfosRequest, options?: RpcOptions): UnaryCall<GetFinalizedEpochInfosRequest, GetFinalizedEpochInfosResponse>;
|
|
269
279
|
/**
|
|
270
280
|
* @generated from protobuf rpc: getContestedResources
|
|
271
281
|
*/
|
|
@@ -109,130 +109,137 @@ export class PlatformClient {
|
|
|
109
109
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
110
110
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf rpc: getFinalizedEpochInfos
|
|
114
|
+
*/
|
|
115
|
+
getFinalizedEpochInfos(input, options) {
|
|
116
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
117
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
118
|
+
}
|
|
112
119
|
/**
|
|
113
120
|
* @generated from protobuf rpc: getContestedResources
|
|
114
121
|
*/
|
|
115
122
|
getContestedResources(input, options) {
|
|
116
|
-
const method = this.methods[
|
|
123
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
117
124
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
118
125
|
}
|
|
119
126
|
/**
|
|
120
127
|
* @generated from protobuf rpc: getContestedResourceVoteState
|
|
121
128
|
*/
|
|
122
129
|
getContestedResourceVoteState(input, options) {
|
|
123
|
-
const method = this.methods[
|
|
130
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
124
131
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
125
132
|
}
|
|
126
133
|
/**
|
|
127
134
|
* @generated from protobuf rpc: getTotalCreditsInPlatform
|
|
128
135
|
*/
|
|
129
136
|
getTotalCreditsInPlatform(input, options) {
|
|
130
|
-
const method = this.methods[
|
|
137
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
131
138
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
132
139
|
}
|
|
133
140
|
/**
|
|
134
141
|
* @generated from protobuf rpc: getStatus
|
|
135
142
|
*/
|
|
136
143
|
getStatus(input, options) {
|
|
137
|
-
const method = this.methods[
|
|
144
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
138
145
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
139
146
|
}
|
|
140
147
|
/**
|
|
141
148
|
* @generated from protobuf rpc: getIdentityTokenBalances
|
|
142
149
|
*/
|
|
143
150
|
getIdentityTokenBalances(input, options) {
|
|
144
|
-
const method = this.methods[
|
|
151
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
145
152
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
146
153
|
}
|
|
147
154
|
/**
|
|
148
155
|
* @generated from protobuf rpc: getIdentitiesTokenBalances
|
|
149
156
|
*/
|
|
150
157
|
getIdentitiesTokenBalances(input, options) {
|
|
151
|
-
const method = this.methods[
|
|
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: getTokenContractInfo
|
|
156
163
|
*/
|
|
157
164
|
getTokenContractInfo(input, options) {
|
|
158
|
-
const method = this.methods[
|
|
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: getTokenDirectPurchasePrices
|
|
163
170
|
*/
|
|
164
171
|
getTokenDirectPurchasePrices(input, options) {
|
|
165
|
-
const method = this.methods[
|
|
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: getTokenTotalSupply
|
|
170
177
|
*/
|
|
171
178
|
getTokenTotalSupply(input, options) {
|
|
172
|
-
const method = this.methods[
|
|
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: waitForStateTransitionResult
|
|
177
184
|
*/
|
|
178
185
|
waitForStateTransitionResult(input, options) {
|
|
179
|
-
const method = this.methods[
|
|
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: getAddressInfo
|
|
184
191
|
*/
|
|
185
192
|
getAddressInfo(input, options) {
|
|
186
|
-
const method = this.methods[
|
|
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: getAddressesInfos
|
|
191
198
|
*/
|
|
192
199
|
getAddressesInfos(input, options) {
|
|
193
|
-
const method = this.methods[
|
|
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: getShieldedEncryptedNotes
|
|
198
205
|
*/
|
|
199
206
|
getShieldedEncryptedNotes(input, options) {
|
|
200
|
-
const method = this.methods[
|
|
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: getShieldedAnchors
|
|
205
212
|
*/
|
|
206
213
|
getShieldedAnchors(input, options) {
|
|
207
|
-
const method = this.methods[
|
|
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: getMostRecentShieldedAnchor
|
|
212
219
|
*/
|
|
213
220
|
getMostRecentShieldedAnchor(input, options) {
|
|
214
|
-
const method = this.methods[
|
|
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: getShieldedPoolState
|
|
219
226
|
*/
|
|
220
227
|
getShieldedPoolState(input, options) {
|
|
221
|
-
const method = this.methods[
|
|
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: getShieldedNotesCount
|
|
226
233
|
*/
|
|
227
234
|
getShieldedNotesCount(input, options) {
|
|
228
|
-
const method = this.methods[
|
|
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: getShieldedNullifiers
|
|
233
240
|
*/
|
|
234
241
|
getShieldedNullifiers(input, options) {
|
|
235
|
-
const method = this.methods[
|
|
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
|
}
|
|
@@ -3459,6 +3459,178 @@ export interface GetShieldedNullifiersResponse_GetShieldedNullifiersResponseV0_N
|
|
|
3459
3459
|
*/
|
|
3460
3460
|
entries: GetShieldedNullifiersResponse_GetShieldedNullifiersResponseV0_NullifierStatus[];
|
|
3461
3461
|
}
|
|
3462
|
+
/**
|
|
3463
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest
|
|
3464
|
+
*/
|
|
3465
|
+
export interface GetFinalizedEpochInfosRequest {
|
|
3466
|
+
/**
|
|
3467
|
+
* @generated from protobuf oneof: version
|
|
3468
|
+
*/
|
|
3469
|
+
version: {
|
|
3470
|
+
oneofKind: "v0";
|
|
3471
|
+
/**
|
|
3472
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0 v0 = 1
|
|
3473
|
+
*/
|
|
3474
|
+
v0: GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0;
|
|
3475
|
+
} | {
|
|
3476
|
+
oneofKind: undefined;
|
|
3477
|
+
};
|
|
3478
|
+
}
|
|
3479
|
+
/**
|
|
3480
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0
|
|
3481
|
+
*/
|
|
3482
|
+
export interface GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0 {
|
|
3483
|
+
/**
|
|
3484
|
+
* @generated from protobuf field: uint32 start_epoch_index = 1
|
|
3485
|
+
*/
|
|
3486
|
+
startEpochIndex: number;
|
|
3487
|
+
/**
|
|
3488
|
+
* @generated from protobuf field: bool start_epoch_index_included = 2
|
|
3489
|
+
*/
|
|
3490
|
+
startEpochIndexIncluded: boolean;
|
|
3491
|
+
/**
|
|
3492
|
+
* @generated from protobuf field: uint32 end_epoch_index = 3
|
|
3493
|
+
*/
|
|
3494
|
+
endEpochIndex: number;
|
|
3495
|
+
/**
|
|
3496
|
+
* @generated from protobuf field: bool end_epoch_index_included = 4
|
|
3497
|
+
*/
|
|
3498
|
+
endEpochIndexIncluded: boolean;
|
|
3499
|
+
/**
|
|
3500
|
+
* @generated from protobuf field: bool prove = 5
|
|
3501
|
+
*/
|
|
3502
|
+
prove: boolean;
|
|
3503
|
+
}
|
|
3504
|
+
/**
|
|
3505
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse
|
|
3506
|
+
*/
|
|
3507
|
+
export interface GetFinalizedEpochInfosResponse {
|
|
3508
|
+
/**
|
|
3509
|
+
* @generated from protobuf oneof: version
|
|
3510
|
+
*/
|
|
3511
|
+
version: {
|
|
3512
|
+
oneofKind: "v0";
|
|
3513
|
+
/**
|
|
3514
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0 v0 = 1
|
|
3515
|
+
*/
|
|
3516
|
+
v0: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0;
|
|
3517
|
+
} | {
|
|
3518
|
+
oneofKind: undefined;
|
|
3519
|
+
};
|
|
3520
|
+
}
|
|
3521
|
+
/**
|
|
3522
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0
|
|
3523
|
+
*/
|
|
3524
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0 {
|
|
3525
|
+
/**
|
|
3526
|
+
* @generated from protobuf oneof: result
|
|
3527
|
+
*/
|
|
3528
|
+
result: {
|
|
3529
|
+
oneofKind: "epochs";
|
|
3530
|
+
/**
|
|
3531
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos epochs = 1
|
|
3532
|
+
*/
|
|
3533
|
+
epochs: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos;
|
|
3534
|
+
} | {
|
|
3535
|
+
oneofKind: "proof";
|
|
3536
|
+
/**
|
|
3537
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.Proof proof = 2
|
|
3538
|
+
*/
|
|
3539
|
+
proof: Proof;
|
|
3540
|
+
} | {
|
|
3541
|
+
oneofKind: undefined;
|
|
3542
|
+
};
|
|
3543
|
+
/**
|
|
3544
|
+
* @generated from protobuf field: org.dash.platform.dapi.v0.ResponseMetadata metadata = 3
|
|
3545
|
+
*/
|
|
3546
|
+
metadata?: ResponseMetadata;
|
|
3547
|
+
}
|
|
3548
|
+
/**
|
|
3549
|
+
* FinalizedEpochInfos holds a collection of finalized epoch information
|
|
3550
|
+
* entries
|
|
3551
|
+
*
|
|
3552
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos
|
|
3553
|
+
*/
|
|
3554
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos {
|
|
3555
|
+
/**
|
|
3556
|
+
* @generated from protobuf field: repeated org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo finalized_epoch_infos = 1
|
|
3557
|
+
*/
|
|
3558
|
+
finalizedEpochInfos: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo[];
|
|
3559
|
+
}
|
|
3560
|
+
/**
|
|
3561
|
+
* FinalizedEpochInfo represents finalized information about a single epoch
|
|
3562
|
+
*
|
|
3563
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo
|
|
3564
|
+
*/
|
|
3565
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo {
|
|
3566
|
+
/**
|
|
3567
|
+
* @generated from protobuf field: uint32 number = 1
|
|
3568
|
+
*/
|
|
3569
|
+
number: number;
|
|
3570
|
+
/**
|
|
3571
|
+
* @generated from protobuf field: uint64 first_block_height = 2 [jstype = JS_STRING]
|
|
3572
|
+
*/
|
|
3573
|
+
firstBlockHeight: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* @generated from protobuf field: uint32 first_core_block_height = 3
|
|
3576
|
+
*/
|
|
3577
|
+
firstCoreBlockHeight: number;
|
|
3578
|
+
/**
|
|
3579
|
+
* @generated from protobuf field: uint64 first_block_time = 4 [jstype = JS_STRING]
|
|
3580
|
+
*/
|
|
3581
|
+
firstBlockTime: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* @generated from protobuf field: double fee_multiplier = 5
|
|
3584
|
+
*/
|
|
3585
|
+
feeMultiplier: number;
|
|
3586
|
+
/**
|
|
3587
|
+
* @generated from protobuf field: uint32 protocol_version = 6
|
|
3588
|
+
*/
|
|
3589
|
+
protocolVersion: number;
|
|
3590
|
+
/**
|
|
3591
|
+
* @generated from protobuf field: uint64 total_blocks_in_epoch = 7 [jstype = JS_STRING]
|
|
3592
|
+
*/
|
|
3593
|
+
totalBlocksInEpoch: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* @generated from protobuf field: uint32 next_epoch_start_core_block_height = 8
|
|
3596
|
+
*/
|
|
3597
|
+
nextEpochStartCoreBlockHeight: number;
|
|
3598
|
+
/**
|
|
3599
|
+
* @generated from protobuf field: uint64 total_processing_fees = 9 [jstype = JS_STRING]
|
|
3600
|
+
*/
|
|
3601
|
+
totalProcessingFees: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* @generated from protobuf field: uint64 total_distributed_storage_fees = 10 [jstype = JS_STRING]
|
|
3604
|
+
*/
|
|
3605
|
+
totalDistributedStorageFees: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* @generated from protobuf field: uint64 total_created_storage_fees = 11 [jstype = JS_STRING]
|
|
3608
|
+
*/
|
|
3609
|
+
totalCreatedStorageFees: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* @generated from protobuf field: uint64 core_block_rewards = 12 [jstype = JS_STRING]
|
|
3612
|
+
*/
|
|
3613
|
+
coreBlockRewards: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* @generated from protobuf field: repeated org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer block_proposers = 13
|
|
3616
|
+
*/
|
|
3617
|
+
blockProposers: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer[];
|
|
3618
|
+
}
|
|
3619
|
+
/**
|
|
3620
|
+
* BlockProposer represents a block proposer and their block count
|
|
3621
|
+
*
|
|
3622
|
+
* @generated from protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
|
|
3623
|
+
*/
|
|
3624
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer {
|
|
3625
|
+
/**
|
|
3626
|
+
* @generated from protobuf field: bytes proposer_id = 1
|
|
3627
|
+
*/
|
|
3628
|
+
proposerId: Uint8Array;
|
|
3629
|
+
/**
|
|
3630
|
+
* @generated from protobuf field: uint32 block_count = 2
|
|
3631
|
+
*/
|
|
3632
|
+
blockCount: number;
|
|
3633
|
+
}
|
|
3462
3634
|
/**
|
|
3463
3635
|
* @generated from protobuf enum org.dash.platform.dapi.v0.KeyPurpose
|
|
3464
3636
|
*/
|
|
@@ -5327,6 +5499,76 @@ declare class GetShieldedNullifiersResponse_GetShieldedNullifiersResponseV0_Null
|
|
|
5327
5499
|
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatuses
|
|
5328
5500
|
*/
|
|
5329
5501
|
export declare const GetShieldedNullifiersResponse_GetShieldedNullifiersResponseV0_NullifierStatuses: GetShieldedNullifiersResponse_GetShieldedNullifiersResponseV0_NullifierStatuses$Type;
|
|
5502
|
+
declare class GetFinalizedEpochInfosRequest$Type extends MessageType<GetFinalizedEpochInfosRequest> {
|
|
5503
|
+
constructor();
|
|
5504
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosRequest>): GetFinalizedEpochInfosRequest;
|
|
5505
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosRequest): GetFinalizedEpochInfosRequest;
|
|
5506
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5507
|
+
}
|
|
5508
|
+
/**
|
|
5509
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest
|
|
5510
|
+
*/
|
|
5511
|
+
export declare const GetFinalizedEpochInfosRequest: GetFinalizedEpochInfosRequest$Type;
|
|
5512
|
+
declare class GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0$Type extends MessageType<GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0> {
|
|
5513
|
+
constructor();
|
|
5514
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0>): GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0;
|
|
5515
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0): GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0;
|
|
5516
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5517
|
+
}
|
|
5518
|
+
/**
|
|
5519
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0
|
|
5520
|
+
*/
|
|
5521
|
+
export declare const GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0: GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0$Type;
|
|
5522
|
+
declare class GetFinalizedEpochInfosResponse$Type extends MessageType<GetFinalizedEpochInfosResponse> {
|
|
5523
|
+
constructor();
|
|
5524
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosResponse>): GetFinalizedEpochInfosResponse;
|
|
5525
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosResponse): GetFinalizedEpochInfosResponse;
|
|
5526
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5527
|
+
}
|
|
5528
|
+
/**
|
|
5529
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse
|
|
5530
|
+
*/
|
|
5531
|
+
export declare const GetFinalizedEpochInfosResponse: GetFinalizedEpochInfosResponse$Type;
|
|
5532
|
+
declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0$Type extends MessageType<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0> {
|
|
5533
|
+
constructor();
|
|
5534
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0>): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0;
|
|
5535
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0;
|
|
5536
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5537
|
+
}
|
|
5538
|
+
/**
|
|
5539
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0
|
|
5540
|
+
*/
|
|
5541
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0$Type;
|
|
5542
|
+
declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos$Type extends MessageType<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos> {
|
|
5543
|
+
constructor();
|
|
5544
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos>): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos;
|
|
5545
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos;
|
|
5546
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5547
|
+
}
|
|
5548
|
+
/**
|
|
5549
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos
|
|
5550
|
+
*/
|
|
5551
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos$Type;
|
|
5552
|
+
declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo$Type extends MessageType<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo> {
|
|
5553
|
+
constructor();
|
|
5554
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo>): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo;
|
|
5555
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo;
|
|
5556
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5557
|
+
}
|
|
5558
|
+
/**
|
|
5559
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo
|
|
5560
|
+
*/
|
|
5561
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo$Type;
|
|
5562
|
+
declare class GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer$Type extends MessageType<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer> {
|
|
5563
|
+
constructor();
|
|
5564
|
+
create(value?: PartialMessage<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer>): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer;
|
|
5565
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer): GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer;
|
|
5566
|
+
internalBinaryWrite(message: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5567
|
+
}
|
|
5568
|
+
/**
|
|
5569
|
+
* @generated MessageType for protobuf message org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
|
|
5570
|
+
*/
|
|
5571
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer$Type;
|
|
5330
5572
|
/**
|
|
5331
5573
|
* @generated ServiceType for protobuf service org.dash.platform.dapi.v0.Platform
|
|
5332
5574
|
*/
|