@metamask/keyring-api 19.1.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -2
- package/dist/api/account.cjs +9 -1
- package/dist/api/account.cjs.map +1 -1
- package/dist/api/account.d.cts +10 -3
- package/dist/api/account.d.cts.map +1 -1
- package/dist/api/account.d.mts +10 -3
- package/dist/api/account.d.mts.map +1 -1
- package/dist/api/account.mjs +8 -0
- package/dist/api/account.mjs.map +1 -1
- package/dist/events.d.cts +10 -8
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +10 -8
- package/dist/events.d.mts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/rpc.d.cts +15 -11
- package/dist/rpc.d.cts.map +1 -1
- package/dist/rpc.d.mts +15 -11
- package/dist/rpc.d.mts.map +1 -1
- package/dist/trx/constants.cjs +14 -0
- package/dist/trx/constants.cjs.map +1 -0
- package/dist/trx/constants.d.cts +9 -0
- package/dist/trx/constants.d.cts.map +1 -0
- package/dist/trx/constants.d.mts +9 -0
- package/dist/trx/constants.d.mts.map +1 -0
- package/dist/trx/constants.mjs +11 -0
- package/dist/trx/constants.mjs.map +1 -0
- package/dist/trx/index.cjs +19 -0
- package/dist/trx/index.cjs.map +1 -0
- package/dist/trx/index.d.cts +3 -0
- package/dist/trx/index.d.cts.map +1 -0
- package/dist/trx/index.d.mts +3 -0
- package/dist/trx/index.d.mts.map +1 -0
- package/dist/trx/index.mjs +3 -0
- package/dist/trx/index.mjs.map +1 -0
- package/dist/trx/types.cjs +40 -0
- package/dist/trx/types.cjs.map +1 -0
- package/dist/trx/types.d.cts +65 -0
- package/dist/trx/types.d.cts.map +1 -0
- package/dist/trx/types.d.mts +65 -0
- package/dist/trx/types.d.mts.map +1 -0
- package/dist/trx/types.mjs +37 -0
- package/dist/trx/types.mjs.map +1 -0
- package/package.json +1 -1
package/dist/rpc.d.cts
CHANGED
@@ -39,7 +39,7 @@ export declare const ListAccountsRequestStruct: import("@metamask/superstruct").
|
|
39
39
|
}>;
|
40
40
|
export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
|
41
41
|
export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
42
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
42
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
43
43
|
id: string;
|
44
44
|
options: Record<string, import("@metamask/utils").Json> & {
|
45
45
|
entropy?: {
|
@@ -56,7 +56,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
56
56
|
scopes: `${string}:${string}`[];
|
57
57
|
methods: string[];
|
58
58
|
}[], import("@metamask/superstruct").Struct<{
|
59
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
59
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
60
60
|
id: string;
|
61
61
|
options: Record<string, import("@metamask/utils").Json> & {
|
62
62
|
entropy?: {
|
@@ -74,7 +74,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
74
74
|
methods: string[];
|
75
75
|
}, {
|
76
76
|
id: import("@metamask/superstruct").Struct<string, null>;
|
77
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
77
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
78
78
|
"eip155:eoa": "eip155:eoa";
|
79
79
|
"eip155:erc4337": "eip155:erc4337";
|
80
80
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -82,6 +82,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
82
82
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
83
83
|
"bip122:p2tr": "bip122:p2tr";
|
84
84
|
"solana:data-account": "solana:data-account";
|
85
|
+
"tron:eoa": "tron:eoa";
|
85
86
|
"any:account": "any:account";
|
86
87
|
}>;
|
87
88
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -119,7 +120,7 @@ export declare const GetAccountRequestStruct: import("@metamask/superstruct").St
|
|
119
120
|
}>;
|
120
121
|
export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
|
121
122
|
export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
122
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
123
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
123
124
|
id: string;
|
124
125
|
options: Record<string, import("@metamask/utils").Json> & {
|
125
126
|
entropy?: {
|
@@ -137,7 +138,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
137
138
|
methods: string[];
|
138
139
|
}, {
|
139
140
|
id: import("@metamask/superstruct").Struct<string, null>;
|
140
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
141
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
141
142
|
"eip155:eoa": "eip155:eoa";
|
142
143
|
"eip155:erc4337": "eip155:erc4337";
|
143
144
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -145,6 +146,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
145
146
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
146
147
|
"bip122:p2tr": "bip122:p2tr";
|
147
148
|
"solana:data-account": "solana:data-account";
|
149
|
+
"tron:eoa": "tron:eoa";
|
148
150
|
"any:account": "any:account";
|
149
151
|
}>;
|
150
152
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -182,7 +184,7 @@ export declare const CreateAccountRequestStruct: import("@metamask/superstruct")
|
|
182
184
|
}>;
|
183
185
|
export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
|
184
186
|
export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
185
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
187
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
186
188
|
id: string;
|
187
189
|
options: Record<string, import("@metamask/utils").Json> & {
|
188
190
|
entropy?: {
|
@@ -200,7 +202,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
200
202
|
methods: string[];
|
201
203
|
}, {
|
202
204
|
id: import("@metamask/superstruct").Struct<string, null>;
|
203
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
205
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
204
206
|
"eip155:eoa": "eip155:eoa";
|
205
207
|
"eip155:erc4337": "eip155:erc4337";
|
206
208
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -208,6 +210,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
208
210
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
209
211
|
"bip122:p2tr": "bip122:p2tr";
|
210
212
|
"solana:data-account": "solana:data-account";
|
213
|
+
"tron:eoa": "tron:eoa";
|
211
214
|
"any:account": "any:account";
|
212
215
|
}>;
|
213
216
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -707,7 +710,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
707
710
|
jsonrpc: "2.0";
|
708
711
|
params: {
|
709
712
|
account: {
|
710
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
713
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
711
714
|
id: string;
|
712
715
|
options: Record<string, import("@metamask/utils").Json> & {
|
713
716
|
entropy?: {
|
@@ -729,7 +732,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
729
732
|
method: import("@metamask/superstruct").Struct<"keyring_updateAccount", "keyring_updateAccount">;
|
730
733
|
params: import("@metamask/superstruct").Struct<{
|
731
734
|
account: {
|
732
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
735
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
733
736
|
id: string;
|
734
737
|
options: Record<string, import("@metamask/utils").Json> & {
|
735
738
|
entropy?: {
|
@@ -748,7 +751,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
748
751
|
};
|
749
752
|
}, {
|
750
753
|
account: import("@metamask/superstruct").Struct<{
|
751
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
754
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
752
755
|
id: string;
|
753
756
|
options: Record<string, import("@metamask/utils").Json> & {
|
754
757
|
entropy?: {
|
@@ -766,7 +769,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
766
769
|
methods: string[];
|
767
770
|
}, {
|
768
771
|
id: import("@metamask/superstruct").Struct<string, null>;
|
769
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
772
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
770
773
|
"eip155:eoa": "eip155:eoa";
|
771
774
|
"eip155:erc4337": "eip155:erc4337";
|
772
775
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -774,6 +777,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
774
777
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
775
778
|
"bip122:p2tr": "bip122:p2tr";
|
776
779
|
"solana:data-account": "solana:data-account";
|
780
|
+
"tron:eoa": "tron:eoa";
|
777
781
|
"any:account": "any:account";
|
778
782
|
}>;
|
779
783
|
address: import("@metamask/superstruct").Struct<string, null>;
|
package/dist/rpc.d.cts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AA2BnD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,YAAY,yBAAyB;IACrC,UAAU,uBAAuB;IACjC,aAAa,0BAA0B;IACvC,gBAAgB,6BAA6B;IAC7C,iBAAiB,8BAA8B;IAC/C,uBAAuB,oCAAoC;IAC3D,kBAAkB,+BAA+B;IACjD,qBAAqB,kCAAkC;IACvD,mBAAmB,gCAAgC;IACnD,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IACvC,YAAY,yBAAyB;IACrC,UAAU,uBAAuB;IACjC,aAAa,0BAA0B;IACvC,cAAc,2BAA2B;IACzC,aAAa,0BAA0B;CACxC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE1D;AAYD,eAAO,MAAM,yBAAyB;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,eAAO,MAAM,0BAA0B
|
1
|
+
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAA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AAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE9E,eAAO,MAAM,4BAA4B,oDAAgB,CAAC;AAE1D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAKhF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;EAMrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B,oDAAgB,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
package/dist/rpc.d.mts
CHANGED
@@ -39,7 +39,7 @@ export declare const ListAccountsRequestStruct: import("@metamask/superstruct").
|
|
39
39
|
}>;
|
40
40
|
export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
|
41
41
|
export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
42
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
42
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
43
43
|
id: string;
|
44
44
|
options: Record<string, import("@metamask/utils").Json> & {
|
45
45
|
entropy?: {
|
@@ -56,7 +56,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
56
56
|
scopes: `${string}:${string}`[];
|
57
57
|
methods: string[];
|
58
58
|
}[], import("@metamask/superstruct").Struct<{
|
59
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
59
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
60
60
|
id: string;
|
61
61
|
options: Record<string, import("@metamask/utils").Json> & {
|
62
62
|
entropy?: {
|
@@ -74,7 +74,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
74
74
|
methods: string[];
|
75
75
|
}, {
|
76
76
|
id: import("@metamask/superstruct").Struct<string, null>;
|
77
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
77
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
78
78
|
"eip155:eoa": "eip155:eoa";
|
79
79
|
"eip155:erc4337": "eip155:erc4337";
|
80
80
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -82,6 +82,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
82
82
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
83
83
|
"bip122:p2tr": "bip122:p2tr";
|
84
84
|
"solana:data-account": "solana:data-account";
|
85
|
+
"tron:eoa": "tron:eoa";
|
85
86
|
"any:account": "any:account";
|
86
87
|
}>;
|
87
88
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -119,7 +120,7 @@ export declare const GetAccountRequestStruct: import("@metamask/superstruct").St
|
|
119
120
|
}>;
|
120
121
|
export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
|
121
122
|
export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
122
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
123
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
123
124
|
id: string;
|
124
125
|
options: Record<string, import("@metamask/utils").Json> & {
|
125
126
|
entropy?: {
|
@@ -137,7 +138,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
137
138
|
methods: string[];
|
138
139
|
}, {
|
139
140
|
id: import("@metamask/superstruct").Struct<string, null>;
|
140
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
141
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
141
142
|
"eip155:eoa": "eip155:eoa";
|
142
143
|
"eip155:erc4337": "eip155:erc4337";
|
143
144
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -145,6 +146,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
145
146
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
146
147
|
"bip122:p2tr": "bip122:p2tr";
|
147
148
|
"solana:data-account": "solana:data-account";
|
149
|
+
"tron:eoa": "tron:eoa";
|
148
150
|
"any:account": "any:account";
|
149
151
|
}>;
|
150
152
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -182,7 +184,7 @@ export declare const CreateAccountRequestStruct: import("@metamask/superstruct")
|
|
182
184
|
}>;
|
183
185
|
export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
|
184
186
|
export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
185
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
187
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
186
188
|
id: string;
|
187
189
|
options: Record<string, import("@metamask/utils").Json> & {
|
188
190
|
entropy?: {
|
@@ -200,7 +202,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
200
202
|
methods: string[];
|
201
203
|
}, {
|
202
204
|
id: import("@metamask/superstruct").Struct<string, null>;
|
203
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
205
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
204
206
|
"eip155:eoa": "eip155:eoa";
|
205
207
|
"eip155:erc4337": "eip155:erc4337";
|
206
208
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -208,6 +210,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
208
210
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
209
211
|
"bip122:p2tr": "bip122:p2tr";
|
210
212
|
"solana:data-account": "solana:data-account";
|
213
|
+
"tron:eoa": "tron:eoa";
|
211
214
|
"any:account": "any:account";
|
212
215
|
}>;
|
213
216
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -707,7 +710,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
707
710
|
jsonrpc: "2.0";
|
708
711
|
params: {
|
709
712
|
account: {
|
710
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
713
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
711
714
|
id: string;
|
712
715
|
options: Record<string, import("@metamask/utils").Json> & {
|
713
716
|
entropy?: {
|
@@ -729,7 +732,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
729
732
|
method: import("@metamask/superstruct").Struct<"keyring_updateAccount", "keyring_updateAccount">;
|
730
733
|
params: import("@metamask/superstruct").Struct<{
|
731
734
|
account: {
|
732
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
735
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
733
736
|
id: string;
|
734
737
|
options: Record<string, import("@metamask/utils").Json> & {
|
735
738
|
entropy?: {
|
@@ -748,7 +751,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
748
751
|
};
|
749
752
|
}, {
|
750
753
|
account: import("@metamask/superstruct").Struct<{
|
751
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account";
|
754
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
|
752
755
|
id: string;
|
753
756
|
options: Record<string, import("@metamask/utils").Json> & {
|
754
757
|
entropy?: {
|
@@ -766,7 +769,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
766
769
|
methods: string[];
|
767
770
|
}, {
|
768
771
|
id: import("@metamask/superstruct").Struct<string, null>;
|
769
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "any:account", {
|
772
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
|
770
773
|
"eip155:eoa": "eip155:eoa";
|
771
774
|
"eip155:erc4337": "eip155:erc4337";
|
772
775
|
"bip122:p2pkh": "bip122:p2pkh";
|
@@ -774,6 +777,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
774
777
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
775
778
|
"bip122:p2tr": "bip122:p2tr";
|
776
779
|
"solana:data-account": "solana:data-account";
|
780
|
+
"tron:eoa": "tron:eoa";
|
777
781
|
"any:account": "any:account";
|
778
782
|
}>;
|
779
783
|
address: import("@metamask/superstruct").Struct<string, null>;
|
package/dist/rpc.d.mts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.d.mts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AA2BnD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,YAAY,yBAAyB;IACrC,UAAU,uBAAuB;IACjC,aAAa,0BAA0B;IACvC,gBAAgB,6BAA6B;IAC7C,iBAAiB,8BAA8B;IAC/C,uBAAuB,oCAAoC;IAC3D,kBAAkB,+BAA+B;IACjD,qBAAqB,kCAAkC;IACvD,mBAAmB,gCAAgC;IACnD,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IACvC,aAAa,0BAA0B;IACvC,YAAY,yBAAyB;IACrC,UAAU,uBAAuB;IACjC,aAAa,0BAA0B;IACvC,cAA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AuB,CAAC;AAE7D,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAKxE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;;;;;;;;QAAwB,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAK9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE9E,eAAO,MAAM,4BAA4B,oDAAgB,CAAC;AAE1D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAKhF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;EAMrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B,oDAAgB,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
// istanbul ignore file
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.TrxScope = void 0;
|
5
|
+
/**
|
6
|
+
* Scopes for TRON account type. See {@link KeyringAccount.scopes}.
|
7
|
+
*/
|
8
|
+
var TrxScope;
|
9
|
+
(function (TrxScope) {
|
10
|
+
TrxScope["Mainnet"] = "tron:728126428";
|
11
|
+
TrxScope["Nile"] = "tron:3448148188";
|
12
|
+
TrxScope["Shasta"] = "tron:2494104990";
|
13
|
+
})(TrxScope || (exports.TrxScope = TrxScope = {}));
|
14
|
+
//# sourceMappingURL=constants.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.cjs","sourceRoot":"","sources":["../../src/trx/constants.ts"],"names":[],"mappings":";AAAA,uBAAuB;;;AAEvB;;GAEG;AACH,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,sCAA0B,CAAA;IAC1B,oCAAwB,CAAA;IACxB,sCAA0B,CAAA;AAC5B,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB","sourcesContent":["// istanbul ignore file\n\n/**\n * Scopes for TRON account type. See {@link KeyringAccount.scopes}.\n */\nexport enum TrxScope {\n Mainnet = 'tron:728126428',\n Nile = 'tron:3448148188',\n Shasta = 'tron:2494104990',\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.d.cts","sourceRoot":"","sources":["../../src/trx/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,QAAQ;IAClB,OAAO,mBAAmB;IAC1B,IAAI,oBAAoB;IACxB,MAAM,oBAAoB;CAC3B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../../src/trx/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,QAAQ;IAClB,OAAO,mBAAmB;IAC1B,IAAI,oBAAoB;IACxB,MAAM,oBAAoB;CAC3B"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// istanbul ignore file
|
2
|
+
/**
|
3
|
+
* Scopes for TRON account type. See {@link KeyringAccount.scopes}.
|
4
|
+
*/
|
5
|
+
export var TrxScope;
|
6
|
+
(function (TrxScope) {
|
7
|
+
TrxScope["Mainnet"] = "tron:728126428";
|
8
|
+
TrxScope["Nile"] = "tron:3448148188";
|
9
|
+
TrxScope["Shasta"] = "tron:2494104990";
|
10
|
+
})(TrxScope || (TrxScope = {}));
|
11
|
+
//# sourceMappingURL=constants.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"constants.mjs","sourceRoot":"","sources":["../../src/trx/constants.ts"],"names":[],"mappings":"AAAA,uBAAuB;AAEvB;;GAEG;AACH,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,sCAA0B,CAAA;IAC1B,oCAAwB,CAAA;IACxB,sCAA0B,CAAA;AAC5B,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB","sourcesContent":["// istanbul ignore file\n\n/**\n * Scopes for TRON account type. See {@link KeyringAccount.scopes}.\n */\nexport enum TrxScope {\n Mainnet = 'tron:728126428',\n Nile = 'tron:3448148188',\n Shasta = 'tron:2494104990',\n}\n"]}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./constants.cjs"), exports);
|
18
|
+
__exportStar(require("./types.cjs"), exports);
|
19
|
+
//# sourceMappingURL=index.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/trx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA4B;AAC5B,8CAAwB","sourcesContent":["export * from './constants';\nexport * from './types';\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/trx/index.ts"],"names":[],"mappings":"AAAA,gCAA4B;AAC5B,4BAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/trx/index.ts"],"names":[],"mappings":"AAAA,gCAA4B;AAC5B,4BAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/trx/index.ts"],"names":[],"mappings":"AAAA,gCAA4B;AAC5B,4BAAwB","sourcesContent":["export * from './constants';\nexport * from './types';\n"]}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TrxEoaAccountStruct = exports.TrxMethod = exports.TrxAddressStruct = void 0;
|
4
|
+
const keyring_utils_1 = require("@metamask/keyring-utils");
|
5
|
+
const superstruct_1 = require("@metamask/superstruct");
|
6
|
+
const utils_1 = require("@metamask/utils");
|
7
|
+
const api_1 = require("../api/index.cjs");
|
8
|
+
/**
|
9
|
+
* TRON addresses are Base58-encoded strings that are exactly 34 characters long
|
10
|
+
* and start with the letter 'T'.
|
11
|
+
*/
|
12
|
+
exports.TrxAddressStruct = (0, utils_1.definePattern)('TrxAddress', /^T[1-9A-HJ-NP-Za-km-z]{33}$/iu);
|
13
|
+
/**
|
14
|
+
* Supported TRON methods.
|
15
|
+
*/
|
16
|
+
var TrxMethod;
|
17
|
+
(function (TrxMethod) {
|
18
|
+
TrxMethod["SignMessageV2"] = "signMessageV2";
|
19
|
+
TrxMethod["VerifyMessageV2"] = "verifyMessageV2";
|
20
|
+
})(TrxMethod || (exports.TrxMethod = TrxMethod = {}));
|
21
|
+
exports.TrxEoaAccountStruct = (0, keyring_utils_1.object)({
|
22
|
+
...api_1.KeyringAccountStruct.schema,
|
23
|
+
/**
|
24
|
+
* Account address.
|
25
|
+
*/
|
26
|
+
address: exports.TrxAddressStruct,
|
27
|
+
/**
|
28
|
+
* Account type.
|
29
|
+
*/
|
30
|
+
type: (0, superstruct_1.literal)(`${api_1.TrxAccountType.Eoa}`),
|
31
|
+
/**
|
32
|
+
* Account supported scopes (CAIP-2 chain IDs).
|
33
|
+
*/
|
34
|
+
scopes: (0, superstruct_1.nonempty)((0, superstruct_1.array)(api_1.CaipChainIdStruct)),
|
35
|
+
/**
|
36
|
+
* Account supported methods.
|
37
|
+
*/
|
38
|
+
methods: (0, superstruct_1.array)((0, superstruct_1.enums)(Object.values(TrxMethod))),
|
39
|
+
});
|
40
|
+
//# sourceMappingURL=types.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.cjs","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":";;;AAAA,2DAAiD;AAEjD,uDAAwE;AACxE,2CAAgD;AAEhD,0CAIgB;AAEhB;;;GAGG;AACU,QAAA,gBAAgB,GAAG,IAAA,qBAAa,EAC3C,YAAY,EACZ,+BAA+B,CAChC,CAAC;AAEF;;GAEG;AACH,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,4CAA+B,CAAA;IAC/B,gDAAmC,CAAA;AACrC,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAEY,QAAA,mBAAmB,GAAG,IAAA,sBAAM,EAAC;IACxC,GAAG,0BAAoB,CAAC,MAAM;IAC9B;;OAEG;IACH,OAAO,EAAE,wBAAgB;IACzB;;OAEG;IACH,IAAI,EAAE,IAAA,qBAAO,EAAC,GAAG,oBAAc,CAAC,GAAG,EAAE,CAAC;IACtC;;OAEG;IACH,MAAM,EAAE,IAAA,sBAAQ,EAAC,IAAA,mBAAK,EAAC,uBAAiB,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,EAAE,IAAA,mBAAK,EAAC,IAAA,mBAAK,EAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;CAChD,CAAC,CAAC","sourcesContent":["import { object } from '@metamask/keyring-utils';\nimport type { Infer } from '@metamask/superstruct';\nimport { array, enums, literal, nonempty } from '@metamask/superstruct';\nimport { definePattern } from '@metamask/utils';\n\nimport {\n CaipChainIdStruct,\n KeyringAccountStruct,\n TrxAccountType,\n} from '../api';\n\n/**\n * TRON addresses are Base58-encoded strings that are exactly 34 characters long\n * and start with the letter 'T'.\n */\nexport const TrxAddressStruct = definePattern(\n 'TrxAddress',\n /^T[1-9A-HJ-NP-Za-km-z]{33}$/iu,\n);\n\n/**\n * Supported TRON methods.\n */\nexport enum TrxMethod {\n SignMessageV2 = 'signMessageV2',\n VerifyMessageV2 = 'verifyMessageV2',\n}\n\nexport const TrxEoaAccountStruct = object({\n ...KeyringAccountStruct.schema,\n /**\n * Account address.\n */\n address: TrxAddressStruct,\n /**\n * Account type.\n */\n type: literal(`${TrxAccountType.Eoa}`),\n /**\n * Account supported scopes (CAIP-2 chain IDs).\n */\n scopes: nonempty(array(CaipChainIdStruct)),\n /**\n * Account supported methods.\n */\n methods: array(enums(Object.values(TrxMethod))),\n});\n\nexport type TrxEoaAccount = Infer<typeof TrxEoaAccountStruct>;\n"]}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import type { Infer } from "@metamask/superstruct";
|
2
|
+
/**
|
3
|
+
* TRON addresses are Base58-encoded strings that are exactly 34 characters long
|
4
|
+
* and start with the letter 'T'.
|
5
|
+
*/
|
6
|
+
export declare const TrxAddressStruct: import("@metamask/superstruct").Struct<string, null>;
|
7
|
+
/**
|
8
|
+
* Supported TRON methods.
|
9
|
+
*/
|
10
|
+
export declare enum TrxMethod {
|
11
|
+
SignMessageV2 = "signMessageV2",
|
12
|
+
VerifyMessageV2 = "verifyMessageV2"
|
13
|
+
}
|
14
|
+
export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct<{
|
15
|
+
type: "tron:eoa";
|
16
|
+
id: string;
|
17
|
+
options: Record<string, import("@metamask/utils").Json> & {
|
18
|
+
entropy?: {
|
19
|
+
type: "mnemonic";
|
20
|
+
id: string;
|
21
|
+
derivationPath: string;
|
22
|
+
groupIndex: number;
|
23
|
+
} | {
|
24
|
+
type: "private-key";
|
25
|
+
};
|
26
|
+
exportable?: boolean;
|
27
|
+
};
|
28
|
+
address: string;
|
29
|
+
scopes: `${string}:${string}`[];
|
30
|
+
methods: TrxMethod[];
|
31
|
+
}, {
|
32
|
+
/**
|
33
|
+
* Account address.
|
34
|
+
*/
|
35
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
36
|
+
/**
|
37
|
+
* Account type.
|
38
|
+
*/
|
39
|
+
type: import("@metamask/superstruct").Struct<"tron:eoa", "tron:eoa">;
|
40
|
+
/**
|
41
|
+
* Account supported scopes (CAIP-2 chain IDs).
|
42
|
+
*/
|
43
|
+
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
44
|
+
/**
|
45
|
+
* Account supported methods.
|
46
|
+
*/
|
47
|
+
methods: import("@metamask/superstruct").Struct<TrxMethod[], import("@metamask/superstruct").Struct<TrxMethod, {
|
48
|
+
signMessageV2: TrxMethod.SignMessageV2;
|
49
|
+
verifyMessageV2: TrxMethod.VerifyMessageV2;
|
50
|
+
}>>;
|
51
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
52
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
|
53
|
+
entropy?: {
|
54
|
+
type: "mnemonic";
|
55
|
+
id: string;
|
56
|
+
derivationPath: string;
|
57
|
+
groupIndex: number;
|
58
|
+
} | {
|
59
|
+
type: "private-key";
|
60
|
+
};
|
61
|
+
exportable?: boolean;
|
62
|
+
}, null>;
|
63
|
+
}>;
|
64
|
+
export type TrxEoaAccount = Infer<typeof TrxEoaAccountStruct>;
|
65
|
+
//# sourceMappingURL=types.d.cts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;IAE9B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import type { Infer } from "@metamask/superstruct";
|
2
|
+
/**
|
3
|
+
* TRON addresses are Base58-encoded strings that are exactly 34 characters long
|
4
|
+
* and start with the letter 'T'.
|
5
|
+
*/
|
6
|
+
export declare const TrxAddressStruct: import("@metamask/superstruct").Struct<string, null>;
|
7
|
+
/**
|
8
|
+
* Supported TRON methods.
|
9
|
+
*/
|
10
|
+
export declare enum TrxMethod {
|
11
|
+
SignMessageV2 = "signMessageV2",
|
12
|
+
VerifyMessageV2 = "verifyMessageV2"
|
13
|
+
}
|
14
|
+
export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct<{
|
15
|
+
type: "tron:eoa";
|
16
|
+
id: string;
|
17
|
+
options: Record<string, import("@metamask/utils").Json> & {
|
18
|
+
entropy?: {
|
19
|
+
type: "mnemonic";
|
20
|
+
id: string;
|
21
|
+
derivationPath: string;
|
22
|
+
groupIndex: number;
|
23
|
+
} | {
|
24
|
+
type: "private-key";
|
25
|
+
};
|
26
|
+
exportable?: boolean;
|
27
|
+
};
|
28
|
+
address: string;
|
29
|
+
scopes: `${string}:${string}`[];
|
30
|
+
methods: TrxMethod[];
|
31
|
+
}, {
|
32
|
+
/**
|
33
|
+
* Account address.
|
34
|
+
*/
|
35
|
+
address: import("@metamask/superstruct").Struct<string, null>;
|
36
|
+
/**
|
37
|
+
* Account type.
|
38
|
+
*/
|
39
|
+
type: import("@metamask/superstruct").Struct<"tron:eoa", "tron:eoa">;
|
40
|
+
/**
|
41
|
+
* Account supported scopes (CAIP-2 chain IDs).
|
42
|
+
*/
|
43
|
+
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
44
|
+
/**
|
45
|
+
* Account supported methods.
|
46
|
+
*/
|
47
|
+
methods: import("@metamask/superstruct").Struct<TrxMethod[], import("@metamask/superstruct").Struct<TrxMethod, {
|
48
|
+
signMessageV2: TrxMethod.SignMessageV2;
|
49
|
+
verifyMessageV2: TrxMethod.VerifyMessageV2;
|
50
|
+
}>>;
|
51
|
+
id: import("@metamask/superstruct").Struct<string, null>;
|
52
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
|
53
|
+
entropy?: {
|
54
|
+
type: "mnemonic";
|
55
|
+
id: string;
|
56
|
+
derivationPath: string;
|
57
|
+
groupIndex: number;
|
58
|
+
} | {
|
59
|
+
type: "private-key";
|
60
|
+
};
|
61
|
+
exportable?: boolean;
|
62
|
+
}, null>;
|
63
|
+
}>;
|
64
|
+
export type TrxEoaAccount = Infer<typeof TrxEoaAccountStruct>;
|
65
|
+
//# sourceMappingURL=types.d.mts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/trx/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAUnD;;;GAGG;AACH,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IACnB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACpC;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;IAE9B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|