@dashevo/dapi-grpc 0.24.0-dev.6 → 0.25.0-dev.2
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 +3 -3
- package/browser.js +13 -5
- package/clients/core/v0/nodejs/CorePromiseClient.js +2 -1
- package/clients/core/v0/nodejs/core_protoc.js +33 -33
- package/clients/core/v0/web/CorePromiseClient.js +159 -0
- package/clients/core/v0/web/core_pb.d.ts +783 -0
- package/clients/core/v0/web/core_pb.js +33 -33
- package/clients/core/v0/web/core_pb_service.d.ts +161 -0
- package/clients/core/v0/web/core_pb_service.js +317 -0
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +2 -1
- package/clients/platform/v0/nodejs/platform_pbjs.js +348 -20
- package/clients/platform/v0/nodejs/platform_protoc.js +131 -39
- package/clients/platform/v0/web/PlatformPromiseClient.js +130 -0
- package/clients/platform/v0/web/platform_pb.d.ts +608 -0
- package/clients/platform/v0/web/platform_pb.js +131 -39
- package/clients/platform/v0/web/platform_pb_service.d.ts +177 -0
- package/clients/platform/v0/web/platform_pb_service.js +301 -0
- package/lib/utils/parseMetadata.js +27 -0
- package/node.js +4 -0
- package/package.json +4 -4
- package/protos/platform/v0/platform.proto +6 -1
- package/scripts/build.sh +3 -3
- package/scripts/patch-protobuf-js.sh +30 -0
- package/clients/core/v0/web/core_grpc_web_pb.js +0 -499
- package/clients/platform/v0/web/platform_grpc_web_pb.js +0 -509
|
@@ -0,0 +1,783 @@
|
|
|
1
|
+
// package: org.dash.platform.dapi.v0
|
|
2
|
+
// file: core.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
|
|
6
|
+
export class GetStatusRequest extends jspb.Message {
|
|
7
|
+
serializeBinary(): Uint8Array;
|
|
8
|
+
toObject(includeInstance?: boolean): GetStatusRequest.AsObject;
|
|
9
|
+
static toObject(includeInstance: boolean, msg: GetStatusRequest): GetStatusRequest.AsObject;
|
|
10
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
11
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
12
|
+
static serializeBinaryToWriter(message: GetStatusRequest, writer: jspb.BinaryWriter): void;
|
|
13
|
+
static deserializeBinary(bytes: Uint8Array): GetStatusRequest;
|
|
14
|
+
static deserializeBinaryFromReader(message: GetStatusRequest, reader: jspb.BinaryReader): GetStatusRequest;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export namespace GetStatusRequest {
|
|
18
|
+
export type AsObject = {
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export class GetStatusResponse extends jspb.Message {
|
|
23
|
+
hasVersion(): boolean;
|
|
24
|
+
clearVersion(): void;
|
|
25
|
+
getVersion(): GetStatusResponse.Version | undefined;
|
|
26
|
+
setVersion(value?: GetStatusResponse.Version): void;
|
|
27
|
+
|
|
28
|
+
hasTime(): boolean;
|
|
29
|
+
clearTime(): void;
|
|
30
|
+
getTime(): GetStatusResponse.Time | undefined;
|
|
31
|
+
setTime(value?: GetStatusResponse.Time): void;
|
|
32
|
+
|
|
33
|
+
getStatus(): GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap];
|
|
34
|
+
setStatus(value: GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap]): void;
|
|
35
|
+
|
|
36
|
+
getSyncProgress(): number;
|
|
37
|
+
setSyncProgress(value: number): void;
|
|
38
|
+
|
|
39
|
+
hasChain(): boolean;
|
|
40
|
+
clearChain(): void;
|
|
41
|
+
getChain(): GetStatusResponse.Chain | undefined;
|
|
42
|
+
setChain(value?: GetStatusResponse.Chain): void;
|
|
43
|
+
|
|
44
|
+
hasMasternode(): boolean;
|
|
45
|
+
clearMasternode(): void;
|
|
46
|
+
getMasternode(): GetStatusResponse.Masternode | undefined;
|
|
47
|
+
setMasternode(value?: GetStatusResponse.Masternode): void;
|
|
48
|
+
|
|
49
|
+
hasNetwork(): boolean;
|
|
50
|
+
clearNetwork(): void;
|
|
51
|
+
getNetwork(): GetStatusResponse.Network | undefined;
|
|
52
|
+
setNetwork(value?: GetStatusResponse.Network): void;
|
|
53
|
+
|
|
54
|
+
serializeBinary(): Uint8Array;
|
|
55
|
+
toObject(includeInstance?: boolean): GetStatusResponse.AsObject;
|
|
56
|
+
static toObject(includeInstance: boolean, msg: GetStatusResponse): GetStatusResponse.AsObject;
|
|
57
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
58
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
59
|
+
static serializeBinaryToWriter(message: GetStatusResponse, writer: jspb.BinaryWriter): void;
|
|
60
|
+
static deserializeBinary(bytes: Uint8Array): GetStatusResponse;
|
|
61
|
+
static deserializeBinaryFromReader(message: GetStatusResponse, reader: jspb.BinaryReader): GetStatusResponse;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export namespace GetStatusResponse {
|
|
65
|
+
export type AsObject = {
|
|
66
|
+
version?: GetStatusResponse.Version.AsObject,
|
|
67
|
+
time?: GetStatusResponse.Time.AsObject,
|
|
68
|
+
status: GetStatusResponse.StatusMap[keyof GetStatusResponse.StatusMap],
|
|
69
|
+
syncProgress: number,
|
|
70
|
+
chain?: GetStatusResponse.Chain.AsObject,
|
|
71
|
+
masternode?: GetStatusResponse.Masternode.AsObject,
|
|
72
|
+
network?: GetStatusResponse.Network.AsObject,
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export class Version extends jspb.Message {
|
|
76
|
+
getProtocol(): number;
|
|
77
|
+
setProtocol(value: number): void;
|
|
78
|
+
|
|
79
|
+
getSoftware(): number;
|
|
80
|
+
setSoftware(value: number): void;
|
|
81
|
+
|
|
82
|
+
getAgent(): string;
|
|
83
|
+
setAgent(value: string): void;
|
|
84
|
+
|
|
85
|
+
serializeBinary(): Uint8Array;
|
|
86
|
+
toObject(includeInstance?: boolean): Version.AsObject;
|
|
87
|
+
static toObject(includeInstance: boolean, msg: Version): Version.AsObject;
|
|
88
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
89
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
90
|
+
static serializeBinaryToWriter(message: Version, writer: jspb.BinaryWriter): void;
|
|
91
|
+
static deserializeBinary(bytes: Uint8Array): Version;
|
|
92
|
+
static deserializeBinaryFromReader(message: Version, reader: jspb.BinaryReader): Version;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export namespace Version {
|
|
96
|
+
export type AsObject = {
|
|
97
|
+
protocol: number,
|
|
98
|
+
software: number,
|
|
99
|
+
agent: string,
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export class Time extends jspb.Message {
|
|
104
|
+
getNow(): number;
|
|
105
|
+
setNow(value: number): void;
|
|
106
|
+
|
|
107
|
+
getOffset(): number;
|
|
108
|
+
setOffset(value: number): void;
|
|
109
|
+
|
|
110
|
+
getMedian(): number;
|
|
111
|
+
setMedian(value: number): void;
|
|
112
|
+
|
|
113
|
+
serializeBinary(): Uint8Array;
|
|
114
|
+
toObject(includeInstance?: boolean): Time.AsObject;
|
|
115
|
+
static toObject(includeInstance: boolean, msg: Time): Time.AsObject;
|
|
116
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
117
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
118
|
+
static serializeBinaryToWriter(message: Time, writer: jspb.BinaryWriter): void;
|
|
119
|
+
static deserializeBinary(bytes: Uint8Array): Time;
|
|
120
|
+
static deserializeBinaryFromReader(message: Time, reader: jspb.BinaryReader): Time;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export namespace Time {
|
|
124
|
+
export type AsObject = {
|
|
125
|
+
now: number,
|
|
126
|
+
offset: number,
|
|
127
|
+
median: number,
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export class Chain extends jspb.Message {
|
|
132
|
+
getName(): string;
|
|
133
|
+
setName(value: string): void;
|
|
134
|
+
|
|
135
|
+
getHeadersCount(): number;
|
|
136
|
+
setHeadersCount(value: number): void;
|
|
137
|
+
|
|
138
|
+
getBlocksCount(): number;
|
|
139
|
+
setBlocksCount(value: number): void;
|
|
140
|
+
|
|
141
|
+
getBestBlockHash(): Uint8Array | string;
|
|
142
|
+
getBestBlockHash_asU8(): Uint8Array;
|
|
143
|
+
getBestBlockHash_asB64(): string;
|
|
144
|
+
setBestBlockHash(value: Uint8Array | string): void;
|
|
145
|
+
|
|
146
|
+
getDifficulty(): number;
|
|
147
|
+
setDifficulty(value: number): void;
|
|
148
|
+
|
|
149
|
+
getChainWork(): Uint8Array | string;
|
|
150
|
+
getChainWork_asU8(): Uint8Array;
|
|
151
|
+
getChainWork_asB64(): string;
|
|
152
|
+
setChainWork(value: Uint8Array | string): void;
|
|
153
|
+
|
|
154
|
+
getIsSynced(): boolean;
|
|
155
|
+
setIsSynced(value: boolean): void;
|
|
156
|
+
|
|
157
|
+
getSyncProgress(): number;
|
|
158
|
+
setSyncProgress(value: number): void;
|
|
159
|
+
|
|
160
|
+
serializeBinary(): Uint8Array;
|
|
161
|
+
toObject(includeInstance?: boolean): Chain.AsObject;
|
|
162
|
+
static toObject(includeInstance: boolean, msg: Chain): Chain.AsObject;
|
|
163
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
164
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
165
|
+
static serializeBinaryToWriter(message: Chain, writer: jspb.BinaryWriter): void;
|
|
166
|
+
static deserializeBinary(bytes: Uint8Array): Chain;
|
|
167
|
+
static deserializeBinaryFromReader(message: Chain, reader: jspb.BinaryReader): Chain;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export namespace Chain {
|
|
171
|
+
export type AsObject = {
|
|
172
|
+
name: string,
|
|
173
|
+
headersCount: number,
|
|
174
|
+
blocksCount: number,
|
|
175
|
+
bestBlockHash: Uint8Array | string,
|
|
176
|
+
difficulty: number,
|
|
177
|
+
chainWork: Uint8Array | string,
|
|
178
|
+
isSynced: boolean,
|
|
179
|
+
syncProgress: number,
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export class Masternode extends jspb.Message {
|
|
184
|
+
getStatus(): GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap];
|
|
185
|
+
setStatus(value: GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap]): void;
|
|
186
|
+
|
|
187
|
+
getProTxHash(): Uint8Array | string;
|
|
188
|
+
getProTxHash_asU8(): Uint8Array;
|
|
189
|
+
getProTxHash_asB64(): string;
|
|
190
|
+
setProTxHash(value: Uint8Array | string): void;
|
|
191
|
+
|
|
192
|
+
getPosePenalty(): number;
|
|
193
|
+
setPosePenalty(value: number): void;
|
|
194
|
+
|
|
195
|
+
getIsSynced(): boolean;
|
|
196
|
+
setIsSynced(value: boolean): void;
|
|
197
|
+
|
|
198
|
+
getSyncProgress(): number;
|
|
199
|
+
setSyncProgress(value: number): void;
|
|
200
|
+
|
|
201
|
+
serializeBinary(): Uint8Array;
|
|
202
|
+
toObject(includeInstance?: boolean): Masternode.AsObject;
|
|
203
|
+
static toObject(includeInstance: boolean, msg: Masternode): Masternode.AsObject;
|
|
204
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
205
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
206
|
+
static serializeBinaryToWriter(message: Masternode, writer: jspb.BinaryWriter): void;
|
|
207
|
+
static deserializeBinary(bytes: Uint8Array): Masternode;
|
|
208
|
+
static deserializeBinaryFromReader(message: Masternode, reader: jspb.BinaryReader): Masternode;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export namespace Masternode {
|
|
212
|
+
export type AsObject = {
|
|
213
|
+
status: GetStatusResponse.Masternode.StatusMap[keyof GetStatusResponse.Masternode.StatusMap],
|
|
214
|
+
proTxHash: Uint8Array | string,
|
|
215
|
+
posePenalty: number,
|
|
216
|
+
isSynced: boolean,
|
|
217
|
+
syncProgress: number,
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export interface StatusMap {
|
|
221
|
+
UNKNOWN: 0;
|
|
222
|
+
WAITING_FOR_PROTX: 1;
|
|
223
|
+
POSE_BANNED: 2;
|
|
224
|
+
REMOVED: 3;
|
|
225
|
+
OPERATOR_KEY_CHANGED: 4;
|
|
226
|
+
PROTX_IP_CHANGED: 5;
|
|
227
|
+
READY: 6;
|
|
228
|
+
ERROR: 7;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export const Status: StatusMap;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export class NetworkFee extends jspb.Message {
|
|
235
|
+
getRelay(): number;
|
|
236
|
+
setRelay(value: number): void;
|
|
237
|
+
|
|
238
|
+
getIncremental(): number;
|
|
239
|
+
setIncremental(value: number): void;
|
|
240
|
+
|
|
241
|
+
serializeBinary(): Uint8Array;
|
|
242
|
+
toObject(includeInstance?: boolean): NetworkFee.AsObject;
|
|
243
|
+
static toObject(includeInstance: boolean, msg: NetworkFee): NetworkFee.AsObject;
|
|
244
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
245
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
246
|
+
static serializeBinaryToWriter(message: NetworkFee, writer: jspb.BinaryWriter): void;
|
|
247
|
+
static deserializeBinary(bytes: Uint8Array): NetworkFee;
|
|
248
|
+
static deserializeBinaryFromReader(message: NetworkFee, reader: jspb.BinaryReader): NetworkFee;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export namespace NetworkFee {
|
|
252
|
+
export type AsObject = {
|
|
253
|
+
relay: number,
|
|
254
|
+
incremental: number,
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export class Network extends jspb.Message {
|
|
259
|
+
getPeersCount(): number;
|
|
260
|
+
setPeersCount(value: number): void;
|
|
261
|
+
|
|
262
|
+
hasFee(): boolean;
|
|
263
|
+
clearFee(): void;
|
|
264
|
+
getFee(): GetStatusResponse.NetworkFee | undefined;
|
|
265
|
+
setFee(value?: GetStatusResponse.NetworkFee): void;
|
|
266
|
+
|
|
267
|
+
serializeBinary(): Uint8Array;
|
|
268
|
+
toObject(includeInstance?: boolean): Network.AsObject;
|
|
269
|
+
static toObject(includeInstance: boolean, msg: Network): Network.AsObject;
|
|
270
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
271
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
272
|
+
static serializeBinaryToWriter(message: Network, writer: jspb.BinaryWriter): void;
|
|
273
|
+
static deserializeBinary(bytes: Uint8Array): Network;
|
|
274
|
+
static deserializeBinaryFromReader(message: Network, reader: jspb.BinaryReader): Network;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export namespace Network {
|
|
278
|
+
export type AsObject = {
|
|
279
|
+
peersCount: number,
|
|
280
|
+
fee?: GetStatusResponse.NetworkFee.AsObject,
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface StatusMap {
|
|
285
|
+
NOT_STARTED: 0;
|
|
286
|
+
SYNCING: 1;
|
|
287
|
+
READY: 2;
|
|
288
|
+
ERROR: 3;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export const Status: StatusMap;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export class GetBlockRequest extends jspb.Message {
|
|
295
|
+
hasHeight(): boolean;
|
|
296
|
+
clearHeight(): void;
|
|
297
|
+
getHeight(): number;
|
|
298
|
+
setHeight(value: number): void;
|
|
299
|
+
|
|
300
|
+
hasHash(): boolean;
|
|
301
|
+
clearHash(): void;
|
|
302
|
+
getHash(): string;
|
|
303
|
+
setHash(value: string): void;
|
|
304
|
+
|
|
305
|
+
getBlockCase(): GetBlockRequest.BlockCase;
|
|
306
|
+
serializeBinary(): Uint8Array;
|
|
307
|
+
toObject(includeInstance?: boolean): GetBlockRequest.AsObject;
|
|
308
|
+
static toObject(includeInstance: boolean, msg: GetBlockRequest): GetBlockRequest.AsObject;
|
|
309
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
310
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
311
|
+
static serializeBinaryToWriter(message: GetBlockRequest, writer: jspb.BinaryWriter): void;
|
|
312
|
+
static deserializeBinary(bytes: Uint8Array): GetBlockRequest;
|
|
313
|
+
static deserializeBinaryFromReader(message: GetBlockRequest, reader: jspb.BinaryReader): GetBlockRequest;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export namespace GetBlockRequest {
|
|
317
|
+
export type AsObject = {
|
|
318
|
+
height: number,
|
|
319
|
+
hash: string,
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export enum BlockCase {
|
|
323
|
+
BLOCK_NOT_SET = 0,
|
|
324
|
+
HEIGHT = 1,
|
|
325
|
+
HASH = 2,
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export class GetBlockResponse extends jspb.Message {
|
|
330
|
+
getBlock(): Uint8Array | string;
|
|
331
|
+
getBlock_asU8(): Uint8Array;
|
|
332
|
+
getBlock_asB64(): string;
|
|
333
|
+
setBlock(value: Uint8Array | string): void;
|
|
334
|
+
|
|
335
|
+
serializeBinary(): Uint8Array;
|
|
336
|
+
toObject(includeInstance?: boolean): GetBlockResponse.AsObject;
|
|
337
|
+
static toObject(includeInstance: boolean, msg: GetBlockResponse): GetBlockResponse.AsObject;
|
|
338
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
339
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
340
|
+
static serializeBinaryToWriter(message: GetBlockResponse, writer: jspb.BinaryWriter): void;
|
|
341
|
+
static deserializeBinary(bytes: Uint8Array): GetBlockResponse;
|
|
342
|
+
static deserializeBinaryFromReader(message: GetBlockResponse, reader: jspb.BinaryReader): GetBlockResponse;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export namespace GetBlockResponse {
|
|
346
|
+
export type AsObject = {
|
|
347
|
+
block: Uint8Array | string,
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export class BroadcastTransactionRequest extends jspb.Message {
|
|
352
|
+
getTransaction(): Uint8Array | string;
|
|
353
|
+
getTransaction_asU8(): Uint8Array;
|
|
354
|
+
getTransaction_asB64(): string;
|
|
355
|
+
setTransaction(value: Uint8Array | string): void;
|
|
356
|
+
|
|
357
|
+
getAllowHighFees(): boolean;
|
|
358
|
+
setAllowHighFees(value: boolean): void;
|
|
359
|
+
|
|
360
|
+
getBypassLimits(): boolean;
|
|
361
|
+
setBypassLimits(value: boolean): void;
|
|
362
|
+
|
|
363
|
+
serializeBinary(): Uint8Array;
|
|
364
|
+
toObject(includeInstance?: boolean): BroadcastTransactionRequest.AsObject;
|
|
365
|
+
static toObject(includeInstance: boolean, msg: BroadcastTransactionRequest): BroadcastTransactionRequest.AsObject;
|
|
366
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
367
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
368
|
+
static serializeBinaryToWriter(message: BroadcastTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
369
|
+
static deserializeBinary(bytes: Uint8Array): BroadcastTransactionRequest;
|
|
370
|
+
static deserializeBinaryFromReader(message: BroadcastTransactionRequest, reader: jspb.BinaryReader): BroadcastTransactionRequest;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export namespace BroadcastTransactionRequest {
|
|
374
|
+
export type AsObject = {
|
|
375
|
+
transaction: Uint8Array | string,
|
|
376
|
+
allowHighFees: boolean,
|
|
377
|
+
bypassLimits: boolean,
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export class BroadcastTransactionResponse extends jspb.Message {
|
|
382
|
+
getTransactionId(): string;
|
|
383
|
+
setTransactionId(value: string): void;
|
|
384
|
+
|
|
385
|
+
serializeBinary(): Uint8Array;
|
|
386
|
+
toObject(includeInstance?: boolean): BroadcastTransactionResponse.AsObject;
|
|
387
|
+
static toObject(includeInstance: boolean, msg: BroadcastTransactionResponse): BroadcastTransactionResponse.AsObject;
|
|
388
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
389
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
390
|
+
static serializeBinaryToWriter(message: BroadcastTransactionResponse, writer: jspb.BinaryWriter): void;
|
|
391
|
+
static deserializeBinary(bytes: Uint8Array): BroadcastTransactionResponse;
|
|
392
|
+
static deserializeBinaryFromReader(message: BroadcastTransactionResponse, reader: jspb.BinaryReader): BroadcastTransactionResponse;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export namespace BroadcastTransactionResponse {
|
|
396
|
+
export type AsObject = {
|
|
397
|
+
transactionId: string,
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export class GetTransactionRequest extends jspb.Message {
|
|
402
|
+
getId(): string;
|
|
403
|
+
setId(value: string): void;
|
|
404
|
+
|
|
405
|
+
serializeBinary(): Uint8Array;
|
|
406
|
+
toObject(includeInstance?: boolean): GetTransactionRequest.AsObject;
|
|
407
|
+
static toObject(includeInstance: boolean, msg: GetTransactionRequest): GetTransactionRequest.AsObject;
|
|
408
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
409
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
410
|
+
static serializeBinaryToWriter(message: GetTransactionRequest, writer: jspb.BinaryWriter): void;
|
|
411
|
+
static deserializeBinary(bytes: Uint8Array): GetTransactionRequest;
|
|
412
|
+
static deserializeBinaryFromReader(message: GetTransactionRequest, reader: jspb.BinaryReader): GetTransactionRequest;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export namespace GetTransactionRequest {
|
|
416
|
+
export type AsObject = {
|
|
417
|
+
id: string,
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export class GetTransactionResponse extends jspb.Message {
|
|
422
|
+
getTransaction(): Uint8Array | string;
|
|
423
|
+
getTransaction_asU8(): Uint8Array;
|
|
424
|
+
getTransaction_asB64(): string;
|
|
425
|
+
setTransaction(value: Uint8Array | string): void;
|
|
426
|
+
|
|
427
|
+
getBlockHash(): Uint8Array | string;
|
|
428
|
+
getBlockHash_asU8(): Uint8Array;
|
|
429
|
+
getBlockHash_asB64(): string;
|
|
430
|
+
setBlockHash(value: Uint8Array | string): void;
|
|
431
|
+
|
|
432
|
+
getHeight(): number;
|
|
433
|
+
setHeight(value: number): void;
|
|
434
|
+
|
|
435
|
+
getConfirmations(): number;
|
|
436
|
+
setConfirmations(value: number): void;
|
|
437
|
+
|
|
438
|
+
getIsInstantLocked(): boolean;
|
|
439
|
+
setIsInstantLocked(value: boolean): void;
|
|
440
|
+
|
|
441
|
+
getIsChainLocked(): boolean;
|
|
442
|
+
setIsChainLocked(value: boolean): void;
|
|
443
|
+
|
|
444
|
+
serializeBinary(): Uint8Array;
|
|
445
|
+
toObject(includeInstance?: boolean): GetTransactionResponse.AsObject;
|
|
446
|
+
static toObject(includeInstance: boolean, msg: GetTransactionResponse): GetTransactionResponse.AsObject;
|
|
447
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
448
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
449
|
+
static serializeBinaryToWriter(message: GetTransactionResponse, writer: jspb.BinaryWriter): void;
|
|
450
|
+
static deserializeBinary(bytes: Uint8Array): GetTransactionResponse;
|
|
451
|
+
static deserializeBinaryFromReader(message: GetTransactionResponse, reader: jspb.BinaryReader): GetTransactionResponse;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export namespace GetTransactionResponse {
|
|
455
|
+
export type AsObject = {
|
|
456
|
+
transaction: Uint8Array | string,
|
|
457
|
+
blockHash: Uint8Array | string,
|
|
458
|
+
height: number,
|
|
459
|
+
confirmations: number,
|
|
460
|
+
isInstantLocked: boolean,
|
|
461
|
+
isChainLocked: boolean,
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export class BlockHeadersWithChainLocksRequest extends jspb.Message {
|
|
466
|
+
hasFromBlockHash(): boolean;
|
|
467
|
+
clearFromBlockHash(): void;
|
|
468
|
+
getFromBlockHash(): Uint8Array | string;
|
|
469
|
+
getFromBlockHash_asU8(): Uint8Array;
|
|
470
|
+
getFromBlockHash_asB64(): string;
|
|
471
|
+
setFromBlockHash(value: Uint8Array | string): void;
|
|
472
|
+
|
|
473
|
+
hasFromBlockHeight(): boolean;
|
|
474
|
+
clearFromBlockHeight(): void;
|
|
475
|
+
getFromBlockHeight(): number;
|
|
476
|
+
setFromBlockHeight(value: number): void;
|
|
477
|
+
|
|
478
|
+
getCount(): number;
|
|
479
|
+
setCount(value: number): void;
|
|
480
|
+
|
|
481
|
+
getFromBlockCase(): BlockHeadersWithChainLocksRequest.FromBlockCase;
|
|
482
|
+
serializeBinary(): Uint8Array;
|
|
483
|
+
toObject(includeInstance?: boolean): BlockHeadersWithChainLocksRequest.AsObject;
|
|
484
|
+
static toObject(includeInstance: boolean, msg: BlockHeadersWithChainLocksRequest): BlockHeadersWithChainLocksRequest.AsObject;
|
|
485
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
486
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
487
|
+
static serializeBinaryToWriter(message: BlockHeadersWithChainLocksRequest, writer: jspb.BinaryWriter): void;
|
|
488
|
+
static deserializeBinary(bytes: Uint8Array): BlockHeadersWithChainLocksRequest;
|
|
489
|
+
static deserializeBinaryFromReader(message: BlockHeadersWithChainLocksRequest, reader: jspb.BinaryReader): BlockHeadersWithChainLocksRequest;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export namespace BlockHeadersWithChainLocksRequest {
|
|
493
|
+
export type AsObject = {
|
|
494
|
+
fromBlockHash: Uint8Array | string,
|
|
495
|
+
fromBlockHeight: number,
|
|
496
|
+
count: number,
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export enum FromBlockCase {
|
|
500
|
+
FROM_BLOCK_NOT_SET = 0,
|
|
501
|
+
FROM_BLOCK_HASH = 1,
|
|
502
|
+
FROM_BLOCK_HEIGHT = 2,
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export class BlockHeadersWithChainLocksResponse extends jspb.Message {
|
|
507
|
+
hasBlockHeaders(): boolean;
|
|
508
|
+
clearBlockHeaders(): void;
|
|
509
|
+
getBlockHeaders(): BlockHeaders | undefined;
|
|
510
|
+
setBlockHeaders(value?: BlockHeaders): void;
|
|
511
|
+
|
|
512
|
+
hasChainLock(): boolean;
|
|
513
|
+
clearChainLock(): void;
|
|
514
|
+
getChainLock(): Uint8Array | string;
|
|
515
|
+
getChainLock_asU8(): Uint8Array;
|
|
516
|
+
getChainLock_asB64(): string;
|
|
517
|
+
setChainLock(value: Uint8Array | string): void;
|
|
518
|
+
|
|
519
|
+
getResponsesCase(): BlockHeadersWithChainLocksResponse.ResponsesCase;
|
|
520
|
+
serializeBinary(): Uint8Array;
|
|
521
|
+
toObject(includeInstance?: boolean): BlockHeadersWithChainLocksResponse.AsObject;
|
|
522
|
+
static toObject(includeInstance: boolean, msg: BlockHeadersWithChainLocksResponse): BlockHeadersWithChainLocksResponse.AsObject;
|
|
523
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
524
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
525
|
+
static serializeBinaryToWriter(message: BlockHeadersWithChainLocksResponse, writer: jspb.BinaryWriter): void;
|
|
526
|
+
static deserializeBinary(bytes: Uint8Array): BlockHeadersWithChainLocksResponse;
|
|
527
|
+
static deserializeBinaryFromReader(message: BlockHeadersWithChainLocksResponse, reader: jspb.BinaryReader): BlockHeadersWithChainLocksResponse;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export namespace BlockHeadersWithChainLocksResponse {
|
|
531
|
+
export type AsObject = {
|
|
532
|
+
blockHeaders?: BlockHeaders.AsObject,
|
|
533
|
+
chainLock: Uint8Array | string,
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export enum ResponsesCase {
|
|
537
|
+
RESPONSES_NOT_SET = 0,
|
|
538
|
+
BLOCK_HEADERS = 1,
|
|
539
|
+
CHAIN_LOCK = 2,
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export class BlockHeaders extends jspb.Message {
|
|
544
|
+
clearHeadersList(): void;
|
|
545
|
+
getHeadersList(): Array<Uint8Array | string>;
|
|
546
|
+
getHeadersList_asU8(): Array<Uint8Array>;
|
|
547
|
+
getHeadersList_asB64(): Array<string>;
|
|
548
|
+
setHeadersList(value: Array<Uint8Array | string>): void;
|
|
549
|
+
addHeaders(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
550
|
+
|
|
551
|
+
serializeBinary(): Uint8Array;
|
|
552
|
+
toObject(includeInstance?: boolean): BlockHeaders.AsObject;
|
|
553
|
+
static toObject(includeInstance: boolean, msg: BlockHeaders): BlockHeaders.AsObject;
|
|
554
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
555
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
556
|
+
static serializeBinaryToWriter(message: BlockHeaders, writer: jspb.BinaryWriter): void;
|
|
557
|
+
static deserializeBinary(bytes: Uint8Array): BlockHeaders;
|
|
558
|
+
static deserializeBinaryFromReader(message: BlockHeaders, reader: jspb.BinaryReader): BlockHeaders;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export namespace BlockHeaders {
|
|
562
|
+
export type AsObject = {
|
|
563
|
+
headersList: Array<Uint8Array | string>,
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
export class GetEstimatedTransactionFeeRequest extends jspb.Message {
|
|
568
|
+
getBlocks(): number;
|
|
569
|
+
setBlocks(value: number): void;
|
|
570
|
+
|
|
571
|
+
serializeBinary(): Uint8Array;
|
|
572
|
+
toObject(includeInstance?: boolean): GetEstimatedTransactionFeeRequest.AsObject;
|
|
573
|
+
static toObject(includeInstance: boolean, msg: GetEstimatedTransactionFeeRequest): GetEstimatedTransactionFeeRequest.AsObject;
|
|
574
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
575
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
576
|
+
static serializeBinaryToWriter(message: GetEstimatedTransactionFeeRequest, writer: jspb.BinaryWriter): void;
|
|
577
|
+
static deserializeBinary(bytes: Uint8Array): GetEstimatedTransactionFeeRequest;
|
|
578
|
+
static deserializeBinaryFromReader(message: GetEstimatedTransactionFeeRequest, reader: jspb.BinaryReader): GetEstimatedTransactionFeeRequest;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export namespace GetEstimatedTransactionFeeRequest {
|
|
582
|
+
export type AsObject = {
|
|
583
|
+
blocks: number,
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export class GetEstimatedTransactionFeeResponse extends jspb.Message {
|
|
588
|
+
getFee(): number;
|
|
589
|
+
setFee(value: number): void;
|
|
590
|
+
|
|
591
|
+
serializeBinary(): Uint8Array;
|
|
592
|
+
toObject(includeInstance?: boolean): GetEstimatedTransactionFeeResponse.AsObject;
|
|
593
|
+
static toObject(includeInstance: boolean, msg: GetEstimatedTransactionFeeResponse): GetEstimatedTransactionFeeResponse.AsObject;
|
|
594
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
595
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
596
|
+
static serializeBinaryToWriter(message: GetEstimatedTransactionFeeResponse, writer: jspb.BinaryWriter): void;
|
|
597
|
+
static deserializeBinary(bytes: Uint8Array): GetEstimatedTransactionFeeResponse;
|
|
598
|
+
static deserializeBinaryFromReader(message: GetEstimatedTransactionFeeResponse, reader: jspb.BinaryReader): GetEstimatedTransactionFeeResponse;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export namespace GetEstimatedTransactionFeeResponse {
|
|
602
|
+
export type AsObject = {
|
|
603
|
+
fee: number,
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export class TransactionsWithProofsRequest extends jspb.Message {
|
|
608
|
+
hasBloomFilter(): boolean;
|
|
609
|
+
clearBloomFilter(): void;
|
|
610
|
+
getBloomFilter(): BloomFilter | undefined;
|
|
611
|
+
setBloomFilter(value?: BloomFilter): void;
|
|
612
|
+
|
|
613
|
+
hasFromBlockHash(): boolean;
|
|
614
|
+
clearFromBlockHash(): void;
|
|
615
|
+
getFromBlockHash(): Uint8Array | string;
|
|
616
|
+
getFromBlockHash_asU8(): Uint8Array;
|
|
617
|
+
getFromBlockHash_asB64(): string;
|
|
618
|
+
setFromBlockHash(value: Uint8Array | string): void;
|
|
619
|
+
|
|
620
|
+
hasFromBlockHeight(): boolean;
|
|
621
|
+
clearFromBlockHeight(): void;
|
|
622
|
+
getFromBlockHeight(): number;
|
|
623
|
+
setFromBlockHeight(value: number): void;
|
|
624
|
+
|
|
625
|
+
getCount(): number;
|
|
626
|
+
setCount(value: number): void;
|
|
627
|
+
|
|
628
|
+
getSendTransactionHashes(): boolean;
|
|
629
|
+
setSendTransactionHashes(value: boolean): void;
|
|
630
|
+
|
|
631
|
+
getFromBlockCase(): TransactionsWithProofsRequest.FromBlockCase;
|
|
632
|
+
serializeBinary(): Uint8Array;
|
|
633
|
+
toObject(includeInstance?: boolean): TransactionsWithProofsRequest.AsObject;
|
|
634
|
+
static toObject(includeInstance: boolean, msg: TransactionsWithProofsRequest): TransactionsWithProofsRequest.AsObject;
|
|
635
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
636
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
637
|
+
static serializeBinaryToWriter(message: TransactionsWithProofsRequest, writer: jspb.BinaryWriter): void;
|
|
638
|
+
static deserializeBinary(bytes: Uint8Array): TransactionsWithProofsRequest;
|
|
639
|
+
static deserializeBinaryFromReader(message: TransactionsWithProofsRequest, reader: jspb.BinaryReader): TransactionsWithProofsRequest;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export namespace TransactionsWithProofsRequest {
|
|
643
|
+
export type AsObject = {
|
|
644
|
+
bloomFilter?: BloomFilter.AsObject,
|
|
645
|
+
fromBlockHash: Uint8Array | string,
|
|
646
|
+
fromBlockHeight: number,
|
|
647
|
+
count: number,
|
|
648
|
+
sendTransactionHashes: boolean,
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export enum FromBlockCase {
|
|
652
|
+
FROM_BLOCK_NOT_SET = 0,
|
|
653
|
+
FROM_BLOCK_HASH = 2,
|
|
654
|
+
FROM_BLOCK_HEIGHT = 3,
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export class BloomFilter extends jspb.Message {
|
|
659
|
+
getVData(): Uint8Array | string;
|
|
660
|
+
getVData_asU8(): Uint8Array;
|
|
661
|
+
getVData_asB64(): string;
|
|
662
|
+
setVData(value: Uint8Array | string): void;
|
|
663
|
+
|
|
664
|
+
getNHashFuncs(): number;
|
|
665
|
+
setNHashFuncs(value: number): void;
|
|
666
|
+
|
|
667
|
+
getNTweak(): number;
|
|
668
|
+
setNTweak(value: number): void;
|
|
669
|
+
|
|
670
|
+
getNFlags(): number;
|
|
671
|
+
setNFlags(value: number): void;
|
|
672
|
+
|
|
673
|
+
serializeBinary(): Uint8Array;
|
|
674
|
+
toObject(includeInstance?: boolean): BloomFilter.AsObject;
|
|
675
|
+
static toObject(includeInstance: boolean, msg: BloomFilter): BloomFilter.AsObject;
|
|
676
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
677
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
678
|
+
static serializeBinaryToWriter(message: BloomFilter, writer: jspb.BinaryWriter): void;
|
|
679
|
+
static deserializeBinary(bytes: Uint8Array): BloomFilter;
|
|
680
|
+
static deserializeBinaryFromReader(message: BloomFilter, reader: jspb.BinaryReader): BloomFilter;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export namespace BloomFilter {
|
|
684
|
+
export type AsObject = {
|
|
685
|
+
vData: Uint8Array | string,
|
|
686
|
+
nHashFuncs: number,
|
|
687
|
+
nTweak: number,
|
|
688
|
+
nFlags: number,
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export class TransactionsWithProofsResponse extends jspb.Message {
|
|
693
|
+
hasRawTransactions(): boolean;
|
|
694
|
+
clearRawTransactions(): void;
|
|
695
|
+
getRawTransactions(): RawTransactions | undefined;
|
|
696
|
+
setRawTransactions(value?: RawTransactions): void;
|
|
697
|
+
|
|
698
|
+
hasInstantSendLockMessages(): boolean;
|
|
699
|
+
clearInstantSendLockMessages(): void;
|
|
700
|
+
getInstantSendLockMessages(): InstantSendLockMessages | undefined;
|
|
701
|
+
setInstantSendLockMessages(value?: InstantSendLockMessages): void;
|
|
702
|
+
|
|
703
|
+
hasRawMerkleBlock(): boolean;
|
|
704
|
+
clearRawMerkleBlock(): void;
|
|
705
|
+
getRawMerkleBlock(): Uint8Array | string;
|
|
706
|
+
getRawMerkleBlock_asU8(): Uint8Array;
|
|
707
|
+
getRawMerkleBlock_asB64(): string;
|
|
708
|
+
setRawMerkleBlock(value: Uint8Array | string): void;
|
|
709
|
+
|
|
710
|
+
getResponsesCase(): TransactionsWithProofsResponse.ResponsesCase;
|
|
711
|
+
serializeBinary(): Uint8Array;
|
|
712
|
+
toObject(includeInstance?: boolean): TransactionsWithProofsResponse.AsObject;
|
|
713
|
+
static toObject(includeInstance: boolean, msg: TransactionsWithProofsResponse): TransactionsWithProofsResponse.AsObject;
|
|
714
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
715
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
716
|
+
static serializeBinaryToWriter(message: TransactionsWithProofsResponse, writer: jspb.BinaryWriter): void;
|
|
717
|
+
static deserializeBinary(bytes: Uint8Array): TransactionsWithProofsResponse;
|
|
718
|
+
static deserializeBinaryFromReader(message: TransactionsWithProofsResponse, reader: jspb.BinaryReader): TransactionsWithProofsResponse;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export namespace TransactionsWithProofsResponse {
|
|
722
|
+
export type AsObject = {
|
|
723
|
+
rawTransactions?: RawTransactions.AsObject,
|
|
724
|
+
instantSendLockMessages?: InstantSendLockMessages.AsObject,
|
|
725
|
+
rawMerkleBlock: Uint8Array | string,
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export enum ResponsesCase {
|
|
729
|
+
RESPONSES_NOT_SET = 0,
|
|
730
|
+
RAW_TRANSACTIONS = 1,
|
|
731
|
+
INSTANT_SEND_LOCK_MESSAGES = 2,
|
|
732
|
+
RAW_MERKLE_BLOCK = 3,
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export class RawTransactions extends jspb.Message {
|
|
737
|
+
clearTransactionsList(): void;
|
|
738
|
+
getTransactionsList(): Array<Uint8Array | string>;
|
|
739
|
+
getTransactionsList_asU8(): Array<Uint8Array>;
|
|
740
|
+
getTransactionsList_asB64(): Array<string>;
|
|
741
|
+
setTransactionsList(value: Array<Uint8Array | string>): void;
|
|
742
|
+
addTransactions(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
743
|
+
|
|
744
|
+
serializeBinary(): Uint8Array;
|
|
745
|
+
toObject(includeInstance?: boolean): RawTransactions.AsObject;
|
|
746
|
+
static toObject(includeInstance: boolean, msg: RawTransactions): RawTransactions.AsObject;
|
|
747
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
748
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
749
|
+
static serializeBinaryToWriter(message: RawTransactions, writer: jspb.BinaryWriter): void;
|
|
750
|
+
static deserializeBinary(bytes: Uint8Array): RawTransactions;
|
|
751
|
+
static deserializeBinaryFromReader(message: RawTransactions, reader: jspb.BinaryReader): RawTransactions;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
export namespace RawTransactions {
|
|
755
|
+
export type AsObject = {
|
|
756
|
+
transactionsList: Array<Uint8Array | string>,
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export class InstantSendLockMessages extends jspb.Message {
|
|
761
|
+
clearMessagesList(): void;
|
|
762
|
+
getMessagesList(): Array<Uint8Array | string>;
|
|
763
|
+
getMessagesList_asU8(): Array<Uint8Array>;
|
|
764
|
+
getMessagesList_asB64(): Array<string>;
|
|
765
|
+
setMessagesList(value: Array<Uint8Array | string>): void;
|
|
766
|
+
addMessages(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
767
|
+
|
|
768
|
+
serializeBinary(): Uint8Array;
|
|
769
|
+
toObject(includeInstance?: boolean): InstantSendLockMessages.AsObject;
|
|
770
|
+
static toObject(includeInstance: boolean, msg: InstantSendLockMessages): InstantSendLockMessages.AsObject;
|
|
771
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
772
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
773
|
+
static serializeBinaryToWriter(message: InstantSendLockMessages, writer: jspb.BinaryWriter): void;
|
|
774
|
+
static deserializeBinary(bytes: Uint8Array): InstantSendLockMessages;
|
|
775
|
+
static deserializeBinaryFromReader(message: InstantSendLockMessages, reader: jspb.BinaryReader): InstantSendLockMessages;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export namespace InstantSendLockMessages {
|
|
779
|
+
export type AsObject = {
|
|
780
|
+
messagesList: Array<Uint8Array | string>,
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|