@metamask-previews/keyring-api 23.4.0-5951828 → 23.7.0-58658de

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/dist/api/asset.cjs +2 -8
  3. package/dist/api/asset.cjs.map +1 -1
  4. package/dist/api/asset.d.cts +7 -14
  5. package/dist/api/asset.d.cts.map +1 -1
  6. package/dist/api/asset.d.mts +7 -14
  7. package/dist/api/asset.d.mts.map +1 -1
  8. package/dist/api/asset.mjs +4 -10
  9. package/dist/api/asset.mjs.map +1 -1
  10. package/dist/api/balance.cjs +11 -0
  11. package/dist/api/balance.cjs.map +1 -1
  12. package/dist/api/balance.d.cts +11 -0
  13. package/dist/api/balance.d.cts.map +1 -1
  14. package/dist/api/balance.d.mts +11 -0
  15. package/dist/api/balance.d.mts.map +1 -1
  16. package/dist/api/balance.mjs +12 -1
  17. package/dist/api/balance.mjs.map +1 -1
  18. package/dist/api/transaction.d.cts +30 -0
  19. package/dist/api/transaction.d.cts.map +1 -1
  20. package/dist/api/transaction.d.mts +30 -0
  21. package/dist/api/transaction.d.mts.map +1 -1
  22. package/dist/events.d.cts +12 -0
  23. package/dist/events.d.cts.map +1 -1
  24. package/dist/events.d.mts +12 -0
  25. package/dist/events.d.mts.map +1 -1
  26. package/dist/rpc.d.cts +22 -3
  27. package/dist/rpc.d.cts.map +1 -1
  28. package/dist/rpc.d.mts +22 -3
  29. package/dist/rpc.d.mts.map +1 -1
  30. package/dist/v2/api/create-account/index.d.cts +1 -1
  31. package/dist/v2/api/create-account/index.d.mts +1 -1
  32. package/dist/v2/api/create-account/private-key.cjs +1 -1
  33. package/dist/v2/api/create-account/private-key.cjs.map +1 -1
  34. package/dist/v2/api/create-account/private-key.d.cts +3 -2
  35. package/dist/v2/api/create-account/private-key.d.cts.map +1 -1
  36. package/dist/v2/api/create-account/private-key.d.mts +3 -2
  37. package/dist/v2/api/create-account/private-key.d.mts.map +1 -1
  38. package/dist/v2/api/create-account/private-key.mjs +2 -2
  39. package/dist/v2/api/create-account/private-key.mjs.map +1 -1
  40. package/dist/v2/api/export-account/index.d.cts +9 -4
  41. package/dist/v2/api/export-account/index.d.cts.map +1 -1
  42. package/dist/v2/api/export-account/index.d.mts +9 -4
  43. package/dist/v2/api/export-account/index.d.mts.map +1 -1
  44. package/dist/v2/api/export-account/private-key.cjs +1 -1
  45. package/dist/v2/api/export-account/private-key.cjs.map +1 -1
  46. package/dist/v2/api/export-account/private-key.d.cts +6 -4
  47. package/dist/v2/api/export-account/private-key.d.cts.map +1 -1
  48. package/dist/v2/api/export-account/private-key.d.mts +6 -4
  49. package/dist/v2/api/export-account/private-key.d.mts.map +1 -1
  50. package/dist/v2/api/export-account/private-key.mjs +2 -2
  51. package/dist/v2/api/export-account/private-key.mjs.map +1 -1
  52. package/dist/v2/api/keyring-capabilities.d.cts +12 -10
  53. package/dist/v2/api/keyring-capabilities.d.cts.map +1 -1
  54. package/dist/v2/api/keyring-capabilities.d.mts +12 -10
  55. package/dist/v2/api/keyring-capabilities.d.mts.map +1 -1
  56. package/dist/v2/api/keyring-rpc.d.cts +10 -8
  57. package/dist/v2/api/keyring-rpc.d.cts.map +1 -1
  58. package/dist/v2/api/keyring-rpc.d.mts +10 -8
  59. package/dist/v2/api/keyring-rpc.d.mts.map +1 -1
  60. package/dist/v2/api/keyring-snap-rpc.d.cts +19 -0
  61. package/dist/v2/api/keyring-snap-rpc.d.cts.map +1 -1
  62. package/dist/v2/api/keyring-snap-rpc.d.mts +19 -0
  63. package/dist/v2/api/keyring-snap-rpc.d.mts.map +1 -1
  64. package/dist/v2/api/private-key.cjs +5 -0
  65. package/dist/v2/api/private-key.cjs.map +1 -1
  66. package/dist/v2/api/private-key.d.cts +13 -6
  67. package/dist/v2/api/private-key.d.cts.map +1 -1
  68. package/dist/v2/api/private-key.d.mts +13 -6
  69. package/dist/v2/api/private-key.d.mts.map +1 -1
  70. package/dist/v2/api/private-key.mjs +5 -0
  71. package/dist/v2/api/private-key.mjs.map +1 -1
  72. package/package.json +3 -3
@@ -15,11 +15,11 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
15
15
  };
16
16
  privateKey?: {
17
17
  importFormats?: {
18
- encoding: "hexadecimal" | "base58";
18
+ encoding: "hexadecimal" | "base58" | "base32";
19
19
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
20
20
  }[];
21
21
  exportFormats?: {
22
- encoding: "hexadecimal" | "base58";
22
+ encoding: "hexadecimal" | "base58" | "base32";
23
23
  }[];
24
24
  };
25
25
  snap?: {
@@ -67,26 +67,27 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
67
67
  */
68
68
  privateKey: import("@metamask/superstruct").ExactOptionalStruct<{
69
69
  importFormats?: {
70
- encoding: "hexadecimal" | "base58";
70
+ encoding: "hexadecimal" | "base58" | "base32";
71
71
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
72
72
  }[];
73
73
  exportFormats?: {
74
- encoding: "hexadecimal" | "base58";
74
+ encoding: "hexadecimal" | "base58" | "base32";
75
75
  }[];
76
76
  }, {
77
77
  /**
78
78
  * List of supported formats for importing private keys.
79
79
  */
80
80
  importFormats: import("@metamask/superstruct").ExactOptionalStruct<{
81
- encoding: "hexadecimal" | "base58";
81
+ encoding: "hexadecimal" | "base58" | "base32";
82
82
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
83
83
  }[], import("@metamask/superstruct").Struct<{
84
- encoding: "hexadecimal" | "base58";
84
+ encoding: "hexadecimal" | "base58" | "base32";
85
85
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
86
86
  }, {
87
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
87
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
88
88
  hexadecimal: "hexadecimal";
89
89
  base58: "base58";
90
+ base32: "base32";
90
91
  }>;
91
92
  type: import("@metamask/superstruct").ExactOptionalStruct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account", {
92
93
  "eip155:eoa": "eip155:eoa";
@@ -105,13 +106,14 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
105
106
  * List of supported formats for exporting private keys.
106
107
  */
107
108
  exportFormats: import("@metamask/superstruct").ExactOptionalStruct<{
108
- encoding: "hexadecimal" | "base58";
109
+ encoding: "hexadecimal" | "base58" | "base32";
109
110
  }[], import("@metamask/superstruct").Struct<{
110
- encoding: "hexadecimal" | "base58";
111
+ encoding: "hexadecimal" | "base58" | "base32";
111
112
  }, {
112
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
113
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
113
114
  hexadecimal: "hexadecimal";
114
115
  base58: "base58";
116
+ base32: "base32";
115
117
  }>;
116
118
  }>>;
117
119
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"keyring-capabilities.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-capabilities.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAQnD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpC;;OAEG;;IAEH;;OAEG;;;;;;;QAGC;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;IAIP;;OAEG;;;;;;;;;;QAGC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;QAEH;;WAEG;;;;;;;;;;;;IAIP;;;;;;OAMG;;;;;;IAQH;;;;OAIG;;;;;;;;;;QAGC;;WAEG;;;;;YAGC;;;eAGG;;YAEH;;;eAGG;;;QAIP;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;EAIP,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"keyring-capabilities.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-capabilities.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAQnD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpC;;OAEG;;IAEH;;OAEG;;;;;;;QAGC;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;IAIP;;OAEG;;;;;;;;;;QAGC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;QAEH;;WAEG;;;;;;;;;;;;;IAIP;;;;;;OAMG;;;;;;IAQH;;;;OAIG;;;;;;;;;;QAGC;;WAEG;;;;;YAGC;;;eAGG;;YAEH;;;eAGG;;;QAIP;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;EAIP,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -15,11 +15,11 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
15
15
  };
16
16
  privateKey?: {
17
17
  importFormats?: {
18
- encoding: "hexadecimal" | "base58";
18
+ encoding: "hexadecimal" | "base58" | "base32";
19
19
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
20
20
  }[];
21
21
  exportFormats?: {
22
- encoding: "hexadecimal" | "base58";
22
+ encoding: "hexadecimal" | "base58" | "base32";
23
23
  }[];
24
24
  };
25
25
  snap?: {
@@ -67,26 +67,27 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
67
67
  */
68
68
  privateKey: import("@metamask/superstruct").ExactOptionalStruct<{
69
69
  importFormats?: {
70
- encoding: "hexadecimal" | "base58";
70
+ encoding: "hexadecimal" | "base58" | "base32";
71
71
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
72
72
  }[];
73
73
  exportFormats?: {
74
- encoding: "hexadecimal" | "base58";
74
+ encoding: "hexadecimal" | "base58" | "base32";
75
75
  }[];
76
76
  }, {
77
77
  /**
78
78
  * List of supported formats for importing private keys.
79
79
  */
80
80
  importFormats: import("@metamask/superstruct").ExactOptionalStruct<{
81
- encoding: "hexadecimal" | "base58";
81
+ encoding: "hexadecimal" | "base58" | "base32";
82
82
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
83
83
  }[], import("@metamask/superstruct").Struct<{
84
- encoding: "hexadecimal" | "base58";
84
+ encoding: "hexadecimal" | "base58" | "base32";
85
85
  type?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
86
86
  }, {
87
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
87
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
88
88
  hexadecimal: "hexadecimal";
89
89
  base58: "base58";
90
+ base32: "base32";
90
91
  }>;
91
92
  type: import("@metamask/superstruct").ExactOptionalStruct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account", {
92
93
  "eip155:eoa": "eip155:eoa";
@@ -105,13 +106,14 @@ export declare const KeyringCapabilitiesStruct: import("@metamask/superstruct").
105
106
  * List of supported formats for exporting private keys.
106
107
  */
107
108
  exportFormats: import("@metamask/superstruct").ExactOptionalStruct<{
108
- encoding: "hexadecimal" | "base58";
109
+ encoding: "hexadecimal" | "base58" | "base32";
109
110
  }[], import("@metamask/superstruct").Struct<{
110
- encoding: "hexadecimal" | "base58";
111
+ encoding: "hexadecimal" | "base58" | "base32";
111
112
  }, {
112
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
113
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
113
114
  hexadecimal: "hexadecimal";
114
115
  base58: "base58";
116
+ base32: "base32";
115
117
  }>;
116
118
  }>>;
117
119
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"keyring-capabilities.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-capabilities.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAQnD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpC;;OAEG;;IAEH;;OAEG;;;;;;;QAGC;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;IAIP;;OAEG;;;;;;;;;;QAGC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;QAEH;;WAEG;;;;;;;;;;;;IAIP;;;;;;OAMG;;;;;;IAQH;;;;OAIG;;;;;;;;;;QAGC;;WAEG;;;;;YAGC;;;eAGG;;YAEH;;;eAGG;;;QAIP;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;EAIP,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"keyring-capabilities.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-capabilities.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAQnD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpC;;OAEG;;IAEH;;OAEG;;;;;;;QAGC;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;IAIP;;OAEG;;;;;;;;;;QAGC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;QAEH;;WAEG;;;;;;;;;;;;;IAIP;;;;;;OAMG;;;;;;IAQH;;;;OAIG;;;;;;;;;;QAGC;;WAEG;;;;;YAGC;;;eAGG;;YAEH;;;eAGG;;;QAIP;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;EAIP,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -210,7 +210,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
210
210
  type: "custom";
211
211
  } | {
212
212
  type: "private-key:import";
213
- encoding: "hexadecimal" | "base58";
213
+ encoding: "hexadecimal" | "base58" | "base32";
214
214
  privateKey: string;
215
215
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
216
216
  };
@@ -239,7 +239,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
239
239
  type: "custom";
240
240
  } | {
241
241
  type: "private-key:import";
242
- encoding: "hexadecimal" | "base58";
242
+ encoding: "hexadecimal" | "base58" | "base32";
243
243
  privateKey: string;
244
244
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
245
245
  }, null>;
@@ -345,7 +345,7 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
345
345
  id: string;
346
346
  options?: {
347
347
  type: "private-key";
348
- encoding: "hexadecimal" | "base58";
348
+ encoding: "hexadecimal" | "base58" | "base32";
349
349
  };
350
350
  };
351
351
  }, {
@@ -354,18 +354,19 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
354
354
  id: string;
355
355
  options?: {
356
356
  type: "private-key";
357
- encoding: "hexadecimal" | "base58";
357
+ encoding: "hexadecimal" | "base58" | "base32";
358
358
  };
359
359
  }, {
360
360
  id: import("@metamask/superstruct").Struct<string, null>;
361
361
  options: import("@metamask/superstruct").ExactOptionalStruct<{
362
362
  type: "private-key";
363
- encoding: "hexadecimal" | "base58";
363
+ encoding: "hexadecimal" | "base58" | "base32";
364
364
  }, {
365
365
  type: import("@metamask/superstruct").Struct<"private-key", "private-key">;
366
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
366
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
367
367
  hexadecimal: "hexadecimal";
368
368
  base58: "base58";
369
+ base32: "base32";
369
370
  }>;
370
371
  }>;
371
372
  }>;
@@ -375,14 +376,15 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
375
376
  export type ExportAccountRequest = Infer<typeof ExportAccountRequestStruct>;
376
377
  export declare const ExportAccountResponseStruct: import("@metamask/superstruct").Struct<{
377
378
  type: "private-key";
378
- encoding: "hexadecimal" | "base58";
379
+ encoding: "hexadecimal" | "base58" | "base32";
379
380
  privateKey: string;
380
381
  }, {
381
382
  type: import("@metamask/superstruct").Struct<"private-key", "private-key">;
382
383
  privateKey: import("@metamask/superstruct").Struct<string, null>;
383
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
384
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
384
385
  hexadecimal: "hexadecimal";
385
386
  base58: "base58";
387
+ base32: "base32";
386
388
  }>;
387
389
  }>;
388
390
  export type ExportAccountResponse = Infer<typeof ExportAccountResponseStruct>;
@@ -1 +1 @@
1
- {"version":3,"file":"keyring-rpc.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-rpc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmBnD,OAAO,KAAK,EAAE,OAAO,EAAE,sBAAkB;AAEzC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;CASnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,gBAAgB,CAE7E;AAYD,eAAO,MA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C3B,CAAC"}
@@ -210,7 +210,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
210
210
  type: "custom";
211
211
  } | {
212
212
  type: "private-key:import";
213
- encoding: "hexadecimal" | "base58";
213
+ encoding: "hexadecimal" | "base58" | "base32";
214
214
  privateKey: string;
215
215
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
216
216
  };
@@ -239,7 +239,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
239
239
  type: "custom";
240
240
  } | {
241
241
  type: "private-key:import";
242
- encoding: "hexadecimal" | "base58";
242
+ encoding: "hexadecimal" | "base58" | "base32";
243
243
  privateKey: string;
244
244
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
245
245
  }, null>;
@@ -345,7 +345,7 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
345
345
  id: string;
346
346
  options?: {
347
347
  type: "private-key";
348
- encoding: "hexadecimal" | "base58";
348
+ encoding: "hexadecimal" | "base58" | "base32";
349
349
  };
350
350
  };
351
351
  }, {
@@ -354,18 +354,19 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
354
354
  id: string;
355
355
  options?: {
356
356
  type: "private-key";
357
- encoding: "hexadecimal" | "base58";
357
+ encoding: "hexadecimal" | "base58" | "base32";
358
358
  };
359
359
  }, {
360
360
  id: import("@metamask/superstruct").Struct<string, null>;
361
361
  options: import("@metamask/superstruct").ExactOptionalStruct<{
362
362
  type: "private-key";
363
- encoding: "hexadecimal" | "base58";
363
+ encoding: "hexadecimal" | "base58" | "base32";
364
364
  }, {
365
365
  type: import("@metamask/superstruct").Struct<"private-key", "private-key">;
366
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
366
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
367
367
  hexadecimal: "hexadecimal";
368
368
  base58: "base58";
369
+ base32: "base32";
369
370
  }>;
370
371
  }>;
371
372
  }>;
@@ -375,14 +376,15 @@ export declare const ExportAccountRequestStruct: import("@metamask/superstruct")
375
376
  export type ExportAccountRequest = Infer<typeof ExportAccountRequestStruct>;
376
377
  export declare const ExportAccountResponseStruct: import("@metamask/superstruct").Struct<{
377
378
  type: "private-key";
378
- encoding: "hexadecimal" | "base58";
379
+ encoding: "hexadecimal" | "base58" | "base32";
379
380
  privateKey: string;
380
381
  }, {
381
382
  type: import("@metamask/superstruct").Struct<"private-key", "private-key">;
382
383
  privateKey: import("@metamask/superstruct").Struct<string, null>;
383
- encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58", {
384
+ encoding: import("@metamask/superstruct").Struct<"hexadecimal" | "base58" | "base32", {
384
385
  hexadecimal: "hexadecimal";
385
386
  base58: "base58";
387
+ base32: "base32";
386
388
  }>;
387
389
  }>;
388
390
  export type ExportAccountResponse = Infer<typeof ExportAccountResponseStruct>;
@@ -1 +1 @@
1
- {"version":3,"file":"keyring-rpc.d.mts","sourceRoot":"","sources":["../../../src/v2/api/keyring-rpc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAmBnD,OAAO,KAAK,EAAE,OAAO,EAAE,sBAAkB;AAEzC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,cAAc,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAA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BAA2B,CAAC,CAAC;AAI9E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,kBAAkB,GAClB,iBAAiB,GACjB,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,gBAAgB,IAAI,OAAO,CACzE,kBAAkB,EAClB;IAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAA;CAAE,CAC3B,CAAC"}
@@ -98,6 +98,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
98
98
  type: `${string}:${string}/${string}:${string}`;
99
99
  amount: string;
100
100
  fungible: true;
101
+ metadata?: Record<string, import("@metamask/utils").Json>;
101
102
  } | {
102
103
  id: `${string}:${string}/${string}:${string}/${string}`;
103
104
  fungible: false;
@@ -118,6 +119,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
118
119
  type: `${string}:${string}/${string}:${string}`;
119
120
  amount: string;
120
121
  fungible: true;
122
+ metadata?: Record<string, import("@metamask/utils").Json>;
121
123
  } | {
122
124
  id: `${string}:${string}/${string}:${string}/${string}`;
123
125
  fungible: false;
@@ -130,6 +132,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
130
132
  type: `${string}:${string}/${string}:${string}`;
131
133
  amount: string;
132
134
  fungible: true;
135
+ metadata?: Record<string, import("@metamask/utils").Json>;
133
136
  } | {
134
137
  id: `${string}:${string}/${string}:${string}/${string}`;
135
138
  fungible: false;
@@ -153,6 +156,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
153
156
  type: `${string}:${string}/${string}:${string}`;
154
157
  amount: string;
155
158
  fungible: true;
159
+ metadata?: Record<string, import("@metamask/utils").Json>;
156
160
  } | {
157
161
  id: `${string}:${string}/${string}:${string}/${string}`;
158
162
  fungible: false;
@@ -173,6 +177,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
173
177
  type: `${string}:${string}/${string}:${string}`;
174
178
  amount: string;
175
179
  fungible: true;
180
+ metadata?: Record<string, import("@metamask/utils").Json>;
176
181
  } | {
177
182
  id: `${string}:${string}/${string}:${string}/${string}`;
178
183
  fungible: false;
@@ -185,6 +190,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
185
190
  type: `${string}:${string}/${string}:${string}`;
186
191
  amount: string;
187
192
  fungible: true;
193
+ metadata?: Record<string, import("@metamask/utils").Json>;
188
194
  } | {
189
195
  id: `${string}:${string}/${string}:${string}/${string}`;
190
196
  fungible: false;
@@ -205,6 +211,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
205
211
  type: `${string}:${string}/${string}:${string}`;
206
212
  amount: string;
207
213
  fungible: true;
214
+ metadata?: Record<string, import("@metamask/utils").Json>;
208
215
  } | {
209
216
  id: `${string}:${string}/${string}:${string}/${string}`;
210
217
  fungible: false;
@@ -225,6 +232,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
225
232
  type: `${string}:${string}/${string}:${string}`;
226
233
  amount: string;
227
234
  fungible: true;
235
+ metadata?: Record<string, import("@metamask/utils").Json>;
228
236
  } | {
229
237
  id: `${string}:${string}/${string}:${string}/${string}`;
230
238
  fungible: false;
@@ -237,6 +245,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
237
245
  type: `${string}:${string}/${string}:${string}`;
238
246
  amount: string;
239
247
  fungible: true;
248
+ metadata?: Record<string, import("@metamask/utils").Json>;
240
249
  } | {
241
250
  id: `${string}:${string}/${string}:${string}/${string}`;
242
251
  fungible: false;
@@ -277,6 +286,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
277
286
  type: `${string}:${string}/${string}:${string}`;
278
287
  amount: string;
279
288
  fungible: true;
289
+ metadata?: Record<string, import("@metamask/utils").Json>;
280
290
  } | {
281
291
  id: `${string}:${string}/${string}:${string}/${string}`;
282
292
  fungible: false;
@@ -288,6 +298,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
288
298
  type: `${string}:${string}/${string}:${string}`;
289
299
  amount: string;
290
300
  fungible: true;
301
+ metadata?: Record<string, import("@metamask/utils").Json>;
291
302
  } | {
292
303
  id: `${string}:${string}/${string}:${string}/${string}`;
293
304
  fungible: false;
@@ -299,6 +310,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
299
310
  type: `${string}:${string}/${string}:${string}`;
300
311
  amount: string;
301
312
  fungible: true;
313
+ metadata?: Record<string, import("@metamask/utils").Json>;
302
314
  } | {
303
315
  id: `${string}:${string}/${string}:${string}/${string}`;
304
316
  fungible: false;
@@ -311,6 +323,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
311
323
  type: `${string}:${string}/${string}:${string}`;
312
324
  amount: string;
313
325
  fungible: true;
326
+ metadata?: Record<string, import("@metamask/utils").Json>;
314
327
  } | {
315
328
  id: `${string}:${string}/${string}:${string}/${string}`;
316
329
  fungible: false;
@@ -322,6 +335,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
322
335
  type: `${string}:${string}/${string}:${string}`;
323
336
  amount: string;
324
337
  fungible: true;
338
+ metadata?: Record<string, import("@metamask/utils").Json>;
325
339
  } | {
326
340
  id: `${string}:${string}/${string}:${string}/${string}`;
327
341
  fungible: false;
@@ -333,6 +347,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
333
347
  type: `${string}:${string}/${string}:${string}`;
334
348
  amount: string;
335
349
  fungible: true;
350
+ metadata?: Record<string, import("@metamask/utils").Json>;
336
351
  } | {
337
352
  id: `${string}:${string}/${string}:${string}/${string}`;
338
353
  fungible: false;
@@ -345,6 +360,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
345
360
  type: `${string}:${string}/${string}:${string}`;
346
361
  amount: string;
347
362
  fungible: true;
363
+ metadata?: Record<string, import("@metamask/utils").Json>;
348
364
  } | {
349
365
  id: `${string}:${string}/${string}:${string}/${string}`;
350
366
  fungible: false;
@@ -356,6 +372,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
356
372
  type: `${string}:${string}/${string}:${string}`;
357
373
  amount: string;
358
374
  fungible: true;
375
+ metadata?: Record<string, import("@metamask/utils").Json>;
359
376
  } | {
360
377
  id: `${string}:${string}/${string}:${string}/${string}`;
361
378
  fungible: false;
@@ -370,6 +387,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
370
387
  type: `${string}:${string}/${string}:${string}`;
371
388
  amount: string;
372
389
  fungible: true;
390
+ metadata?: Record<string, import("@metamask/utils").Json>;
373
391
  } | {
374
392
  id: `${string}:${string}/${string}:${string}/${string}`;
375
393
  fungible: false;
@@ -451,6 +469,7 @@ export type GetAccountBalancesRequest = Infer<typeof GetAccountBalancesRequestSt
451
469
  export declare const GetAccountBalancesResponseStruct: import("@metamask/superstruct").Struct<Record<`${string}:${string}/${string}:${string}`, {
452
470
  unit: string;
453
471
  amount: string;
472
+ metadata?: Record<string, import("@metamask/utils").Json>;
454
473
  }>, null>;
455
474
  export type GetAccountBalancesResponse = Infer<typeof GetAccountBalancesResponseStruct>;
456
475
  export declare const ResolveAccountAddressRequestStruct: import("@metamask/superstruct").Struct<{
@@ -1 +1 @@
1
- {"version":3,"file":"keyring-snap-rpc.d.cts","sourceRoot":"","sources":["../../../src/v2/api/keyring-snap-rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,gCAAgC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAanD,OAAO,KAAK,EAAE,sBAAsB,EAAE,8BAA0B;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,8BAA0B;AAMjD,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,WAAW,EACZ,2BAAuB;AAExB,OAAO,KAAK,EAAE,UAAU,EAAE,iCAA6B;AAEvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kCAA8B;AAE9D,OAAO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IACH,kBAAkB,CAAC,EAAE,CACnB,EAAE,EAAE,SAAS,EACb,MAAM,EAAE,aAAa,EAAE,KACpB,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;IAE7C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,cAAc,KACpB,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CAC7C,CAAC"}
@@ -98,6 +98,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
98
98
  type: `${string}:${string}/${string}:${string}`;
99
99
  amount: string;
100
100
  fungible: true;
101
+ metadata?: Record<string, import("@metamask/utils").Json>;
101
102
  } | {
102
103
  id: `${string}:${string}/${string}:${string}/${string}`;
103
104
  fungible: false;
@@ -118,6 +119,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
118
119
  type: `${string}:${string}/${string}:${string}`;
119
120
  amount: string;
120
121
  fungible: true;
122
+ metadata?: Record<string, import("@metamask/utils").Json>;
121
123
  } | {
122
124
  id: `${string}:${string}/${string}:${string}/${string}`;
123
125
  fungible: false;
@@ -130,6 +132,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
130
132
  type: `${string}:${string}/${string}:${string}`;
131
133
  amount: string;
132
134
  fungible: true;
135
+ metadata?: Record<string, import("@metamask/utils").Json>;
133
136
  } | {
134
137
  id: `${string}:${string}/${string}:${string}/${string}`;
135
138
  fungible: false;
@@ -153,6 +156,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
153
156
  type: `${string}:${string}/${string}:${string}`;
154
157
  amount: string;
155
158
  fungible: true;
159
+ metadata?: Record<string, import("@metamask/utils").Json>;
156
160
  } | {
157
161
  id: `${string}:${string}/${string}:${string}/${string}`;
158
162
  fungible: false;
@@ -173,6 +177,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
173
177
  type: `${string}:${string}/${string}:${string}`;
174
178
  amount: string;
175
179
  fungible: true;
180
+ metadata?: Record<string, import("@metamask/utils").Json>;
176
181
  } | {
177
182
  id: `${string}:${string}/${string}:${string}/${string}`;
178
183
  fungible: false;
@@ -185,6 +190,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
185
190
  type: `${string}:${string}/${string}:${string}`;
186
191
  amount: string;
187
192
  fungible: true;
193
+ metadata?: Record<string, import("@metamask/utils").Json>;
188
194
  } | {
189
195
  id: `${string}:${string}/${string}:${string}/${string}`;
190
196
  fungible: false;
@@ -205,6 +211,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
205
211
  type: `${string}:${string}/${string}:${string}`;
206
212
  amount: string;
207
213
  fungible: true;
214
+ metadata?: Record<string, import("@metamask/utils").Json>;
208
215
  } | {
209
216
  id: `${string}:${string}/${string}:${string}/${string}`;
210
217
  fungible: false;
@@ -225,6 +232,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
225
232
  type: `${string}:${string}/${string}:${string}`;
226
233
  amount: string;
227
234
  fungible: true;
235
+ metadata?: Record<string, import("@metamask/utils").Json>;
228
236
  } | {
229
237
  id: `${string}:${string}/${string}:${string}/${string}`;
230
238
  fungible: false;
@@ -237,6 +245,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
237
245
  type: `${string}:${string}/${string}:${string}`;
238
246
  amount: string;
239
247
  fungible: true;
248
+ metadata?: Record<string, import("@metamask/utils").Json>;
240
249
  } | {
241
250
  id: `${string}:${string}/${string}:${string}/${string}`;
242
251
  fungible: false;
@@ -277,6 +286,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
277
286
  type: `${string}:${string}/${string}:${string}`;
278
287
  amount: string;
279
288
  fungible: true;
289
+ metadata?: Record<string, import("@metamask/utils").Json>;
280
290
  } | {
281
291
  id: `${string}:${string}/${string}:${string}/${string}`;
282
292
  fungible: false;
@@ -288,6 +298,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
288
298
  type: `${string}:${string}/${string}:${string}`;
289
299
  amount: string;
290
300
  fungible: true;
301
+ metadata?: Record<string, import("@metamask/utils").Json>;
291
302
  } | {
292
303
  id: `${string}:${string}/${string}:${string}/${string}`;
293
304
  fungible: false;
@@ -299,6 +310,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
299
310
  type: `${string}:${string}/${string}:${string}`;
300
311
  amount: string;
301
312
  fungible: true;
313
+ metadata?: Record<string, import("@metamask/utils").Json>;
302
314
  } | {
303
315
  id: `${string}:${string}/${string}:${string}/${string}`;
304
316
  fungible: false;
@@ -311,6 +323,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
311
323
  type: `${string}:${string}/${string}:${string}`;
312
324
  amount: string;
313
325
  fungible: true;
326
+ metadata?: Record<string, import("@metamask/utils").Json>;
314
327
  } | {
315
328
  id: `${string}:${string}/${string}:${string}/${string}`;
316
329
  fungible: false;
@@ -322,6 +335,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
322
335
  type: `${string}:${string}/${string}:${string}`;
323
336
  amount: string;
324
337
  fungible: true;
338
+ metadata?: Record<string, import("@metamask/utils").Json>;
325
339
  } | {
326
340
  id: `${string}:${string}/${string}:${string}/${string}`;
327
341
  fungible: false;
@@ -333,6 +347,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
333
347
  type: `${string}:${string}/${string}:${string}`;
334
348
  amount: string;
335
349
  fungible: true;
350
+ metadata?: Record<string, import("@metamask/utils").Json>;
336
351
  } | {
337
352
  id: `${string}:${string}/${string}:${string}/${string}`;
338
353
  fungible: false;
@@ -345,6 +360,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
345
360
  type: `${string}:${string}/${string}:${string}`;
346
361
  amount: string;
347
362
  fungible: true;
363
+ metadata?: Record<string, import("@metamask/utils").Json>;
348
364
  } | {
349
365
  id: `${string}:${string}/${string}:${string}/${string}`;
350
366
  fungible: false;
@@ -356,6 +372,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
356
372
  type: `${string}:${string}/${string}:${string}`;
357
373
  amount: string;
358
374
  fungible: true;
375
+ metadata?: Record<string, import("@metamask/utils").Json>;
359
376
  } | {
360
377
  id: `${string}:${string}/${string}:${string}/${string}`;
361
378
  fungible: false;
@@ -370,6 +387,7 @@ export declare const GetAccountTransactionsResponseStruct: import("@metamask/sup
370
387
  type: `${string}:${string}/${string}:${string}`;
371
388
  amount: string;
372
389
  fungible: true;
390
+ metadata?: Record<string, import("@metamask/utils").Json>;
373
391
  } | {
374
392
  id: `${string}:${string}/${string}:${string}/${string}`;
375
393
  fungible: false;
@@ -451,6 +469,7 @@ export type GetAccountBalancesRequest = Infer<typeof GetAccountBalancesRequestSt
451
469
  export declare const GetAccountBalancesResponseStruct: import("@metamask/superstruct").Struct<Record<`${string}:${string}/${string}:${string}`, {
452
470
  unit: string;
453
471
  amount: string;
472
+ metadata?: Record<string, import("@metamask/utils").Json>;
454
473
  }>, null>;
455
474
  export type GetAccountBalancesResponse = Infer<typeof GetAccountBalancesResponseStruct>;
456
475
  export declare const ResolveAccountAddressRequestStruct: import("@metamask/superstruct").Struct<{