@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
@@ -255,6 +255,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
255
255
  type: `${string}:${string}/${string}:${string}`;
256
256
  amount: string;
257
257
  fungible: true;
258
+ metadata?: Record<string, import("@metamask/utils").Json>;
258
259
  } | {
259
260
  id: `${string}:${string}/${string}:${string}/${string}`;
260
261
  fungible: false;
@@ -275,6 +276,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
275
276
  type: `${string}:${string}/${string}:${string}`;
276
277
  amount: string;
277
278
  fungible: true;
279
+ metadata?: Record<string, import("@metamask/utils").Json>;
278
280
  } | {
279
281
  id: `${string}:${string}/${string}:${string}/${string}`;
280
282
  fungible: false;
@@ -287,6 +289,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
287
289
  type: `${string}:${string}/${string}:${string}`;
288
290
  amount: string;
289
291
  fungible: true;
292
+ metadata?: Record<string, import("@metamask/utils").Json>;
290
293
  } | {
291
294
  id: `${string}:${string}/${string}:${string}/${string}`;
292
295
  fungible: false;
@@ -351,6 +354,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
351
354
  type: `${string}:${string}/${string}:${string}`;
352
355
  amount: string;
353
356
  fungible: true;
357
+ metadata?: Record<string, import("@metamask/utils").Json>;
354
358
  } | {
355
359
  id: `${string}:${string}/${string}:${string}/${string}`;
356
360
  fungible: false;
@@ -362,6 +366,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
362
366
  type: `${string}:${string}/${string}:${string}`;
363
367
  amount: string;
364
368
  fungible: true;
369
+ metadata?: Record<string, import("@metamask/utils").Json>;
365
370
  } | {
366
371
  id: `${string}:${string}/${string}:${string}/${string}`;
367
372
  fungible: false;
@@ -379,6 +384,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
379
384
  type: `${string}:${string}/${string}:${string}`;
380
385
  amount: string;
381
386
  fungible: true;
387
+ metadata?: Record<string, import("@metamask/utils").Json>;
382
388
  } | {
383
389
  id: `${string}:${string}/${string}:${string}/${string}`;
384
390
  fungible: false;
@@ -394,6 +400,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
394
400
  type: `${string}:${string}/${string}:${string}`;
395
401
  amount: string;
396
402
  fungible: true;
403
+ metadata?: Record<string, import("@metamask/utils").Json>;
397
404
  } | {
398
405
  id: `${string}:${string}/${string}:${string}/${string}`;
399
406
  fungible: false;
@@ -405,6 +412,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
405
412
  type: `${string}:${string}/${string}:${string}`;
406
413
  amount: string;
407
414
  fungible: true;
415
+ metadata?: Record<string, import("@metamask/utils").Json>;
408
416
  } | {
409
417
  id: `${string}:${string}/${string}:${string}/${string}`;
410
418
  fungible: false;
@@ -422,6 +430,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
422
430
  type: `${string}:${string}/${string}:${string}`;
423
431
  amount: string;
424
432
  fungible: true;
433
+ metadata?: Record<string, import("@metamask/utils").Json>;
425
434
  } | {
426
435
  id: `${string}:${string}/${string}:${string}/${string}`;
427
436
  fungible: false;
@@ -437,6 +446,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
437
446
  type: `${string}:${string}/${string}:${string}`;
438
447
  amount: string;
439
448
  fungible: true;
449
+ metadata?: Record<string, import("@metamask/utils").Json>;
440
450
  } | {
441
451
  id: `${string}:${string}/${string}:${string}/${string}`;
442
452
  fungible: false;
@@ -448,6 +458,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
448
458
  type: `${string}:${string}/${string}:${string}`;
449
459
  amount: string;
450
460
  fungible: true;
461
+ metadata?: Record<string, import("@metamask/utils").Json>;
451
462
  } | {
452
463
  id: `${string}:${string}/${string}:${string}/${string}`;
453
464
  fungible: false;
@@ -468,6 +479,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
468
479
  type: `${string}:${string}/${string}:${string}`;
469
480
  amount: string;
470
481
  fungible: true;
482
+ metadata?: Record<string, import("@metamask/utils").Json>;
471
483
  } | {
472
484
  id: `${string}:${string}/${string}:${string}/${string}`;
473
485
  fungible: false;
@@ -584,6 +596,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
584
596
  type: `${string}:${string}/${string}:${string}`;
585
597
  amount: string;
586
598
  fungible: true;
599
+ metadata?: Record<string, import("@metamask/utils").Json>;
587
600
  } | {
588
601
  id: `${string}:${string}/${string}:${string}/${string}`;
589
602
  fungible: false;
@@ -604,6 +617,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
604
617
  type: `${string}:${string}/${string}:${string}`;
605
618
  amount: string;
606
619
  fungible: true;
620
+ metadata?: Record<string, import("@metamask/utils").Json>;
607
621
  } | {
608
622
  id: `${string}:${string}/${string}:${string}/${string}`;
609
623
  fungible: false;
@@ -616,6 +630,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
616
630
  type: `${string}:${string}/${string}:${string}`;
617
631
  amount: string;
618
632
  fungible: true;
633
+ metadata?: Record<string, import("@metamask/utils").Json>;
619
634
  } | {
620
635
  id: `${string}:${string}/${string}:${string}/${string}`;
621
636
  fungible: false;
@@ -642,6 +657,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
642
657
  type: `${string}:${string}/${string}:${string}`;
643
658
  amount: string;
644
659
  fungible: true;
660
+ metadata?: Record<string, import("@metamask/utils").Json>;
645
661
  } | {
646
662
  id: `${string}:${string}/${string}:${string}/${string}`;
647
663
  fungible: false;
@@ -662,6 +678,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
662
678
  type: `${string}:${string}/${string}:${string}`;
663
679
  amount: string;
664
680
  fungible: true;
681
+ metadata?: Record<string, import("@metamask/utils").Json>;
665
682
  } | {
666
683
  id: `${string}:${string}/${string}:${string}/${string}`;
667
684
  fungible: false;
@@ -674,6 +691,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
674
691
  type: `${string}:${string}/${string}:${string}`;
675
692
  amount: string;
676
693
  fungible: true;
694
+ metadata?: Record<string, import("@metamask/utils").Json>;
677
695
  } | {
678
696
  id: `${string}:${string}/${string}:${string}/${string}`;
679
697
  fungible: false;
@@ -694,6 +712,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
694
712
  type: `${string}:${string}/${string}:${string}`;
695
713
  amount: string;
696
714
  fungible: true;
715
+ metadata?: Record<string, import("@metamask/utils").Json>;
697
716
  } | {
698
717
  id: `${string}:${string}/${string}:${string}/${string}`;
699
718
  fungible: false;
@@ -714,6 +733,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
714
733
  type: `${string}:${string}/${string}:${string}`;
715
734
  amount: string;
716
735
  fungible: true;
736
+ metadata?: Record<string, import("@metamask/utils").Json>;
717
737
  } | {
718
738
  id: `${string}:${string}/${string}:${string}/${string}`;
719
739
  fungible: false;
@@ -726,6 +746,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
726
746
  type: `${string}:${string}/${string}:${string}`;
727
747
  amount: string;
728
748
  fungible: true;
749
+ metadata?: Record<string, import("@metamask/utils").Json>;
729
750
  } | {
730
751
  id: `${string}:${string}/${string}:${string}/${string}`;
731
752
  fungible: false;
@@ -790,6 +811,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
790
811
  type: `${string}:${string}/${string}:${string}`;
791
812
  amount: string;
792
813
  fungible: true;
814
+ metadata?: Record<string, import("@metamask/utils").Json>;
793
815
  } | {
794
816
  id: `${string}:${string}/${string}:${string}/${string}`;
795
817
  fungible: false;
@@ -801,6 +823,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
801
823
  type: `${string}:${string}/${string}:${string}`;
802
824
  amount: string;
803
825
  fungible: true;
826
+ metadata?: Record<string, import("@metamask/utils").Json>;
804
827
  } | {
805
828
  id: `${string}:${string}/${string}:${string}/${string}`;
806
829
  fungible: false;
@@ -818,6 +841,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
818
841
  type: `${string}:${string}/${string}:${string}`;
819
842
  amount: string;
820
843
  fungible: true;
844
+ metadata?: Record<string, import("@metamask/utils").Json>;
821
845
  } | {
822
846
  id: `${string}:${string}/${string}:${string}/${string}`;
823
847
  fungible: false;
@@ -833,6 +857,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
833
857
  type: `${string}:${string}/${string}:${string}`;
834
858
  amount: string;
835
859
  fungible: true;
860
+ metadata?: Record<string, import("@metamask/utils").Json>;
836
861
  } | {
837
862
  id: `${string}:${string}/${string}:${string}/${string}`;
838
863
  fungible: false;
@@ -844,6 +869,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
844
869
  type: `${string}:${string}/${string}:${string}`;
845
870
  amount: string;
846
871
  fungible: true;
872
+ metadata?: Record<string, import("@metamask/utils").Json>;
847
873
  } | {
848
874
  id: `${string}:${string}/${string}:${string}/${string}`;
849
875
  fungible: false;
@@ -861,6 +887,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
861
887
  type: `${string}:${string}/${string}:${string}`;
862
888
  amount: string;
863
889
  fungible: true;
890
+ metadata?: Record<string, import("@metamask/utils").Json>;
864
891
  } | {
865
892
  id: `${string}:${string}/${string}:${string}/${string}`;
866
893
  fungible: false;
@@ -876,6 +903,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
876
903
  type: `${string}:${string}/${string}:${string}`;
877
904
  amount: string;
878
905
  fungible: true;
906
+ metadata?: Record<string, import("@metamask/utils").Json>;
879
907
  } | {
880
908
  id: `${string}:${string}/${string}:${string}/${string}`;
881
909
  fungible: false;
@@ -887,6 +915,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
887
915
  type: `${string}:${string}/${string}:${string}`;
888
916
  amount: string;
889
917
  fungible: true;
918
+ metadata?: Record<string, import("@metamask/utils").Json>;
890
919
  } | {
891
920
  id: `${string}:${string}/${string}:${string}/${string}`;
892
921
  fungible: false;
@@ -907,6 +936,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
907
936
  type: `${string}:${string}/${string}:${string}`;
908
937
  amount: string;
909
938
  fungible: true;
939
+ metadata?: Record<string, import("@metamask/utils").Json>;
910
940
  } | {
911
941
  id: `${string}:${string}/${string}:${string}/${string}`;
912
942
  fungible: false;
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.d.mts","sourceRoot":"","sources":["../../src/api/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gCAAgC;AAE3D,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAanD,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAqB;AAiD9C;;GAEG;AACH,oBAAY,OAAO;IACjB;;;;;;OAMG;IACH,IAAI,SAAS;IAEb;;;;;OAKG;IACH,QAAQ,aAAa;CACtB;AAiBD;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;;OAGG;IACH,SAAS,cAAc;IAEvB;;;OAGG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,oBAAY,eAAe;IACzB;;;;OAIG;IACH,IAAI,SAAS;IAEb;;;OAGG;IACH,OAAO,YAAY;IAEnB;;;;;OAKG;IACH,IAAI,SAAS;IAEb;;;OAGG;IACH,UAAU,gBAAgB;IAE1B;;;OAGG;IACH,aAAa,mBAAmB;IAEhC;;OAEG;IACH,YAAY,kBAAkB;IAE9B;;OAEG;IACH,aAAa,mBAAmB;IAEhC;;OAEG;IACH,YAAY,kBAAkB;IAE9B;;OAEG;IACH,eAAe,qBAAqB;IAEpC;;;OAGG;IACH,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,SAAS,cAAc;CACxB;AAED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IG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,CACxC,OAAO,sBAAsB,EAC7B,SAAS,CAAC,WAAW,CAAC,CACvB,CAAC"}
package/dist/events.d.cts CHANGED
@@ -335,6 +335,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
335
335
  balances: Record<string, Record<`${string}:${string}/${string}:${string}`, {
336
336
  unit: string;
337
337
  amount: string;
338
+ metadata?: Record<string, import("@metamask/utils").Json>;
338
339
  }>>;
339
340
  };
340
341
  }, {
@@ -343,6 +344,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
343
344
  balances: Record<string, Record<`${string}:${string}/${string}:${string}`, {
344
345
  unit: string;
345
346
  amount: string;
347
+ metadata?: Record<string, import("@metamask/utils").Json>;
346
348
  }>>;
347
349
  }, {
348
350
  /**
@@ -351,6 +353,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
351
353
  balances: import("@metamask/superstruct").Struct<Record<string, Record<`${string}:${string}/${string}:${string}`, {
352
354
  unit: string;
353
355
  amount: string;
356
+ metadata?: Record<string, import("@metamask/utils").Json>;
354
357
  }>>, null>;
355
358
  }>;
356
359
  }>;
@@ -377,6 +380,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
377
380
  type: `${string}:${string}/${string}:${string}`;
378
381
  amount: string;
379
382
  fungible: true;
383
+ metadata?: Record<string, import("@metamask/utils").Json>;
380
384
  } | {
381
385
  id: `${string}:${string}/${string}:${string}/${string}`;
382
386
  fungible: false;
@@ -397,6 +401,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
397
401
  type: `${string}:${string}/${string}:${string}`;
398
402
  amount: string;
399
403
  fungible: true;
404
+ metadata?: Record<string, import("@metamask/utils").Json>;
400
405
  } | {
401
406
  id: `${string}:${string}/${string}:${string}/${string}`;
402
407
  fungible: false;
@@ -409,6 +414,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
409
414
  type: `${string}:${string}/${string}:${string}`;
410
415
  amount: string;
411
416
  fungible: true;
417
+ metadata?: Record<string, import("@metamask/utils").Json>;
412
418
  } | {
413
419
  id: `${string}:${string}/${string}:${string}/${string}`;
414
420
  fungible: false;
@@ -434,6 +440,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
434
440
  type: `${string}:${string}/${string}:${string}`;
435
441
  amount: string;
436
442
  fungible: true;
443
+ metadata?: Record<string, import("@metamask/utils").Json>;
437
444
  } | {
438
445
  id: `${string}:${string}/${string}:${string}/${string}`;
439
446
  fungible: false;
@@ -454,6 +461,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
454
461
  type: `${string}:${string}/${string}:${string}`;
455
462
  amount: string;
456
463
  fungible: true;
464
+ metadata?: Record<string, import("@metamask/utils").Json>;
457
465
  } | {
458
466
  id: `${string}:${string}/${string}:${string}/${string}`;
459
467
  fungible: false;
@@ -466,6 +474,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
466
474
  type: `${string}:${string}/${string}:${string}`;
467
475
  amount: string;
468
476
  fungible: true;
477
+ metadata?: Record<string, import("@metamask/utils").Json>;
469
478
  } | {
470
479
  id: `${string}:${string}/${string}:${string}/${string}`;
471
480
  fungible: false;
@@ -491,6 +500,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
491
500
  type: `${string}:${string}/${string}:${string}`;
492
501
  amount: string;
493
502
  fungible: true;
503
+ metadata?: Record<string, import("@metamask/utils").Json>;
494
504
  } | {
495
505
  id: `${string}:${string}/${string}:${string}/${string}`;
496
506
  fungible: false;
@@ -511,6 +521,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
511
521
  type: `${string}:${string}/${string}:${string}`;
512
522
  amount: string;
513
523
  fungible: true;
524
+ metadata?: Record<string, import("@metamask/utils").Json>;
514
525
  } | {
515
526
  id: `${string}:${string}/${string}:${string}/${string}`;
516
527
  fungible: false;
@@ -523,6 +534,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
523
534
  type: `${string}:${string}/${string}:${string}`;
524
535
  amount: string;
525
536
  fungible: true;
537
+ metadata?: Record<string, import("@metamask/utils").Json>;
526
538
  } | {
527
539
  id: `${string}:${string}/${string}:${string}/${string}`;
528
540
  fungible: false;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAuBnD;;GAEG;AACH,oBAAY,YAAY;IAEtB,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IAGxC,eAAe,2BAA2B;IAC1C,eAAe,2BAA2B;IAG1C,sBAAsB,kCAAkC;IACxD,uBAAuB,mCAAmC;IAC1D,0BAA0B,sCAAsC;CACjE;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAGlC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAGH;;;;;;WAMG;;QAGH;;;;WAIG;;QAGH;;;;;;;WAOG;;;EAQL,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAEvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAGlC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGL,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAEvE,eAAO,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,CAAC,CAAC;AAExC;;;;;;;GAOG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAG9C;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaL,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,KAAK,CACjD,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,sCAAsC,GAChD,+BAA+B,CAAC,QAAQ,CAAC,CAAC;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;QAG3C;;WAEG;;;;;;EAuBL,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAC9C,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,mCAAmC,GAC7C,4BAA4B,CAAC,QAAQ,CAAC,CAAC;AAEzC;;GAEG;AAEH,KAAK,aAAa,GACd,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,4BAA4B,GAC5B,2BAA2B,GAC3B,+BAA+B,GAC/B,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,YAAY,IAAI,OAAO,CACnE,aAAa,EAGb;IAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;CAAE,CACvB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/events.d.mts CHANGED
@@ -335,6 +335,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
335
335
  balances: Record<string, Record<`${string}:${string}/${string}:${string}`, {
336
336
  unit: string;
337
337
  amount: string;
338
+ metadata?: Record<string, import("@metamask/utils").Json>;
338
339
  }>>;
339
340
  };
340
341
  }, {
@@ -343,6 +344,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
343
344
  balances: Record<string, Record<`${string}:${string}/${string}:${string}`, {
344
345
  unit: string;
345
346
  amount: string;
347
+ metadata?: Record<string, import("@metamask/utils").Json>;
346
348
  }>>;
347
349
  }, {
348
350
  /**
@@ -351,6 +353,7 @@ export declare const AccountBalancesUpdatedEventStruct: import("@metamask/supers
351
353
  balances: import("@metamask/superstruct").Struct<Record<string, Record<`${string}:${string}/${string}:${string}`, {
352
354
  unit: string;
353
355
  amount: string;
356
+ metadata?: Record<string, import("@metamask/utils").Json>;
354
357
  }>>, null>;
355
358
  }>;
356
359
  }>;
@@ -377,6 +380,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
377
380
  type: `${string}:${string}/${string}:${string}`;
378
381
  amount: string;
379
382
  fungible: true;
383
+ metadata?: Record<string, import("@metamask/utils").Json>;
380
384
  } | {
381
385
  id: `${string}:${string}/${string}:${string}/${string}`;
382
386
  fungible: false;
@@ -397,6 +401,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
397
401
  type: `${string}:${string}/${string}:${string}`;
398
402
  amount: string;
399
403
  fungible: true;
404
+ metadata?: Record<string, import("@metamask/utils").Json>;
400
405
  } | {
401
406
  id: `${string}:${string}/${string}:${string}/${string}`;
402
407
  fungible: false;
@@ -409,6 +414,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
409
414
  type: `${string}:${string}/${string}:${string}`;
410
415
  amount: string;
411
416
  fungible: true;
417
+ metadata?: Record<string, import("@metamask/utils").Json>;
412
418
  } | {
413
419
  id: `${string}:${string}/${string}:${string}/${string}`;
414
420
  fungible: false;
@@ -434,6 +440,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
434
440
  type: `${string}:${string}/${string}:${string}`;
435
441
  amount: string;
436
442
  fungible: true;
443
+ metadata?: Record<string, import("@metamask/utils").Json>;
437
444
  } | {
438
445
  id: `${string}:${string}/${string}:${string}/${string}`;
439
446
  fungible: false;
@@ -454,6 +461,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
454
461
  type: `${string}:${string}/${string}:${string}`;
455
462
  amount: string;
456
463
  fungible: true;
464
+ metadata?: Record<string, import("@metamask/utils").Json>;
457
465
  } | {
458
466
  id: `${string}:${string}/${string}:${string}/${string}`;
459
467
  fungible: false;
@@ -466,6 +474,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
466
474
  type: `${string}:${string}/${string}:${string}`;
467
475
  amount: string;
468
476
  fungible: true;
477
+ metadata?: Record<string, import("@metamask/utils").Json>;
469
478
  } | {
470
479
  id: `${string}:${string}/${string}:${string}/${string}`;
471
480
  fungible: false;
@@ -491,6 +500,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
491
500
  type: `${string}:${string}/${string}:${string}`;
492
501
  amount: string;
493
502
  fungible: true;
503
+ metadata?: Record<string, import("@metamask/utils").Json>;
494
504
  } | {
495
505
  id: `${string}:${string}/${string}:${string}/${string}`;
496
506
  fungible: false;
@@ -511,6 +521,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
511
521
  type: `${string}:${string}/${string}:${string}`;
512
522
  amount: string;
513
523
  fungible: true;
524
+ metadata?: Record<string, import("@metamask/utils").Json>;
514
525
  } | {
515
526
  id: `${string}:${string}/${string}:${string}/${string}`;
516
527
  fungible: false;
@@ -523,6 +534,7 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
523
534
  type: `${string}:${string}/${string}:${string}`;
524
535
  amount: string;
525
536
  fungible: true;
537
+ metadata?: Record<string, import("@metamask/utils").Json>;
526
538
  } | {
527
539
  id: `${string}:${string}/${string}:${string}/${string}`;
528
540
  fungible: false;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAuBnD;;GAEG;AACH,oBAAY,YA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,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,sCAAsC,GAChD,+BAA+B,CAAC,QAAQ,CAAC,CAAC;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;QAG3C;;WAEG;;;;;;EAuBL,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAC9C,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,mCAAmC,GAC7C,4BAA4B,CAAC,QAAQ,CAAC,CAAC;AAEzC;;GAEG;AAEH,KAAK,aAAa,GACd,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,4BAA4B,GAC5B,2BAA2B,GAC3B,+BAA+B,GAC/B,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,YAAY,IAAI,OAAO,CACnE,aAAa,EAGb;IAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;CAAE,CACvB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/rpc.d.cts CHANGED
@@ -280,7 +280,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
280
280
  type: "custom";
281
281
  } | {
282
282
  type: "private-key:import";
283
- encoding: "hexadecimal" | "base58";
283
+ encoding: "hexadecimal" | "base58" | "base32";
284
284
  privateKey: string;
285
285
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
286
286
  };
@@ -311,7 +311,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
311
311
  type: "custom";
312
312
  } | {
313
313
  type: "private-key:import";
314
- encoding: "hexadecimal" | "base58";
314
+ encoding: "hexadecimal" | "base58" | "base32";
315
315
  privateKey: string;
316
316
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
317
317
  };
@@ -339,7 +339,7 @@ export declare const CreateAccountsRequestStruct: import("@metamask/superstruct"
339
339
  type: "custom";
340
340
  } | {
341
341
  type: "private-key:import";
342
- encoding: "hexadecimal" | "base58";
342
+ encoding: "hexadecimal" | "base58" | "base32";
343
343
  privateKey: string;
344
344
  accountType?: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
345
345
  }, null>;
@@ -520,6 +520,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
520
520
  type: `${string}:${string}/${string}:${string}`;
521
521
  amount: string;
522
522
  fungible: true;
523
+ metadata?: Record<string, Json>;
523
524
  } | {
524
525
  id: `${string}:${string}/${string}:${string}/${string}`;
525
526
  fungible: false;
@@ -540,6 +541,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
540
541
  type: `${string}:${string}/${string}:${string}`;
541
542
  amount: string;
542
543
  fungible: true;
544
+ metadata?: Record<string, Json>;
543
545
  } | {
544
546
  id: `${string}:${string}/${string}:${string}/${string}`;
545
547
  fungible: false;
@@ -552,6 +554,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
552
554
  type: `${string}:${string}/${string}:${string}`;
553
555
  amount: string;
554
556
  fungible: true;
557
+ metadata?: Record<string, Json>;
555
558
  } | {
556
559
  id: `${string}:${string}/${string}:${string}/${string}`;
557
560
  fungible: false;
@@ -575,6 +578,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
575
578
  type: `${string}:${string}/${string}:${string}`;
576
579
  amount: string;
577
580
  fungible: true;
581
+ metadata?: Record<string, Json>;
578
582
  } | {
579
583
  id: `${string}:${string}/${string}:${string}/${string}`;
580
584
  fungible: false;
@@ -595,6 +599,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
595
599
  type: `${string}:${string}/${string}:${string}`;
596
600
  amount: string;
597
601
  fungible: true;
602
+ metadata?: Record<string, Json>;
598
603
  } | {
599
604
  id: `${string}:${string}/${string}:${string}/${string}`;
600
605
  fungible: false;
@@ -607,6 +612,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
607
612
  type: `${string}:${string}/${string}:${string}`;
608
613
  amount: string;
609
614
  fungible: true;
615
+ metadata?: Record<string, Json>;
610
616
  } | {
611
617
  id: `${string}:${string}/${string}:${string}/${string}`;
612
618
  fungible: false;
@@ -627,6 +633,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
627
633
  type: `${string}:${string}/${string}:${string}`;
628
634
  amount: string;
629
635
  fungible: true;
636
+ metadata?: Record<string, Json>;
630
637
  } | {
631
638
  id: `${string}:${string}/${string}:${string}/${string}`;
632
639
  fungible: false;
@@ -647,6 +654,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
647
654
  type: `${string}:${string}/${string}:${string}`;
648
655
  amount: string;
649
656
  fungible: true;
657
+ metadata?: Record<string, Json>;
650
658
  } | {
651
659
  id: `${string}:${string}/${string}:${string}/${string}`;
652
660
  fungible: false;
@@ -659,6 +667,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
659
667
  type: `${string}:${string}/${string}:${string}`;
660
668
  amount: string;
661
669
  fungible: true;
670
+ metadata?: Record<string, Json>;
662
671
  } | {
663
672
  id: `${string}:${string}/${string}:${string}/${string}`;
664
673
  fungible: false;
@@ -699,6 +708,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
699
708
  type: `${string}:${string}/${string}:${string}`;
700
709
  amount: string;
701
710
  fungible: true;
711
+ metadata?: Record<string, Json>;
702
712
  } | {
703
713
  id: `${string}:${string}/${string}:${string}/${string}`;
704
714
  fungible: false;
@@ -710,6 +720,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
710
720
  type: `${string}:${string}/${string}:${string}`;
711
721
  amount: string;
712
722
  fungible: true;
723
+ metadata?: Record<string, Json>;
713
724
  } | {
714
725
  id: `${string}:${string}/${string}:${string}/${string}`;
715
726
  fungible: false;
@@ -721,6 +732,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
721
732
  type: `${string}:${string}/${string}:${string}`;
722
733
  amount: string;
723
734
  fungible: true;
735
+ metadata?: Record<string, Json>;
724
736
  } | {
725
737
  id: `${string}:${string}/${string}:${string}/${string}`;
726
738
  fungible: false;
@@ -733,6 +745,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
733
745
  type: `${string}:${string}/${string}:${string}`;
734
746
  amount: string;
735
747
  fungible: true;
748
+ metadata?: Record<string, Json>;
736
749
  } | {
737
750
  id: `${string}:${string}/${string}:${string}/${string}`;
738
751
  fungible: false;
@@ -744,6 +757,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
744
757
  type: `${string}:${string}/${string}:${string}`;
745
758
  amount: string;
746
759
  fungible: true;
760
+ metadata?: Record<string, Json>;
747
761
  } | {
748
762
  id: `${string}:${string}/${string}:${string}/${string}`;
749
763
  fungible: false;
@@ -755,6 +769,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
755
769
  type: `${string}:${string}/${string}:${string}`;
756
770
  amount: string;
757
771
  fungible: true;
772
+ metadata?: Record<string, Json>;
758
773
  } | {
759
774
  id: `${string}:${string}/${string}:${string}/${string}`;
760
775
  fungible: false;
@@ -767,6 +782,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
767
782
  type: `${string}:${string}/${string}:${string}`;
768
783
  amount: string;
769
784
  fungible: true;
785
+ metadata?: Record<string, Json>;
770
786
  } | {
771
787
  id: `${string}:${string}/${string}:${string}/${string}`;
772
788
  fungible: false;
@@ -778,6 +794,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
778
794
  type: `${string}:${string}/${string}:${string}`;
779
795
  amount: string;
780
796
  fungible: true;
797
+ metadata?: Record<string, Json>;
781
798
  } | {
782
799
  id: `${string}:${string}/${string}:${string}/${string}`;
783
800
  fungible: false;
@@ -792,6 +809,7 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
792
809
  type: `${string}:${string}/${string}:${string}`;
793
810
  amount: string;
794
811
  fungible: true;
812
+ metadata?: Record<string, Json>;
795
813
  } | {
796
814
  id: `${string}:${string}/${string}:${string}/${string}`;
797
815
  fungible: false;
@@ -873,6 +891,7 @@ export type GetAccountBalancesRequest = Infer<typeof GetAccountBalancesRequestSt
873
891
  export declare const GetAccountBalancesResponseStruct: import("@metamask/superstruct").Struct<Record<`${string}:${string}/${string}:${string}`, {
874
892
  unit: string;
875
893
  amount: string;
894
+ metadata?: Record<string, Json>;
876
895
  }>, null>;
877
896
  export type GetAccountBalancesResponse = Infer<typeof GetAccountBalancesResponseStruct>;
878
897
  export declare const ResolveAccountAddressRequestStruct: import("@metamask/superstruct").Struct<{