@metamask-previews/keyring-api 21.5.0-543b4a0 → 21.5.0-cd75414
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account-options.cjs +4 -0
- package/dist/api/account-options.cjs.map +1 -1
- package/dist/api/account-options.d.cts +4 -0
- package/dist/api/account-options.d.cts.map +1 -1
- package/dist/api/account-options.d.mts +4 -0
- package/dist/api/account-options.d.mts.map +1 -1
- package/dist/api/account-options.mjs +4 -0
- package/dist/api/account-options.mjs.map +1 -1
- package/dist/api/account.d.cts +2 -2
- package/dist/api/account.d.mts +2 -2
- package/dist/api/asset.d.cts +2 -2
- package/dist/api/asset.d.mts +2 -2
- package/dist/api/request.d.cts +3 -3
- package/dist/api/request.d.mts +3 -3
- package/dist/api/response.d.cts +1 -1
- package/dist/api/response.d.mts +1 -1
- package/dist/api/transaction.d.cts +71 -71
- package/dist/api/transaction.d.mts +71 -71
- package/dist/api/v2/create-account/bip44.d.cts +1 -1
- package/dist/api/v2/create-account/bip44.d.mts +1 -1
- package/dist/api/v2/create-account/index.d.cts +1 -1
- package/dist/api/v2/create-account/index.d.mts +1 -1
- package/dist/btc/types.d.cts +8 -8
- package/dist/btc/types.d.mts +8 -8
- package/dist/eth/erc4337/types.d.cts +3 -3
- package/dist/eth/erc4337/types.d.mts +3 -3
- package/dist/eth/rpc/params.d.cts +29 -29
- package/dist/eth/rpc/params.d.mts +29 -29
- package/dist/eth/types.d.cts +4 -4
- package/dist/eth/types.d.mts +4 -4
- package/dist/events.d.cts +50 -50
- package/dist/events.d.mts +50 -50
- package/dist/rpc.d.cts +133 -133
- package/dist/rpc.d.mts +133 -133
- package/dist/sol/types.d.cts +2 -2
- package/dist/sol/types.d.mts +2 -2
- package/dist/trx/types.d.cts +2 -2
- package/dist/trx/types.d.mts +2 -2
- package/package.json +1 -1
|
@@ -226,13 +226,17 @@ export declare const TransactionEventStruct: import("@metamask/superstruct").Str
|
|
|
226
226
|
* ```
|
|
227
227
|
*/
|
|
228
228
|
export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
229
|
-
type: "
|
|
229
|
+
type: "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown";
|
|
230
230
|
id: string;
|
|
231
|
+
account: string;
|
|
232
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
233
|
+
timestamp: number | null;
|
|
234
|
+
chain: `${string}:${string}`;
|
|
231
235
|
from: {
|
|
232
236
|
address: string;
|
|
233
237
|
asset: {
|
|
234
|
-
unit: string;
|
|
235
238
|
type: `${string}:${string}/${string}:${string}`;
|
|
239
|
+
unit: string;
|
|
236
240
|
amount: string;
|
|
237
241
|
fungible: true;
|
|
238
242
|
} | {
|
|
@@ -240,19 +244,11 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
240
244
|
fungible: false;
|
|
241
245
|
} | null;
|
|
242
246
|
}[];
|
|
243
|
-
events: {
|
|
244
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
245
|
-
timestamp: number | null;
|
|
246
|
-
}[];
|
|
247
|
-
chain: `${string}:${string}`;
|
|
248
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
249
|
-
account: string;
|
|
250
|
-
timestamp: number | null;
|
|
251
247
|
to: {
|
|
252
248
|
address: string;
|
|
253
249
|
asset: {
|
|
254
|
-
unit: string;
|
|
255
250
|
type: `${string}:${string}/${string}:${string}`;
|
|
251
|
+
unit: string;
|
|
256
252
|
amount: string;
|
|
257
253
|
fungible: true;
|
|
258
254
|
} | {
|
|
@@ -263,8 +259,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
263
259
|
fees: {
|
|
264
260
|
type: "base" | "priority";
|
|
265
261
|
asset: {
|
|
266
|
-
unit: string;
|
|
267
262
|
type: `${string}:${string}/${string}:${string}`;
|
|
263
|
+
unit: string;
|
|
268
264
|
amount: string;
|
|
269
265
|
fungible: true;
|
|
270
266
|
} | {
|
|
@@ -272,6 +268,10 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
272
268
|
fungible: false;
|
|
273
269
|
};
|
|
274
270
|
}[];
|
|
271
|
+
events: {
|
|
272
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
273
|
+
timestamp: number | null;
|
|
274
|
+
}[];
|
|
275
275
|
details?: {
|
|
276
276
|
origin?: string;
|
|
277
277
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
@@ -308,8 +308,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
308
308
|
* Transaction type {@see TransactionType}. This will be used by MetaMask to enrich the transaction
|
|
309
309
|
* details on the UI.
|
|
310
310
|
*/
|
|
311
|
-
type: import("@metamask/superstruct").Struct<"
|
|
312
|
-
unknown: "unknown";
|
|
311
|
+
type: import("@metamask/superstruct").Struct<"send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown", {
|
|
313
312
|
send: "send";
|
|
314
313
|
receive: "receive";
|
|
315
314
|
swap: "swap";
|
|
@@ -317,6 +316,7 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
317
316
|
"bridge:receive": "bridge:receive";
|
|
318
317
|
"stake:deposit": "stake:deposit";
|
|
319
318
|
"stake:withdraw": "stake:withdraw";
|
|
319
|
+
unknown: "unknown";
|
|
320
320
|
}>;
|
|
321
321
|
/**
|
|
322
322
|
* Transaction sender addresses and amounts.
|
|
@@ -324,8 +324,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
324
324
|
from: import("@metamask/superstruct").Struct<{
|
|
325
325
|
address: string;
|
|
326
326
|
asset: {
|
|
327
|
-
unit: string;
|
|
328
327
|
type: `${string}:${string}/${string}:${string}`;
|
|
328
|
+
unit: string;
|
|
329
329
|
amount: string;
|
|
330
330
|
fungible: true;
|
|
331
331
|
} | {
|
|
@@ -335,8 +335,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
335
335
|
}[], import("@metamask/superstruct").Struct<{
|
|
336
336
|
address: string;
|
|
337
337
|
asset: {
|
|
338
|
-
unit: string;
|
|
339
338
|
type: `${string}:${string}/${string}:${string}`;
|
|
339
|
+
unit: string;
|
|
340
340
|
amount: string;
|
|
341
341
|
fungible: true;
|
|
342
342
|
} | {
|
|
@@ -352,8 +352,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
352
352
|
* Asset being transferred.
|
|
353
353
|
*/
|
|
354
354
|
asset: import("@metamask/superstruct").Struct<{
|
|
355
|
-
unit: string;
|
|
356
355
|
type: `${string}:${string}/${string}:${string}`;
|
|
356
|
+
unit: string;
|
|
357
357
|
amount: string;
|
|
358
358
|
fungible: true;
|
|
359
359
|
} | {
|
|
@@ -367,8 +367,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
367
367
|
to: import("@metamask/superstruct").Struct<{
|
|
368
368
|
address: string;
|
|
369
369
|
asset: {
|
|
370
|
-
unit: string;
|
|
371
370
|
type: `${string}:${string}/${string}:${string}`;
|
|
371
|
+
unit: string;
|
|
372
372
|
amount: string;
|
|
373
373
|
fungible: true;
|
|
374
374
|
} | {
|
|
@@ -378,8 +378,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
378
378
|
}[], import("@metamask/superstruct").Struct<{
|
|
379
379
|
address: string;
|
|
380
380
|
asset: {
|
|
381
|
-
unit: string;
|
|
382
381
|
type: `${string}:${string}/${string}:${string}`;
|
|
382
|
+
unit: string;
|
|
383
383
|
amount: string;
|
|
384
384
|
fungible: true;
|
|
385
385
|
} | {
|
|
@@ -395,8 +395,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
395
395
|
* Asset being transferred.
|
|
396
396
|
*/
|
|
397
397
|
asset: import("@metamask/superstruct").Struct<{
|
|
398
|
-
unit: string;
|
|
399
398
|
type: `${string}:${string}/${string}:${string}`;
|
|
399
|
+
unit: string;
|
|
400
400
|
amount: string;
|
|
401
401
|
fungible: true;
|
|
402
402
|
} | {
|
|
@@ -410,8 +410,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
410
410
|
fees: import("@metamask/superstruct").Struct<{
|
|
411
411
|
type: "base" | "priority";
|
|
412
412
|
asset: {
|
|
413
|
-
unit: string;
|
|
414
413
|
type: `${string}:${string}/${string}:${string}`;
|
|
414
|
+
unit: string;
|
|
415
415
|
amount: string;
|
|
416
416
|
fungible: true;
|
|
417
417
|
} | {
|
|
@@ -421,8 +421,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
421
421
|
}[], import("@metamask/superstruct").Struct<{
|
|
422
422
|
type: "base" | "priority";
|
|
423
423
|
asset: {
|
|
424
|
-
unit: string;
|
|
425
424
|
type: `${string}:${string}/${string}:${string}`;
|
|
425
|
+
unit: string;
|
|
426
426
|
amount: string;
|
|
427
427
|
fungible: true;
|
|
428
428
|
} | {
|
|
@@ -441,8 +441,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
441
441
|
* Asset used to pay for the fee.
|
|
442
442
|
*/
|
|
443
443
|
asset: import("@metamask/superstruct").Struct<{
|
|
444
|
-
unit: string;
|
|
445
444
|
type: `${string}:${string}/${string}:${string}`;
|
|
445
|
+
unit: string;
|
|
446
446
|
amount: string;
|
|
447
447
|
fungible: true;
|
|
448
448
|
} | {
|
|
@@ -546,14 +546,19 @@ export type Transaction = Infer<typeof TransactionStruct>;
|
|
|
546
546
|
* ```
|
|
547
547
|
*/
|
|
548
548
|
export declare const TransactionsPageStruct: import("@metamask/superstruct").Struct<{
|
|
549
|
+
next: string | null;
|
|
549
550
|
data: {
|
|
550
|
-
type: "
|
|
551
|
+
type: "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown";
|
|
551
552
|
id: string;
|
|
553
|
+
account: string;
|
|
554
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
555
|
+
timestamp: number | null;
|
|
556
|
+
chain: `${string}:${string}`;
|
|
552
557
|
from: {
|
|
553
558
|
address: string;
|
|
554
559
|
asset: {
|
|
555
|
-
unit: string;
|
|
556
560
|
type: `${string}:${string}/${string}:${string}`;
|
|
561
|
+
unit: string;
|
|
557
562
|
amount: string;
|
|
558
563
|
fungible: true;
|
|
559
564
|
} | {
|
|
@@ -561,19 +566,11 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
561
566
|
fungible: false;
|
|
562
567
|
} | null;
|
|
563
568
|
}[];
|
|
564
|
-
events: {
|
|
565
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
566
|
-
timestamp: number | null;
|
|
567
|
-
}[];
|
|
568
|
-
chain: `${string}:${string}`;
|
|
569
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
570
|
-
account: string;
|
|
571
|
-
timestamp: number | null;
|
|
572
569
|
to: {
|
|
573
570
|
address: string;
|
|
574
571
|
asset: {
|
|
575
|
-
unit: string;
|
|
576
572
|
type: `${string}:${string}/${string}:${string}`;
|
|
573
|
+
unit: string;
|
|
577
574
|
amount: string;
|
|
578
575
|
fungible: true;
|
|
579
576
|
} | {
|
|
@@ -584,8 +581,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
584
581
|
fees: {
|
|
585
582
|
type: "base" | "priority";
|
|
586
583
|
asset: {
|
|
587
|
-
unit: string;
|
|
588
584
|
type: `${string}:${string}/${string}:${string}`;
|
|
585
|
+
unit: string;
|
|
589
586
|
amount: string;
|
|
590
587
|
fungible: true;
|
|
591
588
|
} | {
|
|
@@ -593,24 +590,31 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
593
590
|
fungible: false;
|
|
594
591
|
};
|
|
595
592
|
}[];
|
|
593
|
+
events: {
|
|
594
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
595
|
+
timestamp: number | null;
|
|
596
|
+
}[];
|
|
596
597
|
details?: {
|
|
597
598
|
origin?: string;
|
|
598
599
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
599
600
|
};
|
|
600
601
|
}[];
|
|
601
|
-
next: string | null;
|
|
602
602
|
}, {
|
|
603
603
|
/**
|
|
604
604
|
* List of transactions.
|
|
605
605
|
*/
|
|
606
606
|
data: import("@metamask/superstruct").Struct<{
|
|
607
|
-
type: "
|
|
607
|
+
type: "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown";
|
|
608
608
|
id: string;
|
|
609
|
+
account: string;
|
|
610
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
611
|
+
timestamp: number | null;
|
|
612
|
+
chain: `${string}:${string}`;
|
|
609
613
|
from: {
|
|
610
614
|
address: string;
|
|
611
615
|
asset: {
|
|
612
|
-
unit: string;
|
|
613
616
|
type: `${string}:${string}/${string}:${string}`;
|
|
617
|
+
unit: string;
|
|
614
618
|
amount: string;
|
|
615
619
|
fungible: true;
|
|
616
620
|
} | {
|
|
@@ -618,19 +622,11 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
618
622
|
fungible: false;
|
|
619
623
|
} | null;
|
|
620
624
|
}[];
|
|
621
|
-
events: {
|
|
622
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
623
|
-
timestamp: number | null;
|
|
624
|
-
}[];
|
|
625
|
-
chain: `${string}:${string}`;
|
|
626
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
627
|
-
account: string;
|
|
628
|
-
timestamp: number | null;
|
|
629
625
|
to: {
|
|
630
626
|
address: string;
|
|
631
627
|
asset: {
|
|
632
|
-
unit: string;
|
|
633
628
|
type: `${string}:${string}/${string}:${string}`;
|
|
629
|
+
unit: string;
|
|
634
630
|
amount: string;
|
|
635
631
|
fungible: true;
|
|
636
632
|
} | {
|
|
@@ -641,8 +637,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
641
637
|
fees: {
|
|
642
638
|
type: "base" | "priority";
|
|
643
639
|
asset: {
|
|
644
|
-
unit: string;
|
|
645
640
|
type: `${string}:${string}/${string}:${string}`;
|
|
641
|
+
unit: string;
|
|
646
642
|
amount: string;
|
|
647
643
|
fungible: true;
|
|
648
644
|
} | {
|
|
@@ -650,18 +646,26 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
650
646
|
fungible: false;
|
|
651
647
|
};
|
|
652
648
|
}[];
|
|
649
|
+
events: {
|
|
650
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
651
|
+
timestamp: number | null;
|
|
652
|
+
}[];
|
|
653
653
|
details?: {
|
|
654
654
|
origin?: string;
|
|
655
655
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
656
656
|
};
|
|
657
657
|
}[], import("@metamask/superstruct").Struct<{
|
|
658
|
-
type: "
|
|
658
|
+
type: "send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown";
|
|
659
659
|
id: string;
|
|
660
|
+
account: string;
|
|
661
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
662
|
+
timestamp: number | null;
|
|
663
|
+
chain: `${string}:${string}`;
|
|
660
664
|
from: {
|
|
661
665
|
address: string;
|
|
662
666
|
asset: {
|
|
663
|
-
unit: string;
|
|
664
667
|
type: `${string}:${string}/${string}:${string}`;
|
|
668
|
+
unit: string;
|
|
665
669
|
amount: string;
|
|
666
670
|
fungible: true;
|
|
667
671
|
} | {
|
|
@@ -669,19 +673,11 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
669
673
|
fungible: false;
|
|
670
674
|
} | null;
|
|
671
675
|
}[];
|
|
672
|
-
events: {
|
|
673
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
674
|
-
timestamp: number | null;
|
|
675
|
-
}[];
|
|
676
|
-
chain: `${string}:${string}`;
|
|
677
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
678
|
-
account: string;
|
|
679
|
-
timestamp: number | null;
|
|
680
676
|
to: {
|
|
681
677
|
address: string;
|
|
682
678
|
asset: {
|
|
683
|
-
unit: string;
|
|
684
679
|
type: `${string}:${string}/${string}:${string}`;
|
|
680
|
+
unit: string;
|
|
685
681
|
amount: string;
|
|
686
682
|
fungible: true;
|
|
687
683
|
} | {
|
|
@@ -692,8 +688,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
692
688
|
fees: {
|
|
693
689
|
type: "base" | "priority";
|
|
694
690
|
asset: {
|
|
695
|
-
unit: string;
|
|
696
691
|
type: `${string}:${string}/${string}:${string}`;
|
|
692
|
+
unit: string;
|
|
697
693
|
amount: string;
|
|
698
694
|
fungible: true;
|
|
699
695
|
} | {
|
|
@@ -701,6 +697,10 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
701
697
|
fungible: false;
|
|
702
698
|
};
|
|
703
699
|
}[];
|
|
700
|
+
events: {
|
|
701
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
702
|
+
timestamp: number | null;
|
|
703
|
+
}[];
|
|
704
704
|
details?: {
|
|
705
705
|
origin?: string;
|
|
706
706
|
securityAlertResponse?: "Benign" | "Warning" | "Malicious";
|
|
@@ -737,8 +737,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
737
737
|
* Transaction type {@see TransactionType}. This will be used by MetaMask to enrich the transaction
|
|
738
738
|
* details on the UI.
|
|
739
739
|
*/
|
|
740
|
-
type: import("@metamask/superstruct").Struct<"
|
|
741
|
-
unknown: "unknown";
|
|
740
|
+
type: import("@metamask/superstruct").Struct<"send" | "receive" | "swap" | "bridge:send" | "bridge:receive" | "stake:deposit" | "stake:withdraw" | "unknown", {
|
|
742
741
|
send: "send";
|
|
743
742
|
receive: "receive";
|
|
744
743
|
swap: "swap";
|
|
@@ -746,6 +745,7 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
746
745
|
"bridge:receive": "bridge:receive";
|
|
747
746
|
"stake:deposit": "stake:deposit";
|
|
748
747
|
"stake:withdraw": "stake:withdraw";
|
|
748
|
+
unknown: "unknown";
|
|
749
749
|
}>;
|
|
750
750
|
/**
|
|
751
751
|
* Transaction sender addresses and amounts.
|
|
@@ -753,8 +753,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
753
753
|
from: import("@metamask/superstruct").Struct<{
|
|
754
754
|
address: string;
|
|
755
755
|
asset: {
|
|
756
|
-
unit: string;
|
|
757
756
|
type: `${string}:${string}/${string}:${string}`;
|
|
757
|
+
unit: string;
|
|
758
758
|
amount: string;
|
|
759
759
|
fungible: true;
|
|
760
760
|
} | {
|
|
@@ -764,8 +764,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
764
764
|
}[], import("@metamask/superstruct").Struct<{
|
|
765
765
|
address: string;
|
|
766
766
|
asset: {
|
|
767
|
-
unit: string;
|
|
768
767
|
type: `${string}:${string}/${string}:${string}`;
|
|
768
|
+
unit: string;
|
|
769
769
|
amount: string;
|
|
770
770
|
fungible: true;
|
|
771
771
|
} | {
|
|
@@ -781,8 +781,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
781
781
|
* Asset being transferred.
|
|
782
782
|
*/
|
|
783
783
|
asset: import("@metamask/superstruct").Struct<{
|
|
784
|
-
unit: string;
|
|
785
784
|
type: `${string}:${string}/${string}:${string}`;
|
|
785
|
+
unit: string;
|
|
786
786
|
amount: string;
|
|
787
787
|
fungible: true;
|
|
788
788
|
} | {
|
|
@@ -796,8 +796,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
796
796
|
to: import("@metamask/superstruct").Struct<{
|
|
797
797
|
address: string;
|
|
798
798
|
asset: {
|
|
799
|
-
unit: string;
|
|
800
799
|
type: `${string}:${string}/${string}:${string}`;
|
|
800
|
+
unit: string;
|
|
801
801
|
amount: string;
|
|
802
802
|
fungible: true;
|
|
803
803
|
} | {
|
|
@@ -807,8 +807,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
807
807
|
}[], import("@metamask/superstruct").Struct<{
|
|
808
808
|
address: string;
|
|
809
809
|
asset: {
|
|
810
|
-
unit: string;
|
|
811
810
|
type: `${string}:${string}/${string}:${string}`;
|
|
811
|
+
unit: string;
|
|
812
812
|
amount: string;
|
|
813
813
|
fungible: true;
|
|
814
814
|
} | {
|
|
@@ -824,8 +824,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
824
824
|
* Asset being transferred.
|
|
825
825
|
*/
|
|
826
826
|
asset: import("@metamask/superstruct").Struct<{
|
|
827
|
-
unit: string;
|
|
828
827
|
type: `${string}:${string}/${string}:${string}`;
|
|
828
|
+
unit: string;
|
|
829
829
|
amount: string;
|
|
830
830
|
fungible: true;
|
|
831
831
|
} | {
|
|
@@ -839,8 +839,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
839
839
|
fees: import("@metamask/superstruct").Struct<{
|
|
840
840
|
type: "base" | "priority";
|
|
841
841
|
asset: {
|
|
842
|
-
unit: string;
|
|
843
842
|
type: `${string}:${string}/${string}:${string}`;
|
|
843
|
+
unit: string;
|
|
844
844
|
amount: string;
|
|
845
845
|
fungible: true;
|
|
846
846
|
} | {
|
|
@@ -850,8 +850,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
850
850
|
}[], import("@metamask/superstruct").Struct<{
|
|
851
851
|
type: "base" | "priority";
|
|
852
852
|
asset: {
|
|
853
|
-
unit: string;
|
|
854
853
|
type: `${string}:${string}/${string}:${string}`;
|
|
854
|
+
unit: string;
|
|
855
855
|
amount: string;
|
|
856
856
|
fungible: true;
|
|
857
857
|
} | {
|
|
@@ -870,8 +870,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
870
870
|
* Asset used to pay for the fee.
|
|
871
871
|
*/
|
|
872
872
|
asset: import("@metamask/superstruct").Struct<{
|
|
873
|
-
unit: string;
|
|
874
873
|
type: `${string}:${string}/${string}:${string}`;
|
|
874
|
+
unit: string;
|
|
875
875
|
amount: string;
|
|
876
876
|
fungible: true;
|
|
877
877
|
} | {
|