@thru/thru-sdk 0.1.24 → 0.1.28
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 +111 -0
- package/dist/{VersionInfo-B13I6BVC.d.ts → VersionInfo-C2cg4vsD.d.ts} +549 -539
- package/dist/{chunk-M3N53HZF.js → chunk-6S2G7OT2.js} +102 -19
- package/dist/chunk-6S2G7OT2.js.map +1 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sdk.d.ts +3 -3
- package/dist/sdk.js +2 -2
- package/package.json +4 -3
- package/dist/chunk-M3N53HZF.js.map +0 -1
|
@@ -115,82 +115,6 @@ declare enum ConsensusStatus {
|
|
|
115
115
|
CLUSTER_EXECUTED = 5
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
/**
|
|
119
|
-
* Filter represents a CEL-based expression applied to query or stream results.
|
|
120
|
-
*
|
|
121
|
-
* @generated from message thru.common.v1.Filter
|
|
122
|
-
*/
|
|
123
|
-
type Filter$1 = Message<"thru.common.v1.Filter"> & {
|
|
124
|
-
/**
|
|
125
|
-
* CEL expression applied server-side. Empty expressions are treated as no-op.
|
|
126
|
-
*
|
|
127
|
-
* @generated from field: optional string expression = 1;
|
|
128
|
-
*/
|
|
129
|
-
expression?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Named parameter bindings for expression parameterization.
|
|
132
|
-
*
|
|
133
|
-
* @generated from field: map<string, thru.common.v1.FilterParamValue> params = 2;
|
|
134
|
-
*/
|
|
135
|
-
params: {
|
|
136
|
-
[key: string]: FilterParamValue$1;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Describes the message thru.common.v1.Filter.
|
|
141
|
-
* Use `create(FilterSchema)` to create a new message.
|
|
142
|
-
*/
|
|
143
|
-
declare const FilterSchema: GenMessage<Filter$1>;
|
|
144
|
-
/**
|
|
145
|
-
* FilterParamValue carries strongly-typed CEL parameter bindings.
|
|
146
|
-
*
|
|
147
|
-
* @generated from message thru.common.v1.FilterParamValue
|
|
148
|
-
*/
|
|
149
|
-
type FilterParamValue$1 = Message<"thru.common.v1.FilterParamValue"> & {
|
|
150
|
-
/**
|
|
151
|
-
* @generated from oneof thru.common.v1.FilterParamValue.kind
|
|
152
|
-
*/
|
|
153
|
-
kind: {
|
|
154
|
-
/**
|
|
155
|
-
* @generated from field: string string_value = 1;
|
|
156
|
-
*/
|
|
157
|
-
value: string;
|
|
158
|
-
case: "stringValue";
|
|
159
|
-
} | {
|
|
160
|
-
/**
|
|
161
|
-
* @generated from field: bytes bytes_value = 2;
|
|
162
|
-
*/
|
|
163
|
-
value: Uint8Array;
|
|
164
|
-
case: "bytesValue";
|
|
165
|
-
} | {
|
|
166
|
-
/**
|
|
167
|
-
* @generated from field: bool bool_value = 3;
|
|
168
|
-
*/
|
|
169
|
-
value: boolean;
|
|
170
|
-
case: "boolValue";
|
|
171
|
-
} | {
|
|
172
|
-
/**
|
|
173
|
-
* @generated from field: sint64 int_value = 4;
|
|
174
|
-
*/
|
|
175
|
-
value: bigint;
|
|
176
|
-
case: "intValue";
|
|
177
|
-
} | {
|
|
178
|
-
/**
|
|
179
|
-
* @generated from field: double double_value = 5;
|
|
180
|
-
*/
|
|
181
|
-
value: number;
|
|
182
|
-
case: "doubleValue";
|
|
183
|
-
} | {
|
|
184
|
-
case: undefined;
|
|
185
|
-
value?: undefined;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* Describes the message thru.common.v1.FilterParamValue.
|
|
190
|
-
* Use `create(FilterParamValueSchema)` to create a new message.
|
|
191
|
-
*/
|
|
192
|
-
declare const FilterParamValueSchema: GenMessage<FilterParamValue$1>;
|
|
193
|
-
|
|
194
118
|
/**
|
|
195
119
|
* Pubkey represents a 32-byte public key value.
|
|
196
120
|
*
|
|
@@ -232,771 +156,847 @@ type Signature = Message<"thru.core.v1.Signature"> & {
|
|
|
232
156
|
};
|
|
233
157
|
|
|
234
158
|
/**
|
|
235
|
-
*
|
|
159
|
+
* TransactionHeader carries structured metadata for a transaction.
|
|
236
160
|
*
|
|
237
|
-
* @generated from message thru.core.v1.
|
|
161
|
+
* @generated from message thru.core.v1.TransactionHeader
|
|
238
162
|
*/
|
|
239
|
-
type
|
|
163
|
+
type TransactionHeader = Message<"thru.core.v1.TransactionHeader"> & {
|
|
240
164
|
/**
|
|
241
|
-
* @generated from field:
|
|
165
|
+
* @generated from field: thru.core.v1.Signature fee_payer_signature = 1;
|
|
242
166
|
*/
|
|
243
|
-
|
|
167
|
+
feePayerSignature?: Signature;
|
|
244
168
|
/**
|
|
245
|
-
* @generated from field:
|
|
169
|
+
* @generated from field: uint32 version = 2;
|
|
246
170
|
*/
|
|
247
|
-
|
|
171
|
+
version: number;
|
|
248
172
|
/**
|
|
249
|
-
* @generated from field:
|
|
173
|
+
* @generated from field: uint32 flags = 3;
|
|
250
174
|
*/
|
|
251
|
-
|
|
175
|
+
flags: number;
|
|
252
176
|
/**
|
|
253
|
-
* @generated from field:
|
|
177
|
+
* @generated from field: uint32 readwrite_accounts_count = 4;
|
|
254
178
|
*/
|
|
255
|
-
|
|
179
|
+
readwriteAccountsCount: number;
|
|
256
180
|
/**
|
|
257
|
-
* @generated from field:
|
|
181
|
+
* @generated from field: uint32 readonly_accounts_count = 5;
|
|
258
182
|
*/
|
|
259
|
-
|
|
183
|
+
readonlyAccountsCount: number;
|
|
260
184
|
/**
|
|
261
|
-
* @generated from field:
|
|
185
|
+
* @generated from field: uint32 instruction_data_size = 6;
|
|
262
186
|
*/
|
|
263
|
-
|
|
187
|
+
instructionDataSize: number;
|
|
264
188
|
/**
|
|
265
|
-
* @generated from field:
|
|
189
|
+
* @generated from field: uint32 requested_compute_units = 7;
|
|
266
190
|
*/
|
|
267
|
-
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* AccountMeta captures metadata associated with an account.
|
|
271
|
-
*
|
|
272
|
-
* @generated from message thru.core.v1.AccountMeta
|
|
273
|
-
*/
|
|
274
|
-
type AccountMeta$1 = Message<"thru.core.v1.AccountMeta"> & {
|
|
191
|
+
requestedComputeUnits: number;
|
|
275
192
|
/**
|
|
276
|
-
* @generated from field: uint32
|
|
193
|
+
* @generated from field: uint32 requested_state_units = 8;
|
|
277
194
|
*/
|
|
278
|
-
|
|
195
|
+
requestedStateUnits: number;
|
|
279
196
|
/**
|
|
280
|
-
* @generated from field:
|
|
197
|
+
* @generated from field: uint32 requested_memory_units = 9;
|
|
281
198
|
*/
|
|
282
|
-
|
|
199
|
+
requestedMemoryUnits: number;
|
|
283
200
|
/**
|
|
284
|
-
* @generated from field: uint32
|
|
201
|
+
* @generated from field: uint32 expiry_after = 10;
|
|
285
202
|
*/
|
|
286
|
-
|
|
203
|
+
expiryAfter: number;
|
|
287
204
|
/**
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
* @generated from field: uint64 seq = 4;
|
|
205
|
+
* @generated from field: uint64 fee = 11;
|
|
291
206
|
*/
|
|
292
|
-
|
|
207
|
+
fee: bigint;
|
|
293
208
|
/**
|
|
294
|
-
* @generated from field:
|
|
209
|
+
* @generated from field: uint64 nonce = 12;
|
|
295
210
|
*/
|
|
296
|
-
|
|
211
|
+
nonce: bigint;
|
|
297
212
|
/**
|
|
298
|
-
* @generated from field: uint64
|
|
213
|
+
* @generated from field: uint64 start_slot = 13;
|
|
299
214
|
*/
|
|
300
|
-
|
|
215
|
+
startSlot: bigint;
|
|
301
216
|
/**
|
|
302
|
-
* @generated from field:
|
|
217
|
+
* @generated from field: thru.core.v1.Pubkey fee_payer_pubkey = 14;
|
|
303
218
|
*/
|
|
304
|
-
|
|
219
|
+
feePayerPubkey?: Pubkey;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: thru.core.v1.Pubkey program_pubkey = 15;
|
|
222
|
+
*/
|
|
223
|
+
programPubkey?: Pubkey;
|
|
305
224
|
};
|
|
306
225
|
/**
|
|
307
|
-
*
|
|
226
|
+
* TransactionExecutionResult captures execution outcomes.
|
|
308
227
|
*
|
|
309
|
-
* @generated from message thru.core.v1.
|
|
228
|
+
* @generated from message thru.core.v1.TransactionExecutionResult
|
|
310
229
|
*/
|
|
311
|
-
type
|
|
230
|
+
type TransactionExecutionResult = Message<"thru.core.v1.TransactionExecutionResult"> & {
|
|
312
231
|
/**
|
|
313
|
-
* @generated from field:
|
|
232
|
+
* @generated from field: uint32 consumed_compute_units = 1;
|
|
314
233
|
*/
|
|
315
|
-
|
|
234
|
+
consumedComputeUnits: number;
|
|
316
235
|
/**
|
|
317
|
-
* @generated from field:
|
|
236
|
+
* @generated from field: uint32 consumed_memory_units = 2;
|
|
318
237
|
*/
|
|
319
|
-
|
|
238
|
+
consumedMemoryUnits: number;
|
|
320
239
|
/**
|
|
321
|
-
* @generated from field:
|
|
240
|
+
* @generated from field: uint32 consumed_state_units = 3;
|
|
322
241
|
*/
|
|
323
|
-
|
|
324
|
-
};
|
|
325
|
-
/**
|
|
326
|
-
* DataSlice describes a contiguous range of account data to return.
|
|
327
|
-
*
|
|
328
|
-
* @generated from message thru.core.v1.DataSlice
|
|
329
|
-
*/
|
|
330
|
-
type DataSlice = Message<"thru.core.v1.DataSlice"> & {
|
|
242
|
+
consumedStateUnits: number;
|
|
331
243
|
/**
|
|
332
|
-
* @generated from field:
|
|
244
|
+
* @generated from field: uint64 user_error_code = 4;
|
|
333
245
|
*/
|
|
334
|
-
|
|
246
|
+
userErrorCode: bigint;
|
|
335
247
|
/**
|
|
336
|
-
* @generated from field:
|
|
248
|
+
* @generated from field: thru.core.v1.TransactionVmError vm_error = 5;
|
|
337
249
|
*/
|
|
338
|
-
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* VersionContextMetadata captures context for a returned account state.
|
|
342
|
-
*
|
|
343
|
-
* @generated from message thru.core.v1.VersionContextMetadata
|
|
344
|
-
*/
|
|
345
|
-
type VersionContextMetadata = Message<"thru.core.v1.VersionContextMetadata"> & {
|
|
250
|
+
vmError: TransactionVmError;
|
|
346
251
|
/**
|
|
347
|
-
* @generated from field:
|
|
252
|
+
* @generated from field: uint64 execution_result = 6;
|
|
348
253
|
*/
|
|
349
|
-
|
|
254
|
+
executionResult: bigint;
|
|
350
255
|
/**
|
|
351
|
-
* @generated from field:
|
|
256
|
+
* @generated from field: uint32 pages_used = 7;
|
|
352
257
|
*/
|
|
353
|
-
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* Account models a fully decoded account resource.
|
|
357
|
-
*
|
|
358
|
-
* @generated from message thru.core.v1.Account
|
|
359
|
-
*/
|
|
360
|
-
type Account$1 = Message<"thru.core.v1.Account"> & {
|
|
258
|
+
pagesUsed: number;
|
|
361
259
|
/**
|
|
362
|
-
* @generated from field:
|
|
260
|
+
* @generated from field: uint32 events_count = 8;
|
|
363
261
|
*/
|
|
364
|
-
|
|
262
|
+
eventsCount: number;
|
|
365
263
|
/**
|
|
366
|
-
* @generated from field:
|
|
264
|
+
* @generated from field: uint32 events_size = 9;
|
|
367
265
|
*/
|
|
368
|
-
|
|
266
|
+
eventsSize: number;
|
|
369
267
|
/**
|
|
370
|
-
* @generated from field:
|
|
268
|
+
* @generated from field: repeated thru.core.v1.Pubkey readwrite_accounts = 10;
|
|
371
269
|
*/
|
|
372
|
-
|
|
270
|
+
readwriteAccounts: Pubkey[];
|
|
373
271
|
/**
|
|
374
|
-
* @generated from field:
|
|
272
|
+
* @generated from field: repeated thru.core.v1.Pubkey readonly_accounts = 11;
|
|
375
273
|
*/
|
|
376
|
-
|
|
274
|
+
readonlyAccounts: Pubkey[];
|
|
377
275
|
/**
|
|
378
|
-
* @generated from field:
|
|
276
|
+
* @generated from field: repeated thru.core.v1.TransactionEvent events = 12;
|
|
379
277
|
*/
|
|
380
|
-
|
|
278
|
+
events: TransactionEvent[];
|
|
381
279
|
};
|
|
382
280
|
/**
|
|
383
|
-
*
|
|
281
|
+
* TransactionEvent describes an event emitted during transaction execution.
|
|
384
282
|
*
|
|
385
|
-
* @generated from message thru.core.v1.
|
|
283
|
+
* @generated from message thru.core.v1.TransactionEvent
|
|
386
284
|
*/
|
|
387
|
-
type
|
|
285
|
+
type TransactionEvent = Message<"thru.core.v1.TransactionEvent"> & {
|
|
388
286
|
/**
|
|
389
|
-
* @generated from field:
|
|
287
|
+
* @generated from field: string event_id = 1;
|
|
390
288
|
*/
|
|
391
|
-
|
|
289
|
+
eventId: string;
|
|
392
290
|
/**
|
|
393
|
-
* @generated from field:
|
|
291
|
+
* @generated from field: uint32 call_idx = 2;
|
|
394
292
|
*/
|
|
395
|
-
|
|
293
|
+
callIdx: number;
|
|
396
294
|
/**
|
|
397
|
-
* @generated from field:
|
|
295
|
+
* @generated from field: uint32 program_idx = 3;
|
|
398
296
|
*/
|
|
399
|
-
|
|
297
|
+
programIdx: number;
|
|
400
298
|
/**
|
|
401
|
-
* @generated from field:
|
|
299
|
+
* @generated from field: thru.core.v1.Pubkey program = 4;
|
|
402
300
|
*/
|
|
403
|
-
|
|
301
|
+
program?: Pubkey;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: bytes payload = 5;
|
|
304
|
+
*/
|
|
305
|
+
payload: Uint8Array;
|
|
404
306
|
};
|
|
405
307
|
/**
|
|
406
|
-
*
|
|
308
|
+
* Transaction describes a fully decoded transaction resource.
|
|
407
309
|
*
|
|
408
|
-
* @generated from
|
|
310
|
+
* @generated from message thru.core.v1.Transaction
|
|
409
311
|
*/
|
|
410
|
-
|
|
312
|
+
type Transaction$1 = Message<"thru.core.v1.Transaction"> & {
|
|
411
313
|
/**
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
* @generated from enum value: ACCOUNT_VIEW_UNSPECIFIED = 0;
|
|
314
|
+
* @generated from field: thru.core.v1.Signature signature = 1;
|
|
415
315
|
*/
|
|
416
|
-
|
|
316
|
+
signature?: Signature;
|
|
417
317
|
/**
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
* @generated from enum value: ACCOUNT_VIEW_PUBKEY_ONLY = 1;
|
|
318
|
+
* @generated from field: thru.core.v1.TransactionHeader header = 2;
|
|
421
319
|
*/
|
|
422
|
-
|
|
320
|
+
header?: TransactionHeader;
|
|
423
321
|
/**
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
* @generated from enum value: ACCOUNT_VIEW_META_ONLY = 2;
|
|
322
|
+
* @generated from field: optional bytes body = 3;
|
|
427
323
|
*/
|
|
428
|
-
|
|
324
|
+
body?: Uint8Array;
|
|
429
325
|
/**
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
* @generated from enum value: ACCOUNT_VIEW_DATA_ONLY = 3;
|
|
326
|
+
* @generated from field: optional thru.core.v1.TransactionExecutionResult execution_result = 4;
|
|
433
327
|
*/
|
|
434
|
-
|
|
328
|
+
executionResult?: TransactionExecutionResult;
|
|
435
329
|
/**
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
* @generated from enum value: ACCOUNT_VIEW_FULL = 4;
|
|
330
|
+
* @generated from field: optional uint64 slot = 5;
|
|
439
331
|
*/
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
332
|
+
slot?: bigint;
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: optional uint32 block_offset = 6;
|
|
335
|
+
*/
|
|
336
|
+
blockOffset?: number;
|
|
337
|
+
};
|
|
443
338
|
/**
|
|
444
|
-
*
|
|
339
|
+
* RawTransaction provides direct access to serialized transaction bytes.
|
|
445
340
|
*
|
|
446
|
-
* @generated from message thru.core.v1.
|
|
341
|
+
* @generated from message thru.core.v1.RawTransaction
|
|
447
342
|
*/
|
|
448
|
-
type
|
|
449
|
-
/**
|
|
450
|
-
* @generated from field: uint64 slot = 1;
|
|
451
|
-
*/
|
|
452
|
-
slot: bigint;
|
|
453
|
-
/**
|
|
454
|
-
* @generated from field: thru.core.v1.BlockHash block_hash = 2;
|
|
455
|
-
*/
|
|
456
|
-
blockHash?: BlockHash;
|
|
343
|
+
type RawTransaction = Message<"thru.core.v1.RawTransaction"> & {
|
|
457
344
|
/**
|
|
458
|
-
* @generated from field: thru.core.v1.Signature
|
|
345
|
+
* @generated from field: thru.core.v1.Signature signature = 1;
|
|
459
346
|
*/
|
|
460
|
-
|
|
347
|
+
signature?: Signature;
|
|
461
348
|
/**
|
|
462
|
-
* @generated from field:
|
|
349
|
+
* @generated from field: bytes raw_transaction = 2;
|
|
463
350
|
*/
|
|
464
|
-
|
|
351
|
+
rawTransaction: Uint8Array;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* TransactionView controls how transactions are materialized in responses.
|
|
355
|
+
*
|
|
356
|
+
* @generated from enum thru.core.v1.TransactionView
|
|
357
|
+
*/
|
|
358
|
+
declare enum TransactionView {
|
|
465
359
|
/**
|
|
466
|
-
* @generated from
|
|
360
|
+
* @generated from enum value: TRANSACTION_VIEW_UNSPECIFIED = 0;
|
|
467
361
|
*/
|
|
468
|
-
|
|
362
|
+
UNSPECIFIED = 0,
|
|
469
363
|
/**
|
|
470
|
-
* @generated from
|
|
364
|
+
* @generated from enum value: TRANSACTION_VIEW_SIGNATURE_ONLY = 1;
|
|
471
365
|
*/
|
|
472
|
-
|
|
366
|
+
SIGNATURE_ONLY = 1,
|
|
473
367
|
/**
|
|
474
|
-
* @generated from
|
|
368
|
+
* @generated from enum value: TRANSACTION_VIEW_HEADER_ONLY = 2;
|
|
475
369
|
*/
|
|
476
|
-
|
|
370
|
+
HEADER_ONLY = 2,
|
|
477
371
|
/**
|
|
478
|
-
* @generated from
|
|
372
|
+
* @generated from enum value: TRANSACTION_VIEW_HEADER_AND_BODY = 3;
|
|
479
373
|
*/
|
|
480
|
-
|
|
374
|
+
HEADER_AND_BODY = 3,
|
|
481
375
|
/**
|
|
482
|
-
* @generated from
|
|
376
|
+
* @generated from enum value: TRANSACTION_VIEW_FULL = 4;
|
|
483
377
|
*/
|
|
484
|
-
|
|
378
|
+
FULL = 4
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* TransactionVmError enumerates runtime error codes returned by the executor.
|
|
382
|
+
*
|
|
383
|
+
* @generated from enum thru.core.v1.TransactionVmError
|
|
384
|
+
*/
|
|
385
|
+
declare enum TransactionVmError {
|
|
485
386
|
/**
|
|
486
|
-
*
|
|
387
|
+
* TN_RUNTIME_TXN_EXECUTE_SUCCESS
|
|
388
|
+
*
|
|
389
|
+
* @generated from enum value: TRANSACTION_VM_EXECUTE_SUCCESS = 0;
|
|
487
390
|
*/
|
|
488
|
-
|
|
391
|
+
TRANSACTION_VM_EXECUTE_SUCCESS = 0,
|
|
489
392
|
/**
|
|
490
|
-
*
|
|
393
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FORMAT
|
|
394
|
+
*
|
|
395
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FORMAT = -255;
|
|
491
396
|
*/
|
|
492
|
-
|
|
397
|
+
TRANSACTION_VM_ERROR_INVALID_FORMAT = -255,
|
|
493
398
|
/**
|
|
494
|
-
*
|
|
399
|
+
* TN_RUNTIME_TXN_ERR_INVALID_VERSION
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_VERSION = -254;
|
|
495
402
|
*/
|
|
496
|
-
|
|
497
|
-
};
|
|
498
|
-
/**
|
|
499
|
-
* BlockFooter captures execution result metadata for a block.
|
|
500
|
-
*
|
|
501
|
-
* @generated from message thru.core.v1.BlockFooter
|
|
502
|
-
*/
|
|
503
|
-
type BlockFooter$1 = Message<"thru.core.v1.BlockFooter"> & {
|
|
403
|
+
TRANSACTION_VM_ERROR_INVALID_VERSION = -254,
|
|
504
404
|
/**
|
|
505
|
-
*
|
|
405
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FLAGS
|
|
406
|
+
*
|
|
407
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FLAGS = -253;
|
|
506
408
|
*/
|
|
507
|
-
|
|
409
|
+
TRANSACTION_VM_ERROR_INVALID_FLAGS = -253,
|
|
508
410
|
/**
|
|
509
|
-
*
|
|
411
|
+
* TN_RUNTIME_TXN_ERR_INVALID_SIGNATURE
|
|
412
|
+
*
|
|
413
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_SIGNATURE = -252;
|
|
510
414
|
*/
|
|
511
|
-
|
|
415
|
+
TRANSACTION_VM_ERROR_INVALID_SIGNATURE = -252,
|
|
512
416
|
/**
|
|
513
|
-
*
|
|
417
|
+
* TN_RUNTIME_TXN_ERR_DUPLICATE_ACCOUNT
|
|
418
|
+
*
|
|
419
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_DUPLICATE_ACCOUNT = -251;
|
|
514
420
|
*/
|
|
515
|
-
|
|
421
|
+
TRANSACTION_VM_ERROR_DUPLICATE_ACCOUNT = -251,
|
|
516
422
|
/**
|
|
517
|
-
*
|
|
423
|
+
* TN_RUNTIME_TXN_ERR_UNSORTED_ACCOUNTS
|
|
424
|
+
*
|
|
425
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_ACCOUNTS = -250;
|
|
518
426
|
*/
|
|
519
|
-
|
|
520
|
-
};
|
|
521
|
-
/**
|
|
522
|
-
* Block represents a fully decoded block resource.
|
|
523
|
-
*
|
|
524
|
-
* @generated from message thru.core.v1.Block
|
|
525
|
-
*/
|
|
526
|
-
type Block$1 = Message<"thru.core.v1.Block"> & {
|
|
427
|
+
TRANSACTION_VM_ERROR_UNSORTED_ACCOUNTS = -250,
|
|
527
428
|
/**
|
|
528
|
-
*
|
|
429
|
+
* TN_RUNTIME_TXN_ERR_UNSORTED_READWRITE_ACCOUNTS
|
|
430
|
+
*
|
|
431
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_READWRITE_ACCOUNTS = -249;
|
|
529
432
|
*/
|
|
530
|
-
|
|
433
|
+
TRANSACTION_VM_ERROR_UNSORTED_READWRITE_ACCOUNTS = -249,
|
|
531
434
|
/**
|
|
532
|
-
*
|
|
435
|
+
* TN_RUNTIME_TXN_ERR_UNSORTED_READONLY_ACCOUNTS
|
|
436
|
+
*
|
|
437
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_READONLY_ACCOUNTS = -248;
|
|
533
438
|
*/
|
|
534
|
-
|
|
439
|
+
TRANSACTION_VM_ERROR_UNSORTED_READONLY_ACCOUNTS = -248,
|
|
535
440
|
/**
|
|
536
|
-
*
|
|
441
|
+
* TN_RUNTIME_TXN_ERR_ACCOUNT_COUNT_LIMIT_EXCEEDED
|
|
442
|
+
*
|
|
443
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_ACCOUNT_COUNT_LIMIT_EXCEEDED = -247;
|
|
537
444
|
*/
|
|
538
|
-
|
|
445
|
+
TRANSACTION_VM_ERROR_ACCOUNT_COUNT_LIMIT_EXCEEDED = -247,
|
|
539
446
|
/**
|
|
540
|
-
*
|
|
447
|
+
* TN_RUNTIME_TXN_ERR_NONCE_TOO_LOW
|
|
448
|
+
*
|
|
449
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_NONCE_TOO_LOW = -511;
|
|
541
450
|
*/
|
|
542
|
-
|
|
543
|
-
};
|
|
544
|
-
/**
|
|
545
|
-
* RawBlock captures raw block bytes for direct access.
|
|
546
|
-
*
|
|
547
|
-
* @generated from message thru.core.v1.RawBlock
|
|
548
|
-
*/
|
|
549
|
-
type RawBlock = Message<"thru.core.v1.RawBlock"> & {
|
|
451
|
+
TRANSACTION_VM_ERROR_NONCE_TOO_LOW = -511,
|
|
550
452
|
/**
|
|
551
|
-
*
|
|
453
|
+
* TN_RUNTIME_TXN_ERR_NONCE_TOO_HIGH
|
|
454
|
+
*
|
|
455
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_NONCE_TOO_HIGH = -510;
|
|
552
456
|
*/
|
|
553
|
-
|
|
457
|
+
TRANSACTION_VM_ERROR_NONCE_TOO_HIGH = -510,
|
|
554
458
|
/**
|
|
555
|
-
*
|
|
459
|
+
* TN_RUNTIME_TXN_ERR_INSUFFICIENT_FEE_PAYER_BALANCE
|
|
460
|
+
*
|
|
461
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INSUFFICIENT_FEE_PAYER_BALANCE = -509;
|
|
556
462
|
*/
|
|
557
|
-
|
|
558
|
-
};
|
|
559
|
-
/**
|
|
560
|
-
* BlockView controls how much of a block resource is returned.
|
|
561
|
-
*
|
|
562
|
-
* @generated from enum thru.core.v1.BlockView
|
|
563
|
-
*/
|
|
564
|
-
declare enum BlockView {
|
|
463
|
+
TRANSACTION_VM_ERROR_INSUFFICIENT_FEE_PAYER_BALANCE = -509,
|
|
565
464
|
/**
|
|
566
|
-
*
|
|
465
|
+
* TN_RUNTIME_TXN_ERR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST
|
|
466
|
+
*
|
|
467
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST = -508;
|
|
567
468
|
*/
|
|
568
|
-
|
|
469
|
+
TRANSACTION_VM_ERROR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST = -508,
|
|
569
470
|
/**
|
|
570
|
-
*
|
|
471
|
+
* TN_RUNTIME_TXN_ERR_NOT_LIVE_YET
|
|
472
|
+
*
|
|
473
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_NOT_LIVE_YET = -507;
|
|
571
474
|
*/
|
|
572
|
-
|
|
475
|
+
TRANSACTION_VM_ERROR_NOT_LIVE_YET = -507,
|
|
573
476
|
/**
|
|
574
|
-
*
|
|
477
|
+
* TN_RUNTIME_TXN_ERR_EXPIRED
|
|
478
|
+
*
|
|
479
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_EXPIRED = -506;
|
|
575
480
|
*/
|
|
576
|
-
|
|
481
|
+
TRANSACTION_VM_ERROR_EXPIRED = -506,
|
|
577
482
|
/**
|
|
578
|
-
*
|
|
483
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF
|
|
484
|
+
*
|
|
485
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF = -505;
|
|
579
486
|
*/
|
|
580
|
-
|
|
487
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF = -505,
|
|
581
488
|
/**
|
|
582
|
-
*
|
|
489
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_TYPE
|
|
490
|
+
*
|
|
491
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_TYPE = -504;
|
|
583
492
|
*/
|
|
584
|
-
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* ExecutionStatus enumerates block execution results.
|
|
588
|
-
*
|
|
589
|
-
* @generated from enum thru.core.v1.ExecutionStatus
|
|
590
|
-
*/
|
|
591
|
-
declare enum ExecutionStatus {
|
|
493
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_TYPE = -504,
|
|
592
494
|
/**
|
|
593
|
-
*
|
|
495
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_SLOT
|
|
496
|
+
*
|
|
497
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_SLOT = -503;
|
|
594
498
|
*/
|
|
595
|
-
|
|
499
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_SLOT = -503,
|
|
596
500
|
/**
|
|
597
|
-
*
|
|
501
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_ACCOUNT_OWNER
|
|
502
|
+
*
|
|
503
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_ACCOUNT_OWNER = -502;
|
|
598
504
|
*/
|
|
599
|
-
|
|
505
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_ACCOUNT_OWNER = -502,
|
|
600
506
|
/**
|
|
601
|
-
*
|
|
507
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER
|
|
508
|
+
*
|
|
509
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER = -501;
|
|
602
510
|
*/
|
|
603
|
-
|
|
511
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER = -501,
|
|
604
512
|
/**
|
|
605
|
-
*
|
|
513
|
+
* TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ
|
|
514
|
+
*
|
|
515
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ = -500;
|
|
606
516
|
*/
|
|
607
|
-
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* TransactionHeader carries structured metadata for a transaction.
|
|
612
|
-
*
|
|
613
|
-
* @generated from message thru.core.v1.TransactionHeader
|
|
614
|
-
*/
|
|
615
|
-
type TransactionHeader = Message<"thru.core.v1.TransactionHeader"> & {
|
|
517
|
+
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ = -500,
|
|
616
518
|
/**
|
|
617
|
-
*
|
|
519
|
+
* TN_RUNTIME_TXN_ERR_VM_FAILED
|
|
520
|
+
*
|
|
521
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_VM_FAILED = -767;
|
|
618
522
|
*/
|
|
619
|
-
|
|
523
|
+
TRANSACTION_VM_ERROR_VM_FAILED = -767,
|
|
620
524
|
/**
|
|
621
|
-
*
|
|
525
|
+
* TN_RUNTIME_TXN_ERR_INVALID_PROGRAM_ACCOUNT
|
|
526
|
+
*
|
|
527
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_PROGRAM_ACCOUNT = -766;
|
|
622
528
|
*/
|
|
623
|
-
|
|
529
|
+
TRANSACTION_VM_ERROR_INVALID_PROGRAM_ACCOUNT = -766,
|
|
624
530
|
/**
|
|
625
|
-
*
|
|
531
|
+
* TN_RUNTIME_TXN_ERR_VM_REVERT
|
|
532
|
+
*
|
|
533
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_VM_REVERT = -765;
|
|
626
534
|
*/
|
|
627
|
-
|
|
535
|
+
TRANSACTION_VM_ERROR_VM_REVERT = -765,
|
|
628
536
|
/**
|
|
629
|
-
*
|
|
537
|
+
* TN_RUNTIME_TXN_ERR_CU_EXHAUSTED
|
|
538
|
+
*
|
|
539
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_CU_EXHAUSTED = -764;
|
|
630
540
|
*/
|
|
631
|
-
|
|
541
|
+
TRANSACTION_VM_ERROR_CU_EXHAUSTED = -764,
|
|
632
542
|
/**
|
|
633
|
-
*
|
|
543
|
+
* TN_RUNTIME_TXN_ERR_SU_EXHAUSTED
|
|
544
|
+
*
|
|
545
|
+
* @generated from enum value: TRANSACTION_VM_ERROR_SU_EXHAUSTED = -763;
|
|
634
546
|
*/
|
|
635
|
-
|
|
547
|
+
TRANSACTION_VM_ERROR_SU_EXHAUSTED = -763
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Filter represents a CEL-based expression applied to query or stream results.
|
|
552
|
+
*
|
|
553
|
+
* @generated from message thru.common.v1.Filter
|
|
554
|
+
*/
|
|
555
|
+
type Filter$1 = Message<"thru.common.v1.Filter"> & {
|
|
636
556
|
/**
|
|
637
|
-
*
|
|
557
|
+
* CEL expression applied server-side. Empty expressions are treated as no-op.
|
|
558
|
+
*
|
|
559
|
+
* @generated from field: optional string expression = 1;
|
|
638
560
|
*/
|
|
639
|
-
|
|
561
|
+
expression?: string;
|
|
640
562
|
/**
|
|
641
|
-
*
|
|
563
|
+
* Named parameter bindings for expression parameterization.
|
|
564
|
+
*
|
|
565
|
+
* @generated from field: map<string, thru.common.v1.FilterParamValue> params = 2;
|
|
642
566
|
*/
|
|
643
|
-
|
|
567
|
+
params: {
|
|
568
|
+
[key: string]: FilterParamValue$1;
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* Describes the message thru.common.v1.Filter.
|
|
573
|
+
* Use `create(FilterSchema)` to create a new message.
|
|
574
|
+
*/
|
|
575
|
+
declare const FilterSchema: GenMessage<Filter$1>;
|
|
576
|
+
/**
|
|
577
|
+
* FilterParamValue carries strongly-typed CEL parameter bindings.
|
|
578
|
+
*
|
|
579
|
+
* @generated from message thru.common.v1.FilterParamValue
|
|
580
|
+
*/
|
|
581
|
+
type FilterParamValue$1 = Message<"thru.common.v1.FilterParamValue"> & {
|
|
644
582
|
/**
|
|
645
|
-
* @generated from
|
|
583
|
+
* @generated from oneof thru.common.v1.FilterParamValue.kind
|
|
646
584
|
*/
|
|
647
|
-
|
|
585
|
+
kind: {
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: string string_value = 1;
|
|
588
|
+
*/
|
|
589
|
+
value: string;
|
|
590
|
+
case: "stringValue";
|
|
591
|
+
} | {
|
|
592
|
+
/**
|
|
593
|
+
* @generated from field: bytes bytes_value = 2;
|
|
594
|
+
*/
|
|
595
|
+
value: Uint8Array;
|
|
596
|
+
case: "bytesValue";
|
|
597
|
+
} | {
|
|
598
|
+
/**
|
|
599
|
+
* @generated from field: bool bool_value = 3;
|
|
600
|
+
*/
|
|
601
|
+
value: boolean;
|
|
602
|
+
case: "boolValue";
|
|
603
|
+
} | {
|
|
604
|
+
/**
|
|
605
|
+
* @generated from field: sint64 int_value = 4;
|
|
606
|
+
*/
|
|
607
|
+
value: bigint;
|
|
608
|
+
case: "intValue";
|
|
609
|
+
} | {
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: double double_value = 5;
|
|
612
|
+
*/
|
|
613
|
+
value: number;
|
|
614
|
+
case: "doubleValue";
|
|
615
|
+
} | {
|
|
616
|
+
case: undefined;
|
|
617
|
+
value?: undefined;
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Describes the message thru.common.v1.FilterParamValue.
|
|
622
|
+
* Use `create(FilterParamValueSchema)` to create a new message.
|
|
623
|
+
*/
|
|
624
|
+
declare const FilterParamValueSchema: GenMessage<FilterParamValue$1>;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* AccountFlags enumerates boolean account capability flags.
|
|
628
|
+
*
|
|
629
|
+
* @generated from message thru.core.v1.AccountFlags
|
|
630
|
+
*/
|
|
631
|
+
type AccountFlags$1 = Message<"thru.core.v1.AccountFlags"> & {
|
|
648
632
|
/**
|
|
649
|
-
* @generated from field:
|
|
633
|
+
* @generated from field: bool is_program = 1;
|
|
650
634
|
*/
|
|
651
|
-
|
|
635
|
+
isProgram: boolean;
|
|
652
636
|
/**
|
|
653
|
-
* @generated from field:
|
|
637
|
+
* @generated from field: bool is_privileged = 2;
|
|
654
638
|
*/
|
|
655
|
-
|
|
639
|
+
isPrivileged: boolean;
|
|
656
640
|
/**
|
|
657
|
-
* @generated from field:
|
|
641
|
+
* @generated from field: bool is_uncompressable = 3;
|
|
658
642
|
*/
|
|
659
|
-
|
|
643
|
+
isUncompressable: boolean;
|
|
660
644
|
/**
|
|
661
|
-
* @generated from field:
|
|
645
|
+
* @generated from field: bool is_ephemeral = 4;
|
|
662
646
|
*/
|
|
663
|
-
|
|
647
|
+
isEphemeral: boolean;
|
|
664
648
|
/**
|
|
665
|
-
* @generated from field:
|
|
649
|
+
* @generated from field: bool is_deleted = 5;
|
|
666
650
|
*/
|
|
667
|
-
|
|
651
|
+
isDeleted: boolean;
|
|
668
652
|
/**
|
|
669
|
-
* @generated from field:
|
|
653
|
+
* @generated from field: bool is_new = 6;
|
|
670
654
|
*/
|
|
671
|
-
|
|
655
|
+
isNew: boolean;
|
|
672
656
|
/**
|
|
673
|
-
* @generated from field:
|
|
657
|
+
* @generated from field: bool is_compressed = 7;
|
|
674
658
|
*/
|
|
675
|
-
|
|
659
|
+
isCompressed: boolean;
|
|
676
660
|
};
|
|
677
661
|
/**
|
|
678
|
-
*
|
|
662
|
+
* AccountMeta captures metadata associated with an account.
|
|
679
663
|
*
|
|
680
|
-
* @generated from message thru.core.v1.
|
|
664
|
+
* @generated from message thru.core.v1.AccountMeta
|
|
681
665
|
*/
|
|
682
|
-
type
|
|
683
|
-
/**
|
|
684
|
-
* @generated from field: uint32 consumed_compute_units = 1;
|
|
685
|
-
*/
|
|
686
|
-
consumedComputeUnits: number;
|
|
687
|
-
/**
|
|
688
|
-
* @generated from field: uint32 consumed_memory_units = 2;
|
|
689
|
-
*/
|
|
690
|
-
consumedMemoryUnits: number;
|
|
666
|
+
type AccountMeta$1 = Message<"thru.core.v1.AccountMeta"> & {
|
|
691
667
|
/**
|
|
692
|
-
* @generated from field: uint32
|
|
668
|
+
* @generated from field: uint32 version = 1;
|
|
693
669
|
*/
|
|
694
|
-
|
|
670
|
+
version: number;
|
|
695
671
|
/**
|
|
696
|
-
* @generated from field:
|
|
672
|
+
* @generated from field: thru.core.v1.AccountFlags flags = 2;
|
|
697
673
|
*/
|
|
698
|
-
|
|
674
|
+
flags?: AccountFlags$1;
|
|
699
675
|
/**
|
|
700
|
-
* @generated from field:
|
|
676
|
+
* @generated from field: uint32 data_size = 3;
|
|
701
677
|
*/
|
|
702
|
-
|
|
678
|
+
dataSize: number;
|
|
703
679
|
/**
|
|
704
|
-
*
|
|
680
|
+
* Account sequence number
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: uint64 seq = 4;
|
|
705
683
|
*/
|
|
706
|
-
|
|
684
|
+
seq: bigint;
|
|
707
685
|
/**
|
|
708
|
-
* @generated from field:
|
|
686
|
+
* @generated from field: thru.core.v1.Pubkey owner = 5;
|
|
709
687
|
*/
|
|
710
|
-
|
|
688
|
+
owner?: Pubkey;
|
|
711
689
|
/**
|
|
712
|
-
* @generated from field:
|
|
690
|
+
* @generated from field: uint64 balance = 6;
|
|
713
691
|
*/
|
|
714
|
-
|
|
692
|
+
balance: bigint;
|
|
715
693
|
/**
|
|
716
|
-
* @generated from field:
|
|
694
|
+
* @generated from field: uint64 nonce = 7;
|
|
717
695
|
*/
|
|
718
|
-
|
|
696
|
+
nonce: bigint;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* AccountData contains account data payloads.
|
|
700
|
+
*
|
|
701
|
+
* @generated from message thru.core.v1.AccountData
|
|
702
|
+
*/
|
|
703
|
+
type AccountData$1 = Message<"thru.core.v1.AccountData"> & {
|
|
719
704
|
/**
|
|
720
|
-
* @generated from field:
|
|
705
|
+
* @generated from field: optional bytes data = 1;
|
|
721
706
|
*/
|
|
722
|
-
|
|
707
|
+
data?: Uint8Array;
|
|
723
708
|
/**
|
|
724
|
-
* @generated from field:
|
|
709
|
+
* @generated from field: optional bool compressed = 2;
|
|
725
710
|
*/
|
|
726
|
-
|
|
711
|
+
compressed?: boolean;
|
|
727
712
|
/**
|
|
728
|
-
* @generated from field:
|
|
713
|
+
* @generated from field: optional string compression_algorithm = 3;
|
|
729
714
|
*/
|
|
730
|
-
|
|
715
|
+
compressionAlgorithm?: string;
|
|
731
716
|
};
|
|
732
717
|
/**
|
|
733
|
-
*
|
|
718
|
+
* DataSlice describes a contiguous range of account data to return.
|
|
734
719
|
*
|
|
735
|
-
* @generated from message thru.core.v1.
|
|
720
|
+
* @generated from message thru.core.v1.DataSlice
|
|
736
721
|
*/
|
|
737
|
-
type
|
|
738
|
-
/**
|
|
739
|
-
* @generated from field: string event_id = 1;
|
|
740
|
-
*/
|
|
741
|
-
eventId: string;
|
|
722
|
+
type DataSlice = Message<"thru.core.v1.DataSlice"> & {
|
|
742
723
|
/**
|
|
743
|
-
* @generated from field: uint32
|
|
724
|
+
* @generated from field: uint32 offset = 1;
|
|
744
725
|
*/
|
|
745
|
-
|
|
726
|
+
offset: number;
|
|
746
727
|
/**
|
|
747
|
-
* @generated from field: uint32
|
|
728
|
+
* @generated from field: uint32 length = 2;
|
|
748
729
|
*/
|
|
749
|
-
|
|
730
|
+
length: number;
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* VersionContextMetadata captures context for a returned account state.
|
|
734
|
+
*
|
|
735
|
+
* @generated from message thru.core.v1.VersionContextMetadata
|
|
736
|
+
*/
|
|
737
|
+
type VersionContextMetadata = Message<"thru.core.v1.VersionContextMetadata"> & {
|
|
750
738
|
/**
|
|
751
|
-
* @generated from field:
|
|
739
|
+
* @generated from field: optional uint64 slot = 1;
|
|
752
740
|
*/
|
|
753
|
-
|
|
741
|
+
slot?: bigint;
|
|
754
742
|
/**
|
|
755
|
-
* @generated from field:
|
|
743
|
+
* @generated from field: optional google.protobuf.Timestamp block_timestamp = 2;
|
|
756
744
|
*/
|
|
757
|
-
|
|
745
|
+
blockTimestamp?: Timestamp;
|
|
758
746
|
};
|
|
759
747
|
/**
|
|
760
|
-
*
|
|
748
|
+
* Account models a fully decoded account resource.
|
|
761
749
|
*
|
|
762
|
-
* @generated from message thru.core.v1.
|
|
750
|
+
* @generated from message thru.core.v1.Account
|
|
763
751
|
*/
|
|
764
|
-
type
|
|
765
|
-
/**
|
|
766
|
-
* @generated from field: thru.core.v1.Signature signature = 1;
|
|
767
|
-
*/
|
|
768
|
-
signature?: Signature;
|
|
752
|
+
type Account$1 = Message<"thru.core.v1.Account"> & {
|
|
769
753
|
/**
|
|
770
|
-
* @generated from field: thru.core.v1.
|
|
754
|
+
* @generated from field: thru.core.v1.Pubkey address = 1;
|
|
771
755
|
*/
|
|
772
|
-
|
|
756
|
+
address?: Pubkey;
|
|
773
757
|
/**
|
|
774
|
-
* @generated from field: optional
|
|
758
|
+
* @generated from field: optional thru.core.v1.AccountMeta meta = 2;
|
|
775
759
|
*/
|
|
776
|
-
|
|
760
|
+
meta?: AccountMeta$1;
|
|
777
761
|
/**
|
|
778
|
-
* @generated from field: optional thru.core.v1.
|
|
762
|
+
* @generated from field: optional thru.core.v1.AccountData data = 3;
|
|
779
763
|
*/
|
|
780
|
-
|
|
764
|
+
data?: AccountData$1;
|
|
781
765
|
/**
|
|
782
|
-
* @generated from field: optional
|
|
766
|
+
* @generated from field: optional thru.core.v1.VersionContextMetadata version_context = 4;
|
|
783
767
|
*/
|
|
784
|
-
|
|
768
|
+
versionContext?: VersionContextMetadata;
|
|
785
769
|
/**
|
|
786
|
-
* @generated from field: optional
|
|
770
|
+
* @generated from field: optional thru.common.v1.ConsensusStatus consensus_status = 5;
|
|
787
771
|
*/
|
|
788
|
-
|
|
772
|
+
consensusStatus?: ConsensusStatus;
|
|
789
773
|
};
|
|
790
774
|
/**
|
|
791
|
-
*
|
|
775
|
+
* RawAccount captures raw serialized account bytes.
|
|
792
776
|
*
|
|
793
|
-
* @generated from message thru.core.v1.
|
|
777
|
+
* @generated from message thru.core.v1.RawAccount
|
|
794
778
|
*/
|
|
795
|
-
type
|
|
779
|
+
type RawAccount = Message<"thru.core.v1.RawAccount"> & {
|
|
796
780
|
/**
|
|
797
|
-
* @generated from field: thru.core.v1.
|
|
781
|
+
* @generated from field: thru.core.v1.Pubkey address = 1;
|
|
798
782
|
*/
|
|
799
|
-
|
|
783
|
+
address?: Pubkey;
|
|
800
784
|
/**
|
|
801
|
-
* @generated from field: bytes
|
|
785
|
+
* @generated from field: bytes raw_meta = 2;
|
|
802
786
|
*/
|
|
803
|
-
|
|
787
|
+
rawMeta: Uint8Array;
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: optional bytes raw_data = 3;
|
|
790
|
+
*/
|
|
791
|
+
rawData?: Uint8Array;
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: optional thru.core.v1.VersionContextMetadata version_context = 4;
|
|
794
|
+
*/
|
|
795
|
+
versionContext?: VersionContextMetadata;
|
|
804
796
|
};
|
|
805
797
|
/**
|
|
806
|
-
*
|
|
798
|
+
* AccountView controls which sections of account resources are returned.
|
|
807
799
|
*
|
|
808
|
-
* @generated from enum thru.core.v1.
|
|
800
|
+
* @generated from enum thru.core.v1.AccountView
|
|
809
801
|
*/
|
|
810
|
-
declare enum
|
|
802
|
+
declare enum AccountView {
|
|
811
803
|
/**
|
|
812
|
-
*
|
|
804
|
+
* ACCOUNT_VIEW_UNSPECIFIED uses service defaults.
|
|
805
|
+
*
|
|
806
|
+
* @generated from enum value: ACCOUNT_VIEW_UNSPECIFIED = 0;
|
|
813
807
|
*/
|
|
814
808
|
UNSPECIFIED = 0,
|
|
815
809
|
/**
|
|
816
|
-
*
|
|
810
|
+
* ACCOUNT_VIEW_PUBKEY_ONLY returns only the account address.
|
|
811
|
+
*
|
|
812
|
+
* @generated from enum value: ACCOUNT_VIEW_PUBKEY_ONLY = 1;
|
|
817
813
|
*/
|
|
818
|
-
|
|
814
|
+
PUBKEY_ONLY = 1,
|
|
819
815
|
/**
|
|
820
|
-
*
|
|
816
|
+
* ACCOUNT_VIEW_META_ONLY returns only account metadata.
|
|
817
|
+
*
|
|
818
|
+
* @generated from enum value: ACCOUNT_VIEW_META_ONLY = 2;
|
|
821
819
|
*/
|
|
822
|
-
|
|
820
|
+
META_ONLY = 2,
|
|
823
821
|
/**
|
|
824
|
-
*
|
|
822
|
+
* ACCOUNT_VIEW_DATA_ONLY returns only account data.
|
|
823
|
+
*
|
|
824
|
+
* @generated from enum value: ACCOUNT_VIEW_DATA_ONLY = 3;
|
|
825
825
|
*/
|
|
826
|
-
|
|
826
|
+
DATA_ONLY = 3,
|
|
827
827
|
/**
|
|
828
|
-
*
|
|
828
|
+
* ACCOUNT_VIEW_FULL returns address, metadata, and data.
|
|
829
|
+
*
|
|
830
|
+
* @generated from enum value: ACCOUNT_VIEW_FULL = 4;
|
|
829
831
|
*/
|
|
830
832
|
FULL = 4
|
|
831
833
|
}
|
|
834
|
+
|
|
832
835
|
/**
|
|
833
|
-
*
|
|
836
|
+
* BlockHeader describes metadata about a block.
|
|
834
837
|
*
|
|
835
|
-
* @generated from
|
|
838
|
+
* @generated from message thru.core.v1.BlockHeader
|
|
836
839
|
*/
|
|
837
|
-
|
|
840
|
+
type BlockHeader$1 = Message<"thru.core.v1.BlockHeader"> & {
|
|
838
841
|
/**
|
|
839
|
-
*
|
|
840
|
-
*
|
|
841
|
-
* @generated from enum value: TRANSACTION_VM_EXECUTE_SUCCESS = 0;
|
|
842
|
+
* @generated from field: uint64 slot = 1;
|
|
842
843
|
*/
|
|
843
|
-
|
|
844
|
+
slot: bigint;
|
|
844
845
|
/**
|
|
845
|
-
*
|
|
846
|
-
*
|
|
847
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FORMAT = -255;
|
|
846
|
+
* @generated from field: thru.core.v1.BlockHash block_hash = 2;
|
|
848
847
|
*/
|
|
849
|
-
|
|
848
|
+
blockHash?: BlockHash;
|
|
850
849
|
/**
|
|
851
|
-
*
|
|
852
|
-
*
|
|
853
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_VERSION = -254;
|
|
850
|
+
* @generated from field: thru.core.v1.Signature header_signature = 3;
|
|
854
851
|
*/
|
|
855
|
-
|
|
852
|
+
headerSignature?: Signature;
|
|
856
853
|
/**
|
|
857
|
-
*
|
|
858
|
-
*
|
|
859
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FLAGS = -253;
|
|
854
|
+
* @generated from field: uint32 version = 4;
|
|
860
855
|
*/
|
|
861
|
-
|
|
856
|
+
version: number;
|
|
862
857
|
/**
|
|
863
|
-
*
|
|
864
|
-
*
|
|
865
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_SIGNATURE = -252;
|
|
858
|
+
* @generated from field: thru.core.v1.Pubkey producer = 5;
|
|
866
859
|
*/
|
|
867
|
-
|
|
860
|
+
producer?: Pubkey;
|
|
868
861
|
/**
|
|
869
|
-
*
|
|
870
|
-
*
|
|
871
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_DUPLICATE_ACCOUNT = -251;
|
|
862
|
+
* @generated from field: google.protobuf.Timestamp expiry_timestamp = 6;
|
|
872
863
|
*/
|
|
873
|
-
|
|
864
|
+
expiryTimestamp?: Timestamp;
|
|
874
865
|
/**
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_ACCOUNTS = -250;
|
|
866
|
+
* @generated from field: uint64 start_slot = 7;
|
|
878
867
|
*/
|
|
879
|
-
|
|
868
|
+
startSlot: bigint;
|
|
880
869
|
/**
|
|
881
|
-
*
|
|
882
|
-
*
|
|
883
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_READWRITE_ACCOUNTS = -249;
|
|
870
|
+
* @generated from field: uint32 expiry_after = 8;
|
|
884
871
|
*/
|
|
885
|
-
|
|
872
|
+
expiryAfter: number;
|
|
886
873
|
/**
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_UNSORTED_READONLY_ACCOUNTS = -248;
|
|
874
|
+
* @generated from field: uint32 max_block_size = 9;
|
|
890
875
|
*/
|
|
891
|
-
|
|
876
|
+
maxBlockSize: number;
|
|
892
877
|
/**
|
|
893
|
-
*
|
|
894
|
-
*
|
|
895
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_ACCOUNT_COUNT_LIMIT_EXCEEDED = -247;
|
|
878
|
+
* @generated from field: uint64 max_compute_units = 10;
|
|
896
879
|
*/
|
|
897
|
-
|
|
880
|
+
maxComputeUnits: bigint;
|
|
898
881
|
/**
|
|
899
|
-
*
|
|
900
|
-
*
|
|
901
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_NONCE_TOO_LOW = -511;
|
|
882
|
+
* @generated from field: uint32 max_state_units = 11;
|
|
902
883
|
*/
|
|
903
|
-
|
|
884
|
+
maxStateUnits: number;
|
|
904
885
|
/**
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_NONCE_TOO_HIGH = -510;
|
|
886
|
+
* @generated from field: uint64 price = 12;
|
|
908
887
|
*/
|
|
909
|
-
|
|
888
|
+
price: bigint;
|
|
889
|
+
};
|
|
890
|
+
/**
|
|
891
|
+
* BlockFooter captures execution result metadata for a block.
|
|
892
|
+
*
|
|
893
|
+
* @generated from message thru.core.v1.BlockFooter
|
|
894
|
+
*/
|
|
895
|
+
type BlockFooter$1 = Message<"thru.core.v1.BlockFooter"> & {
|
|
910
896
|
/**
|
|
911
|
-
*
|
|
912
|
-
*
|
|
913
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INSUFFICIENT_FEE_PAYER_BALANCE = -509;
|
|
897
|
+
* @generated from field: thru.core.v1.Signature signature = 1;
|
|
914
898
|
*/
|
|
915
|
-
|
|
899
|
+
signature?: Signature;
|
|
916
900
|
/**
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST = -508;
|
|
901
|
+
* @generated from field: thru.core.v1.ExecutionStatus status = 2;
|
|
920
902
|
*/
|
|
921
|
-
|
|
903
|
+
status: ExecutionStatus;
|
|
922
904
|
/**
|
|
923
|
-
*
|
|
924
|
-
*
|
|
925
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_NOT_LIVE_YET = -507;
|
|
905
|
+
* @generated from field: uint64 consumed_compute_units = 3;
|
|
926
906
|
*/
|
|
927
|
-
|
|
907
|
+
consumedComputeUnits: bigint;
|
|
928
908
|
/**
|
|
929
|
-
*
|
|
930
|
-
*
|
|
931
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_EXPIRED = -506;
|
|
909
|
+
* @generated from field: uint32 consumed_state_units = 4;
|
|
932
910
|
*/
|
|
933
|
-
|
|
911
|
+
consumedStateUnits: number;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* Block represents a fully decoded block resource.
|
|
915
|
+
*
|
|
916
|
+
* @generated from message thru.core.v1.Block
|
|
917
|
+
*/
|
|
918
|
+
type Block$1 = Message<"thru.core.v1.Block"> & {
|
|
934
919
|
/**
|
|
935
|
-
*
|
|
936
|
-
*
|
|
937
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF = -505;
|
|
920
|
+
* @generated from field: thru.core.v1.BlockHeader header = 1;
|
|
938
921
|
*/
|
|
939
|
-
|
|
922
|
+
header?: BlockHeader$1;
|
|
940
923
|
/**
|
|
941
|
-
*
|
|
942
|
-
*
|
|
943
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_TYPE = -504;
|
|
924
|
+
* @generated from field: optional thru.core.v1.BlockFooter footer = 2;
|
|
944
925
|
*/
|
|
945
|
-
|
|
926
|
+
footer?: BlockFooter$1;
|
|
946
927
|
/**
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_SLOT = -503;
|
|
928
|
+
* @generated from field: optional bytes body = 3;
|
|
950
929
|
*/
|
|
951
|
-
|
|
930
|
+
body?: Uint8Array;
|
|
952
931
|
/**
|
|
953
|
-
*
|
|
954
|
-
*
|
|
955
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_ACCOUNT_OWNER = -502;
|
|
932
|
+
* @generated from field: optional thru.common.v1.ConsensusStatus consensus_status = 4;
|
|
956
933
|
*/
|
|
957
|
-
|
|
934
|
+
consensusStatus?: ConsensusStatus;
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* RawBlock captures raw block bytes for direct access.
|
|
938
|
+
*
|
|
939
|
+
* @generated from message thru.core.v1.RawBlock
|
|
940
|
+
*/
|
|
941
|
+
type RawBlock = Message<"thru.core.v1.RawBlock"> & {
|
|
958
942
|
/**
|
|
959
|
-
*
|
|
960
|
-
*
|
|
961
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER = -501;
|
|
943
|
+
* @generated from field: uint64 slot = 1;
|
|
962
944
|
*/
|
|
963
|
-
|
|
945
|
+
slot: bigint;
|
|
964
946
|
/**
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ = -500;
|
|
947
|
+
* @generated from field: bytes raw_block = 2;
|
|
968
948
|
*/
|
|
969
|
-
|
|
949
|
+
rawBlock: Uint8Array;
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* BlockView controls how much of a block resource is returned.
|
|
953
|
+
*
|
|
954
|
+
* @generated from enum thru.core.v1.BlockView
|
|
955
|
+
*/
|
|
956
|
+
declare enum BlockView {
|
|
970
957
|
/**
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_VM_FAILED = -767;
|
|
958
|
+
* @generated from enum value: BLOCK_VIEW_UNSPECIFIED = 0;
|
|
974
959
|
*/
|
|
975
|
-
|
|
960
|
+
UNSPECIFIED = 0,
|
|
976
961
|
/**
|
|
977
|
-
*
|
|
978
|
-
*
|
|
979
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_INVALID_PROGRAM_ACCOUNT = -766;
|
|
962
|
+
* @generated from enum value: BLOCK_VIEW_HEADER_ONLY = 1;
|
|
980
963
|
*/
|
|
981
|
-
|
|
964
|
+
HEADER_ONLY = 1,
|
|
982
965
|
/**
|
|
983
|
-
*
|
|
984
|
-
*
|
|
985
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_VM_REVERT = -765;
|
|
966
|
+
* @generated from enum value: BLOCK_VIEW_HEADER_AND_FOOTER = 2;
|
|
986
967
|
*/
|
|
987
|
-
|
|
968
|
+
HEADER_AND_FOOTER = 2,
|
|
988
969
|
/**
|
|
989
|
-
*
|
|
990
|
-
*
|
|
991
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_CU_EXHAUSTED = -764;
|
|
970
|
+
* @generated from enum value: BLOCK_VIEW_BODY_ONLY = 3;
|
|
992
971
|
*/
|
|
993
|
-
|
|
972
|
+
BODY_ONLY = 3,
|
|
994
973
|
/**
|
|
995
|
-
*
|
|
996
|
-
*
|
|
997
|
-
* @generated from enum value: TRANSACTION_VM_ERROR_SU_EXHAUSTED = -763;
|
|
974
|
+
* @generated from enum value: BLOCK_VIEW_FULL = 4;
|
|
998
975
|
*/
|
|
999
|
-
|
|
976
|
+
FULL = 4
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* ExecutionStatus enumerates block execution results.
|
|
980
|
+
*
|
|
981
|
+
* @generated from enum thru.core.v1.ExecutionStatus
|
|
982
|
+
*/
|
|
983
|
+
declare enum ExecutionStatus {
|
|
984
|
+
/**
|
|
985
|
+
* @generated from enum value: EXECUTION_STATUS_UNSPECIFIED = 0;
|
|
986
|
+
*/
|
|
987
|
+
UNSPECIFIED = 0,
|
|
988
|
+
/**
|
|
989
|
+
* @generated from enum value: EXECUTION_STATUS_PENDING = 1;
|
|
990
|
+
*/
|
|
991
|
+
PENDING = 1,
|
|
992
|
+
/**
|
|
993
|
+
* @generated from enum value: EXECUTION_STATUS_EXECUTED = 2;
|
|
994
|
+
*/
|
|
995
|
+
EXECUTED = 2,
|
|
996
|
+
/**
|
|
997
|
+
* @generated from enum value: EXECUTION_STATUS_FAILED = 3;
|
|
998
|
+
*/
|
|
999
|
+
FAILED = 3
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
/**
|
|
@@ -1129,6 +1129,7 @@ declare class Transaction {
|
|
|
1129
1129
|
readonly readWriteAccounts: AccountAddress[];
|
|
1130
1130
|
readonly readOnlyAccounts: AccountAddress[];
|
|
1131
1131
|
readonly instructionData?: Uint8Array;
|
|
1132
|
+
readonly instructionDataSize?: number;
|
|
1132
1133
|
readonly feePayerStateProof?: Uint8Array;
|
|
1133
1134
|
readonly feePayerAccountMetaRaw?: Uint8Array;
|
|
1134
1135
|
executionResult?: TransactionExecutionResultData;
|
|
@@ -1142,6 +1143,7 @@ declare class Transaction {
|
|
|
1142
1143
|
header: TransactionHeaderInput;
|
|
1143
1144
|
accounts?: TransactionAccountsInput;
|
|
1144
1145
|
instructionData?: Uint8Array;
|
|
1146
|
+
instructionDataSize?: number;
|
|
1145
1147
|
proofs?: OptionalProofs;
|
|
1146
1148
|
});
|
|
1147
1149
|
static fromWire(data: Uint8Array): Transaction;
|
|
@@ -1166,6 +1168,15 @@ declare class Transaction {
|
|
|
1166
1168
|
private static convertExecutionResultToProto;
|
|
1167
1169
|
}
|
|
1168
1170
|
|
|
1171
|
+
type StreamTransactionUpdate = {
|
|
1172
|
+
kind: "partial";
|
|
1173
|
+
signature: Uint8Array;
|
|
1174
|
+
slot?: bigint;
|
|
1175
|
+
executionResult?: ReturnType<typeof Transaction.executionResultFromProto>;
|
|
1176
|
+
} | {
|
|
1177
|
+
kind: "full";
|
|
1178
|
+
transaction: Transaction;
|
|
1179
|
+
};
|
|
1169
1180
|
interface TrackTransactionUpdate {
|
|
1170
1181
|
signature?: Uint8Array;
|
|
1171
1182
|
status: string;
|
|
@@ -1844,9 +1855,7 @@ interface StreamTransactionsOptions {
|
|
|
1844
1855
|
minConsensus?: ConsensusStatus;
|
|
1845
1856
|
signal?: AbortSignal;
|
|
1846
1857
|
}
|
|
1847
|
-
|
|
1848
|
-
transaction: Transaction;
|
|
1849
|
-
}
|
|
1858
|
+
type StreamTransactionsResult = StreamTransactionUpdate;
|
|
1850
1859
|
declare function streamTransactions(ctx: ThruClientContext, options?: StreamTransactionsOptions): AsyncIterable<StreamTransactionsResult>;
|
|
1851
1860
|
interface StreamEventsOptions {
|
|
1852
1861
|
filter?: Filter;
|
|
@@ -1864,6 +1873,7 @@ type streaming_StreamBlocksOptions = StreamBlocksOptions;
|
|
|
1864
1873
|
type streaming_StreamBlocksResult = StreamBlocksResult;
|
|
1865
1874
|
type streaming_StreamEventsOptions = StreamEventsOptions;
|
|
1866
1875
|
type streaming_StreamEventsResult = StreamEventsResult;
|
|
1876
|
+
type streaming_StreamTransactionUpdate = StreamTransactionUpdate;
|
|
1867
1877
|
type streaming_StreamTransactionsOptions = StreamTransactionsOptions;
|
|
1868
1878
|
type streaming_StreamTransactionsResult = StreamTransactionsResult;
|
|
1869
1879
|
type streaming_TrackTransactionOptions = TrackTransactionOptions;
|
|
@@ -1874,7 +1884,7 @@ declare const streaming_streamEvents: typeof streamEvents;
|
|
|
1874
1884
|
declare const streaming_streamTransactions: typeof streamTransactions;
|
|
1875
1885
|
declare const streaming_trackTransaction: typeof trackTransaction;
|
|
1876
1886
|
declare namespace streaming {
|
|
1877
|
-
export { type streaming_StreamAccountUpdatesOptions as StreamAccountUpdatesOptions, type streaming_StreamAccountUpdatesResult as StreamAccountUpdatesResult, type streaming_StreamBlocksOptions as StreamBlocksOptions, type streaming_StreamBlocksResult as StreamBlocksResult, type streaming_StreamEventsOptions as StreamEventsOptions, type streaming_StreamEventsResult as StreamEventsResult, type streaming_StreamTransactionsOptions as StreamTransactionsOptions, type streaming_StreamTransactionsResult as StreamTransactionsResult, type streaming_TrackTransactionOptions as TrackTransactionOptions, type streaming_TrackTransactionUpdate as TrackTransactionUpdate, streaming_streamAccountUpdates as streamAccountUpdates, streaming_streamBlocks as streamBlocks, streaming_streamEvents as streamEvents, streaming_streamTransactions as streamTransactions, streaming_trackTransaction as trackTransaction };
|
|
1887
|
+
export { type streaming_StreamAccountUpdatesOptions as StreamAccountUpdatesOptions, type streaming_StreamAccountUpdatesResult as StreamAccountUpdatesResult, type streaming_StreamBlocksOptions as StreamBlocksOptions, type streaming_StreamBlocksResult as StreamBlocksResult, type streaming_StreamEventsOptions as StreamEventsOptions, type streaming_StreamEventsResult as StreamEventsResult, type streaming_StreamTransactionUpdate as StreamTransactionUpdate, type streaming_StreamTransactionsOptions as StreamTransactionsOptions, type streaming_StreamTransactionsResult as StreamTransactionsResult, type streaming_TrackTransactionOptions as TrackTransactionOptions, type streaming_TrackTransactionUpdate as TrackTransactionUpdate, streaming_streamAccountUpdates as streamAccountUpdates, streaming_streamBlocks as streamBlocks, streaming_streamEvents as streamEvents, streaming_streamTransactions as streamTransactions, streaming_trackTransaction as trackTransaction };
|
|
1878
1888
|
}
|
|
1879
1889
|
|
|
1880
1890
|
interface TransactionFeePayerConfig {
|
|
@@ -1975,4 +1985,4 @@ declare class VersionInfo {
|
|
|
1975
1985
|
get(component: string): string | undefined;
|
|
1976
1986
|
}
|
|
1977
1987
|
|
|
1978
|
-
export { type
|
|
1988
|
+
export { type StreamEventsOptions as $, Account as A, type BuildTransactionParams as B, ChainEvent as C, type BlockList as D, ExecutionStatus as E, Filter as F, type BlockQueryOptions as G, HeightSnapshot as H, type ListBlocksOptions as I, type RawBlockQueryOptions as J, type GetEventOptions as K, type ListAccountsOptions as L, type BlockSelector as M, type DeriveProgramAddressOptions as N, type DeriveProgramAddressResult as O, PageRequest as P, type GeneratedKeyPair as Q, type RawAccountQueryOptions as R, type SignedTransactionResult as S, Transaction as T, type StreamAccountUpdate as U, VersionInfo as V, type HeightSnapshotParams as W, type StreamAccountUpdatesOptions as X, type StreamAccountUpdatesResult as Y, type StreamBlocksOptions as Z, type StreamBlocksResult as _, accounts as a, type StreamEventsResult as a0, type StreamTransactionsOptions as a1, type StreamTransactionsResult as a2, type StreamTransactionUpdate as a3, type TrackTransactionOptions as a4, type TrackTransactionUpdate as a5, type TransactionExecutionEvent as a6, type TransactionExecutionResultData as a7, type InstructionContext as a8, type ProgramIdentifier as a9, listTransactionsForAccount as aA, streamTransactions as aB, buildTransaction as aC, buildAndSignTransaction as aD, sendTransaction as aE, batchSendTransactions as aF, trackTransaction as aG, getEvent as aH, streamEvents as aI, generateStateProof as aJ, generateKeyPair as aK, fromPrivateKey as aL, type Signature as aM, type Pubkey as aN, type BlockHash as aO, type ThruClientConfig as aP, type BatchSendTransactionsOptions as aa, type BuildAndSignTransactionOptions as ab, type BuildTransactionOptions as ac, type InstructionData as ad, type ListTransactionsForAccountOptions as ae, type RawTransactionQueryOptions as af, type TransactionAccountsConfig as ag, type TransactionFeePayerConfig as ah, type TransactionHeaderConfig as ai, type TransactionList as aj, type TransactionQueryOptions as ak, type GenerateStateProofOptions as al, type ThruClientContext as am, getBlock as an, getRawBlock as ao, listBlocks as ap, streamBlocks as aq, getBlockHeight as ar, getAccount as as, getRawAccount as at, listAccounts as au, streamAccountUpdates as av, createAccount as aw, getTransaction as ax, getRawTransaction as ay, getTransactionStatus as az, blocks as b, Block as c, FilterParamValue as d, events as e, PageResponse as f, StateProof as g, height as h, TransactionStatusSnapshot as i, deriveProgramAddress as j, keys as k, toPubkey as l, ConsensusStatus as m, FilterParamValueSchema as n, FilterSchema as o, proofs as p, AccountView as q, BlockView as r, streaming as s, transactions as t, TransactionView as u, TransactionVmError as v, type PageRequestParams as w, type PageResponseParams as x, type AccountQueryOptions as y, type CreateAccountOptions as z };
|