@triton-one/yellowstone-grpc 0.1.2 → 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/dist/grpc/geyser.d.ts +118 -40
- package/dist/grpc/geyser.js +41 -9
- package/package.json +1 -1
package/dist/grpc/geyser.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export interface SubscribeRequestFilterAccounts {
|
|
|
58
58
|
export interface SubscribeRequestFilterAccountsFilter {
|
|
59
59
|
memcmp?: SubscribeRequestFilterAccountsFilterMemcmp | undefined;
|
|
60
60
|
datasize?: number | undefined;
|
|
61
|
+
tokenAccountState?: boolean | undefined;
|
|
61
62
|
}
|
|
62
63
|
export interface SubscribeRequestFilterAccountsFilterMemcmp {
|
|
63
64
|
offset: number;
|
|
@@ -76,6 +77,7 @@ export interface SubscribeRequestFilterTransactions {
|
|
|
76
77
|
accountRequired: string[];
|
|
77
78
|
}
|
|
78
79
|
export interface SubscribeRequestFilterBlocks {
|
|
80
|
+
accountInclude: string[];
|
|
79
81
|
}
|
|
80
82
|
export interface SubscribeRequestFilterBlocksMeta {
|
|
81
83
|
}
|
|
@@ -202,6 +204,7 @@ export declare const SubscribeRequest: {
|
|
|
202
204
|
base64?: string | undefined;
|
|
203
205
|
};
|
|
204
206
|
datasize?: number | undefined;
|
|
207
|
+
tokenAccountState?: boolean | undefined;
|
|
205
208
|
}[];
|
|
206
209
|
};
|
|
207
210
|
};
|
|
@@ -219,7 +222,9 @@ export declare const SubscribeRequest: {
|
|
|
219
222
|
};
|
|
220
223
|
};
|
|
221
224
|
blocks?: {
|
|
222
|
-
[x: string]: {
|
|
225
|
+
[x: string]: {
|
|
226
|
+
accountInclude?: string[];
|
|
227
|
+
};
|
|
223
228
|
};
|
|
224
229
|
blocksMeta?: {
|
|
225
230
|
[x: string]: {};
|
|
@@ -242,6 +247,7 @@ export declare const SubscribeRequest: {
|
|
|
242
247
|
base64?: string | undefined;
|
|
243
248
|
};
|
|
244
249
|
datasize?: number | undefined;
|
|
250
|
+
tokenAccountState?: boolean | undefined;
|
|
245
251
|
}[];
|
|
246
252
|
};
|
|
247
253
|
} & {
|
|
@@ -256,6 +262,7 @@ export declare const SubscribeRequest: {
|
|
|
256
262
|
base64?: string | undefined;
|
|
257
263
|
};
|
|
258
264
|
datasize?: number | undefined;
|
|
265
|
+
tokenAccountState?: boolean | undefined;
|
|
259
266
|
}[];
|
|
260
267
|
} & {
|
|
261
268
|
account?: string[] & string[] & { [K in Exclude<keyof I["accounts"][string]["account"], keyof string[]>]: never; };
|
|
@@ -268,6 +275,7 @@ export declare const SubscribeRequest: {
|
|
|
268
275
|
base64?: string | undefined;
|
|
269
276
|
};
|
|
270
277
|
datasize?: number | undefined;
|
|
278
|
+
tokenAccountState?: boolean | undefined;
|
|
271
279
|
}[] & ({
|
|
272
280
|
memcmp?: {
|
|
273
281
|
offset?: number;
|
|
@@ -276,6 +284,7 @@ export declare const SubscribeRequest: {
|
|
|
276
284
|
base64?: string | undefined;
|
|
277
285
|
};
|
|
278
286
|
datasize?: number | undefined;
|
|
287
|
+
tokenAccountState?: boolean | undefined;
|
|
279
288
|
} & {
|
|
280
289
|
memcmp?: {
|
|
281
290
|
offset?: number;
|
|
@@ -289,6 +298,7 @@ export declare const SubscribeRequest: {
|
|
|
289
298
|
base64?: string | undefined;
|
|
290
299
|
} & { [K_2 in Exclude<keyof I["accounts"][string]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
291
300
|
datasize?: number | undefined;
|
|
301
|
+
tokenAccountState?: boolean | undefined;
|
|
292
302
|
} & { [K_3 in Exclude<keyof I["accounts"][string]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["accounts"][string]["filters"], keyof {
|
|
293
303
|
memcmp?: {
|
|
294
304
|
offset?: number;
|
|
@@ -297,6 +307,7 @@ export declare const SubscribeRequest: {
|
|
|
297
307
|
base64?: string | undefined;
|
|
298
308
|
};
|
|
299
309
|
datasize?: number | undefined;
|
|
310
|
+
tokenAccountState?: boolean | undefined;
|
|
300
311
|
}[]>]: never; };
|
|
301
312
|
} & { [K_5 in Exclude<keyof I["accounts"][string], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
302
313
|
} & { [K_6 in Exclude<keyof I["accounts"], string | number>]: never; };
|
|
@@ -332,15 +343,21 @@ export declare const SubscribeRequest: {
|
|
|
332
343
|
} & { [K_12 in Exclude<keyof I["transactions"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
333
344
|
} & { [K_13 in Exclude<keyof I["transactions"], string | number>]: never; };
|
|
334
345
|
blocks?: {
|
|
335
|
-
[x: string]: {
|
|
346
|
+
[x: string]: {
|
|
347
|
+
accountInclude?: string[];
|
|
348
|
+
};
|
|
336
349
|
} & {
|
|
337
|
-
[x: string]: {
|
|
338
|
-
|
|
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; };
|
|
339
356
|
blocksMeta?: {
|
|
340
357
|
[x: string]: {};
|
|
341
358
|
} & {
|
|
342
|
-
[x: string]: {} & {} & { [
|
|
343
|
-
} & { [
|
|
359
|
+
[x: string]: {} & {} & { [K_17 in Exclude<keyof I["blocksMeta"][string], never>]: never; };
|
|
360
|
+
} & { [K_18 in Exclude<keyof I["blocksMeta"], string | number>]: never; };
|
|
344
361
|
commitment?: CommitmentLevel | undefined;
|
|
345
362
|
accountsDataSlice?: {
|
|
346
363
|
offset?: number;
|
|
@@ -351,11 +368,11 @@ export declare const SubscribeRequest: {
|
|
|
351
368
|
} & {
|
|
352
369
|
offset?: number;
|
|
353
370
|
length?: number;
|
|
354
|
-
} & { [
|
|
371
|
+
} & { [K_19 in Exclude<keyof I["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_20 in Exclude<keyof I["accountsDataSlice"], keyof {
|
|
355
372
|
offset?: number;
|
|
356
373
|
length?: number;
|
|
357
374
|
}[]>]: never; };
|
|
358
|
-
} & { [
|
|
375
|
+
} & { [K_21 in Exclude<keyof I, keyof SubscribeRequest>]: never; }>(base?: I): SubscribeRequest;
|
|
359
376
|
fromPartial<I_1 extends {
|
|
360
377
|
accounts?: {
|
|
361
378
|
[x: string]: {
|
|
@@ -369,6 +386,7 @@ export declare const SubscribeRequest: {
|
|
|
369
386
|
base64?: string | undefined;
|
|
370
387
|
};
|
|
371
388
|
datasize?: number | undefined;
|
|
389
|
+
tokenAccountState?: boolean | undefined;
|
|
372
390
|
}[];
|
|
373
391
|
};
|
|
374
392
|
};
|
|
@@ -386,7 +404,9 @@ export declare const SubscribeRequest: {
|
|
|
386
404
|
};
|
|
387
405
|
};
|
|
388
406
|
blocks?: {
|
|
389
|
-
[x: string]: {
|
|
407
|
+
[x: string]: {
|
|
408
|
+
accountInclude?: string[];
|
|
409
|
+
};
|
|
390
410
|
};
|
|
391
411
|
blocksMeta?: {
|
|
392
412
|
[x: string]: {};
|
|
@@ -409,6 +429,7 @@ export declare const SubscribeRequest: {
|
|
|
409
429
|
base64?: string | undefined;
|
|
410
430
|
};
|
|
411
431
|
datasize?: number | undefined;
|
|
432
|
+
tokenAccountState?: boolean | undefined;
|
|
412
433
|
}[];
|
|
413
434
|
};
|
|
414
435
|
} & {
|
|
@@ -423,10 +444,11 @@ export declare const SubscribeRequest: {
|
|
|
423
444
|
base64?: string | undefined;
|
|
424
445
|
};
|
|
425
446
|
datasize?: number | undefined;
|
|
447
|
+
tokenAccountState?: boolean | undefined;
|
|
426
448
|
}[];
|
|
427
449
|
} & {
|
|
428
|
-
account?: string[] & string[] & { [
|
|
429
|
-
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; };
|
|
430
452
|
filters?: {
|
|
431
453
|
memcmp?: {
|
|
432
454
|
offset?: number;
|
|
@@ -435,6 +457,7 @@ export declare const SubscribeRequest: {
|
|
|
435
457
|
base64?: string | undefined;
|
|
436
458
|
};
|
|
437
459
|
datasize?: number | undefined;
|
|
460
|
+
tokenAccountState?: boolean | undefined;
|
|
438
461
|
}[] & ({
|
|
439
462
|
memcmp?: {
|
|
440
463
|
offset?: number;
|
|
@@ -443,6 +466,7 @@ export declare const SubscribeRequest: {
|
|
|
443
466
|
base64?: string | undefined;
|
|
444
467
|
};
|
|
445
468
|
datasize?: number | undefined;
|
|
469
|
+
tokenAccountState?: boolean | undefined;
|
|
446
470
|
} & {
|
|
447
471
|
memcmp?: {
|
|
448
472
|
offset?: number;
|
|
@@ -454,9 +478,10 @@ export declare const SubscribeRequest: {
|
|
|
454
478
|
bytes?: Uint8Array | undefined;
|
|
455
479
|
base58?: string | undefined;
|
|
456
480
|
base64?: string | undefined;
|
|
457
|
-
} & { [
|
|
481
|
+
} & { [K_24 in Exclude<keyof I_1["accounts"][string]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
458
482
|
datasize?: number | undefined;
|
|
459
|
-
|
|
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 {
|
|
460
485
|
memcmp?: {
|
|
461
486
|
offset?: number;
|
|
462
487
|
bytes?: Uint8Array | undefined;
|
|
@@ -464,14 +489,15 @@ export declare const SubscribeRequest: {
|
|
|
464
489
|
base64?: string | undefined;
|
|
465
490
|
};
|
|
466
491
|
datasize?: number | undefined;
|
|
492
|
+
tokenAccountState?: boolean | undefined;
|
|
467
493
|
}[]>]: never; };
|
|
468
|
-
} & { [
|
|
469
|
-
} & { [
|
|
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; };
|
|
470
496
|
slots?: {
|
|
471
497
|
[x: string]: {};
|
|
472
498
|
} & {
|
|
473
|
-
[x: string]: {} & {} & { [
|
|
474
|
-
} & { [
|
|
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; };
|
|
475
501
|
transactions?: {
|
|
476
502
|
[x: string]: {
|
|
477
503
|
vote?: boolean | undefined;
|
|
@@ -493,21 +519,27 @@ export declare const SubscribeRequest: {
|
|
|
493
519
|
vote?: boolean | undefined;
|
|
494
520
|
failed?: boolean | undefined;
|
|
495
521
|
signature?: string | undefined;
|
|
496
|
-
accountInclude?: string[] & string[] & { [
|
|
497
|
-
accountExclude?: string[] & string[] & { [
|
|
498
|
-
accountRequired?: string[] & string[] & { [
|
|
499
|
-
} & { [
|
|
500
|
-
} & { [
|
|
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; };
|
|
501
527
|
blocks?: {
|
|
502
|
-
[x: string]: {
|
|
528
|
+
[x: string]: {
|
|
529
|
+
accountInclude?: string[];
|
|
530
|
+
};
|
|
503
531
|
} & {
|
|
504
|
-
[x: string]: {
|
|
505
|
-
|
|
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; };
|
|
506
538
|
blocksMeta?: {
|
|
507
539
|
[x: string]: {};
|
|
508
540
|
} & {
|
|
509
|
-
[x: string]: {} & {} & { [
|
|
510
|
-
} & { [
|
|
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; };
|
|
511
543
|
commitment?: CommitmentLevel | undefined;
|
|
512
544
|
accountsDataSlice?: {
|
|
513
545
|
offset?: number;
|
|
@@ -518,11 +550,11 @@ export declare const SubscribeRequest: {
|
|
|
518
550
|
} & {
|
|
519
551
|
offset?: number;
|
|
520
552
|
length?: number;
|
|
521
|
-
} & { [
|
|
553
|
+
} & { [K_41 in Exclude<keyof I_1["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_42 in Exclude<keyof I_1["accountsDataSlice"], keyof {
|
|
522
554
|
offset?: number;
|
|
523
555
|
length?: number;
|
|
524
556
|
}[]>]: never; };
|
|
525
|
-
} & { [
|
|
557
|
+
} & { [K_43 in Exclude<keyof I_1, keyof SubscribeRequest>]: never; }>(object: I_1): SubscribeRequest;
|
|
526
558
|
};
|
|
527
559
|
export declare const SubscribeRequest_AccountsEntry: {
|
|
528
560
|
encode(message: SubscribeRequest_AccountsEntry, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -542,6 +574,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
542
574
|
base64?: string | undefined;
|
|
543
575
|
};
|
|
544
576
|
datasize?: number | undefined;
|
|
577
|
+
tokenAccountState?: boolean | undefined;
|
|
545
578
|
}[];
|
|
546
579
|
};
|
|
547
580
|
} & {
|
|
@@ -557,6 +590,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
557
590
|
base64?: string | undefined;
|
|
558
591
|
};
|
|
559
592
|
datasize?: number | undefined;
|
|
593
|
+
tokenAccountState?: boolean | undefined;
|
|
560
594
|
}[];
|
|
561
595
|
} & {
|
|
562
596
|
account?: string[] & string[] & { [K in Exclude<keyof I["value"]["account"], keyof string[]>]: never; };
|
|
@@ -569,6 +603,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
569
603
|
base64?: string | undefined;
|
|
570
604
|
};
|
|
571
605
|
datasize?: number | undefined;
|
|
606
|
+
tokenAccountState?: boolean | undefined;
|
|
572
607
|
}[] & ({
|
|
573
608
|
memcmp?: {
|
|
574
609
|
offset?: number;
|
|
@@ -577,6 +612,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
577
612
|
base64?: string | undefined;
|
|
578
613
|
};
|
|
579
614
|
datasize?: number | undefined;
|
|
615
|
+
tokenAccountState?: boolean | undefined;
|
|
580
616
|
} & {
|
|
581
617
|
memcmp?: {
|
|
582
618
|
offset?: number;
|
|
@@ -590,6 +626,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
590
626
|
base64?: string | undefined;
|
|
591
627
|
} & { [K_2 in Exclude<keyof I["value"]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
592
628
|
datasize?: number | undefined;
|
|
629
|
+
tokenAccountState?: boolean | undefined;
|
|
593
630
|
} & { [K_3 in Exclude<keyof I["value"]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["value"]["filters"], keyof {
|
|
594
631
|
memcmp?: {
|
|
595
632
|
offset?: number;
|
|
@@ -598,6 +635,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
598
635
|
base64?: string | undefined;
|
|
599
636
|
};
|
|
600
637
|
datasize?: number | undefined;
|
|
638
|
+
tokenAccountState?: boolean | undefined;
|
|
601
639
|
}[]>]: never; };
|
|
602
640
|
} & { [K_5 in Exclude<keyof I["value"], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
603
641
|
} & { [K_6 in Exclude<keyof I, keyof SubscribeRequest_AccountsEntry>]: never; }>(base?: I): SubscribeRequest_AccountsEntry;
|
|
@@ -614,6 +652,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
614
652
|
base64?: string | undefined;
|
|
615
653
|
};
|
|
616
654
|
datasize?: number | undefined;
|
|
655
|
+
tokenAccountState?: boolean | undefined;
|
|
617
656
|
}[];
|
|
618
657
|
};
|
|
619
658
|
} & {
|
|
@@ -629,6 +668,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
629
668
|
base64?: string | undefined;
|
|
630
669
|
};
|
|
631
670
|
datasize?: number | undefined;
|
|
671
|
+
tokenAccountState?: boolean | undefined;
|
|
632
672
|
}[];
|
|
633
673
|
} & {
|
|
634
674
|
account?: string[] & string[] & { [K_7 in Exclude<keyof I_1["value"]["account"], keyof string[]>]: never; };
|
|
@@ -641,6 +681,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
641
681
|
base64?: string | undefined;
|
|
642
682
|
};
|
|
643
683
|
datasize?: number | undefined;
|
|
684
|
+
tokenAccountState?: boolean | undefined;
|
|
644
685
|
}[] & ({
|
|
645
686
|
memcmp?: {
|
|
646
687
|
offset?: number;
|
|
@@ -649,6 +690,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
649
690
|
base64?: string | undefined;
|
|
650
691
|
};
|
|
651
692
|
datasize?: number | undefined;
|
|
693
|
+
tokenAccountState?: boolean | undefined;
|
|
652
694
|
} & {
|
|
653
695
|
memcmp?: {
|
|
654
696
|
offset?: number;
|
|
@@ -662,6 +704,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
662
704
|
base64?: string | undefined;
|
|
663
705
|
} & { [K_9 in Exclude<keyof I_1["value"]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
664
706
|
datasize?: number | undefined;
|
|
707
|
+
tokenAccountState?: boolean | undefined;
|
|
665
708
|
} & { [K_10 in Exclude<keyof I_1["value"]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_11 in Exclude<keyof I_1["value"]["filters"], keyof {
|
|
666
709
|
memcmp?: {
|
|
667
710
|
offset?: number;
|
|
@@ -670,6 +713,7 @@ export declare const SubscribeRequest_AccountsEntry: {
|
|
|
670
713
|
base64?: string | undefined;
|
|
671
714
|
};
|
|
672
715
|
datasize?: number | undefined;
|
|
716
|
+
tokenAccountState?: boolean | undefined;
|
|
673
717
|
}[]>]: never; };
|
|
674
718
|
} & { [K_12 in Exclude<keyof I_1["value"], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
675
719
|
} & { [K_13 in Exclude<keyof I_1, keyof SubscribeRequest_AccountsEntry>]: never; }>(object: I_1): SubscribeRequest_AccountsEntry;
|
|
@@ -763,18 +807,30 @@ export declare const SubscribeRequest_BlocksEntry: {
|
|
|
763
807
|
toJSON(message: SubscribeRequest_BlocksEntry): unknown;
|
|
764
808
|
create<I extends {
|
|
765
809
|
key?: string;
|
|
766
|
-
value?: {
|
|
810
|
+
value?: {
|
|
811
|
+
accountInclude?: string[];
|
|
812
|
+
};
|
|
767
813
|
} & {
|
|
768
814
|
key?: string;
|
|
769
|
-
value?: {
|
|
770
|
-
|
|
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;
|
|
771
821
|
fromPartial<I_1 extends {
|
|
772
822
|
key?: string;
|
|
773
|
-
value?: {
|
|
823
|
+
value?: {
|
|
824
|
+
accountInclude?: string[];
|
|
825
|
+
};
|
|
774
826
|
} & {
|
|
775
827
|
key?: string;
|
|
776
|
-
value?: {
|
|
777
|
-
|
|
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;
|
|
778
834
|
};
|
|
779
835
|
export declare const SubscribeRequest_BlocksMetaEntry: {
|
|
780
836
|
encode(message: SubscribeRequest_BlocksMetaEntry, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -812,6 +868,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
812
868
|
base64?: string | undefined;
|
|
813
869
|
};
|
|
814
870
|
datasize?: number | undefined;
|
|
871
|
+
tokenAccountState?: boolean | undefined;
|
|
815
872
|
}[];
|
|
816
873
|
} & {
|
|
817
874
|
account?: string[] & string[] & { [K in Exclude<keyof I["account"], keyof string[]>]: never; };
|
|
@@ -824,6 +881,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
824
881
|
base64?: string | undefined;
|
|
825
882
|
};
|
|
826
883
|
datasize?: number | undefined;
|
|
884
|
+
tokenAccountState?: boolean | undefined;
|
|
827
885
|
}[] & ({
|
|
828
886
|
memcmp?: {
|
|
829
887
|
offset?: number;
|
|
@@ -832,6 +890,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
832
890
|
base64?: string | undefined;
|
|
833
891
|
};
|
|
834
892
|
datasize?: number | undefined;
|
|
893
|
+
tokenAccountState?: boolean | undefined;
|
|
835
894
|
} & {
|
|
836
895
|
memcmp?: {
|
|
837
896
|
offset?: number;
|
|
@@ -845,6 +904,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
845
904
|
base64?: string | undefined;
|
|
846
905
|
} & { [K_2 in Exclude<keyof I["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
847
906
|
datasize?: number | undefined;
|
|
907
|
+
tokenAccountState?: boolean | undefined;
|
|
848
908
|
} & { [K_3 in Exclude<keyof I["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_4 in Exclude<keyof I["filters"], keyof {
|
|
849
909
|
memcmp?: {
|
|
850
910
|
offset?: number;
|
|
@@ -853,6 +913,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
853
913
|
base64?: string | undefined;
|
|
854
914
|
};
|
|
855
915
|
datasize?: number | undefined;
|
|
916
|
+
tokenAccountState?: boolean | undefined;
|
|
856
917
|
}[]>]: never; };
|
|
857
918
|
} & { [K_5 in Exclude<keyof I, keyof SubscribeRequestFilterAccounts>]: never; }>(base?: I): SubscribeRequestFilterAccounts;
|
|
858
919
|
fromPartial<I_1 extends {
|
|
@@ -866,6 +927,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
866
927
|
base64?: string | undefined;
|
|
867
928
|
};
|
|
868
929
|
datasize?: number | undefined;
|
|
930
|
+
tokenAccountState?: boolean | undefined;
|
|
869
931
|
}[];
|
|
870
932
|
} & {
|
|
871
933
|
account?: string[] & string[] & { [K_6 in Exclude<keyof I_1["account"], keyof string[]>]: never; };
|
|
@@ -878,6 +940,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
878
940
|
base64?: string | undefined;
|
|
879
941
|
};
|
|
880
942
|
datasize?: number | undefined;
|
|
943
|
+
tokenAccountState?: boolean | undefined;
|
|
881
944
|
}[] & ({
|
|
882
945
|
memcmp?: {
|
|
883
946
|
offset?: number;
|
|
@@ -886,6 +949,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
886
949
|
base64?: string | undefined;
|
|
887
950
|
};
|
|
888
951
|
datasize?: number | undefined;
|
|
952
|
+
tokenAccountState?: boolean | undefined;
|
|
889
953
|
} & {
|
|
890
954
|
memcmp?: {
|
|
891
955
|
offset?: number;
|
|
@@ -899,6 +963,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
899
963
|
base64?: string | undefined;
|
|
900
964
|
} & { [K_8 in Exclude<keyof I_1["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
901
965
|
datasize?: number | undefined;
|
|
966
|
+
tokenAccountState?: boolean | undefined;
|
|
902
967
|
} & { [K_9 in Exclude<keyof I_1["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_10 in Exclude<keyof I_1["filters"], keyof {
|
|
903
968
|
memcmp?: {
|
|
904
969
|
offset?: number;
|
|
@@ -907,6 +972,7 @@ export declare const SubscribeRequestFilterAccounts: {
|
|
|
907
972
|
base64?: string | undefined;
|
|
908
973
|
};
|
|
909
974
|
datasize?: number | undefined;
|
|
975
|
+
tokenAccountState?: boolean | undefined;
|
|
910
976
|
}[]>]: never; };
|
|
911
977
|
} & { [K_11 in Exclude<keyof I_1, keyof SubscribeRequestFilterAccounts>]: never; }>(object: I_1): SubscribeRequestFilterAccounts;
|
|
912
978
|
};
|
|
@@ -923,6 +989,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
923
989
|
base64?: string | undefined;
|
|
924
990
|
};
|
|
925
991
|
datasize?: number | undefined;
|
|
992
|
+
tokenAccountState?: boolean | undefined;
|
|
926
993
|
} & {
|
|
927
994
|
memcmp?: {
|
|
928
995
|
offset?: number;
|
|
@@ -936,6 +1003,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
936
1003
|
base64?: string | undefined;
|
|
937
1004
|
} & { [K in Exclude<keyof I["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
938
1005
|
datasize?: number | undefined;
|
|
1006
|
+
tokenAccountState?: boolean | undefined;
|
|
939
1007
|
} & { [K_1 in Exclude<keyof I, keyof SubscribeRequestFilterAccountsFilter>]: never; }>(base?: I): SubscribeRequestFilterAccountsFilter;
|
|
940
1008
|
fromPartial<I_1 extends {
|
|
941
1009
|
memcmp?: {
|
|
@@ -945,6 +1013,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
945
1013
|
base64?: string | undefined;
|
|
946
1014
|
};
|
|
947
1015
|
datasize?: number | undefined;
|
|
1016
|
+
tokenAccountState?: boolean | undefined;
|
|
948
1017
|
} & {
|
|
949
1018
|
memcmp?: {
|
|
950
1019
|
offset?: number;
|
|
@@ -958,6 +1027,7 @@ export declare const SubscribeRequestFilterAccountsFilter: {
|
|
|
958
1027
|
base64?: string | undefined;
|
|
959
1028
|
} & { [K_2 in Exclude<keyof I_1["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
960
1029
|
datasize?: number | undefined;
|
|
1030
|
+
tokenAccountState?: boolean | undefined;
|
|
961
1031
|
} & { [K_3 in Exclude<keyof I_1, keyof SubscribeRequestFilterAccountsFilter>]: never; }>(object: I_1): SubscribeRequestFilterAccountsFilter;
|
|
962
1032
|
};
|
|
963
1033
|
export declare const SubscribeRequestFilterAccountsFilterMemcmp: {
|
|
@@ -1033,12 +1103,20 @@ export declare const SubscribeRequestFilterTransactions: {
|
|
|
1033
1103
|
} & { [K_7 in Exclude<keyof I_1, keyof SubscribeRequestFilterTransactions>]: never; }>(object: I_1): SubscribeRequestFilterTransactions;
|
|
1034
1104
|
};
|
|
1035
1105
|
export declare const SubscribeRequestFilterBlocks: {
|
|
1036
|
-
encode(
|
|
1106
|
+
encode(message: SubscribeRequestFilterBlocks, writer?: _m0.Writer): _m0.Writer;
|
|
1037
1107
|
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequestFilterBlocks;
|
|
1038
|
-
fromJSON(
|
|
1039
|
-
toJSON(
|
|
1040
|
-
create<I extends {
|
|
1041
|
-
|
|
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;
|
|
1042
1120
|
};
|
|
1043
1121
|
export declare const SubscribeRequestFilterBlocksMeta: {
|
|
1044
1122
|
encode(_: SubscribeRequestFilterBlocksMeta, writer?: _m0.Writer): _m0.Writer;
|
package/dist/grpc/geyser.js
CHANGED
|
@@ -732,7 +732,7 @@ exports.SubscribeRequestFilterAccounts = {
|
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
734
|
function createBaseSubscribeRequestFilterAccountsFilter() {
|
|
735
|
-
return { memcmp: undefined, datasize: undefined };
|
|
735
|
+
return { memcmp: undefined, datasize: undefined, tokenAccountState: undefined };
|
|
736
736
|
}
|
|
737
737
|
exports.SubscribeRequestFilterAccountsFilter = {
|
|
738
738
|
encode: function (message, writer) {
|
|
@@ -743,6 +743,9 @@ exports.SubscribeRequestFilterAccountsFilter = {
|
|
|
743
743
|
if (message.datasize !== undefined) {
|
|
744
744
|
writer.uint32(16).uint64(message.datasize);
|
|
745
745
|
}
|
|
746
|
+
if (message.tokenAccountState !== undefined) {
|
|
747
|
+
writer.uint32(24).bool(message.tokenAccountState);
|
|
748
|
+
}
|
|
746
749
|
return writer;
|
|
747
750
|
},
|
|
748
751
|
decode: function (input, length) {
|
|
@@ -764,6 +767,12 @@ exports.SubscribeRequestFilterAccountsFilter = {
|
|
|
764
767
|
}
|
|
765
768
|
message.datasize = longToNumber(reader.uint64());
|
|
766
769
|
continue;
|
|
770
|
+
case 3:
|
|
771
|
+
if (tag !== 24) {
|
|
772
|
+
break;
|
|
773
|
+
}
|
|
774
|
+
message.tokenAccountState = reader.bool();
|
|
775
|
+
continue;
|
|
767
776
|
}
|
|
768
777
|
if ((tag & 7) === 4 || tag === 0) {
|
|
769
778
|
break;
|
|
@@ -775,7 +784,8 @@ exports.SubscribeRequestFilterAccountsFilter = {
|
|
|
775
784
|
fromJSON: function (object) {
|
|
776
785
|
return {
|
|
777
786
|
memcmp: isSet(object.memcmp) ? exports.SubscribeRequestFilterAccountsFilterMemcmp.fromJSON(object.memcmp) : undefined,
|
|
778
|
-
datasize: isSet(object.datasize) ? Number(object.datasize) : undefined
|
|
787
|
+
datasize: isSet(object.datasize) ? Number(object.datasize) : undefined,
|
|
788
|
+
tokenAccountState: isSet(object.tokenAccountState) ? Boolean(object.tokenAccountState) : undefined
|
|
779
789
|
};
|
|
780
790
|
},
|
|
781
791
|
toJSON: function (message) {
|
|
@@ -783,18 +793,20 @@ exports.SubscribeRequestFilterAccountsFilter = {
|
|
|
783
793
|
message.memcmp !== undefined &&
|
|
784
794
|
(obj.memcmp = message.memcmp ? exports.SubscribeRequestFilterAccountsFilterMemcmp.toJSON(message.memcmp) : undefined);
|
|
785
795
|
message.datasize !== undefined && (obj.datasize = Math.round(message.datasize));
|
|
796
|
+
message.tokenAccountState !== undefined && (obj.tokenAccountState = message.tokenAccountState);
|
|
786
797
|
return obj;
|
|
787
798
|
},
|
|
788
799
|
create: function (base) {
|
|
789
800
|
return exports.SubscribeRequestFilterAccountsFilter.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
790
801
|
},
|
|
791
802
|
fromPartial: function (object) {
|
|
792
|
-
var _a;
|
|
803
|
+
var _a, _b;
|
|
793
804
|
var message = createBaseSubscribeRequestFilterAccountsFilter();
|
|
794
805
|
message.memcmp = (object.memcmp !== undefined && object.memcmp !== null)
|
|
795
806
|
? exports.SubscribeRequestFilterAccountsFilterMemcmp.fromPartial(object.memcmp)
|
|
796
807
|
: undefined;
|
|
797
808
|
message.datasize = (_a = object.datasize) !== null && _a !== void 0 ? _a : undefined;
|
|
809
|
+
message.tokenAccountState = (_b = object.tokenAccountState) !== null && _b !== void 0 ? _b : undefined;
|
|
798
810
|
return message;
|
|
799
811
|
}
|
|
800
812
|
};
|
|
@@ -1063,11 +1075,15 @@ exports.SubscribeRequestFilterTransactions = {
|
|
|
1063
1075
|
}
|
|
1064
1076
|
};
|
|
1065
1077
|
function createBaseSubscribeRequestFilterBlocks() {
|
|
1066
|
-
return {};
|
|
1078
|
+
return { accountInclude: [] };
|
|
1067
1079
|
}
|
|
1068
1080
|
exports.SubscribeRequestFilterBlocks = {
|
|
1069
|
-
encode: function (
|
|
1081
|
+
encode: function (message, writer) {
|
|
1070
1082
|
if (writer === void 0) { writer = _m0.Writer.create(); }
|
|
1083
|
+
for (var _i = 0, _a = message.accountInclude; _i < _a.length; _i++) {
|
|
1084
|
+
var v = _a[_i];
|
|
1085
|
+
writer.uint32(10).string(v);
|
|
1086
|
+
}
|
|
1071
1087
|
return writer;
|
|
1072
1088
|
},
|
|
1073
1089
|
decode: function (input, length) {
|
|
@@ -1077,6 +1093,12 @@ exports.SubscribeRequestFilterBlocks = {
|
|
|
1077
1093
|
while (reader.pos < end) {
|
|
1078
1094
|
var tag = reader.uint32();
|
|
1079
1095
|
switch (tag >>> 3) {
|
|
1096
|
+
case 1:
|
|
1097
|
+
if (tag !== 10) {
|
|
1098
|
+
break;
|
|
1099
|
+
}
|
|
1100
|
+
message.accountInclude.push(reader.string());
|
|
1101
|
+
continue;
|
|
1080
1102
|
}
|
|
1081
1103
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1082
1104
|
break;
|
|
@@ -1085,18 +1107,28 @@ exports.SubscribeRequestFilterBlocks = {
|
|
|
1085
1107
|
}
|
|
1086
1108
|
return message;
|
|
1087
1109
|
},
|
|
1088
|
-
fromJSON: function (
|
|
1089
|
-
return {
|
|
1110
|
+
fromJSON: function (object) {
|
|
1111
|
+
return {
|
|
1112
|
+
accountInclude: Array.isArray(object === null || object === void 0 ? void 0 : object.accountInclude) ? object.accountInclude.map(function (e) { return String(e); }) : []
|
|
1113
|
+
};
|
|
1090
1114
|
},
|
|
1091
|
-
toJSON: function (
|
|
1115
|
+
toJSON: function (message) {
|
|
1092
1116
|
var obj = {};
|
|
1117
|
+
if (message.accountInclude) {
|
|
1118
|
+
obj.accountInclude = message.accountInclude.map(function (e) { return e; });
|
|
1119
|
+
}
|
|
1120
|
+
else {
|
|
1121
|
+
obj.accountInclude = [];
|
|
1122
|
+
}
|
|
1093
1123
|
return obj;
|
|
1094
1124
|
},
|
|
1095
1125
|
create: function (base) {
|
|
1096
1126
|
return exports.SubscribeRequestFilterBlocks.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1097
1127
|
},
|
|
1098
|
-
fromPartial: function (
|
|
1128
|
+
fromPartial: function (object) {
|
|
1129
|
+
var _a;
|
|
1099
1130
|
var message = createBaseSubscribeRequestFilterBlocks();
|
|
1131
|
+
message.accountInclude = ((_a = object.accountInclude) === null || _a === void 0 ? void 0 : _a.map(function (e) { return e; })) || [];
|
|
1100
1132
|
return message;
|
|
1101
1133
|
}
|
|
1102
1134
|
};
|