@triton-one/yellowstone-grpc 0.1.0 → 0.1.4
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 +1 -1
- package/dist/grpc/geyser.d.ts +175 -38
- package/dist/grpc/geyser.js +140 -13
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/package.json +3 -2
- package/.prettierrc.json +0 -1
- package/src/grpc/geyser.ts +0 -3477
- package/src/grpc/solana-storage.ts +0 -2141
- package/src/index.ts +0 -190
- package/tsconfig.json +0 -7
package/README.md
CHANGED
package/dist/grpc/geyser.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface SubscribeRequest {
|
|
|
28
28
|
[key: string]: SubscribeRequestFilterBlocksMeta;
|
|
29
29
|
};
|
|
30
30
|
commitment?: CommitmentLevel | undefined;
|
|
31
|
+
accountsDataSlice: SubscribeRequestAccountsDataSlice[];
|
|
31
32
|
}
|
|
32
33
|
export interface SubscribeRequest_AccountsEntry {
|
|
33
34
|
key: string;
|
|
@@ -57,6 +58,7 @@ export interface SubscribeRequestFilterAccounts {
|
|
|
57
58
|
export interface SubscribeRequestFilterAccountsFilter {
|
|
58
59
|
memcmp?: SubscribeRequestFilterAccountsFilterMemcmp | undefined;
|
|
59
60
|
datasize?: number | undefined;
|
|
61
|
+
tokenAccountState?: boolean | undefined;
|
|
60
62
|
}
|
|
61
63
|
export interface SubscribeRequestFilterAccountsFilterMemcmp {
|
|
62
64
|
offset: number;
|
|
@@ -75,9 +77,14 @@ export interface SubscribeRequestFilterTransactions {
|
|
|
75
77
|
accountRequired: string[];
|
|
76
78
|
}
|
|
77
79
|
export interface SubscribeRequestFilterBlocks {
|
|
80
|
+
accountInclude: string[];
|
|
78
81
|
}
|
|
79
82
|
export interface SubscribeRequestFilterBlocksMeta {
|
|
80
83
|
}
|
|
84
|
+
export interface SubscribeRequestAccountsDataSlice {
|
|
85
|
+
offset: number;
|
|
86
|
+
length: number;
|
|
87
|
+
}
|
|
81
88
|
export interface SubscribeUpdate {
|
|
82
89
|
filters: string[];
|
|
83
90
|
account?: SubscribeUpdateAccount | undefined;
|
|
@@ -197,6 +204,7 @@ export declare const SubscribeRequest: {
|
|
|
197
204
|
base64?: string | undefined;
|
|
198
205
|
};
|
|
199
206
|
datasize?: number | undefined;
|
|
207
|
+
tokenAccountState?: boolean | undefined;
|
|
200
208
|
}[];
|
|
201
209
|
};
|
|
202
210
|
};
|
|
@@ -214,12 +222,18 @@ export declare const SubscribeRequest: {
|
|
|
214
222
|
};
|
|
215
223
|
};
|
|
216
224
|
blocks?: {
|
|
217
|
-
[x: string]: {
|
|
225
|
+
[x: string]: {
|
|
226
|
+
accountInclude?: string[];
|
|
227
|
+
};
|
|
218
228
|
};
|
|
219
229
|
blocksMeta?: {
|
|
220
230
|
[x: string]: {};
|
|
221
231
|
};
|
|
222
232
|
commitment?: CommitmentLevel | undefined;
|
|
233
|
+
accountsDataSlice?: {
|
|
234
|
+
offset?: number;
|
|
235
|
+
length?: number;
|
|
236
|
+
}[];
|
|
223
237
|
} & {
|
|
224
238
|
accounts?: {
|
|
225
239
|
[x: string]: {
|
|
@@ -233,6 +247,7 @@ export declare const SubscribeRequest: {
|
|
|
233
247
|
base64?: string | undefined;
|
|
234
248
|
};
|
|
235
249
|
datasize?: number | undefined;
|
|
250
|
+
tokenAccountState?: boolean | undefined;
|
|
236
251
|
}[];
|
|
237
252
|
};
|
|
238
253
|
} & {
|
|
@@ -247,6 +262,7 @@ export declare const SubscribeRequest: {
|
|
|
247
262
|
base64?: string | undefined;
|
|
248
263
|
};
|
|
249
264
|
datasize?: number | undefined;
|
|
265
|
+
tokenAccountState?: boolean | undefined;
|
|
250
266
|
}[];
|
|
251
267
|
} & {
|
|
252
268
|
account?: string[] & string[] & { [K in Exclude<keyof I["accounts"][string]["account"], keyof string[]>]: never; };
|
|
@@ -259,6 +275,7 @@ export declare const SubscribeRequest: {
|
|
|
259
275
|
base64?: string | undefined;
|
|
260
276
|
};
|
|
261
277
|
datasize?: number | undefined;
|
|
278
|
+
tokenAccountState?: boolean | undefined;
|
|
262
279
|
}[] & ({
|
|
263
280
|
memcmp?: {
|
|
264
281
|
offset?: number;
|
|
@@ -267,6 +284,7 @@ export declare const SubscribeRequest: {
|
|
|
267
284
|
base64?: string | undefined;
|
|
268
285
|
};
|
|
269
286
|
datasize?: number | undefined;
|
|
287
|
+
tokenAccountState?: boolean | undefined;
|
|
270
288
|
} & {
|
|
271
289
|
memcmp?: {
|
|
272
290
|
offset?: number;
|
|
@@ -280,6 +298,7 @@ export declare const SubscribeRequest: {
|
|
|
280
298
|
base64?: string | undefined;
|
|
281
299
|
} & { [K_2 in Exclude<keyof I["accounts"][string]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
282
300
|
datasize?: number | undefined;
|
|
301
|
+
tokenAccountState?: boolean | undefined;
|
|
283
302
|
} & { [K_3 in Exclude<keyof I["accounts"][string]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["accounts"][string]["filters"], keyof {
|
|
284
303
|
memcmp?: {
|
|
285
304
|
offset?: number;
|
|
@@ -288,6 +307,7 @@ export declare const SubscribeRequest: {
|
|
|
288
307
|
base64?: string | undefined;
|
|
289
308
|
};
|
|
290
309
|
datasize?: number | undefined;
|
|
310
|
+
tokenAccountState?: boolean | undefined;
|
|
291
311
|
}[]>]: never; };
|
|
292
312
|
} & { [K_5 in Exclude<keyof I["accounts"][string], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
293
313
|
} & { [K_6 in Exclude<keyof I["accounts"], string | number>]: never; };
|
|
@@ -323,17 +343,36 @@ export declare const SubscribeRequest: {
|
|
|
323
343
|
} & { [K_12 in Exclude<keyof I["transactions"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
324
344
|
} & { [K_13 in Exclude<keyof I["transactions"], string | number>]: never; };
|
|
325
345
|
blocks?: {
|
|
326
|
-
[x: string]: {
|
|
346
|
+
[x: string]: {
|
|
347
|
+
accountInclude?: string[];
|
|
348
|
+
};
|
|
327
349
|
} & {
|
|
328
|
-
[x: string]: {
|
|
329
|
-
|
|
350
|
+
[x: string]: {
|
|
351
|
+
accountInclude?: string[];
|
|
352
|
+
} & {
|
|
353
|
+
accountInclude?: string[] & string[] & { [K_14 in Exclude<keyof I["blocks"][string]["accountInclude"], keyof string[]>]: never; };
|
|
354
|
+
} & { [K_15 in Exclude<keyof I["blocks"][string], "accountInclude">]: never; };
|
|
355
|
+
} & { [K_16 in Exclude<keyof I["blocks"], string | number>]: never; };
|
|
330
356
|
blocksMeta?: {
|
|
331
357
|
[x: string]: {};
|
|
332
358
|
} & {
|
|
333
|
-
[x: string]: {} & {} & { [
|
|
334
|
-
} & { [
|
|
359
|
+
[x: string]: {} & {} & { [K_17 in Exclude<keyof I["blocksMeta"][string], never>]: never; };
|
|
360
|
+
} & { [K_18 in Exclude<keyof I["blocksMeta"], string | number>]: never; };
|
|
335
361
|
commitment?: CommitmentLevel | undefined;
|
|
336
|
-
|
|
362
|
+
accountsDataSlice?: {
|
|
363
|
+
offset?: number;
|
|
364
|
+
length?: number;
|
|
365
|
+
}[] & ({
|
|
366
|
+
offset?: number;
|
|
367
|
+
length?: number;
|
|
368
|
+
} & {
|
|
369
|
+
offset?: number;
|
|
370
|
+
length?: number;
|
|
371
|
+
} & { [K_19 in Exclude<keyof I["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_20 in Exclude<keyof I["accountsDataSlice"], keyof {
|
|
372
|
+
offset?: number;
|
|
373
|
+
length?: number;
|
|
374
|
+
}[]>]: never; };
|
|
375
|
+
} & { [K_21 in Exclude<keyof I, keyof SubscribeRequest>]: never; }>(base?: I): SubscribeRequest;
|
|
337
376
|
fromPartial<I_1 extends {
|
|
338
377
|
accounts?: {
|
|
339
378
|
[x: string]: {
|
|
@@ -347,6 +386,7 @@ export declare const SubscribeRequest: {
|
|
|
347
386
|
base64?: string | undefined;
|
|
348
387
|
};
|
|
349
388
|
datasize?: number | undefined;
|
|
389
|
+
tokenAccountState?: boolean | undefined;
|
|
350
390
|
}[];
|
|
351
391
|
};
|
|
352
392
|
};
|
|
@@ -364,12 +404,18 @@ export declare const SubscribeRequest: {
|
|
|
364
404
|
};
|
|
365
405
|
};
|
|
366
406
|
blocks?: {
|
|
367
|
-
[x: string]: {
|
|
407
|
+
[x: string]: {
|
|
408
|
+
accountInclude?: string[];
|
|
409
|
+
};
|
|
368
410
|
};
|
|
369
411
|
blocksMeta?: {
|
|
370
412
|
[x: string]: {};
|
|
371
413
|
};
|
|
372
414
|
commitment?: CommitmentLevel | undefined;
|
|
415
|
+
accountsDataSlice?: {
|
|
416
|
+
offset?: number;
|
|
417
|
+
length?: number;
|
|
418
|
+
}[];
|
|
373
419
|
} & {
|
|
374
420
|
accounts?: {
|
|
375
421
|
[x: string]: {
|
|
@@ -383,6 +429,7 @@ export declare const SubscribeRequest: {
|
|
|
383
429
|
base64?: string | undefined;
|
|
384
430
|
};
|
|
385
431
|
datasize?: number | undefined;
|
|
432
|
+
tokenAccountState?: boolean | undefined;
|
|
386
433
|
}[];
|
|
387
434
|
};
|
|
388
435
|
} & {
|
|
@@ -397,10 +444,11 @@ export declare const SubscribeRequest: {
|
|
|
397
444
|
base64?: string | undefined;
|
|
398
445
|
};
|
|
399
446
|
datasize?: number | undefined;
|
|
447
|
+
tokenAccountState?: boolean | undefined;
|
|
400
448
|
}[];
|
|
401
449
|
} & {
|
|
402
|
-
account?: string[] & string[] & { [
|
|
403
|
-
owner?: string[] & string[] & { [
|
|
450
|
+
account?: string[] & string[] & { [K_22 in Exclude<keyof I_1["accounts"][string]["account"], keyof string[]>]: never; };
|
|
451
|
+
owner?: string[] & string[] & { [K_23 in Exclude<keyof I_1["accounts"][string]["owner"], keyof string[]>]: never; };
|
|
404
452
|
filters?: {
|
|
405
453
|
memcmp?: {
|
|
406
454
|
offset?: number;
|
|
@@ -409,6 +457,7 @@ export declare const SubscribeRequest: {
|
|
|
409
457
|
base64?: string | undefined;
|
|
410
458
|
};
|
|
411
459
|
datasize?: number | undefined;
|
|
460
|
+
tokenAccountState?: boolean | undefined;
|
|
412
461
|
}[] & ({
|
|
413
462
|
memcmp?: {
|
|
414
463
|
offset?: number;
|
|
@@ -417,6 +466,7 @@ export declare const SubscribeRequest: {
|
|
|
417
466
|
base64?: string | undefined;
|
|
418
467
|
};
|
|
419
468
|
datasize?: number | undefined;
|
|
469
|
+
tokenAccountState?: boolean | undefined;
|
|
420
470
|
} & {
|
|
421
471
|
memcmp?: {
|
|
422
472
|
offset?: number;
|
|
@@ -428,9 +478,10 @@ export declare const SubscribeRequest: {
|
|
|
428
478
|
bytes?: Uint8Array | undefined;
|
|
429
479
|
base58?: string | undefined;
|
|
430
480
|
base64?: string | undefined;
|
|
431
|
-
} & { [
|
|
481
|
+
} & { [K_24 in Exclude<keyof I_1["accounts"][string]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
432
482
|
datasize?: number | undefined;
|
|
433
|
-
|
|
483
|
+
tokenAccountState?: boolean | undefined;
|
|
484
|
+
} & { [K_25 in Exclude<keyof I_1["accounts"][string]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_26 in Exclude<keyof I_1["accounts"][string]["filters"], keyof {
|
|
434
485
|
memcmp?: {
|
|
435
486
|
offset?: number;
|
|
436
487
|
bytes?: Uint8Array | undefined;
|
|
@@ -438,14 +489,15 @@ export declare const SubscribeRequest: {
|
|
|
438
489
|
base64?: string | undefined;
|
|
439
490
|
};
|
|
440
491
|
datasize?: number | undefined;
|
|
492
|
+
tokenAccountState?: boolean | undefined;
|
|
441
493
|
}[]>]: never; };
|
|
442
|
-
} & { [
|
|
443
|
-
} & { [
|
|
494
|
+
} & { [K_27 in Exclude<keyof I_1["accounts"][string], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
495
|
+
} & { [K_28 in Exclude<keyof I_1["accounts"], string | number>]: never; };
|
|
444
496
|
slots?: {
|
|
445
497
|
[x: string]: {};
|
|
446
498
|
} & {
|
|
447
|
-
[x: string]: {} & {} & { [
|
|
448
|
-
} & { [
|
|
499
|
+
[x: string]: {} & {} & { [K_29 in Exclude<keyof I_1["slots"][string], never>]: never; };
|
|
500
|
+
} & { [K_30 in Exclude<keyof I_1["slots"], string | number>]: never; };
|
|
449
501
|
transactions?: {
|
|
450
502
|
[x: string]: {
|
|
451
503
|
vote?: boolean | undefined;
|
|
@@ -467,23 +519,42 @@ export declare const SubscribeRequest: {
|
|
|
467
519
|
vote?: boolean | undefined;
|
|
468
520
|
failed?: boolean | undefined;
|
|
469
521
|
signature?: string | undefined;
|
|
470
|
-
accountInclude?: string[] & string[] & { [
|
|
471
|
-
accountExclude?: string[] & string[] & { [
|
|
472
|
-
accountRequired?: string[] & string[] & { [
|
|
473
|
-
} & { [
|
|
474
|
-
} & { [
|
|
522
|
+
accountInclude?: string[] & string[] & { [K_31 in Exclude<keyof I_1["transactions"][string]["accountInclude"], keyof string[]>]: never; };
|
|
523
|
+
accountExclude?: string[] & string[] & { [K_32 in Exclude<keyof I_1["transactions"][string]["accountExclude"], keyof string[]>]: never; };
|
|
524
|
+
accountRequired?: string[] & string[] & { [K_33 in Exclude<keyof I_1["transactions"][string]["accountRequired"], keyof string[]>]: never; };
|
|
525
|
+
} & { [K_34 in Exclude<keyof I_1["transactions"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
526
|
+
} & { [K_35 in Exclude<keyof I_1["transactions"], string | number>]: never; };
|
|
475
527
|
blocks?: {
|
|
476
|
-
[x: string]: {
|
|
528
|
+
[x: string]: {
|
|
529
|
+
accountInclude?: string[];
|
|
530
|
+
};
|
|
477
531
|
} & {
|
|
478
|
-
[x: string]: {
|
|
479
|
-
|
|
532
|
+
[x: string]: {
|
|
533
|
+
accountInclude?: string[];
|
|
534
|
+
} & {
|
|
535
|
+
accountInclude?: string[] & string[] & { [K_36 in Exclude<keyof I_1["blocks"][string]["accountInclude"], keyof string[]>]: never; };
|
|
536
|
+
} & { [K_37 in Exclude<keyof I_1["blocks"][string], "accountInclude">]: never; };
|
|
537
|
+
} & { [K_38 in Exclude<keyof I_1["blocks"], string | number>]: never; };
|
|
480
538
|
blocksMeta?: {
|
|
481
539
|
[x: string]: {};
|
|
482
540
|
} & {
|
|
483
|
-
[x: string]: {} & {} & { [
|
|
484
|
-
} & { [
|
|
541
|
+
[x: string]: {} & {} & { [K_39 in Exclude<keyof I_1["blocksMeta"][string], never>]: never; };
|
|
542
|
+
} & { [K_40 in Exclude<keyof I_1["blocksMeta"], string | number>]: never; };
|
|
485
543
|
commitment?: CommitmentLevel | undefined;
|
|
486
|
-
|
|
544
|
+
accountsDataSlice?: {
|
|
545
|
+
offset?: number;
|
|
546
|
+
length?: number;
|
|
547
|
+
}[] & ({
|
|
548
|
+
offset?: number;
|
|
549
|
+
length?: number;
|
|
550
|
+
} & {
|
|
551
|
+
offset?: number;
|
|
552
|
+
length?: number;
|
|
553
|
+
} & { [K_41 in Exclude<keyof I_1["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_42 in Exclude<keyof I_1["accountsDataSlice"], keyof {
|
|
554
|
+
offset?: number;
|
|
555
|
+
length?: number;
|
|
556
|
+
}[]>]: never; };
|
|
557
|
+
} & { [K_43 in Exclude<keyof I_1, keyof SubscribeRequest>]: never; }>(object: I_1): SubscribeRequest;
|
|
487
558
|
};
|
|
488
559
|
export declare const SubscribeRequest_AccountsEntry: {
|
|
489
560
|
encode(message: SubscribeRequest_AccountsEntry, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -503,6 +574,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
503
574
|
base64?: string | undefined;
|
|
504
575
|
};
|
|
505
576
|
datasize?: number | undefined;
|
|
577
|
+
tokenAccountState?: boolean | undefined;
|
|
506
578
|
}[];
|
|
507
579
|
};
|
|
508
580
|
} & {
|
|
@@ -518,6 +590,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
518
590
|
base64?: string | undefined;
|
|
519
591
|
};
|
|
520
592
|
datasize?: number | undefined;
|
|
593
|
+
tokenAccountState?: boolean | undefined;
|
|
521
594
|
}[];
|
|
522
595
|
} & {
|
|
523
596
|
account?: string[] & string[] & { [K in Exclude<keyof I["value"]["account"], keyof string[]>]: never; };
|
|
@@ -530,6 +603,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
530
603
|
base64?: string | undefined;
|
|
531
604
|
};
|
|
532
605
|
datasize?: number | undefined;
|
|
606
|
+
tokenAccountState?: boolean | undefined;
|
|
533
607
|
}[] & ({
|
|
534
608
|
memcmp?: {
|
|
535
609
|
offset?: number;
|
|
@@ -538,6 +612,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
538
612
|
base64?: string | undefined;
|
|
539
613
|
};
|
|
540
614
|
datasize?: number | undefined;
|
|
615
|
+
tokenAccountState?: boolean | undefined;
|
|
541
616
|
} & {
|
|
542
617
|
memcmp?: {
|
|
543
618
|
offset?: number;
|
|
@@ -551,6 +626,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
551
626
|
base64?: string | undefined;
|
|
552
627
|
} & { [K_2 in Exclude<keyof I["value"]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
553
628
|
datasize?: number | undefined;
|
|
629
|
+
tokenAccountState?: boolean | undefined;
|
|
554
630
|
} & { [K_3 in Exclude<keyof I["value"]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["filters"], keyof {
|
|
555
631
|
memcmp?: {
|
|
556
632
|
offset?: number;
|
|
@@ -559,6 +635,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
559
635
|
base64?: string | undefined;
|
|
560
636
|
};
|
|
561
637
|
datasize?: number | undefined;
|
|
638
|
+
tokenAccountState?: boolean | undefined;
|
|
562
639
|
}[]>]: never; };
|
|
563
640
|
} & { [K_5 in Exclude<keyof I["value"], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
564
641
|
} & { [K_6 in Exclude<keyof I, keyof SubscribeRequest_AccountsEntry>]: never; }>(base?: I): SubscribeRequest_AccountsEntry;
|
|
@@ -575,6 +652,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
575
652
|
base64?: string | undefined;
|
|
576
653
|
};
|
|
577
654
|
datasize?: number | undefined;
|
|
655
|
+
tokenAccountState?: boolean | undefined;
|
|
578
656
|
}[];
|
|
579
657
|
};
|
|
580
658
|
} & {
|
|
@@ -590,6 +668,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
590
668
|
base64?: string | undefined;
|
|
591
669
|
};
|
|
592
670
|
datasize?: number | undefined;
|
|
671
|
+
tokenAccountState?: boolean | undefined;
|
|
593
672
|
}[];
|
|
594
673
|
} & {
|
|
595
674
|
account?: string[] & string[] & { [K_7 in Exclude<keyof I_1["value"]["account"], keyof string[]>]: never; };
|
|
@@ -602,6 +681,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
602
681
|
base64?: string | undefined;
|
|
603
682
|
};
|
|
604
683
|
datasize?: number | undefined;
|
|
684
|
+
tokenAccountState?: boolean | undefined;
|
|
605
685
|
}[] & ({
|
|
606
686
|
memcmp?: {
|
|
607
687
|
offset?: number;
|
|
@@ -610,6 +690,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
610
690
|
base64?: string | undefined;
|
|
611
691
|
};
|
|
612
692
|
datasize?: number | undefined;
|
|
693
|
+
tokenAccountState?: boolean | undefined;
|
|
613
694
|
} & {
|
|
614
695
|
memcmp?: {
|
|
615
696
|
offset?: number;
|
|
@@ -623,6 +704,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
623
704
|
base64?: string | undefined;
|
|
624
705
|
} & { [K_9 in Exclude<keyof I_1["value"]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
625
706
|
datasize?: number | undefined;
|
|
707
|
+
tokenAccountState?: boolean | undefined;
|
|
626
708
|
} & { [K_10 in Exclude<keyof I_1["value"]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_11 in Exclude<keyof I_1["value"]["filters"], keyof {
|
|
627
709
|
memcmp?: {
|
|
628
710
|
offset?: number;
|
|
@@ -631,6 +713,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
631
713
|
base64?: string | undefined;
|
|
632
714
|
};
|
|
633
715
|
datasize?: number | undefined;
|
|
716
|
+
tokenAccountState?: boolean | undefined;
|
|
634
717
|
}[]>]: never; };
|
|
635
718
|
} & { [K_12 in Exclude<keyof I_1["value"], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
636
719
|
} & { [K_13 in Exclude<keyof I_1, keyof SubscribeRequest_AccountsEntry>]: never; }>(object: I_1): SubscribeRequest_AccountsEntry;
|
|
@@ -724,18 +807,30 @@ export declare const SubscribeRequest_BlocksEntry: {
|
|
|
724
807
|
toJSON(message: SubscribeRequest_BlocksEntry): unknown;
|
|
725
808
|
create<I extends {
|
|
726
809
|
key?: string;
|
|
727
|
-
value?: {
|
|
810
|
+
value?: {
|
|
811
|
+
accountInclude?: string[];
|
|
812
|
+
};
|
|
728
813
|
} & {
|
|
729
814
|
key?: string;
|
|
730
|
-
value?: {
|
|
731
|
-
|
|
815
|
+
value?: {
|
|
816
|
+
accountInclude?: string[];
|
|
817
|
+
} & {
|
|
818
|
+
accountInclude?: string[] & string[] & { [K in Exclude<keyof I["value"]["accountInclude"], keyof string[]>]: never; };
|
|
819
|
+
} & { [K_1 in Exclude<keyof I["value"], "accountInclude">]: never; };
|
|
820
|
+
} & { [K_2 in Exclude<keyof I, keyof SubscribeRequest_BlocksEntry>]: never; }>(base?: I): SubscribeRequest_BlocksEntry;
|
|
732
821
|
fromPartial<I_1 extends {
|
|
733
822
|
key?: string;
|
|
734
|
-
value?: {
|
|
823
|
+
value?: {
|
|
824
|
+
accountInclude?: string[];
|
|
825
|
+
};
|
|
735
826
|
} & {
|
|
736
827
|
key?: string;
|
|
737
|
-
value?: {
|
|
738
|
-
|
|
828
|
+
value?: {
|
|
829
|
+
accountInclude?: string[];
|
|
830
|
+
} & {
|
|
831
|
+
accountInclude?: string[] & string[] & { [K_3 in Exclude<keyof I_1["value"]["accountInclude"], keyof string[]>]: never; };
|
|
832
|
+
} & { [K_4 in Exclude<keyof I_1["value"], "accountInclude">]: never; };
|
|
833
|
+
} & { [K_5 in Exclude<keyof I_1, keyof SubscribeRequest_BlocksEntry>]: never; }>(object: I_1): SubscribeRequest_BlocksEntry;
|
|
739
834
|
};
|
|
740
835
|
export declare const SubscribeRequest_BlocksMetaEntry: {
|
|
741
836
|
encode(message: SubscribeRequest_BlocksMetaEntry, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -773,6 +868,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
773
868
|
base64?: string | undefined;
|
|
774
869
|
};
|
|
775
870
|
datasize?: number | undefined;
|
|
871
|
+
tokenAccountState?: boolean | undefined;
|
|
776
872
|
}[];
|
|
777
873
|
} & {
|
|
778
874
|
account?: string[] & string[] & { [K in Exclude<keyof I["account"], keyof string[]>]: never; };
|
|
@@ -785,6 +881,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
785
881
|
base64?: string | undefined;
|
|
786
882
|
};
|
|
787
883
|
datasize?: number | undefined;
|
|
884
|
+
tokenAccountState?: boolean | undefined;
|
|
788
885
|
}[] & ({
|
|
789
886
|
memcmp?: {
|
|
790
887
|
offset?: number;
|
|
@@ -793,6 +890,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
793
890
|
base64?: string | undefined;
|
|
794
891
|
};
|
|
795
892
|
datasize?: number | undefined;
|
|
893
|
+
tokenAccountState?: boolean | undefined;
|
|
796
894
|
} & {
|
|
797
895
|
memcmp?: {
|
|
798
896
|
offset?: number;
|
|
@@ -806,6 +904,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
806
904
|
base64?: string | undefined;
|
|
807
905
|
} & { [K_2 in Exclude<keyof I["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
808
906
|
datasize?: number | undefined;
|
|
907
|
+
tokenAccountState?: boolean | undefined;
|
|
809
908
|
} & { [K_3 in Exclude<keyof I["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["filters"], keyof {
|
|
810
909
|
memcmp?: {
|
|
811
910
|
offset?: number;
|
|
@@ -814,6 +913,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
814
913
|
base64?: string | undefined;
|
|
815
914
|
};
|
|
816
915
|
datasize?: number | undefined;
|
|
916
|
+
tokenAccountState?: boolean | undefined;
|
|
817
917
|
}[]>]: never; };
|
|
818
918
|
} & { [K_5 in Exclude<keyof I, keyof SubscribeRequestFilterAccounts>]: never; }>(base?: I): SubscribeRequestFilterAccounts;
|
|
819
919
|
fromPartial<I_1 extends {
|
|
@@ -827,6 +927,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
827
927
|
base64?: string | undefined;
|
|
828
928
|
};
|
|
829
929
|
datasize?: number | undefined;
|
|
930
|
+
tokenAccountState?: boolean | undefined;
|
|
830
931
|
}[];
|
|
831
932
|
} & {
|
|
832
933
|
account?: string[] & string[] & { [K_6 in Exclude<keyof I_1["account"], keyof string[]>]: never; };
|
|
@@ -839,6 +940,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
839
940
|
base64?: string | undefined;
|
|
840
941
|
};
|
|
841
942
|
datasize?: number | undefined;
|
|
943
|
+
tokenAccountState?: boolean | undefined;
|
|
842
944
|
}[] & ({
|
|
843
945
|
memcmp?: {
|
|
844
946
|
offset?: number;
|
|
@@ -847,6 +949,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
847
949
|
base64?: string | undefined;
|
|
848
950
|
};
|
|
849
951
|
datasize?: number | undefined;
|
|
952
|
+
tokenAccountState?: boolean | undefined;
|
|
850
953
|
} & {
|
|
851
954
|
memcmp?: {
|
|
852
955
|
offset?: number;
|
|
@@ -860,6 +963,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
860
963
|
base64?: string | undefined;
|
|
861
964
|
} & { [K_8 in Exclude<keyof I_1["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
862
965
|
datasize?: number | undefined;
|
|
966
|
+
tokenAccountState?: boolean | undefined;
|
|
863
967
|
} & { [K_9 in Exclude<keyof I_1["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_10 in Exclude<keyof I_1["filters"], keyof {
|
|
864
968
|
memcmp?: {
|
|
865
969
|
offset?: number;
|
|
@@ -868,6 +972,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
868
972
|
base64?: string | undefined;
|
|
869
973
|
};
|
|
870
974
|
datasize?: number | undefined;
|
|
975
|
+
tokenAccountState?: boolean | undefined;
|
|
871
976
|
}[]>]: never; };
|
|
872
977
|
} & { [K_11 in Exclude<keyof I_1, keyof SubscribeRequestFilterAccounts>]: never; }>(object: I_1): SubscribeRequestFilterAccounts;
|
|
873
978
|
};
|
|
@@ -884,6 +989,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
884
989
|
base64?: string | undefined;
|
|
885
990
|
};
|
|
886
991
|
datasize?: number | undefined;
|
|
992
|
+
tokenAccountState?: boolean | undefined;
|
|
887
993
|
} & {
|
|
888
994
|
memcmp?: {
|
|
889
995
|
offset?: number;
|
|
@@ -897,6 +1003,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
897
1003
|
base64?: string | undefined;
|
|
898
1004
|
} & { [K in Exclude<keyof I["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
899
1005
|
datasize?: number | undefined;
|
|
1006
|
+
tokenAccountState?: boolean | undefined;
|
|
900
1007
|
} & { [K_1 in Exclude<keyof I, keyof SubscribeRequestFilterAccountsFilter>]: never; }>(base?: I): SubscribeRequestFilterAccountsFilter;
|
|
901
1008
|
fromPartial<I_1 extends {
|
|
902
1009
|
memcmp?: {
|
|
@@ -906,6 +1013,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
906
1013
|
base64?: string | undefined;
|
|
907
1014
|
};
|
|
908
1015
|
datasize?: number | undefined;
|
|
1016
|
+
tokenAccountState?: boolean | undefined;
|
|
909
1017
|
} & {
|
|
910
1018
|
memcmp?: {
|
|
911
1019
|
offset?: number;
|
|
@@ -919,6 +1027,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
919
1027
|
base64?: string | undefined;
|
|
920
1028
|
} & { [K_2 in Exclude<keyof I_1["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
921
1029
|
datasize?: number | undefined;
|
|
1030
|
+
tokenAccountState?: boolean | undefined;
|
|
922
1031
|
} & { [K_3 in Exclude<keyof I_1, keyof SubscribeRequestFilterAccountsFilter>]: never; }>(object: I_1): SubscribeRequestFilterAccountsFilter;
|
|
923
1032
|
};
|
|
924
1033
|
export declare const SubscribeRequestFilterAccountsFilterMemcmp: {
|
|
@@ -994,12 +1103,20 @@ export declare const SubscribeRequestFilterTransactions: {
|
|
|
994
1103
|
} & { [K_7 in Exclude<keyof I_1, keyof SubscribeRequestFilterTransactions>]: never; }>(object: I_1): SubscribeRequestFilterTransactions;
|
|
995
1104
|
};
|
|
996
1105
|
export declare const SubscribeRequestFilterBlocks: {
|
|
997
|
-
encode(
|
|
1106
|
+
encode(message: SubscribeRequestFilterBlocks, writer?: _m0.Writer): _m0.Writer;
|
|
998
1107
|
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequestFilterBlocks;
|
|
999
|
-
fromJSON(
|
|
1000
|
-
toJSON(
|
|
1001
|
-
create<I extends {
|
|
1002
|
-
|
|
1108
|
+
fromJSON(object: any): SubscribeRequestFilterBlocks;
|
|
1109
|
+
toJSON(message: SubscribeRequestFilterBlocks): unknown;
|
|
1110
|
+
create<I extends {
|
|
1111
|
+
accountInclude?: string[];
|
|
1112
|
+
} & {
|
|
1113
|
+
accountInclude?: string[] & string[] & { [K in Exclude<keyof I["accountInclude"], keyof string[]>]: never; };
|
|
1114
|
+
} & { [K_1 in Exclude<keyof I, "accountInclude">]: never; }>(base?: I): SubscribeRequestFilterBlocks;
|
|
1115
|
+
fromPartial<I_1 extends {
|
|
1116
|
+
accountInclude?: string[];
|
|
1117
|
+
} & {
|
|
1118
|
+
accountInclude?: string[] & string[] & { [K_2 in Exclude<keyof I_1["accountInclude"], keyof string[]>]: never; };
|
|
1119
|
+
} & { [K_3 in Exclude<keyof I_1, "accountInclude">]: never; }>(object: I_1): SubscribeRequestFilterBlocks;
|
|
1003
1120
|
};
|
|
1004
1121
|
export declare const SubscribeRequestFilterBlocksMeta: {
|
|
1005
1122
|
encode(_: SubscribeRequestFilterBlocksMeta, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1009,6 +1126,26 @@ export declare const SubscribeRequestFilterBlocksMeta: {
|
|
|
1009
1126
|
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): SubscribeRequestFilterBlocksMeta;
|
|
1010
1127
|
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): SubscribeRequestFilterBlocksMeta;
|
|
1011
1128
|
};
|
|
1129
|
+
export declare const SubscribeRequestAccountsDataSlice: {
|
|
1130
|
+
encode(message: SubscribeRequestAccountsDataSlice, writer?: _m0.Writer): _m0.Writer;
|
|
1131
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequestAccountsDataSlice;
|
|
1132
|
+
fromJSON(object: any): SubscribeRequestAccountsDataSlice;
|
|
1133
|
+
toJSON(message: SubscribeRequestAccountsDataSlice): unknown;
|
|
1134
|
+
create<I extends {
|
|
1135
|
+
offset?: number;
|
|
1136
|
+
length?: number;
|
|
1137
|
+
} & {
|
|
1138
|
+
offset?: number;
|
|
1139
|
+
length?: number;
|
|
1140
|
+
} & { [K in Exclude<keyof I, keyof SubscribeRequestAccountsDataSlice>]: never; }>(base?: I): SubscribeRequestAccountsDataSlice;
|
|
1141
|
+
fromPartial<I_1 extends {
|
|
1142
|
+
offset?: number;
|
|
1143
|
+
length?: number;
|
|
1144
|
+
} & {
|
|
1145
|
+
offset?: number;
|
|
1146
|
+
length?: number;
|
|
1147
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SubscribeRequestAccountsDataSlice>]: never; }>(object: I_1): SubscribeRequestAccountsDataSlice;
|
|
1148
|
+
};
|
|
1012
1149
|
export declare const SubscribeUpdate: {
|
|
1013
1150
|
encode(message: SubscribeUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
1014
1151
|
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeUpdate;
|