@triton-one/yellowstone-grpc 0.4.0 → 0.5.0
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 +389 -140
- package/dist/grpc/geyser.js +231 -7
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/grpc/geyser.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { CallOptions, ChannelCredentials, Client, ClientDuplexStream, ClientOptions, ClientUnaryCall, handleBidiStreamingCall, handleUnaryCall, Metadata, ServiceError, UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { BlockHeight, Rewards, Transaction, TransactionStatusMeta, UnixTimestamp } from "./solana-storage";
|
|
4
|
+
import { BlockHeight, Rewards, Transaction, TransactionError, TransactionStatusMeta, UnixTimestamp } from "./solana-storage";
|
|
5
5
|
export declare const protobufPackage = "geyser";
|
|
6
6
|
export declare enum CommitmentLevel {
|
|
7
7
|
PROCESSED = 0,
|
|
@@ -21,6 +21,9 @@ export interface SubscribeRequest {
|
|
|
21
21
|
transactions: {
|
|
22
22
|
[key: string]: SubscribeRequestFilterTransactions;
|
|
23
23
|
};
|
|
24
|
+
transactionsStatus: {
|
|
25
|
+
[key: string]: SubscribeRequestFilterTransactions;
|
|
26
|
+
};
|
|
24
27
|
blocks: {
|
|
25
28
|
[key: string]: SubscribeRequestFilterBlocks;
|
|
26
29
|
};
|
|
@@ -46,6 +49,10 @@ export interface SubscribeRequest_TransactionsEntry {
|
|
|
46
49
|
key: string;
|
|
47
50
|
value: SubscribeRequestFilterTransactions | undefined;
|
|
48
51
|
}
|
|
52
|
+
export interface SubscribeRequest_TransactionsStatusEntry {
|
|
53
|
+
key: string;
|
|
54
|
+
value: SubscribeRequestFilterTransactions | undefined;
|
|
55
|
+
}
|
|
49
56
|
export interface SubscribeRequest_BlocksEntry {
|
|
50
57
|
key: string;
|
|
51
58
|
value: SubscribeRequestFilterBlocks | undefined;
|
|
@@ -107,6 +114,7 @@ export interface SubscribeUpdate {
|
|
|
107
114
|
account?: SubscribeUpdateAccount | undefined;
|
|
108
115
|
slot?: SubscribeUpdateSlot | undefined;
|
|
109
116
|
transaction?: SubscribeUpdateTransaction | undefined;
|
|
117
|
+
transactionStatus?: SubscribeUpdateTransactionStatus | undefined;
|
|
110
118
|
block?: SubscribeUpdateBlock | undefined;
|
|
111
119
|
ping?: SubscribeUpdatePing | undefined;
|
|
112
120
|
pong?: SubscribeUpdatePong | undefined;
|
|
@@ -144,6 +152,13 @@ export interface SubscribeUpdateTransactionInfo {
|
|
|
144
152
|
meta: TransactionStatusMeta | undefined;
|
|
145
153
|
index: string;
|
|
146
154
|
}
|
|
155
|
+
export interface SubscribeUpdateTransactionStatus {
|
|
156
|
+
slot: string;
|
|
157
|
+
signature: Uint8Array;
|
|
158
|
+
isVote: boolean;
|
|
159
|
+
index: string;
|
|
160
|
+
err: TransactionError | undefined;
|
|
161
|
+
}
|
|
147
162
|
export interface SubscribeUpdateBlock {
|
|
148
163
|
slot: string;
|
|
149
164
|
blockhash: string;
|
|
@@ -260,6 +275,16 @@ export declare const SubscribeRequest: {
|
|
|
260
275
|
accountRequired?: string[];
|
|
261
276
|
};
|
|
262
277
|
};
|
|
278
|
+
transactionsStatus?: {
|
|
279
|
+
[x: string]: {
|
|
280
|
+
vote?: boolean | undefined;
|
|
281
|
+
failed?: boolean | undefined;
|
|
282
|
+
signature?: string | undefined;
|
|
283
|
+
accountInclude?: string[];
|
|
284
|
+
accountExclude?: string[];
|
|
285
|
+
accountRequired?: string[];
|
|
286
|
+
};
|
|
287
|
+
};
|
|
263
288
|
blocks?: {
|
|
264
289
|
[x: string]: {
|
|
265
290
|
accountInclude?: string[];
|
|
@@ -396,6 +421,32 @@ export declare const SubscribeRequest: {
|
|
|
396
421
|
accountRequired?: string[] & string[] & { [K_11 in Exclude<keyof I["transactions"][string]["accountRequired"], keyof string[]>]: never; };
|
|
397
422
|
} & { [K_12 in Exclude<keyof I["transactions"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
398
423
|
} & { [K_13 in Exclude<keyof I["transactions"], string | number>]: never; };
|
|
424
|
+
transactionsStatus?: {
|
|
425
|
+
[x: string]: {
|
|
426
|
+
vote?: boolean | undefined;
|
|
427
|
+
failed?: boolean | undefined;
|
|
428
|
+
signature?: string | undefined;
|
|
429
|
+
accountInclude?: string[];
|
|
430
|
+
accountExclude?: string[];
|
|
431
|
+
accountRequired?: string[];
|
|
432
|
+
};
|
|
433
|
+
} & {
|
|
434
|
+
[x: string]: {
|
|
435
|
+
vote?: boolean | undefined;
|
|
436
|
+
failed?: boolean | undefined;
|
|
437
|
+
signature?: string | undefined;
|
|
438
|
+
accountInclude?: string[];
|
|
439
|
+
accountExclude?: string[];
|
|
440
|
+
accountRequired?: string[];
|
|
441
|
+
} & {
|
|
442
|
+
vote?: boolean | undefined;
|
|
443
|
+
failed?: boolean | undefined;
|
|
444
|
+
signature?: string | undefined;
|
|
445
|
+
accountInclude?: string[] & string[] & { [K_14 in Exclude<keyof I["transactionsStatus"][string]["accountInclude"], keyof string[]>]: never; };
|
|
446
|
+
accountExclude?: string[] & string[] & { [K_15 in Exclude<keyof I["transactionsStatus"][string]["accountExclude"], keyof string[]>]: never; };
|
|
447
|
+
accountRequired?: string[] & string[] & { [K_16 in Exclude<keyof I["transactionsStatus"][string]["accountRequired"], keyof string[]>]: never; };
|
|
448
|
+
} & { [K_17 in Exclude<keyof I["transactionsStatus"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
449
|
+
} & { [K_18 in Exclude<keyof I["transactionsStatus"], string | number>]: never; };
|
|
399
450
|
blocks?: {
|
|
400
451
|
[x: string]: {
|
|
401
452
|
accountInclude?: string[];
|
|
@@ -410,22 +461,22 @@ export declare const SubscribeRequest: {
|
|
|
410
461
|
includeAccounts?: boolean | undefined;
|
|
411
462
|
includeEntries?: boolean | undefined;
|
|
412
463
|
} & {
|
|
413
|
-
accountInclude?: string[] & string[] & { [
|
|
464
|
+
accountInclude?: string[] & string[] & { [K_19 in Exclude<keyof I["blocks"][string]["accountInclude"], keyof string[]>]: never; };
|
|
414
465
|
includeTransactions?: boolean | undefined;
|
|
415
466
|
includeAccounts?: boolean | undefined;
|
|
416
467
|
includeEntries?: boolean | undefined;
|
|
417
|
-
} & { [
|
|
418
|
-
} & { [
|
|
468
|
+
} & { [K_20 in Exclude<keyof I["blocks"][string], keyof SubscribeRequestFilterBlocks>]: never; };
|
|
469
|
+
} & { [K_21 in Exclude<keyof I["blocks"], string | number>]: never; };
|
|
419
470
|
blocksMeta?: {
|
|
420
471
|
[x: string]: {};
|
|
421
472
|
} & {
|
|
422
|
-
[x: string]: {} & {} & { [
|
|
423
|
-
} & { [
|
|
473
|
+
[x: string]: {} & {} & { [K_22 in Exclude<keyof I["blocksMeta"][string], never>]: never; };
|
|
474
|
+
} & { [K_23 in Exclude<keyof I["blocksMeta"], string | number>]: never; };
|
|
424
475
|
entry?: {
|
|
425
476
|
[x: string]: {};
|
|
426
477
|
} & {
|
|
427
|
-
[x: string]: {} & {} & { [
|
|
428
|
-
} & { [
|
|
478
|
+
[x: string]: {} & {} & { [K_24 in Exclude<keyof I["entry"][string], never>]: never; };
|
|
479
|
+
} & { [K_25 in Exclude<keyof I["entry"], string | number>]: never; };
|
|
429
480
|
commitment?: CommitmentLevel | undefined;
|
|
430
481
|
accountsDataSlice?: {
|
|
431
482
|
offset?: string;
|
|
@@ -436,7 +487,7 @@ export declare const SubscribeRequest: {
|
|
|
436
487
|
} & {
|
|
437
488
|
offset?: string;
|
|
438
489
|
length?: string;
|
|
439
|
-
} & { [
|
|
490
|
+
} & { [K_26 in Exclude<keyof I["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_27 in Exclude<keyof I["accountsDataSlice"], keyof {
|
|
440
491
|
offset?: string;
|
|
441
492
|
length?: string;
|
|
442
493
|
}[]>]: never; };
|
|
@@ -444,8 +495,8 @@ export declare const SubscribeRequest: {
|
|
|
444
495
|
id?: number;
|
|
445
496
|
} & {
|
|
446
497
|
id?: number;
|
|
447
|
-
} & { [
|
|
448
|
-
} & { [
|
|
498
|
+
} & { [K_28 in Exclude<keyof I["ping"], "id">]: never; };
|
|
499
|
+
} & { [K_29 in Exclude<keyof I, keyof SubscribeRequest>]: never; }>(base?: I): SubscribeRequest;
|
|
449
500
|
fromPartial<I_1 extends {
|
|
450
501
|
accounts?: {
|
|
451
502
|
[x: string]: {
|
|
@@ -478,6 +529,16 @@ export declare const SubscribeRequest: {
|
|
|
478
529
|
accountRequired?: string[];
|
|
479
530
|
};
|
|
480
531
|
};
|
|
532
|
+
transactionsStatus?: {
|
|
533
|
+
[x: string]: {
|
|
534
|
+
vote?: boolean | undefined;
|
|
535
|
+
failed?: boolean | undefined;
|
|
536
|
+
signature?: string | undefined;
|
|
537
|
+
accountInclude?: string[];
|
|
538
|
+
accountExclude?: string[];
|
|
539
|
+
accountRequired?: string[];
|
|
540
|
+
};
|
|
541
|
+
};
|
|
481
542
|
blocks?: {
|
|
482
543
|
[x: string]: {
|
|
483
544
|
accountInclude?: string[];
|
|
@@ -531,8 +592,8 @@ export declare const SubscribeRequest: {
|
|
|
531
592
|
tokenAccountState?: boolean | undefined;
|
|
532
593
|
}[];
|
|
533
594
|
} & {
|
|
534
|
-
account?: string[] & string[] & { [
|
|
535
|
-
owner?: string[] & string[] & { [
|
|
595
|
+
account?: string[] & string[] & { [K_30 in Exclude<keyof I_1["accounts"][string]["account"], keyof string[]>]: never; };
|
|
596
|
+
owner?: string[] & string[] & { [K_31 in Exclude<keyof I_1["accounts"][string]["owner"], keyof string[]>]: never; };
|
|
536
597
|
filters?: {
|
|
537
598
|
memcmp?: {
|
|
538
599
|
offset?: string;
|
|
@@ -562,10 +623,10 @@ export declare const SubscribeRequest: {
|
|
|
562
623
|
bytes?: Uint8Array | undefined;
|
|
563
624
|
base58?: string | undefined;
|
|
564
625
|
base64?: string | undefined;
|
|
565
|
-
} & { [
|
|
626
|
+
} & { [K_32 in Exclude<keyof I_1["accounts"][string]["filters"][number]["memcmp"], keyof SubscribeRequestFilterAccountsFilterMemcmp>]: never; };
|
|
566
627
|
datasize?: string | undefined;
|
|
567
628
|
tokenAccountState?: boolean | undefined;
|
|
568
|
-
} & { [
|
|
629
|
+
} & { [K_33 in Exclude<keyof I_1["accounts"][string]["filters"][number], keyof SubscribeRequestFilterAccountsFilter>]: never; })[] & { [K_34 in Exclude<keyof I_1["accounts"][string]["filters"], keyof {
|
|
569
630
|
memcmp?: {
|
|
570
631
|
offset?: string;
|
|
571
632
|
bytes?: Uint8Array | undefined;
|
|
@@ -575,8 +636,8 @@ export declare const SubscribeRequest: {
|
|
|
575
636
|
datasize?: string | undefined;
|
|
576
637
|
tokenAccountState?: boolean | undefined;
|
|
577
638
|
}[]>]: never; };
|
|
578
|
-
} & { [
|
|
579
|
-
} & { [
|
|
639
|
+
} & { [K_35 in Exclude<keyof I_1["accounts"][string], keyof SubscribeRequestFilterAccounts>]: never; };
|
|
640
|
+
} & { [K_36 in Exclude<keyof I_1["accounts"], string | number>]: never; };
|
|
580
641
|
slots?: {
|
|
581
642
|
[x: string]: {
|
|
582
643
|
filterByCommitment?: boolean | undefined;
|
|
@@ -586,8 +647,8 @@ export declare const SubscribeRequest: {
|
|
|
586
647
|
filterByCommitment?: boolean | undefined;
|
|
587
648
|
} & {
|
|
588
649
|
filterByCommitment?: boolean | undefined;
|
|
589
|
-
} & { [
|
|
590
|
-
} & { [
|
|
650
|
+
} & { [K_37 in Exclude<keyof I_1["slots"][string], "filterByCommitment">]: never; };
|
|
651
|
+
} & { [K_38 in Exclude<keyof I_1["slots"], string | number>]: never; };
|
|
591
652
|
transactions?: {
|
|
592
653
|
[x: string]: {
|
|
593
654
|
vote?: boolean | undefined;
|
|
@@ -609,11 +670,37 @@ export declare const SubscribeRequest: {
|
|
|
609
670
|
vote?: boolean | undefined;
|
|
610
671
|
failed?: boolean | undefined;
|
|
611
672
|
signature?: string | undefined;
|
|
612
|
-
accountInclude?: string[] & string[] & { [
|
|
613
|
-
accountExclude?: string[] & string[] & { [
|
|
614
|
-
accountRequired?: string[] & string[] & { [
|
|
615
|
-
} & { [
|
|
616
|
-
} & { [
|
|
673
|
+
accountInclude?: string[] & string[] & { [K_39 in Exclude<keyof I_1["transactions"][string]["accountInclude"], keyof string[]>]: never; };
|
|
674
|
+
accountExclude?: string[] & string[] & { [K_40 in Exclude<keyof I_1["transactions"][string]["accountExclude"], keyof string[]>]: never; };
|
|
675
|
+
accountRequired?: string[] & string[] & { [K_41 in Exclude<keyof I_1["transactions"][string]["accountRequired"], keyof string[]>]: never; };
|
|
676
|
+
} & { [K_42 in Exclude<keyof I_1["transactions"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
677
|
+
} & { [K_43 in Exclude<keyof I_1["transactions"], string | number>]: never; };
|
|
678
|
+
transactionsStatus?: {
|
|
679
|
+
[x: string]: {
|
|
680
|
+
vote?: boolean | undefined;
|
|
681
|
+
failed?: boolean | undefined;
|
|
682
|
+
signature?: string | undefined;
|
|
683
|
+
accountInclude?: string[];
|
|
684
|
+
accountExclude?: string[];
|
|
685
|
+
accountRequired?: string[];
|
|
686
|
+
};
|
|
687
|
+
} & {
|
|
688
|
+
[x: string]: {
|
|
689
|
+
vote?: boolean | undefined;
|
|
690
|
+
failed?: boolean | undefined;
|
|
691
|
+
signature?: string | undefined;
|
|
692
|
+
accountInclude?: string[];
|
|
693
|
+
accountExclude?: string[];
|
|
694
|
+
accountRequired?: string[];
|
|
695
|
+
} & {
|
|
696
|
+
vote?: boolean | undefined;
|
|
697
|
+
failed?: boolean | undefined;
|
|
698
|
+
signature?: string | undefined;
|
|
699
|
+
accountInclude?: string[] & string[] & { [K_44 in Exclude<keyof I_1["transactionsStatus"][string]["accountInclude"], keyof string[]>]: never; };
|
|
700
|
+
accountExclude?: string[] & string[] & { [K_45 in Exclude<keyof I_1["transactionsStatus"][string]["accountExclude"], keyof string[]>]: never; };
|
|
701
|
+
accountRequired?: string[] & string[] & { [K_46 in Exclude<keyof I_1["transactionsStatus"][string]["accountRequired"], keyof string[]>]: never; };
|
|
702
|
+
} & { [K_47 in Exclude<keyof I_1["transactionsStatus"][string], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
703
|
+
} & { [K_48 in Exclude<keyof I_1["transactionsStatus"], string | number>]: never; };
|
|
617
704
|
blocks?: {
|
|
618
705
|
[x: string]: {
|
|
619
706
|
accountInclude?: string[];
|
|
@@ -628,22 +715,22 @@ export declare const SubscribeRequest: {
|
|
|
628
715
|
includeAccounts?: boolean | undefined;
|
|
629
716
|
includeEntries?: boolean | undefined;
|
|
630
717
|
} & {
|
|
631
|
-
accountInclude?: string[] & string[] & { [
|
|
718
|
+
accountInclude?: string[] & string[] & { [K_49 in Exclude<keyof I_1["blocks"][string]["accountInclude"], keyof string[]>]: never; };
|
|
632
719
|
includeTransactions?: boolean | undefined;
|
|
633
720
|
includeAccounts?: boolean | undefined;
|
|
634
721
|
includeEntries?: boolean | undefined;
|
|
635
|
-
} & { [
|
|
636
|
-
} & { [
|
|
722
|
+
} & { [K_50 in Exclude<keyof I_1["blocks"][string], keyof SubscribeRequestFilterBlocks>]: never; };
|
|
723
|
+
} & { [K_51 in Exclude<keyof I_1["blocks"], string | number>]: never; };
|
|
637
724
|
blocksMeta?: {
|
|
638
725
|
[x: string]: {};
|
|
639
726
|
} & {
|
|
640
|
-
[x: string]: {} & {} & { [
|
|
641
|
-
} & { [
|
|
727
|
+
[x: string]: {} & {} & { [K_52 in Exclude<keyof I_1["blocksMeta"][string], never>]: never; };
|
|
728
|
+
} & { [K_53 in Exclude<keyof I_1["blocksMeta"], string | number>]: never; };
|
|
642
729
|
entry?: {
|
|
643
730
|
[x: string]: {};
|
|
644
731
|
} & {
|
|
645
|
-
[x: string]: {} & {} & { [
|
|
646
|
-
} & { [
|
|
732
|
+
[x: string]: {} & {} & { [K_54 in Exclude<keyof I_1["entry"][string], never>]: never; };
|
|
733
|
+
} & { [K_55 in Exclude<keyof I_1["entry"], string | number>]: never; };
|
|
647
734
|
commitment?: CommitmentLevel | undefined;
|
|
648
735
|
accountsDataSlice?: {
|
|
649
736
|
offset?: string;
|
|
@@ -654,7 +741,7 @@ export declare const SubscribeRequest: {
|
|
|
654
741
|
} & {
|
|
655
742
|
offset?: string;
|
|
656
743
|
length?: string;
|
|
657
|
-
} & { [
|
|
744
|
+
} & { [K_56 in Exclude<keyof I_1["accountsDataSlice"][number], keyof SubscribeRequestAccountsDataSlice>]: never; })[] & { [K_57 in Exclude<keyof I_1["accountsDataSlice"], keyof {
|
|
658
745
|
offset?: string;
|
|
659
746
|
length?: string;
|
|
660
747
|
}[]>]: never; };
|
|
@@ -662,8 +749,8 @@ export declare const SubscribeRequest: {
|
|
|
662
749
|
id?: number;
|
|
663
750
|
} & {
|
|
664
751
|
id?: number;
|
|
665
|
-
} & { [
|
|
666
|
-
} & { [
|
|
752
|
+
} & { [K_58 in Exclude<keyof I_1["ping"], "id">]: never; };
|
|
753
|
+
} & { [K_59 in Exclude<keyof I_1, keyof SubscribeRequest>]: never; }>(object: I_1): SubscribeRequest;
|
|
667
754
|
};
|
|
668
755
|
export declare const SubscribeRequest_AccountsEntry: {
|
|
669
756
|
encode(message: SubscribeRequest_AccountsEntry, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -921,6 +1008,68 @@ export declare const SubscribeRequest_TransactionsEntry: {
|
|
|
921
1008
|
} & { [K_8 in Exclude<keyof I_1["value"], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
922
1009
|
} & { [K_9 in Exclude<keyof I_1, keyof SubscribeRequest_TransactionsEntry>]: never; }>(object: I_1): SubscribeRequest_TransactionsEntry;
|
|
923
1010
|
};
|
|
1011
|
+
export declare const SubscribeRequest_TransactionsStatusEntry: {
|
|
1012
|
+
encode(message: SubscribeRequest_TransactionsStatusEntry, writer?: _m0.Writer): _m0.Writer;
|
|
1013
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequest_TransactionsStatusEntry;
|
|
1014
|
+
fromJSON(object: any): SubscribeRequest_TransactionsStatusEntry;
|
|
1015
|
+
toJSON(message: SubscribeRequest_TransactionsStatusEntry): unknown;
|
|
1016
|
+
create<I extends {
|
|
1017
|
+
key?: string;
|
|
1018
|
+
value?: {
|
|
1019
|
+
vote?: boolean | undefined;
|
|
1020
|
+
failed?: boolean | undefined;
|
|
1021
|
+
signature?: string | undefined;
|
|
1022
|
+
accountInclude?: string[];
|
|
1023
|
+
accountExclude?: string[];
|
|
1024
|
+
accountRequired?: string[];
|
|
1025
|
+
};
|
|
1026
|
+
} & {
|
|
1027
|
+
key?: string;
|
|
1028
|
+
value?: {
|
|
1029
|
+
vote?: boolean | undefined;
|
|
1030
|
+
failed?: boolean | undefined;
|
|
1031
|
+
signature?: string | undefined;
|
|
1032
|
+
accountInclude?: string[];
|
|
1033
|
+
accountExclude?: string[];
|
|
1034
|
+
accountRequired?: string[];
|
|
1035
|
+
} & {
|
|
1036
|
+
vote?: boolean | undefined;
|
|
1037
|
+
failed?: boolean | undefined;
|
|
1038
|
+
signature?: string | undefined;
|
|
1039
|
+
accountInclude?: string[] & string[] & { [K in Exclude<keyof I["value"]["accountInclude"], keyof string[]>]: never; };
|
|
1040
|
+
accountExclude?: string[] & string[] & { [K_1 in Exclude<keyof I["value"]["accountExclude"], keyof string[]>]: never; };
|
|
1041
|
+
accountRequired?: string[] & string[] & { [K_2 in Exclude<keyof I["value"]["accountRequired"], keyof string[]>]: never; };
|
|
1042
|
+
} & { [K_3 in Exclude<keyof I["value"], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
1043
|
+
} & { [K_4 in Exclude<keyof I, keyof SubscribeRequest_TransactionsStatusEntry>]: never; }>(base?: I): SubscribeRequest_TransactionsStatusEntry;
|
|
1044
|
+
fromPartial<I_1 extends {
|
|
1045
|
+
key?: string;
|
|
1046
|
+
value?: {
|
|
1047
|
+
vote?: boolean | undefined;
|
|
1048
|
+
failed?: boolean | undefined;
|
|
1049
|
+
signature?: string | undefined;
|
|
1050
|
+
accountInclude?: string[];
|
|
1051
|
+
accountExclude?: string[];
|
|
1052
|
+
accountRequired?: string[];
|
|
1053
|
+
};
|
|
1054
|
+
} & {
|
|
1055
|
+
key?: string;
|
|
1056
|
+
value?: {
|
|
1057
|
+
vote?: boolean | undefined;
|
|
1058
|
+
failed?: boolean | undefined;
|
|
1059
|
+
signature?: string | undefined;
|
|
1060
|
+
accountInclude?: string[];
|
|
1061
|
+
accountExclude?: string[];
|
|
1062
|
+
accountRequired?: string[];
|
|
1063
|
+
} & {
|
|
1064
|
+
vote?: boolean | undefined;
|
|
1065
|
+
failed?: boolean | undefined;
|
|
1066
|
+
signature?: string | undefined;
|
|
1067
|
+
accountInclude?: string[] & string[] & { [K_5 in Exclude<keyof I_1["value"]["accountInclude"], keyof string[]>]: never; };
|
|
1068
|
+
accountExclude?: string[] & string[] & { [K_6 in Exclude<keyof I_1["value"]["accountExclude"], keyof string[]>]: never; };
|
|
1069
|
+
accountRequired?: string[] & string[] & { [K_7 in Exclude<keyof I_1["value"]["accountRequired"], keyof string[]>]: never; };
|
|
1070
|
+
} & { [K_8 in Exclude<keyof I_1["value"], keyof SubscribeRequestFilterTransactions>]: never; };
|
|
1071
|
+
} & { [K_9 in Exclude<keyof I_1, keyof SubscribeRequest_TransactionsStatusEntry>]: never; }>(object: I_1): SubscribeRequest_TransactionsStatusEntry;
|
|
1072
|
+
};
|
|
924
1073
|
export declare const SubscribeRequest_BlocksEntry: {
|
|
925
1074
|
encode(message: SubscribeRequest_BlocksEntry, writer?: _m0.Writer): _m0.Writer;
|
|
926
1075
|
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequest_BlocksEntry;
|
|
@@ -1465,6 +1614,15 @@ export declare const SubscribeUpdate: {
|
|
|
1465
1614
|
};
|
|
1466
1615
|
slot?: string;
|
|
1467
1616
|
};
|
|
1617
|
+
transactionStatus?: {
|
|
1618
|
+
slot?: string;
|
|
1619
|
+
signature?: Uint8Array;
|
|
1620
|
+
isVote?: boolean;
|
|
1621
|
+
index?: string;
|
|
1622
|
+
err?: {
|
|
1623
|
+
err?: Uint8Array;
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1468
1626
|
block?: {
|
|
1469
1627
|
slot?: string;
|
|
1470
1628
|
blockhash?: string;
|
|
@@ -2206,6 +2364,25 @@ export declare const SubscribeUpdate: {
|
|
|
2206
2364
|
} & { [K_33 in Exclude<keyof I["transaction"]["transaction"], keyof SubscribeUpdateTransactionInfo>]: never; };
|
|
2207
2365
|
slot?: string;
|
|
2208
2366
|
} & { [K_34 in Exclude<keyof I["transaction"], keyof SubscribeUpdateTransaction>]: never; };
|
|
2367
|
+
transactionStatus?: {
|
|
2368
|
+
slot?: string;
|
|
2369
|
+
signature?: Uint8Array;
|
|
2370
|
+
isVote?: boolean;
|
|
2371
|
+
index?: string;
|
|
2372
|
+
err?: {
|
|
2373
|
+
err?: Uint8Array;
|
|
2374
|
+
};
|
|
2375
|
+
} & {
|
|
2376
|
+
slot?: string;
|
|
2377
|
+
signature?: Uint8Array;
|
|
2378
|
+
isVote?: boolean;
|
|
2379
|
+
index?: string;
|
|
2380
|
+
err?: {
|
|
2381
|
+
err?: Uint8Array;
|
|
2382
|
+
} & {
|
|
2383
|
+
err?: Uint8Array;
|
|
2384
|
+
} & { [K_35 in Exclude<keyof I["transactionStatus"]["err"], "err">]: never; };
|
|
2385
|
+
} & { [K_36 in Exclude<keyof I["transactionStatus"], keyof SubscribeUpdateTransactionStatus>]: never; };
|
|
2209
2386
|
block?: {
|
|
2210
2387
|
slot?: string;
|
|
2211
2388
|
blockhash?: string;
|
|
@@ -2364,24 +2541,24 @@ export declare const SubscribeUpdate: {
|
|
|
2364
2541
|
postBalance?: string;
|
|
2365
2542
|
rewardType?: import("./solana-storage").RewardType;
|
|
2366
2543
|
commission?: string;
|
|
2367
|
-
} & { [
|
|
2544
|
+
} & { [K_37 in Exclude<keyof I["block"]["rewards"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_38 in Exclude<keyof I["block"]["rewards"]["rewards"], keyof {
|
|
2368
2545
|
pubkey?: string;
|
|
2369
2546
|
lamports?: string;
|
|
2370
2547
|
postBalance?: string;
|
|
2371
2548
|
rewardType?: import("./solana-storage").RewardType;
|
|
2372
2549
|
commission?: string;
|
|
2373
2550
|
}[]>]: never; };
|
|
2374
|
-
} & { [
|
|
2551
|
+
} & { [K_39 in Exclude<keyof I["block"]["rewards"], "rewards">]: never; };
|
|
2375
2552
|
blockTime?: {
|
|
2376
2553
|
timestamp?: string;
|
|
2377
2554
|
} & {
|
|
2378
2555
|
timestamp?: string;
|
|
2379
|
-
} & { [
|
|
2556
|
+
} & { [K_40 in Exclude<keyof I["block"]["blockTime"], "timestamp">]: never; };
|
|
2380
2557
|
blockHeight?: {
|
|
2381
2558
|
blockHeight?: string;
|
|
2382
2559
|
} & {
|
|
2383
2560
|
blockHeight?: string;
|
|
2384
|
-
} & { [
|
|
2561
|
+
} & { [K_41 in Exclude<keyof I["block"]["blockHeight"], "blockHeight">]: never; };
|
|
2385
2562
|
parentSlot?: string;
|
|
2386
2563
|
parentBlockhash?: string;
|
|
2387
2564
|
executedTransactionCount?: string;
|
|
@@ -2583,7 +2760,7 @@ export declare const SubscribeUpdate: {
|
|
|
2583
2760
|
}[];
|
|
2584
2761
|
};
|
|
2585
2762
|
} & {
|
|
2586
|
-
signatures?: Uint8Array[] & Uint8Array[] & { [
|
|
2763
|
+
signatures?: Uint8Array[] & Uint8Array[] & { [K_42 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["signatures"], keyof Uint8Array[]>]: never; };
|
|
2587
2764
|
message?: {
|
|
2588
2765
|
header?: {
|
|
2589
2766
|
numRequiredSignatures?: number;
|
|
@@ -2612,8 +2789,8 @@ export declare const SubscribeUpdate: {
|
|
|
2612
2789
|
numRequiredSignatures?: number;
|
|
2613
2790
|
numReadonlySignedAccounts?: number;
|
|
2614
2791
|
numReadonlyUnsignedAccounts?: number;
|
|
2615
|
-
} & { [
|
|
2616
|
-
accountKeys?: Uint8Array[] & Uint8Array[] & { [
|
|
2792
|
+
} & { [K_43 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["header"], keyof import("./solana-storage").MessageHeader>]: never; };
|
|
2793
|
+
accountKeys?: Uint8Array[] & Uint8Array[] & { [K_44 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["accountKeys"], keyof Uint8Array[]>]: never; };
|
|
2617
2794
|
recentBlockhash?: Uint8Array;
|
|
2618
2795
|
instructions?: {
|
|
2619
2796
|
programIdIndex?: number;
|
|
@@ -2627,7 +2804,7 @@ export declare const SubscribeUpdate: {
|
|
|
2627
2804
|
programIdIndex?: number;
|
|
2628
2805
|
accounts?: Uint8Array;
|
|
2629
2806
|
data?: Uint8Array;
|
|
2630
|
-
} & { [
|
|
2807
|
+
} & { [K_45 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["instructions"][number], keyof import("./solana-storage").CompiledInstruction>]: never; })[] & { [K_46 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["instructions"], keyof {
|
|
2631
2808
|
programIdIndex?: number;
|
|
2632
2809
|
accounts?: Uint8Array;
|
|
2633
2810
|
data?: Uint8Array;
|
|
@@ -2645,13 +2822,13 @@ export declare const SubscribeUpdate: {
|
|
|
2645
2822
|
accountKey?: Uint8Array;
|
|
2646
2823
|
writableIndexes?: Uint8Array;
|
|
2647
2824
|
readonlyIndexes?: Uint8Array;
|
|
2648
|
-
} & { [
|
|
2825
|
+
} & { [K_47 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["addressTableLookups"][number], keyof import("./solana-storage").MessageAddressTableLookup>]: never; })[] & { [K_48 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"]["addressTableLookups"], keyof {
|
|
2649
2826
|
accountKey?: Uint8Array;
|
|
2650
2827
|
writableIndexes?: Uint8Array;
|
|
2651
2828
|
readonlyIndexes?: Uint8Array;
|
|
2652
2829
|
}[]>]: never; };
|
|
2653
|
-
} & { [
|
|
2654
|
-
} & { [
|
|
2830
|
+
} & { [K_49 in Exclude<keyof I["block"]["transactions"][number]["transaction"]["message"], keyof import("./solana-storage").Message>]: never; };
|
|
2831
|
+
} & { [K_50 in Exclude<keyof I["block"]["transactions"][number]["transaction"], keyof Transaction>]: never; };
|
|
2655
2832
|
meta?: {
|
|
2656
2833
|
err?: {
|
|
2657
2834
|
err?: Uint8Array;
|
|
@@ -2715,10 +2892,10 @@ export declare const SubscribeUpdate: {
|
|
|
2715
2892
|
err?: Uint8Array;
|
|
2716
2893
|
} & {
|
|
2717
2894
|
err?: Uint8Array;
|
|
2718
|
-
} & { [
|
|
2895
|
+
} & { [K_51 in Exclude<keyof I["block"]["transactions"][number]["meta"]["err"], "err">]: never; };
|
|
2719
2896
|
fee?: string;
|
|
2720
|
-
preBalances?: string[] & string[] & { [
|
|
2721
|
-
postBalances?: string[] & string[] & { [
|
|
2897
|
+
preBalances?: string[] & string[] & { [K_52 in Exclude<keyof I["block"]["transactions"][number]["meta"]["preBalances"], keyof string[]>]: never; };
|
|
2898
|
+
postBalances?: string[] & string[] & { [K_53 in Exclude<keyof I["block"]["transactions"][number]["meta"]["postBalances"], keyof string[]>]: never; };
|
|
2722
2899
|
innerInstructions?: {
|
|
2723
2900
|
index?: number;
|
|
2724
2901
|
instructions?: {
|
|
@@ -2752,13 +2929,13 @@ export declare const SubscribeUpdate: {
|
|
|
2752
2929
|
accounts?: Uint8Array;
|
|
2753
2930
|
data?: Uint8Array;
|
|
2754
2931
|
stackHeight?: number;
|
|
2755
|
-
} & { [
|
|
2932
|
+
} & { [K_54 in Exclude<keyof I["block"]["transactions"][number]["meta"]["innerInstructions"][number]["instructions"][number], keyof import("./solana-storage").InnerInstruction>]: never; })[] & { [K_55 in Exclude<keyof I["block"]["transactions"][number]["meta"]["innerInstructions"][number]["instructions"], keyof {
|
|
2756
2933
|
programIdIndex?: number;
|
|
2757
2934
|
accounts?: Uint8Array;
|
|
2758
2935
|
data?: Uint8Array;
|
|
2759
2936
|
stackHeight?: number;
|
|
2760
2937
|
}[]>]: never; };
|
|
2761
|
-
} & { [
|
|
2938
|
+
} & { [K_56 in Exclude<keyof I["block"]["transactions"][number]["meta"]["innerInstructions"][number], keyof import("./solana-storage").InnerInstructions>]: never; })[] & { [K_57 in Exclude<keyof I["block"]["transactions"][number]["meta"]["innerInstructions"], keyof {
|
|
2762
2939
|
index?: number;
|
|
2763
2940
|
instructions?: {
|
|
2764
2941
|
programIdIndex?: number;
|
|
@@ -2768,7 +2945,7 @@ export declare const SubscribeUpdate: {
|
|
|
2768
2945
|
}[];
|
|
2769
2946
|
}[]>]: never; };
|
|
2770
2947
|
innerInstructionsNone?: boolean;
|
|
2771
|
-
logMessages?: string[] & string[] & { [
|
|
2948
|
+
logMessages?: string[] & string[] & { [K_58 in Exclude<keyof I["block"]["transactions"][number]["meta"]["logMessages"], keyof string[]>]: never; };
|
|
2772
2949
|
logMessagesNone?: boolean;
|
|
2773
2950
|
preTokenBalances?: {
|
|
2774
2951
|
accountIndex?: number;
|
|
@@ -2805,10 +2982,10 @@ export declare const SubscribeUpdate: {
|
|
|
2805
2982
|
decimals?: number;
|
|
2806
2983
|
amount?: string;
|
|
2807
2984
|
uiAmountString?: string;
|
|
2808
|
-
} & { [
|
|
2985
|
+
} & { [K_59 in Exclude<keyof I["block"]["transactions"][number]["meta"]["preTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
2809
2986
|
owner?: string;
|
|
2810
2987
|
programId?: string;
|
|
2811
|
-
} & { [
|
|
2988
|
+
} & { [K_60 in Exclude<keyof I["block"]["transactions"][number]["meta"]["preTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_61 in Exclude<keyof I["block"]["transactions"][number]["meta"]["preTokenBalances"], keyof {
|
|
2812
2989
|
accountIndex?: number;
|
|
2813
2990
|
mint?: string;
|
|
2814
2991
|
uiTokenAmount?: {
|
|
@@ -2855,10 +3032,10 @@ export declare const SubscribeUpdate: {
|
|
|
2855
3032
|
decimals?: number;
|
|
2856
3033
|
amount?: string;
|
|
2857
3034
|
uiAmountString?: string;
|
|
2858
|
-
} & { [
|
|
3035
|
+
} & { [K_62 in Exclude<keyof I["block"]["transactions"][number]["meta"]["postTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
2859
3036
|
owner?: string;
|
|
2860
3037
|
programId?: string;
|
|
2861
|
-
} & { [
|
|
3038
|
+
} & { [K_63 in Exclude<keyof I["block"]["transactions"][number]["meta"]["postTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_64 in Exclude<keyof I["block"]["transactions"][number]["meta"]["postTokenBalances"], keyof {
|
|
2862
3039
|
accountIndex?: number;
|
|
2863
3040
|
mint?: string;
|
|
2864
3041
|
uiTokenAmount?: {
|
|
@@ -2888,27 +3065,27 @@ export declare const SubscribeUpdate: {
|
|
|
2888
3065
|
postBalance?: string;
|
|
2889
3066
|
rewardType?: import("./solana-storage").RewardType;
|
|
2890
3067
|
commission?: string;
|
|
2891
|
-
} & { [
|
|
3068
|
+
} & { [K_65 in Exclude<keyof I["block"]["transactions"][number]["meta"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_66 in Exclude<keyof I["block"]["transactions"][number]["meta"]["rewards"], keyof {
|
|
2892
3069
|
pubkey?: string;
|
|
2893
3070
|
lamports?: string;
|
|
2894
3071
|
postBalance?: string;
|
|
2895
3072
|
rewardType?: import("./solana-storage").RewardType;
|
|
2896
3073
|
commission?: string;
|
|
2897
3074
|
}[]>]: never; };
|
|
2898
|
-
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
2899
|
-
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
3075
|
+
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [K_67 in Exclude<keyof I["block"]["transactions"][number]["meta"]["loadedWritableAddresses"], keyof Uint8Array[]>]: never; };
|
|
3076
|
+
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [K_68 in Exclude<keyof I["block"]["transactions"][number]["meta"]["loadedReadonlyAddresses"], keyof Uint8Array[]>]: never; };
|
|
2900
3077
|
returnData?: {
|
|
2901
3078
|
programId?: Uint8Array;
|
|
2902
3079
|
data?: Uint8Array;
|
|
2903
3080
|
} & {
|
|
2904
3081
|
programId?: Uint8Array;
|
|
2905
3082
|
data?: Uint8Array;
|
|
2906
|
-
} & { [
|
|
3083
|
+
} & { [K_69 in Exclude<keyof I["block"]["transactions"][number]["meta"]["returnData"], keyof import("./solana-storage").ReturnData>]: never; };
|
|
2907
3084
|
returnDataNone?: boolean;
|
|
2908
3085
|
computeUnitsConsumed?: string;
|
|
2909
|
-
} & { [
|
|
3086
|
+
} & { [K_70 in Exclude<keyof I["block"]["transactions"][number]["meta"], keyof TransactionStatusMeta>]: never; };
|
|
2910
3087
|
index?: string;
|
|
2911
|
-
} & { [
|
|
3088
|
+
} & { [K_71 in Exclude<keyof I["block"]["transactions"][number], keyof SubscribeUpdateTransactionInfo>]: never; })[] & { [K_72 in Exclude<keyof I["block"]["transactions"], keyof {
|
|
2912
3089
|
signature?: Uint8Array;
|
|
2913
3090
|
isVote?: boolean;
|
|
2914
3091
|
transaction?: {
|
|
@@ -3023,7 +3200,7 @@ export declare const SubscribeUpdate: {
|
|
|
3023
3200
|
data?: Uint8Array;
|
|
3024
3201
|
writeVersion?: string;
|
|
3025
3202
|
txnSignature?: Uint8Array | undefined;
|
|
3026
|
-
} & { [
|
|
3203
|
+
} & { [K_73 in Exclude<keyof I["block"]["accounts"][number], keyof SubscribeUpdateAccountInfo>]: never; })[] & { [K_74 in Exclude<keyof I["block"]["accounts"], keyof {
|
|
3027
3204
|
pubkey?: Uint8Array;
|
|
3028
3205
|
lamports?: string;
|
|
3029
3206
|
owner?: Uint8Array;
|
|
@@ -3055,7 +3232,7 @@ export declare const SubscribeUpdate: {
|
|
|
3055
3232
|
hash?: Uint8Array;
|
|
3056
3233
|
executedTransactionCount?: string;
|
|
3057
3234
|
startingTransactionIndex?: string;
|
|
3058
|
-
} & { [
|
|
3235
|
+
} & { [K_75 in Exclude<keyof I["block"]["entries"][number], keyof SubscribeUpdateEntry>]: never; })[] & { [K_76 in Exclude<keyof I["block"]["entries"], keyof {
|
|
3059
3236
|
slot?: string;
|
|
3060
3237
|
index?: string;
|
|
3061
3238
|
numHashes?: string;
|
|
@@ -3063,13 +3240,13 @@ export declare const SubscribeUpdate: {
|
|
|
3063
3240
|
executedTransactionCount?: string;
|
|
3064
3241
|
startingTransactionIndex?: string;
|
|
3065
3242
|
}[]>]: never; };
|
|
3066
|
-
} & { [
|
|
3067
|
-
ping?: {} & {} & { [
|
|
3243
|
+
} & { [K_77 in Exclude<keyof I["block"], keyof SubscribeUpdateBlock>]: never; };
|
|
3244
|
+
ping?: {} & {} & { [K_78 in Exclude<keyof I["ping"], never>]: never; };
|
|
3068
3245
|
pong?: {
|
|
3069
3246
|
id?: number;
|
|
3070
3247
|
} & {
|
|
3071
3248
|
id?: number;
|
|
3072
|
-
} & { [
|
|
3249
|
+
} & { [K_79 in Exclude<keyof I["pong"], "id">]: never; };
|
|
3073
3250
|
blockMeta?: {
|
|
3074
3251
|
slot?: string;
|
|
3075
3252
|
blockhash?: string;
|
|
@@ -3122,29 +3299,29 @@ export declare const SubscribeUpdate: {
|
|
|
3122
3299
|
postBalance?: string;
|
|
3123
3300
|
rewardType?: import("./solana-storage").RewardType;
|
|
3124
3301
|
commission?: string;
|
|
3125
|
-
} & { [
|
|
3302
|
+
} & { [K_80 in Exclude<keyof I["blockMeta"]["rewards"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_81 in Exclude<keyof I["blockMeta"]["rewards"]["rewards"], keyof {
|
|
3126
3303
|
pubkey?: string;
|
|
3127
3304
|
lamports?: string;
|
|
3128
3305
|
postBalance?: string;
|
|
3129
3306
|
rewardType?: import("./solana-storage").RewardType;
|
|
3130
3307
|
commission?: string;
|
|
3131
3308
|
}[]>]: never; };
|
|
3132
|
-
} & { [
|
|
3309
|
+
} & { [K_82 in Exclude<keyof I["blockMeta"]["rewards"], "rewards">]: never; };
|
|
3133
3310
|
blockTime?: {
|
|
3134
3311
|
timestamp?: string;
|
|
3135
3312
|
} & {
|
|
3136
3313
|
timestamp?: string;
|
|
3137
|
-
} & { [
|
|
3314
|
+
} & { [K_83 in Exclude<keyof I["blockMeta"]["blockTime"], "timestamp">]: never; };
|
|
3138
3315
|
blockHeight?: {
|
|
3139
3316
|
blockHeight?: string;
|
|
3140
3317
|
} & {
|
|
3141
3318
|
blockHeight?: string;
|
|
3142
|
-
} & { [
|
|
3319
|
+
} & { [K_84 in Exclude<keyof I["blockMeta"]["blockHeight"], "blockHeight">]: never; };
|
|
3143
3320
|
parentSlot?: string;
|
|
3144
3321
|
parentBlockhash?: string;
|
|
3145
3322
|
executedTransactionCount?: string;
|
|
3146
3323
|
entriesCount?: string;
|
|
3147
|
-
} & { [
|
|
3324
|
+
} & { [K_85 in Exclude<keyof I["blockMeta"], keyof SubscribeUpdateBlockMeta>]: never; };
|
|
3148
3325
|
entry?: {
|
|
3149
3326
|
slot?: string;
|
|
3150
3327
|
index?: string;
|
|
@@ -3159,8 +3336,8 @@ export declare const SubscribeUpdate: {
|
|
|
3159
3336
|
hash?: Uint8Array;
|
|
3160
3337
|
executedTransactionCount?: string;
|
|
3161
3338
|
startingTransactionIndex?: string;
|
|
3162
|
-
} & { [
|
|
3163
|
-
} & { [
|
|
3339
|
+
} & { [K_86 in Exclude<keyof I["entry"], keyof SubscribeUpdateEntry>]: never; };
|
|
3340
|
+
} & { [K_87 in Exclude<keyof I, keyof SubscribeUpdate>]: never; }>(base?: I): SubscribeUpdate;
|
|
3164
3341
|
fromPartial<I_1 extends {
|
|
3165
3342
|
filters?: string[];
|
|
3166
3343
|
account?: {
|
|
@@ -3272,6 +3449,15 @@ export declare const SubscribeUpdate: {
|
|
|
3272
3449
|
};
|
|
3273
3450
|
slot?: string;
|
|
3274
3451
|
};
|
|
3452
|
+
transactionStatus?: {
|
|
3453
|
+
slot?: string;
|
|
3454
|
+
signature?: Uint8Array;
|
|
3455
|
+
isVote?: boolean;
|
|
3456
|
+
index?: string;
|
|
3457
|
+
err?: {
|
|
3458
|
+
err?: Uint8Array;
|
|
3459
|
+
};
|
|
3460
|
+
};
|
|
3275
3461
|
block?: {
|
|
3276
3462
|
slot?: string;
|
|
3277
3463
|
blockhash?: string;
|
|
@@ -3437,7 +3623,7 @@ export declare const SubscribeUpdate: {
|
|
|
3437
3623
|
startingTransactionIndex?: string;
|
|
3438
3624
|
};
|
|
3439
3625
|
} & {
|
|
3440
|
-
filters?: string[] & string[] & { [
|
|
3626
|
+
filters?: string[] & string[] & { [K_88 in Exclude<keyof I_1["filters"], keyof string[]>]: never; };
|
|
3441
3627
|
account?: {
|
|
3442
3628
|
account?: {
|
|
3443
3629
|
pubkey?: Uint8Array;
|
|
@@ -3470,10 +3656,10 @@ export declare const SubscribeUpdate: {
|
|
|
3470
3656
|
data?: Uint8Array;
|
|
3471
3657
|
writeVersion?: string;
|
|
3472
3658
|
txnSignature?: Uint8Array | undefined;
|
|
3473
|
-
} & { [
|
|
3659
|
+
} & { [K_89 in Exclude<keyof I_1["account"]["account"], keyof SubscribeUpdateAccountInfo>]: never; };
|
|
3474
3660
|
slot?: string;
|
|
3475
3661
|
isStartup?: boolean;
|
|
3476
|
-
} & { [
|
|
3662
|
+
} & { [K_90 in Exclude<keyof I_1["account"], keyof SubscribeUpdateAccount>]: never; };
|
|
3477
3663
|
slot?: {
|
|
3478
3664
|
slot?: string;
|
|
3479
3665
|
parent?: string | undefined;
|
|
@@ -3482,7 +3668,7 @@ export declare const SubscribeUpdate: {
|
|
|
3482
3668
|
slot?: string;
|
|
3483
3669
|
parent?: string | undefined;
|
|
3484
3670
|
status?: CommitmentLevel;
|
|
3485
|
-
} & { [
|
|
3671
|
+
} & { [K_91 in Exclude<keyof I_1["slot"], keyof SubscribeUpdateSlot>]: never; };
|
|
3486
3672
|
transaction?: {
|
|
3487
3673
|
transaction?: {
|
|
3488
3674
|
signature?: Uint8Array;
|
|
@@ -3685,7 +3871,7 @@ export declare const SubscribeUpdate: {
|
|
|
3685
3871
|
}[];
|
|
3686
3872
|
};
|
|
3687
3873
|
} & {
|
|
3688
|
-
signatures?: Uint8Array[] & Uint8Array[] & { [
|
|
3874
|
+
signatures?: Uint8Array[] & Uint8Array[] & { [K_92 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["signatures"], keyof Uint8Array[]>]: never; };
|
|
3689
3875
|
message?: {
|
|
3690
3876
|
header?: {
|
|
3691
3877
|
numRequiredSignatures?: number;
|
|
@@ -3714,8 +3900,8 @@ export declare const SubscribeUpdate: {
|
|
|
3714
3900
|
numRequiredSignatures?: number;
|
|
3715
3901
|
numReadonlySignedAccounts?: number;
|
|
3716
3902
|
numReadonlyUnsignedAccounts?: number;
|
|
3717
|
-
} & { [
|
|
3718
|
-
accountKeys?: Uint8Array[] & Uint8Array[] & { [
|
|
3903
|
+
} & { [K_93 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["header"], keyof import("./solana-storage").MessageHeader>]: never; };
|
|
3904
|
+
accountKeys?: Uint8Array[] & Uint8Array[] & { [K_94 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["accountKeys"], keyof Uint8Array[]>]: never; };
|
|
3719
3905
|
recentBlockhash?: Uint8Array;
|
|
3720
3906
|
instructions?: {
|
|
3721
3907
|
programIdIndex?: number;
|
|
@@ -3729,7 +3915,7 @@ export declare const SubscribeUpdate: {
|
|
|
3729
3915
|
programIdIndex?: number;
|
|
3730
3916
|
accounts?: Uint8Array;
|
|
3731
3917
|
data?: Uint8Array;
|
|
3732
|
-
} & { [
|
|
3918
|
+
} & { [K_95 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["instructions"][number], keyof import("./solana-storage").CompiledInstruction>]: never; })[] & { [K_96 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["instructions"], keyof {
|
|
3733
3919
|
programIdIndex?: number;
|
|
3734
3920
|
accounts?: Uint8Array;
|
|
3735
3921
|
data?: Uint8Array;
|
|
@@ -3747,13 +3933,13 @@ export declare const SubscribeUpdate: {
|
|
|
3747
3933
|
accountKey?: Uint8Array;
|
|
3748
3934
|
writableIndexes?: Uint8Array;
|
|
3749
3935
|
readonlyIndexes?: Uint8Array;
|
|
3750
|
-
} & { [
|
|
3936
|
+
} & { [K_97 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["addressTableLookups"][number], keyof import("./solana-storage").MessageAddressTableLookup>]: never; })[] & { [K_98 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"]["addressTableLookups"], keyof {
|
|
3751
3937
|
accountKey?: Uint8Array;
|
|
3752
3938
|
writableIndexes?: Uint8Array;
|
|
3753
3939
|
readonlyIndexes?: Uint8Array;
|
|
3754
3940
|
}[]>]: never; };
|
|
3755
|
-
} & { [
|
|
3756
|
-
} & { [
|
|
3941
|
+
} & { [K_99 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"]["message"], keyof import("./solana-storage").Message>]: never; };
|
|
3942
|
+
} & { [K_100 in Exclude<keyof I_1["transaction"]["transaction"]["transaction"], keyof Transaction>]: never; };
|
|
3757
3943
|
meta?: {
|
|
3758
3944
|
err?: {
|
|
3759
3945
|
err?: Uint8Array;
|
|
@@ -3817,10 +4003,10 @@ export declare const SubscribeUpdate: {
|
|
|
3817
4003
|
err?: Uint8Array;
|
|
3818
4004
|
} & {
|
|
3819
4005
|
err?: Uint8Array;
|
|
3820
|
-
} & { [
|
|
4006
|
+
} & { [K_101 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["err"], "err">]: never; };
|
|
3821
4007
|
fee?: string;
|
|
3822
|
-
preBalances?: string[] & string[] & { [
|
|
3823
|
-
postBalances?: string[] & string[] & { [
|
|
4008
|
+
preBalances?: string[] & string[] & { [K_102 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["preBalances"], keyof string[]>]: never; };
|
|
4009
|
+
postBalances?: string[] & string[] & { [K_103 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["postBalances"], keyof string[]>]: never; };
|
|
3824
4010
|
innerInstructions?: {
|
|
3825
4011
|
index?: number;
|
|
3826
4012
|
instructions?: {
|
|
@@ -3854,13 +4040,13 @@ export declare const SubscribeUpdate: {
|
|
|
3854
4040
|
accounts?: Uint8Array;
|
|
3855
4041
|
data?: Uint8Array;
|
|
3856
4042
|
stackHeight?: number;
|
|
3857
|
-
} & { [
|
|
4043
|
+
} & { [K_104 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["innerInstructions"][number]["instructions"][number], keyof import("./solana-storage").InnerInstruction>]: never; })[] & { [K_105 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["innerInstructions"][number]["instructions"], keyof {
|
|
3858
4044
|
programIdIndex?: number;
|
|
3859
4045
|
accounts?: Uint8Array;
|
|
3860
4046
|
data?: Uint8Array;
|
|
3861
4047
|
stackHeight?: number;
|
|
3862
4048
|
}[]>]: never; };
|
|
3863
|
-
} & { [
|
|
4049
|
+
} & { [K_106 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["innerInstructions"][number], keyof import("./solana-storage").InnerInstructions>]: never; })[] & { [K_107 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["innerInstructions"], keyof {
|
|
3864
4050
|
index?: number;
|
|
3865
4051
|
instructions?: {
|
|
3866
4052
|
programIdIndex?: number;
|
|
@@ -3870,7 +4056,7 @@ export declare const SubscribeUpdate: {
|
|
|
3870
4056
|
}[];
|
|
3871
4057
|
}[]>]: never; };
|
|
3872
4058
|
innerInstructionsNone?: boolean;
|
|
3873
|
-
logMessages?: string[] & string[] & { [
|
|
4059
|
+
logMessages?: string[] & string[] & { [K_108 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["logMessages"], keyof string[]>]: never; };
|
|
3874
4060
|
logMessagesNone?: boolean;
|
|
3875
4061
|
preTokenBalances?: {
|
|
3876
4062
|
accountIndex?: number;
|
|
@@ -3907,10 +4093,10 @@ export declare const SubscribeUpdate: {
|
|
|
3907
4093
|
decimals?: number;
|
|
3908
4094
|
amount?: string;
|
|
3909
4095
|
uiAmountString?: string;
|
|
3910
|
-
} & { [
|
|
4096
|
+
} & { [K_109 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["preTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
3911
4097
|
owner?: string;
|
|
3912
4098
|
programId?: string;
|
|
3913
|
-
} & { [
|
|
4099
|
+
} & { [K_110 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["preTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_111 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["preTokenBalances"], keyof {
|
|
3914
4100
|
accountIndex?: number;
|
|
3915
4101
|
mint?: string;
|
|
3916
4102
|
uiTokenAmount?: {
|
|
@@ -3957,10 +4143,10 @@ export declare const SubscribeUpdate: {
|
|
|
3957
4143
|
decimals?: number;
|
|
3958
4144
|
amount?: string;
|
|
3959
4145
|
uiAmountString?: string;
|
|
3960
|
-
} & { [
|
|
4146
|
+
} & { [K_112 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["postTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
3961
4147
|
owner?: string;
|
|
3962
4148
|
programId?: string;
|
|
3963
|
-
} & { [
|
|
4149
|
+
} & { [K_113 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["postTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_114 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["postTokenBalances"], keyof {
|
|
3964
4150
|
accountIndex?: number;
|
|
3965
4151
|
mint?: string;
|
|
3966
4152
|
uiTokenAmount?: {
|
|
@@ -3990,29 +4176,48 @@ export declare const SubscribeUpdate: {
|
|
|
3990
4176
|
postBalance?: string;
|
|
3991
4177
|
rewardType?: import("./solana-storage").RewardType;
|
|
3992
4178
|
commission?: string;
|
|
3993
|
-
} & { [
|
|
4179
|
+
} & { [K_115 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_116 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["rewards"], keyof {
|
|
3994
4180
|
pubkey?: string;
|
|
3995
4181
|
lamports?: string;
|
|
3996
4182
|
postBalance?: string;
|
|
3997
4183
|
rewardType?: import("./solana-storage").RewardType;
|
|
3998
4184
|
commission?: string;
|
|
3999
4185
|
}[]>]: never; };
|
|
4000
|
-
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
4001
|
-
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
4186
|
+
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [K_117 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["loadedWritableAddresses"], keyof Uint8Array[]>]: never; };
|
|
4187
|
+
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [K_118 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["loadedReadonlyAddresses"], keyof Uint8Array[]>]: never; };
|
|
4002
4188
|
returnData?: {
|
|
4003
4189
|
programId?: Uint8Array;
|
|
4004
4190
|
data?: Uint8Array;
|
|
4005
4191
|
} & {
|
|
4006
4192
|
programId?: Uint8Array;
|
|
4007
4193
|
data?: Uint8Array;
|
|
4008
|
-
} & { [
|
|
4194
|
+
} & { [K_119 in Exclude<keyof I_1["transaction"]["transaction"]["meta"]["returnData"], keyof import("./solana-storage").ReturnData>]: never; };
|
|
4009
4195
|
returnDataNone?: boolean;
|
|
4010
4196
|
computeUnitsConsumed?: string;
|
|
4011
|
-
} & { [
|
|
4197
|
+
} & { [K_120 in Exclude<keyof I_1["transaction"]["transaction"]["meta"], keyof TransactionStatusMeta>]: never; };
|
|
4012
4198
|
index?: string;
|
|
4013
|
-
} & { [
|
|
4199
|
+
} & { [K_121 in Exclude<keyof I_1["transaction"]["transaction"], keyof SubscribeUpdateTransactionInfo>]: never; };
|
|
4200
|
+
slot?: string;
|
|
4201
|
+
} & { [K_122 in Exclude<keyof I_1["transaction"], keyof SubscribeUpdateTransaction>]: never; };
|
|
4202
|
+
transactionStatus?: {
|
|
4014
4203
|
slot?: string;
|
|
4015
|
-
|
|
4204
|
+
signature?: Uint8Array;
|
|
4205
|
+
isVote?: boolean;
|
|
4206
|
+
index?: string;
|
|
4207
|
+
err?: {
|
|
4208
|
+
err?: Uint8Array;
|
|
4209
|
+
};
|
|
4210
|
+
} & {
|
|
4211
|
+
slot?: string;
|
|
4212
|
+
signature?: Uint8Array;
|
|
4213
|
+
isVote?: boolean;
|
|
4214
|
+
index?: string;
|
|
4215
|
+
err?: {
|
|
4216
|
+
err?: Uint8Array;
|
|
4217
|
+
} & {
|
|
4218
|
+
err?: Uint8Array;
|
|
4219
|
+
} & { [K_123 in Exclude<keyof I_1["transactionStatus"]["err"], "err">]: never; };
|
|
4220
|
+
} & { [K_124 in Exclude<keyof I_1["transactionStatus"], keyof SubscribeUpdateTransactionStatus>]: never; };
|
|
4016
4221
|
block?: {
|
|
4017
4222
|
slot?: string;
|
|
4018
4223
|
blockhash?: string;
|
|
@@ -4171,24 +4376,24 @@ export declare const SubscribeUpdate: {
|
|
|
4171
4376
|
postBalance?: string;
|
|
4172
4377
|
rewardType?: import("./solana-storage").RewardType;
|
|
4173
4378
|
commission?: string;
|
|
4174
|
-
} & { [
|
|
4379
|
+
} & { [K_125 in Exclude<keyof I_1["block"]["rewards"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_126 in Exclude<keyof I_1["block"]["rewards"]["rewards"], keyof {
|
|
4175
4380
|
pubkey?: string;
|
|
4176
4381
|
lamports?: string;
|
|
4177
4382
|
postBalance?: string;
|
|
4178
4383
|
rewardType?: import("./solana-storage").RewardType;
|
|
4179
4384
|
commission?: string;
|
|
4180
4385
|
}[]>]: never; };
|
|
4181
|
-
} & { [
|
|
4386
|
+
} & { [K_127 in Exclude<keyof I_1["block"]["rewards"], "rewards">]: never; };
|
|
4182
4387
|
blockTime?: {
|
|
4183
4388
|
timestamp?: string;
|
|
4184
4389
|
} & {
|
|
4185
4390
|
timestamp?: string;
|
|
4186
|
-
} & { [
|
|
4391
|
+
} & { [K_128 in Exclude<keyof I_1["block"]["blockTime"], "timestamp">]: never; };
|
|
4187
4392
|
blockHeight?: {
|
|
4188
4393
|
blockHeight?: string;
|
|
4189
4394
|
} & {
|
|
4190
4395
|
blockHeight?: string;
|
|
4191
|
-
} & { [
|
|
4396
|
+
} & { [K_129 in Exclude<keyof I_1["block"]["blockHeight"], "blockHeight">]: never; };
|
|
4192
4397
|
parentSlot?: string;
|
|
4193
4398
|
parentBlockhash?: string;
|
|
4194
4399
|
executedTransactionCount?: string;
|
|
@@ -4390,7 +4595,7 @@ export declare const SubscribeUpdate: {
|
|
|
4390
4595
|
}[];
|
|
4391
4596
|
};
|
|
4392
4597
|
} & {
|
|
4393
|
-
signatures?: Uint8Array[] & Uint8Array[] & { [
|
|
4598
|
+
signatures?: Uint8Array[] & Uint8Array[] & { [K_130 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["signatures"], keyof Uint8Array[]>]: never; };
|
|
4394
4599
|
message?: {
|
|
4395
4600
|
header?: {
|
|
4396
4601
|
numRequiredSignatures?: number;
|
|
@@ -4419,8 +4624,8 @@ export declare const SubscribeUpdate: {
|
|
|
4419
4624
|
numRequiredSignatures?: number;
|
|
4420
4625
|
numReadonlySignedAccounts?: number;
|
|
4421
4626
|
numReadonlyUnsignedAccounts?: number;
|
|
4422
|
-
} & { [
|
|
4423
|
-
accountKeys?: Uint8Array[] & Uint8Array[] & { [
|
|
4627
|
+
} & { [K_131 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["header"], keyof import("./solana-storage").MessageHeader>]: never; };
|
|
4628
|
+
accountKeys?: Uint8Array[] & Uint8Array[] & { [K_132 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["accountKeys"], keyof Uint8Array[]>]: never; };
|
|
4424
4629
|
recentBlockhash?: Uint8Array;
|
|
4425
4630
|
instructions?: {
|
|
4426
4631
|
programIdIndex?: number;
|
|
@@ -4434,7 +4639,7 @@ export declare const SubscribeUpdate: {
|
|
|
4434
4639
|
programIdIndex?: number;
|
|
4435
4640
|
accounts?: Uint8Array;
|
|
4436
4641
|
data?: Uint8Array;
|
|
4437
|
-
} & { [
|
|
4642
|
+
} & { [K_133 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["instructions"][number], keyof import("./solana-storage").CompiledInstruction>]: never; })[] & { [K_134 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["instructions"], keyof {
|
|
4438
4643
|
programIdIndex?: number;
|
|
4439
4644
|
accounts?: Uint8Array;
|
|
4440
4645
|
data?: Uint8Array;
|
|
@@ -4452,13 +4657,13 @@ export declare const SubscribeUpdate: {
|
|
|
4452
4657
|
accountKey?: Uint8Array;
|
|
4453
4658
|
writableIndexes?: Uint8Array;
|
|
4454
4659
|
readonlyIndexes?: Uint8Array;
|
|
4455
|
-
} & { [
|
|
4660
|
+
} & { [K_135 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["addressTableLookups"][number], keyof import("./solana-storage").MessageAddressTableLookup>]: never; })[] & { [K_136 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"]["addressTableLookups"], keyof {
|
|
4456
4661
|
accountKey?: Uint8Array;
|
|
4457
4662
|
writableIndexes?: Uint8Array;
|
|
4458
4663
|
readonlyIndexes?: Uint8Array;
|
|
4459
4664
|
}[]>]: never; };
|
|
4460
|
-
} & { [
|
|
4461
|
-
} & { [
|
|
4665
|
+
} & { [K_137 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"]["message"], keyof import("./solana-storage").Message>]: never; };
|
|
4666
|
+
} & { [K_138 in Exclude<keyof I_1["block"]["transactions"][number]["transaction"], keyof Transaction>]: never; };
|
|
4462
4667
|
meta?: {
|
|
4463
4668
|
err?: {
|
|
4464
4669
|
err?: Uint8Array;
|
|
@@ -4522,10 +4727,10 @@ export declare const SubscribeUpdate: {
|
|
|
4522
4727
|
err?: Uint8Array;
|
|
4523
4728
|
} & {
|
|
4524
4729
|
err?: Uint8Array;
|
|
4525
|
-
} & { [
|
|
4730
|
+
} & { [K_139 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["err"], "err">]: never; };
|
|
4526
4731
|
fee?: string;
|
|
4527
|
-
preBalances?: string[] & string[] & { [
|
|
4528
|
-
postBalances?: string[] & string[] & { [
|
|
4732
|
+
preBalances?: string[] & string[] & { [K_140 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["preBalances"], keyof string[]>]: never; };
|
|
4733
|
+
postBalances?: string[] & string[] & { [K_141 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["postBalances"], keyof string[]>]: never; };
|
|
4529
4734
|
innerInstructions?: {
|
|
4530
4735
|
index?: number;
|
|
4531
4736
|
instructions?: {
|
|
@@ -4559,13 +4764,13 @@ export declare const SubscribeUpdate: {
|
|
|
4559
4764
|
accounts?: Uint8Array;
|
|
4560
4765
|
data?: Uint8Array;
|
|
4561
4766
|
stackHeight?: number;
|
|
4562
|
-
} & { [
|
|
4767
|
+
} & { [K_142 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["innerInstructions"][number]["instructions"][number], keyof import("./solana-storage").InnerInstruction>]: never; })[] & { [K_143 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["innerInstructions"][number]["instructions"], keyof {
|
|
4563
4768
|
programIdIndex?: number;
|
|
4564
4769
|
accounts?: Uint8Array;
|
|
4565
4770
|
data?: Uint8Array;
|
|
4566
4771
|
stackHeight?: number;
|
|
4567
4772
|
}[]>]: never; };
|
|
4568
|
-
} & { [
|
|
4773
|
+
} & { [K_144 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["innerInstructions"][number], keyof import("./solana-storage").InnerInstructions>]: never; })[] & { [K_145 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["innerInstructions"], keyof {
|
|
4569
4774
|
index?: number;
|
|
4570
4775
|
instructions?: {
|
|
4571
4776
|
programIdIndex?: number;
|
|
@@ -4575,7 +4780,7 @@ export declare const SubscribeUpdate: {
|
|
|
4575
4780
|
}[];
|
|
4576
4781
|
}[]>]: never; };
|
|
4577
4782
|
innerInstructionsNone?: boolean;
|
|
4578
|
-
logMessages?: string[] & string[] & { [
|
|
4783
|
+
logMessages?: string[] & string[] & { [K_146 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["logMessages"], keyof string[]>]: never; };
|
|
4579
4784
|
logMessagesNone?: boolean;
|
|
4580
4785
|
preTokenBalances?: {
|
|
4581
4786
|
accountIndex?: number;
|
|
@@ -4612,10 +4817,10 @@ export declare const SubscribeUpdate: {
|
|
|
4612
4817
|
decimals?: number;
|
|
4613
4818
|
amount?: string;
|
|
4614
4819
|
uiAmountString?: string;
|
|
4615
|
-
} & { [
|
|
4820
|
+
} & { [K_147 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["preTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
4616
4821
|
owner?: string;
|
|
4617
4822
|
programId?: string;
|
|
4618
|
-
} & { [
|
|
4823
|
+
} & { [K_148 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["preTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_149 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["preTokenBalances"], keyof {
|
|
4619
4824
|
accountIndex?: number;
|
|
4620
4825
|
mint?: string;
|
|
4621
4826
|
uiTokenAmount?: {
|
|
@@ -4662,10 +4867,10 @@ export declare const SubscribeUpdate: {
|
|
|
4662
4867
|
decimals?: number;
|
|
4663
4868
|
amount?: string;
|
|
4664
4869
|
uiAmountString?: string;
|
|
4665
|
-
} & { [
|
|
4870
|
+
} & { [K_150 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["postTokenBalances"][number]["uiTokenAmount"], keyof import("./solana-storage").UiTokenAmount>]: never; };
|
|
4666
4871
|
owner?: string;
|
|
4667
4872
|
programId?: string;
|
|
4668
|
-
} & { [
|
|
4873
|
+
} & { [K_151 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["postTokenBalances"][number], keyof import("./solana-storage").TokenBalance>]: never; })[] & { [K_152 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["postTokenBalances"], keyof {
|
|
4669
4874
|
accountIndex?: number;
|
|
4670
4875
|
mint?: string;
|
|
4671
4876
|
uiTokenAmount?: {
|
|
@@ -4695,27 +4900,27 @@ export declare const SubscribeUpdate: {
|
|
|
4695
4900
|
postBalance?: string;
|
|
4696
4901
|
rewardType?: import("./solana-storage").RewardType;
|
|
4697
4902
|
commission?: string;
|
|
4698
|
-
} & { [
|
|
4903
|
+
} & { [K_153 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_154 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["rewards"], keyof {
|
|
4699
4904
|
pubkey?: string;
|
|
4700
4905
|
lamports?: string;
|
|
4701
4906
|
postBalance?: string;
|
|
4702
4907
|
rewardType?: import("./solana-storage").RewardType;
|
|
4703
4908
|
commission?: string;
|
|
4704
4909
|
}[]>]: never; };
|
|
4705
|
-
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
4706
|
-
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [
|
|
4910
|
+
loadedWritableAddresses?: Uint8Array[] & Uint8Array[] & { [K_155 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["loadedWritableAddresses"], keyof Uint8Array[]>]: never; };
|
|
4911
|
+
loadedReadonlyAddresses?: Uint8Array[] & Uint8Array[] & { [K_156 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["loadedReadonlyAddresses"], keyof Uint8Array[]>]: never; };
|
|
4707
4912
|
returnData?: {
|
|
4708
4913
|
programId?: Uint8Array;
|
|
4709
4914
|
data?: Uint8Array;
|
|
4710
4915
|
} & {
|
|
4711
4916
|
programId?: Uint8Array;
|
|
4712
4917
|
data?: Uint8Array;
|
|
4713
|
-
} & { [
|
|
4918
|
+
} & { [K_157 in Exclude<keyof I_1["block"]["transactions"][number]["meta"]["returnData"], keyof import("./solana-storage").ReturnData>]: never; };
|
|
4714
4919
|
returnDataNone?: boolean;
|
|
4715
4920
|
computeUnitsConsumed?: string;
|
|
4716
|
-
} & { [
|
|
4921
|
+
} & { [K_158 in Exclude<keyof I_1["block"]["transactions"][number]["meta"], keyof TransactionStatusMeta>]: never; };
|
|
4717
4922
|
index?: string;
|
|
4718
|
-
} & { [
|
|
4923
|
+
} & { [K_159 in Exclude<keyof I_1["block"]["transactions"][number], keyof SubscribeUpdateTransactionInfo>]: never; })[] & { [K_160 in Exclude<keyof I_1["block"]["transactions"], keyof {
|
|
4719
4924
|
signature?: Uint8Array;
|
|
4720
4925
|
isVote?: boolean;
|
|
4721
4926
|
transaction?: {
|
|
@@ -4830,7 +5035,7 @@ export declare const SubscribeUpdate: {
|
|
|
4830
5035
|
data?: Uint8Array;
|
|
4831
5036
|
writeVersion?: string;
|
|
4832
5037
|
txnSignature?: Uint8Array | undefined;
|
|
4833
|
-
} & { [
|
|
5038
|
+
} & { [K_161 in Exclude<keyof I_1["block"]["accounts"][number], keyof SubscribeUpdateAccountInfo>]: never; })[] & { [K_162 in Exclude<keyof I_1["block"]["accounts"], keyof {
|
|
4834
5039
|
pubkey?: Uint8Array;
|
|
4835
5040
|
lamports?: string;
|
|
4836
5041
|
owner?: Uint8Array;
|
|
@@ -4862,7 +5067,7 @@ export declare const SubscribeUpdate: {
|
|
|
4862
5067
|
hash?: Uint8Array;
|
|
4863
5068
|
executedTransactionCount?: string;
|
|
4864
5069
|
startingTransactionIndex?: string;
|
|
4865
|
-
} & { [
|
|
5070
|
+
} & { [K_163 in Exclude<keyof I_1["block"]["entries"][number], keyof SubscribeUpdateEntry>]: never; })[] & { [K_164 in Exclude<keyof I_1["block"]["entries"], keyof {
|
|
4866
5071
|
slot?: string;
|
|
4867
5072
|
index?: string;
|
|
4868
5073
|
numHashes?: string;
|
|
@@ -4870,13 +5075,13 @@ export declare const SubscribeUpdate: {
|
|
|
4870
5075
|
executedTransactionCount?: string;
|
|
4871
5076
|
startingTransactionIndex?: string;
|
|
4872
5077
|
}[]>]: never; };
|
|
4873
|
-
} & { [
|
|
4874
|
-
ping?: {} & {} & { [
|
|
5078
|
+
} & { [K_165 in Exclude<keyof I_1["block"], keyof SubscribeUpdateBlock>]: never; };
|
|
5079
|
+
ping?: {} & {} & { [K_166 in Exclude<keyof I_1["ping"], never>]: never; };
|
|
4875
5080
|
pong?: {
|
|
4876
5081
|
id?: number;
|
|
4877
5082
|
} & {
|
|
4878
5083
|
id?: number;
|
|
4879
|
-
} & { [
|
|
5084
|
+
} & { [K_167 in Exclude<keyof I_1["pong"], "id">]: never; };
|
|
4880
5085
|
blockMeta?: {
|
|
4881
5086
|
slot?: string;
|
|
4882
5087
|
blockhash?: string;
|
|
@@ -4929,29 +5134,29 @@ export declare const SubscribeUpdate: {
|
|
|
4929
5134
|
postBalance?: string;
|
|
4930
5135
|
rewardType?: import("./solana-storage").RewardType;
|
|
4931
5136
|
commission?: string;
|
|
4932
|
-
} & { [
|
|
5137
|
+
} & { [K_168 in Exclude<keyof I_1["blockMeta"]["rewards"]["rewards"][number], keyof import("./solana-storage").Reward>]: never; })[] & { [K_169 in Exclude<keyof I_1["blockMeta"]["rewards"]["rewards"], keyof {
|
|
4933
5138
|
pubkey?: string;
|
|
4934
5139
|
lamports?: string;
|
|
4935
5140
|
postBalance?: string;
|
|
4936
5141
|
rewardType?: import("./solana-storage").RewardType;
|
|
4937
5142
|
commission?: string;
|
|
4938
5143
|
}[]>]: never; };
|
|
4939
|
-
} & { [
|
|
5144
|
+
} & { [K_170 in Exclude<keyof I_1["blockMeta"]["rewards"], "rewards">]: never; };
|
|
4940
5145
|
blockTime?: {
|
|
4941
5146
|
timestamp?: string;
|
|
4942
5147
|
} & {
|
|
4943
5148
|
timestamp?: string;
|
|
4944
|
-
} & { [
|
|
5149
|
+
} & { [K_171 in Exclude<keyof I_1["blockMeta"]["blockTime"], "timestamp">]: never; };
|
|
4945
5150
|
blockHeight?: {
|
|
4946
5151
|
blockHeight?: string;
|
|
4947
5152
|
} & {
|
|
4948
5153
|
blockHeight?: string;
|
|
4949
|
-
} & { [
|
|
5154
|
+
} & { [K_172 in Exclude<keyof I_1["blockMeta"]["blockHeight"], "blockHeight">]: never; };
|
|
4950
5155
|
parentSlot?: string;
|
|
4951
5156
|
parentBlockhash?: string;
|
|
4952
5157
|
executedTransactionCount?: string;
|
|
4953
5158
|
entriesCount?: string;
|
|
4954
|
-
} & { [
|
|
5159
|
+
} & { [K_173 in Exclude<keyof I_1["blockMeta"], keyof SubscribeUpdateBlockMeta>]: never; };
|
|
4955
5160
|
entry?: {
|
|
4956
5161
|
slot?: string;
|
|
4957
5162
|
index?: string;
|
|
@@ -4966,8 +5171,8 @@ export declare const SubscribeUpdate: {
|
|
|
4966
5171
|
hash?: Uint8Array;
|
|
4967
5172
|
executedTransactionCount?: string;
|
|
4968
5173
|
startingTransactionIndex?: string;
|
|
4969
|
-
} & { [
|
|
4970
|
-
} & { [
|
|
5174
|
+
} & { [K_174 in Exclude<keyof I_1["entry"], keyof SubscribeUpdateEntry>]: never; };
|
|
5175
|
+
} & { [K_175 in Exclude<keyof I_1, keyof SubscribeUpdate>]: never; }>(object: I_1): SubscribeUpdate;
|
|
4971
5176
|
};
|
|
4972
5177
|
export declare const SubscribeUpdateAccount: {
|
|
4973
5178
|
encode(message: SubscribeUpdateAccount, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -7063,6 +7268,50 @@ export declare const SubscribeUpdateTransactionInfo: {
|
|
|
7063
7268
|
index?: string;
|
|
7064
7269
|
} & { [K_59 in Exclude<keyof I_1, keyof SubscribeUpdateTransactionInfo>]: never; }>(object: I_1): SubscribeUpdateTransactionInfo;
|
|
7065
7270
|
};
|
|
7271
|
+
export declare const SubscribeUpdateTransactionStatus: {
|
|
7272
|
+
encode(message: SubscribeUpdateTransactionStatus, writer?: _m0.Writer): _m0.Writer;
|
|
7273
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeUpdateTransactionStatus;
|
|
7274
|
+
fromJSON(object: any): SubscribeUpdateTransactionStatus;
|
|
7275
|
+
toJSON(message: SubscribeUpdateTransactionStatus): unknown;
|
|
7276
|
+
create<I extends {
|
|
7277
|
+
slot?: string;
|
|
7278
|
+
signature?: Uint8Array;
|
|
7279
|
+
isVote?: boolean;
|
|
7280
|
+
index?: string;
|
|
7281
|
+
err?: {
|
|
7282
|
+
err?: Uint8Array;
|
|
7283
|
+
};
|
|
7284
|
+
} & {
|
|
7285
|
+
slot?: string;
|
|
7286
|
+
signature?: Uint8Array;
|
|
7287
|
+
isVote?: boolean;
|
|
7288
|
+
index?: string;
|
|
7289
|
+
err?: {
|
|
7290
|
+
err?: Uint8Array;
|
|
7291
|
+
} & {
|
|
7292
|
+
err?: Uint8Array;
|
|
7293
|
+
} & { [K in Exclude<keyof I["err"], "err">]: never; };
|
|
7294
|
+
} & { [K_1 in Exclude<keyof I, keyof SubscribeUpdateTransactionStatus>]: never; }>(base?: I): SubscribeUpdateTransactionStatus;
|
|
7295
|
+
fromPartial<I_1 extends {
|
|
7296
|
+
slot?: string;
|
|
7297
|
+
signature?: Uint8Array;
|
|
7298
|
+
isVote?: boolean;
|
|
7299
|
+
index?: string;
|
|
7300
|
+
err?: {
|
|
7301
|
+
err?: Uint8Array;
|
|
7302
|
+
};
|
|
7303
|
+
} & {
|
|
7304
|
+
slot?: string;
|
|
7305
|
+
signature?: Uint8Array;
|
|
7306
|
+
isVote?: boolean;
|
|
7307
|
+
index?: string;
|
|
7308
|
+
err?: {
|
|
7309
|
+
err?: Uint8Array;
|
|
7310
|
+
} & {
|
|
7311
|
+
err?: Uint8Array;
|
|
7312
|
+
} & { [K_2 in Exclude<keyof I_1["err"], "err">]: never; };
|
|
7313
|
+
} & { [K_3 in Exclude<keyof I_1, keyof SubscribeUpdateTransactionStatus>]: never; }>(object: I_1): SubscribeUpdateTransactionStatus;
|
|
7314
|
+
};
|
|
7066
7315
|
export declare const SubscribeUpdateBlock: {
|
|
7067
7316
|
encode(message: SubscribeUpdateBlock, writer?: _m0.Writer): _m0.Writer;
|
|
7068
7317
|
decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeUpdateBlock;
|