@metamask/keyring-api 23.2.0 → 23.4.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/CHANGELOG.md +24 -1
- package/dist/api/transaction.cjs +19 -3
- package/dist/api/transaction.cjs.map +1 -1
- package/dist/api/transaction.d.cts +44 -12
- package/dist/api/transaction.d.cts.map +1 -1
- package/dist/api/transaction.d.mts +44 -12
- package/dist/api/transaction.d.mts.map +1 -1
- package/dist/api/transaction.mjs +19 -3
- package/dist/api/transaction.mjs.map +1 -1
- package/dist/events.d.cts +6 -3
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +6 -3
- package/dist/events.d.mts.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +83 -41
- package/dist/rpc.d.cts.map +1 -1
- package/dist/rpc.d.mts +83 -41
- package/dist/rpc.d.mts.map +1 -1
- package/dist/rpc.mjs.map +1 -1
- package/dist/v2/api/index.cjs +1 -0
- package/dist/v2/api/index.cjs.map +1 -1
- package/dist/v2/api/index.d.cts +1 -0
- package/dist/v2/api/index.d.cts.map +1 -1
- package/dist/v2/api/index.d.mts +1 -0
- package/dist/v2/api/index.d.mts.map +1 -1
- package/dist/v2/api/index.mjs +1 -0
- package/dist/v2/api/index.mjs.map +1 -1
- package/dist/v2/api/keyring-capabilities.cjs +32 -0
- package/dist/v2/api/keyring-capabilities.cjs.map +1 -1
- package/dist/v2/api/keyring-capabilities.d.cts +50 -0
- package/dist/v2/api/keyring-capabilities.d.cts.map +1 -1
- package/dist/v2/api/keyring-capabilities.d.mts +50 -0
- package/dist/v2/api/keyring-capabilities.d.mts.map +1 -1
- package/dist/v2/api/keyring-capabilities.mjs +32 -0
- package/dist/v2/api/keyring-capabilities.mjs.map +1 -1
- package/dist/v2/api/keyring-snap-rpc.cjs +79 -0
- package/dist/v2/api/keyring-snap-rpc.cjs.map +1 -0
- package/dist/v2/api/keyring-snap-rpc.d.cts +491 -0
- package/dist/v2/api/keyring-snap-rpc.d.cts.map +1 -0
- package/dist/v2/api/keyring-snap-rpc.d.mts +491 -0
- package/dist/v2/api/keyring-snap-rpc.d.mts.map +1 -0
- package/dist/v2/api/keyring-snap-rpc.mjs +75 -0
- package/dist/v2/api/keyring-snap-rpc.mjs.map +1 -0
- package/package.json +1 -1
package/dist/rpc.d.cts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import type { AccountId, JsonRpcRequest } from "@metamask/keyring-utils";
|
|
1
2
|
import type { Infer } from "@metamask/superstruct";
|
|
3
|
+
import type { Json } from "@metamask/utils";
|
|
4
|
+
import type { Balance, CaipAssetType, CaipAssetTypeOrId, CaipChainId, DiscoveredAccount, EntropySourceId, KeyringAccount, KeyringAccountData, KeyringRequest, KeyringResponse, MetaMaskOptions, Paginated, Pagination, ResolvedAccountAddress, Transaction } from "./api/index.cjs";
|
|
5
|
+
import type { CreateAccountOptions } from "./v2/api/create-account/index.cjs";
|
|
2
6
|
/**
|
|
3
7
|
* Keyring RPC methods used by the API.
|
|
4
8
|
*/
|
|
@@ -43,7 +47,7 @@ export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
|
|
|
43
47
|
export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
|
44
48
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
45
49
|
id: string;
|
|
46
|
-
options: Record<string,
|
|
50
|
+
options: Record<string, Json> & {
|
|
47
51
|
entropy?: {
|
|
48
52
|
type: "mnemonic";
|
|
49
53
|
id: string;
|
|
@@ -62,7 +66,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
|
62
66
|
}[], import("@metamask/superstruct").Struct<{
|
|
63
67
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
64
68
|
id: string;
|
|
65
|
-
options: Record<string,
|
|
69
|
+
options: Record<string, Json> & {
|
|
66
70
|
entropy?: {
|
|
67
71
|
type: "mnemonic";
|
|
68
72
|
id: string;
|
|
@@ -94,7 +98,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
|
94
98
|
}>;
|
|
95
99
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
96
100
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
97
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
101
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json> & {
|
|
98
102
|
entropy?: {
|
|
99
103
|
type: "mnemonic";
|
|
100
104
|
id: string;
|
|
@@ -131,7 +135,7 @@ export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
|
|
|
131
135
|
export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
|
132
136
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
133
137
|
id: string;
|
|
134
|
-
options: Record<string,
|
|
138
|
+
options: Record<string, Json> & {
|
|
135
139
|
entropy?: {
|
|
136
140
|
type: "mnemonic";
|
|
137
141
|
id: string;
|
|
@@ -163,7 +167,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
|
163
167
|
}>;
|
|
164
168
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
165
169
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
166
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
170
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json> & {
|
|
167
171
|
entropy?: {
|
|
168
172
|
type: "mnemonic";
|
|
169
173
|
id: string;
|
|
@@ -184,14 +188,14 @@ export declare const CreateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
184
188
|
id: string | number | null;
|
|
185
189
|
jsonrpc: "2.0";
|
|
186
190
|
params: {
|
|
187
|
-
options: Record<string,
|
|
191
|
+
options: Record<string, Json>;
|
|
188
192
|
};
|
|
189
193
|
}, {
|
|
190
194
|
method: import("@metamask/superstruct").Struct<"keyring_createAccount", "keyring_createAccount">;
|
|
191
195
|
params: import("@metamask/superstruct").Struct<{
|
|
192
|
-
options: Record<string,
|
|
196
|
+
options: Record<string, Json>;
|
|
193
197
|
}, {
|
|
194
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
198
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json>, null>;
|
|
195
199
|
}>;
|
|
196
200
|
jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
|
|
197
201
|
id: import("@metamask/superstruct").Struct<string | number | null, null>;
|
|
@@ -200,7 +204,7 @@ export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
|
|
|
200
204
|
export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
|
201
205
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
202
206
|
id: string;
|
|
203
|
-
options: Record<string,
|
|
207
|
+
options: Record<string, Json> & {
|
|
204
208
|
entropy?: {
|
|
205
209
|
type: "mnemonic";
|
|
206
210
|
id: string;
|
|
@@ -232,7 +236,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
|
232
236
|
}>;
|
|
233
237
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
234
238
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
235
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
239
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json> & {
|
|
236
240
|
entropy?: {
|
|
237
241
|
type: "mnemonic";
|
|
238
242
|
id: string;
|
|
@@ -347,7 +351,7 @@ export type CreateAccountsRequest = Infer<typeof CreateAccountsRequestStruct>;
|
|
|
347
351
|
export declare const CreateAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
|
348
352
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
349
353
|
id: string;
|
|
350
|
-
options: Record<string,
|
|
354
|
+
options: Record<string, Json> & {
|
|
351
355
|
entropy?: {
|
|
352
356
|
type: "mnemonic";
|
|
353
357
|
id: string;
|
|
@@ -366,7 +370,7 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
366
370
|
}[], import("@metamask/superstruct").Struct<{
|
|
367
371
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
368
372
|
id: string;
|
|
369
|
-
options: Record<string,
|
|
373
|
+
options: Record<string, Json> & {
|
|
370
374
|
entropy?: {
|
|
371
375
|
type: "mnemonic";
|
|
372
376
|
id: string;
|
|
@@ -398,7 +402,7 @@ export declare const CreateAccountsResponseStruct: import("@metamask/superstruct
|
|
|
398
402
|
}>;
|
|
399
403
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
400
404
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
401
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
405
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json> & {
|
|
402
406
|
entropy?: {
|
|
403
407
|
type: "mnemonic";
|
|
404
408
|
id: string;
|
|
@@ -507,7 +511,7 @@ export declare const ListAccountTransactionsRequestStruct: import("@metamask/sup
|
|
|
507
511
|
export type ListAccountTransactionsRequest = Infer<typeof ListAccountTransactionsRequestStruct>;
|
|
508
512
|
export declare const ListAccountTransactionsResponseStruct: import("@metamask/superstruct").Struct<{
|
|
509
513
|
data: {
|
|
510
|
-
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve";
|
|
514
|
+
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve" | "token:disapprove";
|
|
511
515
|
id: string;
|
|
512
516
|
from: {
|
|
513
517
|
address: string;
|
|
@@ -556,12 +560,13 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
556
560
|
details?: {
|
|
557
561
|
origin?: string;
|
|
558
562
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
563
|
+
typeLabel?: string;
|
|
559
564
|
};
|
|
560
565
|
}[];
|
|
561
566
|
next: string | null;
|
|
562
567
|
}, {
|
|
563
568
|
data: import("@metamask/superstruct").Struct<{
|
|
564
|
-
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve";
|
|
569
|
+
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve" | "token:disapprove";
|
|
565
570
|
id: string;
|
|
566
571
|
from: {
|
|
567
572
|
address: string;
|
|
@@ -610,9 +615,10 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
610
615
|
details?: {
|
|
611
616
|
origin?: string;
|
|
612
617
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
618
|
+
typeLabel?: string;
|
|
613
619
|
};
|
|
614
620
|
}[], import("@metamask/superstruct").Struct<{
|
|
615
|
-
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve";
|
|
621
|
+
type: "unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve" | "token:disapprove";
|
|
616
622
|
id: string;
|
|
617
623
|
from: {
|
|
618
624
|
address: string;
|
|
@@ -661,6 +667,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
661
667
|
details?: {
|
|
662
668
|
origin?: string;
|
|
663
669
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
670
|
+
typeLabel?: string;
|
|
664
671
|
};
|
|
665
672
|
}, {
|
|
666
673
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
@@ -673,7 +680,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
673
680
|
failed: "failed";
|
|
674
681
|
}>;
|
|
675
682
|
timestamp: import("@metamask/superstruct").Struct<number | null, null>;
|
|
676
|
-
type: import("@metamask/superstruct").Struct<"unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve", {
|
|
683
|
+
type: import("@metamask/superstruct").Struct<"unknown" | "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "token:approve" | "token:disapprove", {
|
|
677
684
|
unknown: "unknown";
|
|
678
685
|
send: "send";
|
|
679
686
|
receive: "receive";
|
|
@@ -683,6 +690,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
683
690
|
"stake:deposit": "stake:deposit";
|
|
684
691
|
"stake:withdraw": "stake:withdraw";
|
|
685
692
|
"token:approve": "token:approve";
|
|
693
|
+
"token:disapprove": "token:disapprove";
|
|
686
694
|
}>;
|
|
687
695
|
from: import("@metamask/superstruct").Struct<{
|
|
688
696
|
address: string;
|
|
@@ -807,6 +815,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
807
815
|
details: import("@metamask/superstruct").Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
808
816
|
origin?: string;
|
|
809
817
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
818
|
+
typeLabel?: string;
|
|
810
819
|
}, {
|
|
811
820
|
origin: import("@metamask/superstruct").Struct<string | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
812
821
|
securityAlertResponse: import("@metamask/superstruct").Struct<import("@metamask/keyring-utils").ExactOptionalTag | "Benign" | "Warning" | "Malicious", {
|
|
@@ -814,6 +823,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
814
823
|
Warning: "Warning";
|
|
815
824
|
Malicious: "Malicious";
|
|
816
825
|
}>;
|
|
826
|
+
typeLabel: import("@metamask/superstruct").Struct<string | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
817
827
|
}>;
|
|
818
828
|
}>>;
|
|
819
829
|
next: import("@metamask/superstruct").Struct<string | null, null>;
|
|
@@ -874,7 +884,7 @@ export declare const ResolveAccountAddressRequestStruct: import("@metamask/super
|
|
|
874
884
|
method: string;
|
|
875
885
|
id: string | number | null;
|
|
876
886
|
jsonrpc: "2.0";
|
|
877
|
-
params?: Record<string,
|
|
887
|
+
params?: Record<string, Json> | Json[];
|
|
878
888
|
};
|
|
879
889
|
scope: `${string}:${string}`;
|
|
880
890
|
};
|
|
@@ -885,7 +895,7 @@ export declare const ResolveAccountAddressRequestStruct: import("@metamask/super
|
|
|
885
895
|
method: string;
|
|
886
896
|
id: string | number | null;
|
|
887
897
|
jsonrpc: "2.0";
|
|
888
|
-
params?: Record<string,
|
|
898
|
+
params?: Record<string, Json> | Json[];
|
|
889
899
|
};
|
|
890
900
|
scope: `${string}:${string}`;
|
|
891
901
|
}, {
|
|
@@ -894,12 +904,12 @@ export declare const ResolveAccountAddressRequestStruct: import("@metamask/super
|
|
|
894
904
|
method: string;
|
|
895
905
|
id: string | number | null;
|
|
896
906
|
jsonrpc: "2.0";
|
|
897
|
-
params?: Record<string,
|
|
907
|
+
params?: Record<string, Json> | Json[];
|
|
898
908
|
}, {
|
|
899
909
|
jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
|
|
900
910
|
id: import("@metamask/superstruct").Struct<string | number | null, null>;
|
|
901
911
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
902
|
-
params: import("@metamask/superstruct").Struct<Record<string,
|
|
912
|
+
params: import("@metamask/superstruct").Struct<Record<string, Json> | Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
903
913
|
}>;
|
|
904
914
|
}>;
|
|
905
915
|
jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
|
|
@@ -943,7 +953,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
943
953
|
account: {
|
|
944
954
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
945
955
|
id: string;
|
|
946
|
-
options: Record<string,
|
|
956
|
+
options: Record<string, Json> & {
|
|
947
957
|
entropy?: {
|
|
948
958
|
type: "mnemonic";
|
|
949
959
|
id: string;
|
|
@@ -967,7 +977,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
967
977
|
account: {
|
|
968
978
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
969
979
|
id: string;
|
|
970
|
-
options: Record<string,
|
|
980
|
+
options: Record<string, Json> & {
|
|
971
981
|
entropy?: {
|
|
972
982
|
type: "mnemonic";
|
|
973
983
|
id: string;
|
|
@@ -988,7 +998,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
988
998
|
account: import("@metamask/superstruct").Struct<{
|
|
989
999
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
990
1000
|
id: string;
|
|
991
|
-
options: Record<string,
|
|
1001
|
+
options: Record<string, Json> & {
|
|
992
1002
|
entropy?: {
|
|
993
1003
|
type: "mnemonic";
|
|
994
1004
|
id: string;
|
|
@@ -1020,7 +1030,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1020
1030
|
}>;
|
|
1021
1031
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
1022
1032
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
1023
|
-
options: import("@metamask/superstruct").Struct<Record<string,
|
|
1033
|
+
options: import("@metamask/superstruct").Struct<Record<string, Json> & {
|
|
1024
1034
|
entropy?: {
|
|
1025
1035
|
type: "mnemonic";
|
|
1026
1036
|
id: string;
|
|
@@ -1080,7 +1090,7 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
|
|
|
1080
1090
|
id: import("@metamask/superstruct").Struct<string | number | null, null>;
|
|
1081
1091
|
}>;
|
|
1082
1092
|
export type ExportAccountRequest = Infer<typeof ExportAccountRequestStruct>;
|
|
1083
|
-
export declare const ExportAccountResponseStruct: import("@metamask/superstruct").Struct<Record<string,
|
|
1093
|
+
export declare const ExportAccountResponseStruct: import("@metamask/superstruct").Struct<Record<string, Json>, null>;
|
|
1084
1094
|
export type ExportAccountResponse = Infer<typeof ExportAccountResponseStruct>;
|
|
1085
1095
|
export declare const ListRequestsRequestStruct: import("@metamask/superstruct").Struct<{
|
|
1086
1096
|
method: "keyring_listRequests";
|
|
@@ -1097,7 +1107,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1097
1107
|
origin: string;
|
|
1098
1108
|
request: {
|
|
1099
1109
|
method: string;
|
|
1100
|
-
params?: Record<string,
|
|
1110
|
+
params?: Record<string, Json> | Json[];
|
|
1101
1111
|
};
|
|
1102
1112
|
scope: string;
|
|
1103
1113
|
account: string;
|
|
@@ -1106,7 +1116,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1106
1116
|
origin: string;
|
|
1107
1117
|
request: {
|
|
1108
1118
|
method: string;
|
|
1109
|
-
params?: Record<string,
|
|
1119
|
+
params?: Record<string, Json> | Json[];
|
|
1110
1120
|
};
|
|
1111
1121
|
scope: string;
|
|
1112
1122
|
account: string;
|
|
@@ -1117,10 +1127,10 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
|
1117
1127
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1118
1128
|
request: import("@metamask/superstruct").Struct<{
|
|
1119
1129
|
method: string;
|
|
1120
|
-
params?: Record<string,
|
|
1130
|
+
params?: Record<string, Json> | Json[];
|
|
1121
1131
|
}, {
|
|
1122
1132
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
1123
|
-
params: import("@metamask/superstruct").Struct<Record<string,
|
|
1133
|
+
params: import("@metamask/superstruct").Struct<Record<string, Json> | Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
1124
1134
|
}>;
|
|
1125
1135
|
}>>;
|
|
1126
1136
|
export type ListRequestsResponse = Infer<typeof ListRequestsResponseStruct>;
|
|
@@ -1147,7 +1157,7 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
|
1147
1157
|
origin: string;
|
|
1148
1158
|
request: {
|
|
1149
1159
|
method: string;
|
|
1150
|
-
params?: Record<string,
|
|
1160
|
+
params?: Record<string, Json> | Json[];
|
|
1151
1161
|
};
|
|
1152
1162
|
scope: string;
|
|
1153
1163
|
account: string;
|
|
@@ -1158,10 +1168,10 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
|
1158
1168
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1159
1169
|
request: import("@metamask/superstruct").Struct<{
|
|
1160
1170
|
method: string;
|
|
1161
|
-
params?: Record<string,
|
|
1171
|
+
params?: Record<string, Json> | Json[];
|
|
1162
1172
|
}, {
|
|
1163
1173
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
1164
|
-
params: import("@metamask/superstruct").Struct<Record<string,
|
|
1174
|
+
params: import("@metamask/superstruct").Struct<Record<string, Json> | Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
1165
1175
|
}>;
|
|
1166
1176
|
}>;
|
|
1167
1177
|
export type GetRequestResponse = Infer<typeof GetRequestResponseStruct>;
|
|
@@ -1174,7 +1184,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1174
1184
|
origin: string;
|
|
1175
1185
|
request: {
|
|
1176
1186
|
method: string;
|
|
1177
|
-
params?: Record<string,
|
|
1187
|
+
params?: Record<string, Json> | Json[];
|
|
1178
1188
|
};
|
|
1179
1189
|
scope: string;
|
|
1180
1190
|
account: string;
|
|
@@ -1186,7 +1196,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1186
1196
|
origin: string;
|
|
1187
1197
|
request: {
|
|
1188
1198
|
method: string;
|
|
1189
|
-
params?: Record<string,
|
|
1199
|
+
params?: Record<string, Json> | Json[];
|
|
1190
1200
|
};
|
|
1191
1201
|
scope: string;
|
|
1192
1202
|
account: string;
|
|
@@ -1197,10 +1207,10 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1197
1207
|
origin: import("@metamask/superstruct").Struct<string, null>;
|
|
1198
1208
|
request: import("@metamask/superstruct").Struct<{
|
|
1199
1209
|
method: string;
|
|
1200
|
-
params?: Record<string,
|
|
1210
|
+
params?: Record<string, Json> | Json[];
|
|
1201
1211
|
}, {
|
|
1202
1212
|
method: import("@metamask/superstruct").Struct<string, null>;
|
|
1203
|
-
params: import("@metamask/superstruct").Struct<Record<string,
|
|
1213
|
+
params: import("@metamask/superstruct").Struct<Record<string, Json> | Json[] | import("@metamask/keyring-utils").ExactOptionalTag, null>;
|
|
1204
1214
|
}>;
|
|
1205
1215
|
}>;
|
|
1206
1216
|
jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
|
|
@@ -1214,7 +1224,7 @@ export declare const SubmitRequestResponseStruct: import("@metamask/superstruct"
|
|
|
1214
1224
|
url?: string;
|
|
1215
1225
|
};
|
|
1216
1226
|
} | {
|
|
1217
|
-
result:
|
|
1227
|
+
result: Json;
|
|
1218
1228
|
pending: false;
|
|
1219
1229
|
}, null>;
|
|
1220
1230
|
export type SubmitRequestResponse = Infer<typeof SubmitRequestResponseStruct>;
|
|
@@ -1223,17 +1233,17 @@ export declare const ApproveRequestRequestStruct: import("@metamask/superstruct"
|
|
|
1223
1233
|
id: string | number | null;
|
|
1224
1234
|
jsonrpc: "2.0";
|
|
1225
1235
|
params: {
|
|
1226
|
-
data: Record<string,
|
|
1236
|
+
data: Record<string, Json>;
|
|
1227
1237
|
id: string;
|
|
1228
1238
|
};
|
|
1229
1239
|
}, {
|
|
1230
1240
|
method: import("@metamask/superstruct").Struct<"keyring_approveRequest", "keyring_approveRequest">;
|
|
1231
1241
|
params: import("@metamask/superstruct").Struct<{
|
|
1232
|
-
data: Record<string,
|
|
1242
|
+
data: Record<string, Json>;
|
|
1233
1243
|
id: string;
|
|
1234
1244
|
}, {
|
|
1235
1245
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
1236
|
-
data: import("@metamask/superstruct").Struct<Record<string,
|
|
1246
|
+
data: import("@metamask/superstruct").Struct<Record<string, Json>, null>;
|
|
1237
1247
|
}>;
|
|
1238
1248
|
jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
|
|
1239
1249
|
id: import("@metamask/superstruct").Struct<string | number | null, null>;
|
|
@@ -1261,4 +1271,36 @@ export declare const RejectRequestRequestStruct: import("@metamask/superstruct")
|
|
|
1261
1271
|
export type RejectRequestRequest = Infer<typeof RejectRequestRequestStruct>;
|
|
1262
1272
|
export declare const RejectRequestResponseStruct: import("@metamask/superstruct").Struct<null, null>;
|
|
1263
1273
|
export type RejectRequestResponse = Infer<typeof RejectRequestResponseStruct>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Keyring RPC interface - all standard account management and request
|
|
1276
|
+
* handling methods.
|
|
1277
|
+
*/
|
|
1278
|
+
export type KeyringRpc = {
|
|
1279
|
+
listAccounts(): Promise<KeyringAccount[]>;
|
|
1280
|
+
getAccount(id: string): Promise<KeyringAccount | undefined>;
|
|
1281
|
+
createAccount(options?: Record<string, Json> & MetaMaskOptions): Promise<KeyringAccount>;
|
|
1282
|
+
createAccounts?(options: CreateAccountOptions): Promise<KeyringAccount[]>;
|
|
1283
|
+
discoverAccounts?(scopes: CaipChainId[], entropySource: EntropySourceId, groupIndex: number): Promise<DiscoveredAccount[]>;
|
|
1284
|
+
filterAccountChains(id: string, chains: string[]): Promise<string[]>;
|
|
1285
|
+
updateAccount(account: KeyringAccount): Promise<void>;
|
|
1286
|
+
deleteAccount(id: string): Promise<void>;
|
|
1287
|
+
exportAccount?(id: string): Promise<KeyringAccountData>;
|
|
1288
|
+
listRequests?(): Promise<KeyringRequest[]>;
|
|
1289
|
+
getRequest?(id: string): Promise<KeyringRequest | undefined>;
|
|
1290
|
+
submitRequest(request: KeyringRequest): Promise<KeyringResponse>;
|
|
1291
|
+
approveRequest?(id: string, data?: Record<string, Json>): Promise<void>;
|
|
1292
|
+
rejectRequest?(id: string): Promise<void>;
|
|
1293
|
+
resolveAccountAddress?(scope: CaipChainId, request: JsonRpcRequest): Promise<ResolvedAccountAddress | null>;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* Snap keyring RPC interface - extends {@link KeyringRpc} with optional
|
|
1297
|
+
* snap-specific methods for assets, transactions, balances, and account
|
|
1298
|
+
* selection.
|
|
1299
|
+
*/
|
|
1300
|
+
export type KeyringSnapRpc = KeyringRpc & {
|
|
1301
|
+
listAccountAssets?(id: string): Promise<CaipAssetTypeOrId[]>;
|
|
1302
|
+
listAccountTransactions?(id: string, pagination: Pagination): Promise<Paginated<Transaction>>;
|
|
1303
|
+
getAccountBalances?(id: string, assets: CaipAssetType[]): Promise<Record<CaipAssetType, Balance>>;
|
|
1304
|
+
setSelectedAccounts?(accounts: AccountId[]): Promise<void>;
|
|
1305
|
+
};
|
|
1264
1306
|
//# sourceMappingURL=rpc.d.cts.map
|
package/dist/rpc.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,gCAAgC;AAMzE,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAWnD,OAAO,KAAK,EAAE,IAAI,EAAE,wBAAwB;AAE5C,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,eAAe,EACf,SAAS,EACT,UAAU,EACV,sBAAsB,EACtB,WAAW,EACZ,wBAAc;AAef,OAAO,KAAK,EAAE,oBAAoB,EAAE,0CAAgC;AAGpE;;GAEG;AACH,oBAAY,gBAAgB;IAE1B,aAAa,0BAA0B;IACvC,cAAc,2BAA2B;IACzC,aAAa,0BAA0B;IACvC,gBAAgB,6BAA6B;IAC7C,aAAa,0BAA0B;IACvC,mBAAmB,gCAAgC;IACnD,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IAGvC,cAAc,2BAA2B;IACzC,UAAU,uBAAuB;IACjC,YAAY,yBAAyB;IACrC,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IAGvC,kBAAkB,+BAA+B;IACj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