@cmts-dev/carmentis-sdk-core 1.2.0 → 1.2.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.
@@ -5,455 +5,10 @@ import { PrivKey } from '@noble/secp256k1';
5
5
  import * as val from 'valibot';
6
6
 
7
7
  export declare class AbciQueryEncoder {
8
- static encodeAbciRequest(request: AbciRequest): Buffer<ArrayBufferLike>;
9
- static decodeAbciRequest(request: Uint8Array): {
10
- requestType: import("../common").AbciRequestType.GET_CHAIN_INFORMATION;
11
- } | {
12
- requestType: import("../common").AbciRequestType.GET_BLOCK_INFORMATION;
13
- height: number;
14
- } | {
15
- requestType: import("../common").AbciRequestType.GET_BLOCK_CONTENT;
16
- height: number;
17
- } | {
18
- requestType: import("../common").AbciRequestType.GET_VIRTUAL_BLOCKCHAIN_STATE;
19
- virtualBlockchainId: Uint8Array<ArrayBufferLike>;
20
- } | {
21
- requestType: import("../common").AbciRequestType.GET_VIRTUAL_BLOCKCHAIN_UPDATE;
22
- virtualBlockchainId: Uint8Array<ArrayBufferLike>;
23
- knownHeight: number;
24
- } | {
25
- requestType: import("../common").AbciRequestType.GET_MICROBLOCK_INFORMATION;
26
- hash: Uint8Array<ArrayBufferLike>;
27
- } | {
28
- requestType: import("../common").AbciRequestType.AWAIT_MICROBLOCK_ANCHORING;
29
- hash: Uint8Array<ArrayBufferLike>;
30
- } | {
31
- requestType: import("../common").AbciRequestType.GET_MICROBLOCK_BODYS;
32
- hashes: Uint8Array<ArrayBufferLike>[];
33
- } | {
34
- requestType: import("../common").AbciRequestType.GET_ACCOUNT_STATE;
35
- accountHash: Uint8Array<ArrayBufferLike>;
36
- } | {
37
- requestType: import("../common").AbciRequestType.GET_ACCOUNT_HISTORY;
38
- accountHash: Uint8Array<ArrayBufferLike>;
39
- lastHistoryHash: Uint8Array<ArrayBufferLike>;
40
- maxRecords: number;
41
- } | {
42
- requestType: import("../common").AbciRequestType.GET_ACCOUNT_BY_PUBLIC_KEY_HASH;
43
- publicKeyHash: Uint8Array<ArrayBufferLike>;
44
- } | {
45
- requestType: import("../common").AbciRequestType.GET_VALIDATOR_NODE_BY_ADDRESS;
46
- address: Uint8Array<ArrayBufferLike>;
47
- } | {
48
- requestType: import("../common").AbciRequestType.GET_OBJECT_LIST;
49
- type: number;
50
- } | {
51
- requestType: import("../common").AbciRequestType.GET_GENESIS_SNAPSHOT;
52
- } | {
53
- requestType: import("../common").AbciRequestType.GET_RAW_BLOCK_CONTENT;
54
- height: number;
55
- partIndex: number;
56
- } | {
57
- requestType: import("../common").AbciRequestType.GET_BLOCK_MODIFIED_ACCOUNTS;
58
- height: number;
59
- } | {
60
- requestType: import("../common").AbciRequestType.GET_ACCOUNT_UPDATES;
61
- list: {
62
- accountHash: Uint8Array<ArrayBufferLike>;
63
- lastKnownHistoryHash: Uint8Array<ArrayBufferLike>;
64
- }[];
65
- };
66
- static encodeAbciResponse(response: AbciResponse): Buffer<ArrayBufferLike>;
67
- static decodeAbciResponse(response: Uint8Array): {
68
- responseType: import("../common").AbciResponseType.ERROR;
69
- error: string;
70
- } | {
71
- responseType: import("../common").AbciResponseType.CHAIN_INFORMATION;
72
- height: number;
73
- lastBlockTimestamp: number;
74
- microblockCount: number;
75
- objectCounts: number[];
76
- } | {
77
- responseType: import("../common").AbciResponseType.BLOCK_INFORMATION;
78
- hash: Uint8Array<ArrayBufferLike>;
79
- timestamp: number;
80
- proposerAddress: Uint8Array<ArrayBufferLike>;
81
- size: number;
82
- microblockCount: number;
83
- } | {
84
- responseType: import("../common").AbciResponseType.BLOCK_CONTENT;
85
- microblocks: {
86
- hash: Uint8Array<ArrayBufferLike>;
87
- vbId: Uint8Array<ArrayBufferLike>;
88
- vbType: number;
89
- height: number;
90
- size: number;
91
- sectionCount: number;
92
- }[];
93
- } | {
94
- responseType: import("../common").AbciResponseType.RAW_BLOCK_CONTENT;
95
- partIndex: number;
96
- numberOfParts: number;
97
- serializedMicroblocks: Uint8Array<ArrayBufferLike>[];
98
- } | {
99
- responseType: import("../common").AbciResponseType.VIRTUAL_BLOCKCHAIN_STATE;
100
- serializedVirtualBlockchainState: Uint8Array<ArrayBufferLike>;
101
- } | {
102
- responseType: import("../common").AbciResponseType.VIRTUAL_BLOCKCHAIN_UPDATE;
103
- exists: boolean;
104
- changed: boolean;
105
- serializedVirtualBlockchainState: Uint8Array<ArrayBufferLike>;
106
- serializedHeaders: Uint8Array<ArrayBufferLike>[];
107
- } | {
108
- virtualBlockchainId: Uint8Array<ArrayBufferLike>;
109
- virtualBlockchainType: number;
110
- header: {
111
- magicString: "CMTS";
112
- protocolVersion: number;
113
- microblockType: number;
114
- height: number;
115
- previousHash: Uint8Array<ArrayBufferLike>;
116
- timestamp: number;
117
- gas: number;
118
- gasPrice: number;
119
- bodyHash: Uint8Array<ArrayBufferLike>;
120
- feesPayerAccount: Uint8Array<ArrayBufferLike>;
121
- };
122
- responseType: import("../common").AbciResponseType.MICROBLOCK_INFORMATION;
123
- } | {
124
- virtualBlockchainId: Uint8Array<ArrayBufferLike>;
125
- virtualBlockchainType: number;
126
- header: {
127
- magicString: "CMTS";
128
- protocolVersion: number;
129
- microblockType: number;
130
- height: number;
131
- previousHash: Uint8Array<ArrayBufferLike>;
132
- timestamp: number;
133
- gas: number;
134
- gasPrice: number;
135
- bodyHash: Uint8Array<ArrayBufferLike>;
136
- feesPayerAccount: Uint8Array<ArrayBufferLike>;
137
- };
138
- responseType: import("../common").AbciResponseType.MICROBLOCK_ANCHORING;
139
- } | {
140
- responseType: import("../common").AbciResponseType.MICROBLOCK_BODYS;
141
- list: {
142
- microblockHash: Uint8Array<ArrayBufferLike>;
143
- microblockBody: {
144
- sections: (({
145
- type: import("../common").SectionType.CUSTOM;
146
- } & {
147
- [key: string]: unknown;
148
- }) | {
149
- type: import("../common").SectionType.SIGNATURE;
150
- signature: Uint8Array<ArrayBufferLike>;
151
- schemeId: number;
152
- } | {
153
- type: import("../common").SectionType.AUXILIARY_SIGNATURE;
154
- tag: string;
155
- signature: Uint8Array<ArrayBufferLike>;
156
- schemeId: number;
157
- } | {
158
- type: import("../common").SectionType.ALLOWED_ADDITIONAL_WRITER;
159
- allowedWriterAccountId: Uint8Array<ArrayBufferLike>;
160
- } | {
161
- type: import("../common").SectionType.PROTOCOL_CREATION;
162
- organizationId: Uint8Array<ArrayBufferLike>;
163
- } | {
164
- protocolVersion: number;
165
- protocolVersionName: string;
166
- changeLog: string;
167
- protocolVariables: {
168
- protocolVersionName: string;
169
- protocolVersion: number;
170
- feesCalculationVersion: number;
171
- globalStateUpdaterVersion: number;
172
- applicationLedgerInternalStateUpdaterVersion: number;
173
- applicationInternalStateUpdaterVersion: number;
174
- organizationInternalStateUpdaterVersion: number;
175
- validatorNodeInternalStateUpdaterVersion: number;
176
- accountInternalStateUpdaterVersion: number;
177
- protocolInternalStateUpdaterVersion: number;
178
- minimumNodeStakingAmountInAtomics: number;
179
- maximumNodeStakingAmountInAtomics: number;
180
- unstakingDelayInDays: number;
181
- maxBlockSizeInBytes: number;
182
- retentionPolicy: {
183
- retentionRatio: number;
184
- maximumNumberOfDays: number;
185
- dayDivisor: number;
186
- }[];
187
- abciVersion: number;
188
- };
189
- type: import("../common").SectionType.PROTOCOL_UPDATE;
190
- } | {
191
- type: import("../common").SectionType.PROTOCOL_VARIABLES;
192
- protocolVariables: any;
193
- } | {
194
- type: import("../common").SectionType.ACCOUNT_PUBLIC_KEY;
195
- publicKey: Uint8Array<ArrayBufferLike>;
196
- schemeId: number;
197
- } | {
198
- type: import("../common").SectionType.ACCOUNT_TOKEN_ISSUANCE;
199
- amount: number;
200
- } | {
201
- type: import("../common").SectionType.ACCOUNT_CREATION;
202
- sellerAccount: Uint8Array<ArrayBufferLike>;
203
- amount: number;
204
- } | {
205
- type: import("../common").SectionType.ACCOUNT_TRANSFER;
206
- account: Uint8Array<ArrayBufferLike>;
207
- amount: number;
208
- publicReference: string;
209
- privateReference: string;
210
- } | {
211
- type: import("../common").SectionType.ACCOUNT_VESTING_TRANSFER;
212
- account: Uint8Array<ArrayBufferLike>;
213
- amount: number;
214
- publicReference: string;
215
- privateReference: string;
216
- cliffDurationDays: number;
217
- vestingDurationDays: number;
218
- } | {
219
- type: import("../common").SectionType.ACCOUNT_ESCROW_TRANSFER;
220
- account: Uint8Array<ArrayBufferLike>;
221
- amount: number;
222
- publicReference: string;
223
- privateReference: string;
224
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
225
- agentAccount: Uint8Array<ArrayBufferLike>;
226
- durationDays: number;
227
- } | {
228
- type: import("../common").SectionType.ACCOUNT_ESCROW_SETTLEMENT;
229
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
230
- confirmed: boolean;
231
- } | {
232
- type: import("../common").SectionType.ACCOUNT_STAKE;
233
- amount: number;
234
- objectType: number;
235
- objectIdentifier: Uint8Array<ArrayBufferLike>;
236
- } | {
237
- type: import("../common").SectionType.ACCOUNT_UNSTAKE;
238
- amount: number;
239
- objectType: number;
240
- objectIdentifier: Uint8Array<ArrayBufferLike>;
241
- } | {
242
- type: import("../common").SectionType.VN_CREATION;
243
- organizationId: Uint8Array<ArrayBufferLike>;
244
- } | {
245
- type: import("../common").SectionType.VN_COMETBFT_PUBLIC_KEY_DECLARATION;
246
- cometPublicKeyType: string;
247
- cometPublicKey: string;
248
- } | {
249
- type: import("../common").SectionType.VN_RPC_ENDPOINT;
250
- rpcEndpoint: string;
251
- } | {
252
- type: import("../common").SectionType.VN_APPROVAL;
253
- status: boolean;
254
- } | {
255
- type: import("../common").SectionType.VN_SLASHING_CANCELLATION;
256
- reason: string;
257
- } | {
258
- type: import("../common").SectionType.ORG_CREATION;
259
- accountId: Uint8Array<ArrayBufferLike>;
260
- } | {
261
- type: import("../common").SectionType.ORG_DESCRIPTION;
262
- name: string;
263
- city: string;
264
- countryCode: string;
265
- website: string;
266
- misc?: {
267
- [x: string]: string;
268
- } | undefined;
269
- } | {
270
- type: import("../common").SectionType.APP_CREATION;
271
- organizationId: Uint8Array<ArrayBufferLike>;
272
- } | {
273
- type: import("../common").SectionType.APP_DESCRIPTION;
274
- name: string;
275
- logoUrl: string;
276
- homepageUrl: string;
277
- description: string;
278
- misc?: {
279
- [x: string]: string;
280
- } | undefined;
281
- } | {
282
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_SIG_SCHEMES;
283
- schemeIds: number[];
284
- } | {
285
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_PKE_SCHEMES;
286
- schemeIds: number[];
287
- } | {
288
- type: import("../common").SectionType.APP_LEDGER_CREATION;
289
- applicationId: Uint8Array<ArrayBufferLike>;
290
- } | {
291
- type: import("../common").SectionType.APP_LEDGER_ACTOR_CREATION;
292
- id: number;
293
- actorType: number;
294
- name: string;
295
- } | {
296
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_CREATION;
297
- id: number;
298
- isPrivate: boolean;
299
- creatorId: number;
300
- name: string;
301
- } | {
302
- type: import("../common").SectionType.APP_LEDGER_SHARED_SECRET;
303
- hostId: number;
304
- guestId: number;
305
- encryptedSharedKey: Uint8Array<ArrayBufferLike>;
306
- } | {
307
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_INVITATION;
308
- channelId: number;
309
- hostId: number;
310
- guestId: number;
311
- encryptedChannelKey: Uint8Array<ArrayBufferLike>;
312
- } | {
313
- type: import("../common").SectionType.APP_LEDGER_ACTOR_SUBSCRIPTION;
314
- actorId: number;
315
- actorType: number;
316
- organizationId: Uint8Array<ArrayBufferLike>;
317
- signatureSchemeId: number;
318
- signaturePublicKey: Uint8Array<ArrayBufferLike>;
319
- pkeSchemeId: number;
320
- pkePublicKey: Uint8Array<ArrayBufferLike>;
321
- } | {
322
- type: import("../common").SectionType.APP_LEDGER_PUBLIC_CHANNEL_DATA;
323
- channelId: number;
324
- data: Uint8Array<ArrayBufferLike>;
325
- } | {
326
- type: import("../common").SectionType.APP_LEDGER_PRIVATE_CHANNEL_DATA;
327
- channelId: number;
328
- merkleRootHash: Uint8Array<ArrayBufferLike>;
329
- encryptedData: Uint8Array<ArrayBufferLike>;
330
- } | {
331
- type: import("../common").SectionType.APP_LEDGER_AUTHOR;
332
- authorId: number;
333
- } | {
334
- type: import("../common").SectionType.APP_LEDGER_ENDORSEMENT_REQUEST;
335
- endorserId: number;
336
- message: string;
337
- })[];
338
- };
339
- }[];
340
- } | {
341
- responseType: import("../common").AbciResponseType.ACCOUNT_STATE;
342
- height: number;
343
- balance: number;
344
- lastHistoryHash: Uint8Array<ArrayBufferLike>;
345
- locks: ({
346
- type: import("../common").LockType.Escrow;
347
- lockedAmountInAtomics: number;
348
- parameters: {
349
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
350
- fundEmitterAccountId: Uint8Array<ArrayBufferLike>;
351
- transferAuthorizerAccountId: Uint8Array<ArrayBufferLike>;
352
- startTimestamp: number;
353
- durationDays: number;
354
- };
355
- } | {
356
- type: import("../common").LockType.Vesting;
357
- lockedAmountInAtomics: number;
358
- parameters: {
359
- initialVestedAmountInAtomics: number;
360
- cliffStartTimestamp: number;
361
- cliffDurationDays: number;
362
- vestingDurationDays: number;
363
- };
364
- } | {
365
- type: import("../common").LockType.NodeStaking;
366
- lockedAmountInAtomics: number;
367
- parameters: {
368
- validatorNodeId: Uint8Array<ArrayBufferLike>;
369
- plannedUnlockAmountInAtomics: number;
370
- plannedUnlockTimestamp: number;
371
- slashed: boolean;
372
- plannedSlashingAmountInAtomics: number;
373
- plannedSlashingTimestamp: number;
374
- };
375
- })[];
376
- } | {
377
- responseType: import("../common").AbciResponseType.ACCOUNT_HISTORY;
378
- list: {
379
- height: number;
380
- previousHistoryHash: Uint8Array<ArrayBufferLike>;
381
- type: number;
382
- publicReference: string;
383
- privateReference: string;
384
- timestamp: number;
385
- linkedAccount: Uint8Array<ArrayBufferLike>;
386
- amount: number;
387
- chainReference: Uint8Array<ArrayBufferLike>;
388
- }[];
389
- } | {
390
- responseType: import("../common").AbciResponseType.ACCOUNT_BY_PUBLIC_KEY_HASH;
391
- accountHash: Uint8Array<ArrayBufferLike>;
392
- } | {
393
- responseType: import("../common").AbciResponseType.VALIDATOR_NODE_BY_ADDRESS;
394
- validatorNodeHash: Uint8Array<ArrayBufferLike>;
395
- } | {
396
- responseType: import("../common").AbciResponseType.OBJECT_LIST;
397
- list: Uint8Array<ArrayBufferLike>[];
398
- } | {
399
- responseType: import("../common").AbciResponseType.GENESIS_SNAPSHOT;
400
- base64EncodedChunks: string[];
401
- } | {
402
- responseType: import("../common").AbciResponseType.BLOCK_MODIFIED_ACCOUNTS;
403
- modifiedAccounts: Uint8Array<ArrayBufferLike>[];
404
- } | {
405
- responseType: import("../common").AbciResponseType.ACCOUNT_UPDATES;
406
- list: {
407
- accountHash: Uint8Array<ArrayBufferLike>;
408
- currentState: {
409
- height: number;
410
- balance: number;
411
- lastHistoryHash: Uint8Array<ArrayBufferLike>;
412
- locks: ({
413
- type: import("../common").LockType.Escrow;
414
- lockedAmountInAtomics: number;
415
- parameters: {
416
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
417
- fundEmitterAccountId: Uint8Array<ArrayBufferLike>;
418
- transferAuthorizerAccountId: Uint8Array<ArrayBufferLike>;
419
- startTimestamp: number;
420
- durationDays: number;
421
- };
422
- } | {
423
- type: import("../common").LockType.Vesting;
424
- lockedAmountInAtomics: number;
425
- parameters: {
426
- initialVestedAmountInAtomics: number;
427
- cliffStartTimestamp: number;
428
- cliffDurationDays: number;
429
- vestingDurationDays: number;
430
- };
431
- } | {
432
- type: import("../common").LockType.NodeStaking;
433
- lockedAmountInAtomics: number;
434
- parameters: {
435
- validatorNodeId: Uint8Array<ArrayBufferLike>;
436
- plannedUnlockAmountInAtomics: number;
437
- plannedUnlockTimestamp: number;
438
- slashed: boolean;
439
- plannedSlashingAmountInAtomics: number;
440
- plannedSlashingTimestamp: number;
441
- };
442
- })[];
443
- };
444
- historyUpdate: {
445
- height: number;
446
- previousHistoryHash: Uint8Array<ArrayBufferLike>;
447
- type: number;
448
- publicReference: string;
449
- privateReference: string;
450
- timestamp: number;
451
- linkedAccount: Uint8Array<ArrayBufferLike>;
452
- amount: number;
453
- chainReference: Uint8Array<ArrayBufferLike>;
454
- }[];
455
- }[];
456
- };
8
+ static encodeAbciRequest(request: AbciRequest): Uint8Array;
9
+ static decodeAbciRequest(request: Uint8Array): AbciRequest;
10
+ static encodeAbciResponse(response: AbciResponse): Uint8Array;
11
+ static decodeAbciResponse(response: Uint8Array): AbciResponse;
457
12
  }
458
13
 
459
14
  export declare type AbciRequest = val.InferOutput<typeof AbciRequestSchema>;
@@ -4967,11 +4522,8 @@ export declare class BlockchainUtils {
4967
4522
  Extracts the 'previousHash' field from a microblock header in binary format.
4968
4523
  */
4969
4524
  static previousHashFromHeader(serializedHeader: Uint8Array): Uint8Array<ArrayBufferLike>;
4970
- static encodeVirtualBlockchainInfo(virtualBlockchainInfo: VirtualBlockchainInfo): Uint8Array<ArrayBufferLike>;
4971
- static decodeVirtualBlockchainInfo(serializedInfo: Uint8Array): {
4972
- virtualBlockchainType: number;
4973
- virtualBlockchainId: Uint8Array<ArrayBufferLike>;
4974
- };
4525
+ static encodeVirtualBlockchainInfo(virtualBlockchainInfo: VirtualBlockchainInfo): Uint8Array;
4526
+ static decodeVirtualBlockchainInfo(serializedInfo: Uint8Array): VirtualBlockchainInfo;
4975
4527
  /**
4976
4528
  *
4977
4529
  * @param vbState
@@ -4984,218 +4536,12 @@ export declare class BlockchainUtils {
4984
4536
  * @return {VirtualBlockchainState} The decoded virtual blockchain state object.
4985
4537
  */
4986
4538
  static decodeVirtualBlockchainState(serializedVirtualBlockchainState: Uint8Array): VirtualBlockchainState;
4987
- static encodeMicroblockBody(body: MicroblockBody): Uint8Array<ArrayBufferLike>;
4988
- static decodeMicroblockBody(serializedBody: Uint8Array): {
4989
- sections: (({
4990
- type: import("../common").SectionType.CUSTOM;
4991
- } & {
4992
- [key: string]: unknown;
4993
- }) | {
4994
- type: import("../common").SectionType.SIGNATURE;
4995
- signature: Uint8Array<ArrayBufferLike>;
4996
- schemeId: number;
4997
- } | {
4998
- type: import("../common").SectionType.AUXILIARY_SIGNATURE;
4999
- tag: string;
5000
- signature: Uint8Array<ArrayBufferLike>;
5001
- schemeId: number;
5002
- } | {
5003
- type: import("../common").SectionType.ALLOWED_ADDITIONAL_WRITER;
5004
- allowedWriterAccountId: Uint8Array<ArrayBufferLike>;
5005
- } | {
5006
- type: import("../common").SectionType.PROTOCOL_CREATION;
5007
- organizationId: Uint8Array<ArrayBufferLike>;
5008
- } | {
5009
- protocolVersion: number;
5010
- protocolVersionName: string;
5011
- changeLog: string;
5012
- protocolVariables: {
5013
- protocolVersionName: string;
5014
- protocolVersion: number;
5015
- feesCalculationVersion: number;
5016
- globalStateUpdaterVersion: number;
5017
- applicationLedgerInternalStateUpdaterVersion: number;
5018
- applicationInternalStateUpdaterVersion: number;
5019
- organizationInternalStateUpdaterVersion: number;
5020
- validatorNodeInternalStateUpdaterVersion: number;
5021
- accountInternalStateUpdaterVersion: number;
5022
- protocolInternalStateUpdaterVersion: number;
5023
- minimumNodeStakingAmountInAtomics: number;
5024
- maximumNodeStakingAmountInAtomics: number;
5025
- unstakingDelayInDays: number;
5026
- maxBlockSizeInBytes: number;
5027
- retentionPolicy: {
5028
- retentionRatio: number;
5029
- maximumNumberOfDays: number;
5030
- dayDivisor: number;
5031
- }[];
5032
- abciVersion: number;
5033
- };
5034
- type: import("../common").SectionType.PROTOCOL_UPDATE;
5035
- } | {
5036
- type: import("../common").SectionType.PROTOCOL_VARIABLES;
5037
- protocolVariables: any;
5038
- } | {
5039
- type: import("../common").SectionType.ACCOUNT_PUBLIC_KEY;
5040
- publicKey: Uint8Array<ArrayBufferLike>;
5041
- schemeId: number;
5042
- } | {
5043
- type: import("../common").SectionType.ACCOUNT_TOKEN_ISSUANCE;
5044
- amount: number;
5045
- } | {
5046
- type: import("../common").SectionType.ACCOUNT_CREATION;
5047
- sellerAccount: Uint8Array<ArrayBufferLike>;
5048
- amount: number;
5049
- } | {
5050
- type: import("../common").SectionType.ACCOUNT_TRANSFER;
5051
- account: Uint8Array<ArrayBufferLike>;
5052
- amount: number;
5053
- publicReference: string;
5054
- privateReference: string;
5055
- } | {
5056
- type: import("../common").SectionType.ACCOUNT_VESTING_TRANSFER;
5057
- account: Uint8Array<ArrayBufferLike>;
5058
- amount: number;
5059
- publicReference: string;
5060
- privateReference: string;
5061
- cliffDurationDays: number;
5062
- vestingDurationDays: number;
5063
- } | {
5064
- type: import("../common").SectionType.ACCOUNT_ESCROW_TRANSFER;
5065
- account: Uint8Array<ArrayBufferLike>;
5066
- amount: number;
5067
- publicReference: string;
5068
- privateReference: string;
5069
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
5070
- agentAccount: Uint8Array<ArrayBufferLike>;
5071
- durationDays: number;
5072
- } | {
5073
- type: import("../common").SectionType.ACCOUNT_ESCROW_SETTLEMENT;
5074
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
5075
- confirmed: boolean;
5076
- } | {
5077
- type: import("../common").SectionType.ACCOUNT_STAKE;
5078
- amount: number;
5079
- objectType: number;
5080
- objectIdentifier: Uint8Array<ArrayBufferLike>;
5081
- } | {
5082
- type: import("../common").SectionType.ACCOUNT_UNSTAKE;
5083
- amount: number;
5084
- objectType: number;
5085
- objectIdentifier: Uint8Array<ArrayBufferLike>;
5086
- } | {
5087
- type: import("../common").SectionType.VN_CREATION;
5088
- organizationId: Uint8Array<ArrayBufferLike>;
5089
- } | {
5090
- type: import("../common").SectionType.VN_COMETBFT_PUBLIC_KEY_DECLARATION;
5091
- cometPublicKeyType: string;
5092
- cometPublicKey: string;
5093
- } | {
5094
- type: import("../common").SectionType.VN_RPC_ENDPOINT;
5095
- rpcEndpoint: string;
5096
- } | {
5097
- type: import("../common").SectionType.VN_APPROVAL;
5098
- status: boolean;
5099
- } | {
5100
- type: import("../common").SectionType.VN_SLASHING_CANCELLATION;
5101
- reason: string;
5102
- } | {
5103
- type: import("../common").SectionType.ORG_CREATION;
5104
- accountId: Uint8Array<ArrayBufferLike>;
5105
- } | {
5106
- type: import("../common").SectionType.ORG_DESCRIPTION;
5107
- name: string;
5108
- city: string;
5109
- countryCode: string;
5110
- website: string;
5111
- misc?: {
5112
- [x: string]: string;
5113
- } | undefined;
5114
- } | {
5115
- type: import("../common").SectionType.APP_CREATION;
5116
- organizationId: Uint8Array<ArrayBufferLike>;
5117
- } | {
5118
- type: import("../common").SectionType.APP_DESCRIPTION;
5119
- name: string;
5120
- logoUrl: string;
5121
- homepageUrl: string;
5122
- description: string;
5123
- misc?: {
5124
- [x: string]: string;
5125
- } | undefined;
5126
- } | {
5127
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_SIG_SCHEMES;
5128
- schemeIds: number[];
5129
- } | {
5130
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_PKE_SCHEMES;
5131
- schemeIds: number[];
5132
- } | {
5133
- type: import("../common").SectionType.APP_LEDGER_CREATION;
5134
- applicationId: Uint8Array<ArrayBufferLike>;
5135
- } | {
5136
- type: import("../common").SectionType.APP_LEDGER_ACTOR_CREATION;
5137
- id: number;
5138
- actorType: number;
5139
- name: string;
5140
- } | {
5141
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_CREATION;
5142
- id: number;
5143
- isPrivate: boolean;
5144
- creatorId: number;
5145
- name: string;
5146
- } | {
5147
- type: import("../common").SectionType.APP_LEDGER_SHARED_SECRET;
5148
- hostId: number;
5149
- guestId: number;
5150
- encryptedSharedKey: Uint8Array<ArrayBufferLike>;
5151
- } | {
5152
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_INVITATION;
5153
- channelId: number;
5154
- hostId: number;
5155
- guestId: number;
5156
- encryptedChannelKey: Uint8Array<ArrayBufferLike>;
5157
- } | {
5158
- type: import("../common").SectionType.APP_LEDGER_ACTOR_SUBSCRIPTION;
5159
- actorId: number;
5160
- actorType: number;
5161
- organizationId: Uint8Array<ArrayBufferLike>;
5162
- signatureSchemeId: number;
5163
- signaturePublicKey: Uint8Array<ArrayBufferLike>;
5164
- pkeSchemeId: number;
5165
- pkePublicKey: Uint8Array<ArrayBufferLike>;
5166
- } | {
5167
- type: import("../common").SectionType.APP_LEDGER_PUBLIC_CHANNEL_DATA;
5168
- channelId: number;
5169
- data: Uint8Array<ArrayBufferLike>;
5170
- } | {
5171
- type: import("../common").SectionType.APP_LEDGER_PRIVATE_CHANNEL_DATA;
5172
- channelId: number;
5173
- merkleRootHash: Uint8Array<ArrayBufferLike>;
5174
- encryptedData: Uint8Array<ArrayBufferLike>;
5175
- } | {
5176
- type: import("../common").SectionType.APP_LEDGER_AUTHOR;
5177
- authorId: number;
5178
- } | {
5179
- type: import("../common").SectionType.APP_LEDGER_ENDORSEMENT_REQUEST;
5180
- endorserId: number;
5181
- message: string;
5182
- })[];
5183
- };
4539
+ static encodeMicroblockBody(body: MicroblockBody): Uint8Array;
4540
+ static decodeMicroblockBody(serializedBody: Uint8Array): MicroblockBody;
5184
4541
  static encodeSection(section: Section): Uint8Array<ArrayBufferLike>;
5185
4542
  static decodeSection(serializedSection: Uint8Array): Section;
5186
- static encodeMicroblockHeader(header: MicroblockHeader): Uint8Array<ArrayBufferLike>;
5187
- static decodeMicroblockHeader(serializedHeader: Uint8Array): {
5188
- magicString: "CMTS";
5189
- protocolVersion: number;
5190
- microblockType: number;
5191
- height: number;
5192
- previousHash: Uint8Array<ArrayBufferLike>;
5193
- timestamp: number;
5194
- gas: number;
5195
- gasPrice: number;
5196
- bodyHash: Uint8Array<ArrayBufferLike>;
5197
- feesPayerAccount: Uint8Array<ArrayBufferLike>;
5198
- };
4543
+ static encodeMicroblockHeader(header: MicroblockHeader): Uint8Array;
4544
+ static decodeMicroblockHeader(serializedHeader: Uint8Array): MicroblockHeader;
5199
4545
  static encodeEscrowParameters(escrowParameters: EscrowParameters): Uint8Array<ArrayBufferLike>;
5200
4546
  static decodeEscrowParameters(serializedEscrowParameters: Uint8Array): EscrowParameters;
5201
4547
  static encodeEscrowLock(escrowLock: EscrowLock): Uint8Array<ArrayBufferLike>;
@@ -7559,7 +6905,7 @@ export declare const LockSchema: val.VariantSchema<"type", [val.ObjectSchema<{
7559
6905
  }, undefined>;
7560
6906
  }, undefined>], undefined>;
7561
6907
 
7562
- export declare enum LockType {
6908
+ export declare const enum LockType {
7563
6909
  Escrow = 0,
7564
6910
  Vesting = 1,
7565
6911
  NodeStaking = 2
@@ -8238,9 +7584,8 @@ export declare class Microblock {
8238
7584
  * @param {PrivateSignatureKey} privateKey - The private key used to sign the data.
8239
7585
  * @param {boolean} includeGas - A flag indicating whether gas-related data should be included in the signature.
8240
7586
  * @return {Uint8Array} The generated digital signature as a byte array.
8241
- * @private
8242
7587
  */
8243
- private sign;
7588
+ sign(privateKey: PrivateSignatureKey, includeGas?: boolean): Promise<Uint8Array>;
8244
7589
  /**
8245
7590
  * Verifies the signature of the last signature section using the provided public key.
8246
7591
  *
@@ -11400,43 +10745,7 @@ export declare class NetworkProvider implements IExternalProvider {
11400
10745
  responseType: AbciResponseType.VALIDATOR_NODE_BY_ADDRESS;
11401
10746
  validatorNodeHash: Uint8Array<ArrayBufferLike>;
11402
10747
  }>;
11403
- getAccountState(accountHash: Uint8Array): Promise<{
11404
- responseType: AbciResponseType.ACCOUNT_STATE;
11405
- height: number;
11406
- balance: number;
11407
- lastHistoryHash: Uint8Array<ArrayBufferLike>;
11408
- locks: ({
11409
- type: import("../common").LockType.Escrow;
11410
- lockedAmountInAtomics: number;
11411
- parameters: {
11412
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
11413
- fundEmitterAccountId: Uint8Array<ArrayBufferLike>;
11414
- transferAuthorizerAccountId: Uint8Array<ArrayBufferLike>;
11415
- startTimestamp: number;
11416
- durationDays: number;
11417
- };
11418
- } | {
11419
- type: import("../common").LockType.Vesting;
11420
- lockedAmountInAtomics: number;
11421
- parameters: {
11422
- initialVestedAmountInAtomics: number;
11423
- cliffStartTimestamp: number;
11424
- cliffDurationDays: number;
11425
- vestingDurationDays: number;
11426
- };
11427
- } | {
11428
- type: import("../common").LockType.NodeStaking;
11429
- lockedAmountInAtomics: number;
11430
- parameters: {
11431
- validatorNodeId: Uint8Array<ArrayBufferLike>;
11432
- plannedUnlockAmountInAtomics: number;
11433
- plannedUnlockTimestamp: number;
11434
- slashed: boolean;
11435
- plannedSlashingAmountInAtomics: number;
11436
- plannedSlashingTimestamp: number;
11437
- };
11438
- })[];
11439
- }>;
10748
+ getAccountState(accountHash: Uint8Array): Promise<AccountStateAbciResponse>;
11440
10749
  getAccountHistory(accountHash: Uint8Array, lastHistoryHash: Uint8Array, maxRecords: number): Promise<{
11441
10750
  responseType: AbciResponseType.ACCOUNT_HISTORY;
11442
10751
  list: {
@@ -13157,202 +12466,7 @@ export declare class Provider extends AbstractProvider {
13157
12466
  getAllApplicationIds(): Promise<Hash[]>;
13158
12467
  getObjectList(type: VirtualBlockchainType): Promise<ObjectListAbciResponse>;
13159
12468
  getMicroblockInformation(hash: Uint8Array): Promise<MicroblockInformation | null>;
13160
- getListOfMicroblockBody(hashes: Uint8Array[]): Promise<{
13161
- sections: (({
13162
- type: import("../common").SectionType.CUSTOM;
13163
- } & {
13164
- [key: string]: unknown;
13165
- }) | {
13166
- type: import("../common").SectionType.SIGNATURE;
13167
- signature: Uint8Array<ArrayBufferLike>;
13168
- schemeId: number;
13169
- } | {
13170
- type: import("../common").SectionType.AUXILIARY_SIGNATURE;
13171
- tag: string;
13172
- signature: Uint8Array<ArrayBufferLike>;
13173
- schemeId: number;
13174
- } | {
13175
- type: import("../common").SectionType.ALLOWED_ADDITIONAL_WRITER;
13176
- allowedWriterAccountId: Uint8Array<ArrayBufferLike>;
13177
- } | {
13178
- type: import("../common").SectionType.PROTOCOL_CREATION;
13179
- organizationId: Uint8Array<ArrayBufferLike>;
13180
- } | {
13181
- protocolVersion: number;
13182
- protocolVersionName: string;
13183
- changeLog: string;
13184
- protocolVariables: {
13185
- protocolVersionName: string;
13186
- protocolVersion: number;
13187
- feesCalculationVersion: number;
13188
- globalStateUpdaterVersion: number;
13189
- applicationLedgerInternalStateUpdaterVersion: number;
13190
- applicationInternalStateUpdaterVersion: number;
13191
- organizationInternalStateUpdaterVersion: number;
13192
- validatorNodeInternalStateUpdaterVersion: number;
13193
- accountInternalStateUpdaterVersion: number;
13194
- protocolInternalStateUpdaterVersion: number;
13195
- minimumNodeStakingAmountInAtomics: number;
13196
- maximumNodeStakingAmountInAtomics: number;
13197
- unstakingDelayInDays: number;
13198
- maxBlockSizeInBytes: number;
13199
- retentionPolicy: {
13200
- retentionRatio: number;
13201
- maximumNumberOfDays: number;
13202
- dayDivisor: number;
13203
- }[];
13204
- abciVersion: number;
13205
- };
13206
- type: import("../common").SectionType.PROTOCOL_UPDATE;
13207
- } | {
13208
- type: import("../common").SectionType.PROTOCOL_VARIABLES;
13209
- protocolVariables: any;
13210
- } | {
13211
- type: import("../common").SectionType.ACCOUNT_PUBLIC_KEY;
13212
- publicKey: Uint8Array<ArrayBufferLike>;
13213
- schemeId: number;
13214
- } | {
13215
- type: import("../common").SectionType.ACCOUNT_TOKEN_ISSUANCE;
13216
- amount: number;
13217
- } | {
13218
- type: import("../common").SectionType.ACCOUNT_CREATION;
13219
- sellerAccount: Uint8Array<ArrayBufferLike>;
13220
- amount: number;
13221
- } | {
13222
- type: import("../common").SectionType.ACCOUNT_TRANSFER;
13223
- account: Uint8Array<ArrayBufferLike>;
13224
- amount: number;
13225
- publicReference: string;
13226
- privateReference: string;
13227
- } | {
13228
- type: import("../common").SectionType.ACCOUNT_VESTING_TRANSFER;
13229
- account: Uint8Array<ArrayBufferLike>;
13230
- amount: number;
13231
- publicReference: string;
13232
- privateReference: string;
13233
- cliffDurationDays: number;
13234
- vestingDurationDays: number;
13235
- } | {
13236
- type: import("../common").SectionType.ACCOUNT_ESCROW_TRANSFER;
13237
- account: Uint8Array<ArrayBufferLike>;
13238
- amount: number;
13239
- publicReference: string;
13240
- privateReference: string;
13241
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
13242
- agentAccount: Uint8Array<ArrayBufferLike>;
13243
- durationDays: number;
13244
- } | {
13245
- type: import("../common").SectionType.ACCOUNT_ESCROW_SETTLEMENT;
13246
- escrowIdentifier: Uint8Array<ArrayBufferLike>;
13247
- confirmed: boolean;
13248
- } | {
13249
- type: import("../common").SectionType.ACCOUNT_STAKE;
13250
- amount: number;
13251
- objectType: number;
13252
- objectIdentifier: Uint8Array<ArrayBufferLike>;
13253
- } | {
13254
- type: import("../common").SectionType.ACCOUNT_UNSTAKE;
13255
- amount: number;
13256
- objectType: number;
13257
- objectIdentifier: Uint8Array<ArrayBufferLike>;
13258
- } | {
13259
- type: import("../common").SectionType.VN_CREATION;
13260
- organizationId: Uint8Array<ArrayBufferLike>;
13261
- } | {
13262
- type: import("../common").SectionType.VN_COMETBFT_PUBLIC_KEY_DECLARATION;
13263
- cometPublicKeyType: string;
13264
- cometPublicKey: string;
13265
- } | {
13266
- type: import("../common").SectionType.VN_RPC_ENDPOINT;
13267
- rpcEndpoint: string;
13268
- } | {
13269
- type: import("../common").SectionType.VN_APPROVAL;
13270
- status: boolean;
13271
- } | {
13272
- type: import("../common").SectionType.VN_SLASHING_CANCELLATION;
13273
- reason: string;
13274
- } | {
13275
- type: import("../common").SectionType.ORG_CREATION;
13276
- accountId: Uint8Array<ArrayBufferLike>;
13277
- } | {
13278
- type: import("../common").SectionType.ORG_DESCRIPTION;
13279
- name: string;
13280
- city: string;
13281
- countryCode: string;
13282
- website: string;
13283
- misc?: {
13284
- [x: string]: string;
13285
- } | undefined;
13286
- } | {
13287
- type: import("../common").SectionType.APP_CREATION;
13288
- organizationId: Uint8Array<ArrayBufferLike>;
13289
- } | {
13290
- type: import("../common").SectionType.APP_DESCRIPTION;
13291
- name: string;
13292
- logoUrl: string;
13293
- homepageUrl: string;
13294
- description: string;
13295
- misc?: {
13296
- [x: string]: string;
13297
- } | undefined;
13298
- } | {
13299
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_SIG_SCHEMES;
13300
- schemeIds: number[];
13301
- } | {
13302
- type: import("../common").SectionType.APP_LEDGER_ALLOWED_PKE_SCHEMES;
13303
- schemeIds: number[];
13304
- } | {
13305
- type: import("../common").SectionType.APP_LEDGER_CREATION;
13306
- applicationId: Uint8Array<ArrayBufferLike>;
13307
- } | {
13308
- type: import("../common").SectionType.APP_LEDGER_ACTOR_CREATION;
13309
- id: number;
13310
- actorType: number;
13311
- name: string;
13312
- } | {
13313
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_CREATION;
13314
- id: number;
13315
- isPrivate: boolean;
13316
- creatorId: number;
13317
- name: string;
13318
- } | {
13319
- type: import("../common").SectionType.APP_LEDGER_SHARED_SECRET;
13320
- hostId: number;
13321
- guestId: number;
13322
- encryptedSharedKey: Uint8Array<ArrayBufferLike>;
13323
- } | {
13324
- type: import("../common").SectionType.APP_LEDGER_CHANNEL_INVITATION;
13325
- channelId: number;
13326
- hostId: number;
13327
- guestId: number;
13328
- encryptedChannelKey: Uint8Array<ArrayBufferLike>;
13329
- } | {
13330
- type: import("../common").SectionType.APP_LEDGER_ACTOR_SUBSCRIPTION;
13331
- actorId: number;
13332
- actorType: number;
13333
- organizationId: Uint8Array<ArrayBufferLike>;
13334
- signatureSchemeId: number;
13335
- signaturePublicKey: Uint8Array<ArrayBufferLike>;
13336
- pkeSchemeId: number;
13337
- pkePublicKey: Uint8Array<ArrayBufferLike>;
13338
- } | {
13339
- type: import("../common").SectionType.APP_LEDGER_PUBLIC_CHANNEL_DATA;
13340
- channelId: number;
13341
- data: Uint8Array<ArrayBufferLike>;
13342
- } | {
13343
- type: import("../common").SectionType.APP_LEDGER_PRIVATE_CHANNEL_DATA;
13344
- channelId: number;
13345
- merkleRootHash: Uint8Array<ArrayBufferLike>;
13346
- encryptedData: Uint8Array<ArrayBufferLike>;
13347
- } | {
13348
- type: import("../common").SectionType.APP_LEDGER_AUTHOR;
13349
- authorId: number;
13350
- } | {
13351
- type: import("../common").SectionType.APP_LEDGER_ENDORSEMENT_REQUEST;
13352
- endorserId: number;
13353
- message: string;
13354
- })[];
13355
- }[]>;
12469
+ getListOfMicroblockBody(hashes: Uint8Array[]): Promise<MicroblockBody[]>;
13356
12470
  getMicroblockBody(microblockHash: Hash): Promise<MicroblockBody | null>;
13357
12471
  getMicroblockHeader(microblockHash: Hash): Promise<MicroblockHeader | null>;
13358
12472
  getVirtualBlockchainIdContainingMicroblock(microblockHash: Hash): Promise<Hash>;
@@ -14675,7 +13789,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
14675
13789
  }>]>;
14676
13790
  }, undefined>], undefined>;
14677
13791
 
14678
- export declare enum SectionType {
13792
+ export declare const enum SectionType {
14679
13793
  AUXILIARY_SIGNATURE = 126,
14680
13794
  SIGNATURE = 127,
14681
13795
  ALLOWED_ADDITIONAL_WRITER = 128,
@@ -16788,36 +15902,10 @@ export declare class WalletCrypto {
16788
15902
 
16789
15903
  export declare class WalletInteractiveAnchoringEncoder {
16790
15904
  private static encoder;
16791
- static encodeRequest(request: WalletInteractiveAnchoringRequest): Buffer<ArrayBufferLike>;
16792
- static decodeRequest(request: Uint8Array): {
16793
- type: import("../common").WalletInteractiveAnchoringRequestType.APPROVAL_HANDSHAKE;
16794
- anchorRequestId: string;
16795
- } | {
16796
- type: import("../common").WalletInteractiveAnchoringRequestType.ACTOR_KEY;
16797
- anchorRequestId: string;
16798
- actorSignaturePublicKey: string;
16799
- actorPkePublicKey: string;
16800
- } | {
16801
- type: import("../common").WalletInteractiveAnchoringRequestType.APPROVAL_SIGNATURE;
16802
- anchorRequestId: string;
16803
- b64Signature: string;
16804
- };
16805
- static encodeResponse(response: WalletInteractiveAnchoringResponse): Buffer<ArrayBufferLike>;
16806
- static decodeResponse(response: Uint8Array): {
16807
- type: import("../common").WalletInteractiveAnchoringResponseType.ERROR;
16808
- errorMessage: string;
16809
- } | {
16810
- type: import("../common").WalletInteractiveAnchoringResponseType.ACTOR_KEY_REQUIRED;
16811
- b64GenesisSeed: string;
16812
- } | {
16813
- type: import("../common").WalletInteractiveAnchoringResponseType.APPROVAL_DATA;
16814
- b64SerializedMicroblock: string;
16815
- } | {
16816
- type: import("../common").WalletInteractiveAnchoringResponseType.APPROVAL_SIGNATURE;
16817
- b64VbHash: string;
16818
- b64MbHash: string;
16819
- height: number;
16820
- };
15905
+ static encodeRequest(request: WalletInteractiveAnchoringRequest): Uint8Array;
15906
+ static decodeRequest(request: Uint8Array): WalletInteractiveAnchoringRequest;
15907
+ static encodeResponse(response: WalletInteractiveAnchoringResponse): Uint8Array;
15908
+ static decodeResponse(response: Uint8Array): WalletInteractiveAnchoringResponse;
16821
15909
  }
16822
15910
 
16823
15911
  export declare type WalletInteractiveAnchoringRequest = val.InferOutput<typeof WalletInteractiveAnchoringRequestSchema>;
@@ -16922,34 +16010,8 @@ export declare enum WalletInteractiveAnchoringResponseType {
16922
16010
  }
16923
16011
 
16924
16012
  export declare class WalletInteractiveAnchoringValidation {
16925
- static validateRequest(request: object): {
16926
- type: import("../common").WalletInteractiveAnchoringRequestType.APPROVAL_HANDSHAKE;
16927
- anchorRequestId: string;
16928
- } | {
16929
- type: import("../common").WalletInteractiveAnchoringRequestType.ACTOR_KEY;
16930
- anchorRequestId: string;
16931
- actorSignaturePublicKey: string;
16932
- actorPkePublicKey: string;
16933
- } | {
16934
- type: import("../common").WalletInteractiveAnchoringRequestType.APPROVAL_SIGNATURE;
16935
- anchorRequestId: string;
16936
- b64Signature: string;
16937
- };
16938
- static validateResponse(response: object): {
16939
- type: import("../common").WalletInteractiveAnchoringResponseType.ERROR;
16940
- errorMessage: string;
16941
- } | {
16942
- type: import("../common").WalletInteractiveAnchoringResponseType.ACTOR_KEY_REQUIRED;
16943
- b64GenesisSeed: string;
16944
- } | {
16945
- type: import("../common").WalletInteractiveAnchoringResponseType.APPROVAL_DATA;
16946
- b64SerializedMicroblock: string;
16947
- } | {
16948
- type: import("../common").WalletInteractiveAnchoringResponseType.APPROVAL_SIGNATURE;
16949
- b64VbHash: string;
16950
- b64MbHash: string;
16951
- height: number;
16952
- };
16013
+ static validateRequest(request: object): WalletInteractiveAnchoringRequest;
16014
+ static validateResponse(response: object): WalletInteractiveAnchoringResponse;
16953
16015
  }
16954
16016
 
16955
16017
  export declare type WalletRequest = val.InferOutput<typeof WalletRequestSchema>;