@ukeyfe/hardware-transport 1.1.13
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/.eslintrc +24 -0
- package/README.md +29 -0
- package/__tests__/build-receive.test.js +117 -0
- package/__tests__/decode-features.test.js +72 -0
- package/__tests__/encode-decode-basic.test.js +272 -0
- package/__tests__/encode-decode.test.js +532 -0
- package/__tests__/messages.test.js +86 -0
- package/dist/constants.d.ts +6 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/index.d.ts +5203 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +942 -0
- package/dist/serialization/index.d.ts +6 -0
- package/dist/serialization/index.d.ts.map +1 -0
- package/dist/serialization/protobuf/decode.d.ts +6 -0
- package/dist/serialization/protobuf/decode.d.ts.map +1 -0
- package/dist/serialization/protobuf/encode.d.ts +5 -0
- package/dist/serialization/protobuf/encode.d.ts.map +1 -0
- package/dist/serialization/protobuf/index.d.ts +4 -0
- package/dist/serialization/protobuf/index.d.ts.map +1 -0
- package/dist/serialization/protobuf/messages.d.ts +11 -0
- package/dist/serialization/protobuf/messages.d.ts.map +1 -0
- package/dist/serialization/protocol/decode.d.ts +11 -0
- package/dist/serialization/protocol/decode.d.ts.map +1 -0
- package/dist/serialization/protocol/encode.d.ts +11 -0
- package/dist/serialization/protocol/encode.d.ts.map +1 -0
- package/dist/serialization/protocol/index.d.ts +3 -0
- package/dist/serialization/protocol/index.d.ts.map +1 -0
- package/dist/serialization/receive.d.ts +8 -0
- package/dist/serialization/receive.d.ts.map +1 -0
- package/dist/serialization/send.d.ts +7 -0
- package/dist/serialization/send.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/messages.d.ts +3762 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/transport.d.ts +62 -0
- package/dist/types/transport.d.ts.map +1 -0
- package/dist/utils/highlevel-checks.d.ts +10 -0
- package/dist/utils/highlevel-checks.d.ts.map +1 -0
- package/dist/utils/logBlockCommand.d.ts +2 -0
- package/dist/utils/logBlockCommand.d.ts.map +1 -0
- package/dist/utils/protobuf.d.ts +2 -0
- package/dist/utils/protobuf.d.ts.map +1 -0
- package/jest.config.js +7 -0
- package/package.json +31 -0
- package/protocol.md +21 -0
- package/scripts/protobuf-build.sh +58 -0
- package/scripts/protobuf-patches/TxAck.js +44 -0
- package/scripts/protobuf-patches/TxInputType.js +49 -0
- package/scripts/protobuf-patches/TxOutputType.js +50 -0
- package/scripts/protobuf-patches/index.js +274 -0
- package/scripts/protobuf-types.js +283 -0
- package/src/constants.ts +8 -0
- package/src/index.ts +41 -0
- package/src/serialization/index.ts +8 -0
- package/src/serialization/protobuf/decode.ts +95 -0
- package/src/serialization/protobuf/encode.ts +79 -0
- package/src/serialization/protobuf/index.ts +3 -0
- package/src/serialization/protobuf/messages.ts +37 -0
- package/src/serialization/protocol/decode.ts +48 -0
- package/src/serialization/protocol/encode.ts +59 -0
- package/src/serialization/protocol/index.ts +2 -0
- package/src/serialization/receive.ts +18 -0
- package/src/serialization/send.ts +56 -0
- package/src/types/index.ts +2 -0
- package/src/types/messages.ts +4864 -0
- package/src/types/transport.ts +71 -0
- package/src/utils/highlevel-checks.ts +88 -0
- package/src/utils/logBlockCommand.ts +1 -0
- package/src/utils/protobuf.ts +24 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,3762 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export type UintType = string | number;
|
|
3
|
+
export type AlephiumGetAddress = {
|
|
4
|
+
address_n: number[];
|
|
5
|
+
show_display?: boolean;
|
|
6
|
+
include_public_key?: boolean;
|
|
7
|
+
target_group?: number;
|
|
8
|
+
};
|
|
9
|
+
export type AlephiumAddress = {
|
|
10
|
+
address: string;
|
|
11
|
+
public_key?: string;
|
|
12
|
+
derived_path: number[];
|
|
13
|
+
};
|
|
14
|
+
export type AlephiumSignTx = {
|
|
15
|
+
address_n: number[];
|
|
16
|
+
data_initial_chunk: string;
|
|
17
|
+
data_length?: number;
|
|
18
|
+
};
|
|
19
|
+
export type AlephiumSignedTx = {
|
|
20
|
+
signature: string;
|
|
21
|
+
address: string;
|
|
22
|
+
};
|
|
23
|
+
export type AlephiumTxRequest = {
|
|
24
|
+
data_length?: number;
|
|
25
|
+
public_key?: string;
|
|
26
|
+
signature?: string;
|
|
27
|
+
};
|
|
28
|
+
export type AlephiumTxAck = {
|
|
29
|
+
data_chunk: string;
|
|
30
|
+
};
|
|
31
|
+
export type AlephiumBytecodeRequest = {
|
|
32
|
+
data_length?: number;
|
|
33
|
+
public_key?: string;
|
|
34
|
+
signature?: string;
|
|
35
|
+
};
|
|
36
|
+
export type AlephiumBytecodeAck = {
|
|
37
|
+
bytecode_data: string;
|
|
38
|
+
};
|
|
39
|
+
export type AlephiumSignMessage = {
|
|
40
|
+
address_n: number[];
|
|
41
|
+
message?: string;
|
|
42
|
+
message_type?: string;
|
|
43
|
+
};
|
|
44
|
+
export type AlephiumMessageSignature = {
|
|
45
|
+
signature?: string;
|
|
46
|
+
address?: string;
|
|
47
|
+
};
|
|
48
|
+
export type AlgorandGetAddress = {
|
|
49
|
+
address_n: number[];
|
|
50
|
+
show_display?: boolean;
|
|
51
|
+
};
|
|
52
|
+
export type AlgorandAddress = {
|
|
53
|
+
address?: string;
|
|
54
|
+
};
|
|
55
|
+
export type AlgorandSignTx = {
|
|
56
|
+
address_n: number[];
|
|
57
|
+
raw_tx: string;
|
|
58
|
+
};
|
|
59
|
+
export type AlgorandSignedTx = {
|
|
60
|
+
signature: string;
|
|
61
|
+
};
|
|
62
|
+
export type AptosGetAddress = {
|
|
63
|
+
address_n: number[];
|
|
64
|
+
show_display?: boolean;
|
|
65
|
+
};
|
|
66
|
+
export type AptosAddress = {
|
|
67
|
+
address?: string;
|
|
68
|
+
};
|
|
69
|
+
export declare enum AptosTransactionType {
|
|
70
|
+
STANDARD = 0,
|
|
71
|
+
WITH_DATA = 1
|
|
72
|
+
}
|
|
73
|
+
export type AptosSignTx = {
|
|
74
|
+
address_n: number[];
|
|
75
|
+
raw_tx: string;
|
|
76
|
+
tx_type?: AptosTransactionType;
|
|
77
|
+
};
|
|
78
|
+
export type AptosSignedTx = {
|
|
79
|
+
public_key: string;
|
|
80
|
+
signature: string;
|
|
81
|
+
};
|
|
82
|
+
export type AptosMessagePayload = {
|
|
83
|
+
address?: string;
|
|
84
|
+
chain_id?: string;
|
|
85
|
+
application?: string;
|
|
86
|
+
nonce: string;
|
|
87
|
+
message: string;
|
|
88
|
+
};
|
|
89
|
+
export type AptosSignMessage = {
|
|
90
|
+
address_n: number[];
|
|
91
|
+
payload: AptosMessagePayload;
|
|
92
|
+
};
|
|
93
|
+
export type AptosMessageSignature = {
|
|
94
|
+
signature: string;
|
|
95
|
+
address: string;
|
|
96
|
+
};
|
|
97
|
+
export type AptosSignSIWAMessage = {
|
|
98
|
+
address_n: number[];
|
|
99
|
+
siwa_payload: string;
|
|
100
|
+
};
|
|
101
|
+
export type BenfenGetAddress = {
|
|
102
|
+
address_n: number[];
|
|
103
|
+
show_display?: boolean;
|
|
104
|
+
};
|
|
105
|
+
export type BenfenAddress = {
|
|
106
|
+
address?: string;
|
|
107
|
+
};
|
|
108
|
+
export type BenfenSignTx = {
|
|
109
|
+
address_n: number[];
|
|
110
|
+
raw_tx: string;
|
|
111
|
+
data_initial_chunk?: string;
|
|
112
|
+
coin_type?: string;
|
|
113
|
+
data_length?: number;
|
|
114
|
+
};
|
|
115
|
+
export type BenfenSignedTx = {
|
|
116
|
+
public_key: string;
|
|
117
|
+
signature: string;
|
|
118
|
+
};
|
|
119
|
+
export type BenfenTxRequest = {
|
|
120
|
+
data_length?: number;
|
|
121
|
+
public_key?: string;
|
|
122
|
+
signature?: string;
|
|
123
|
+
};
|
|
124
|
+
export type BenfenTxAck = {
|
|
125
|
+
data_chunk: string;
|
|
126
|
+
};
|
|
127
|
+
export type BenfenSignMessage = {
|
|
128
|
+
address_n: number[];
|
|
129
|
+
message: string;
|
|
130
|
+
};
|
|
131
|
+
export type BenfenMessageSignature = {
|
|
132
|
+
signature: string;
|
|
133
|
+
address: string;
|
|
134
|
+
};
|
|
135
|
+
export type BinanceGetAddress = {
|
|
136
|
+
address_n: number[];
|
|
137
|
+
show_display?: boolean;
|
|
138
|
+
};
|
|
139
|
+
export type BinanceAddress = {
|
|
140
|
+
address: string;
|
|
141
|
+
};
|
|
142
|
+
export type BinanceGetPublicKey = {
|
|
143
|
+
address_n: number[];
|
|
144
|
+
show_display?: boolean;
|
|
145
|
+
};
|
|
146
|
+
export type BinancePublicKey = {
|
|
147
|
+
public_key: string;
|
|
148
|
+
};
|
|
149
|
+
export type BinanceSignTx = {
|
|
150
|
+
address_n: number[];
|
|
151
|
+
msg_count?: number;
|
|
152
|
+
account_number?: number;
|
|
153
|
+
chain_id?: string;
|
|
154
|
+
memo?: string;
|
|
155
|
+
sequence?: number;
|
|
156
|
+
source?: number;
|
|
157
|
+
};
|
|
158
|
+
export type BinanceTxRequest = {};
|
|
159
|
+
export type BinanceCoin = {
|
|
160
|
+
amount?: UintType;
|
|
161
|
+
denom?: string;
|
|
162
|
+
};
|
|
163
|
+
export type BinanceInputOutput = {
|
|
164
|
+
address?: string;
|
|
165
|
+
coins: BinanceCoin[];
|
|
166
|
+
};
|
|
167
|
+
export type BinanceTransferMsg = {
|
|
168
|
+
inputs: BinanceInputOutput[];
|
|
169
|
+
outputs: BinanceInputOutput[];
|
|
170
|
+
};
|
|
171
|
+
export declare enum BinanceOrderType {
|
|
172
|
+
OT_UNKNOWN = 0,
|
|
173
|
+
MARKET = 1,
|
|
174
|
+
LIMIT = 2,
|
|
175
|
+
OT_RESERVED = 3
|
|
176
|
+
}
|
|
177
|
+
export declare enum BinanceOrderSide {
|
|
178
|
+
SIDE_UNKNOWN = 0,
|
|
179
|
+
BUY = 1,
|
|
180
|
+
SELL = 2
|
|
181
|
+
}
|
|
182
|
+
export declare enum BinanceTimeInForce {
|
|
183
|
+
TIF_UNKNOWN = 0,
|
|
184
|
+
GTE = 1,
|
|
185
|
+
TIF_RESERVED = 2,
|
|
186
|
+
IOC = 3
|
|
187
|
+
}
|
|
188
|
+
export type BinanceOrderMsg = {
|
|
189
|
+
id?: string;
|
|
190
|
+
ordertype?: BinanceOrderType;
|
|
191
|
+
price?: number;
|
|
192
|
+
quantity?: number;
|
|
193
|
+
sender?: string;
|
|
194
|
+
side?: BinanceOrderSide;
|
|
195
|
+
symbol?: string;
|
|
196
|
+
timeinforce?: BinanceTimeInForce;
|
|
197
|
+
};
|
|
198
|
+
export type BinanceCancelMsg = {
|
|
199
|
+
refid?: string;
|
|
200
|
+
sender?: string;
|
|
201
|
+
symbol?: string;
|
|
202
|
+
};
|
|
203
|
+
export type BinanceSignedTx = {
|
|
204
|
+
signature: string;
|
|
205
|
+
public_key: string;
|
|
206
|
+
};
|
|
207
|
+
export declare enum Enum_InputScriptType {
|
|
208
|
+
SPENDADDRESS = 0,
|
|
209
|
+
SPENDMULTISIG = 1,
|
|
210
|
+
EXTERNAL = 2,
|
|
211
|
+
SPENDWITNESS = 3,
|
|
212
|
+
SPENDP2SHWITNESS = 4,
|
|
213
|
+
SPENDTAPROOT = 5
|
|
214
|
+
}
|
|
215
|
+
export type InputScriptType = keyof typeof Enum_InputScriptType;
|
|
216
|
+
export declare enum Enum_OutputScriptType {
|
|
217
|
+
PAYTOADDRESS = 0,
|
|
218
|
+
PAYTOSCRIPTHASH = 1,
|
|
219
|
+
PAYTOMULTISIG = 2,
|
|
220
|
+
PAYTOOPRETURN = 3,
|
|
221
|
+
PAYTOWITNESS = 4,
|
|
222
|
+
PAYTOP2SHWITNESS = 5,
|
|
223
|
+
PAYTOTAPROOT = 6
|
|
224
|
+
}
|
|
225
|
+
export type OutputScriptType = keyof typeof Enum_OutputScriptType;
|
|
226
|
+
export declare enum DecredStakingSpendType {
|
|
227
|
+
SSGen = 0,
|
|
228
|
+
SSRTX = 1
|
|
229
|
+
}
|
|
230
|
+
export declare enum AmountUnit {
|
|
231
|
+
BITCOIN = 0,
|
|
232
|
+
MILLIBITCOIN = 1,
|
|
233
|
+
MICROBITCOIN = 2,
|
|
234
|
+
SATOSHI = 3
|
|
235
|
+
}
|
|
236
|
+
export type HDNodeType = {
|
|
237
|
+
depth: number;
|
|
238
|
+
fingerprint: number;
|
|
239
|
+
child_num: number;
|
|
240
|
+
chain_code: string;
|
|
241
|
+
private_key?: string;
|
|
242
|
+
public_key: string;
|
|
243
|
+
};
|
|
244
|
+
export type HDNodePathType = {
|
|
245
|
+
node: HDNodeType | string;
|
|
246
|
+
address_n: number[];
|
|
247
|
+
};
|
|
248
|
+
export type MultisigRedeemScriptType = {
|
|
249
|
+
pubkeys: HDNodePathType[];
|
|
250
|
+
signatures: string[];
|
|
251
|
+
m: number;
|
|
252
|
+
nodes?: HDNodeType[];
|
|
253
|
+
address_n?: number[];
|
|
254
|
+
};
|
|
255
|
+
export type GetPublicKey = {
|
|
256
|
+
address_n: number[];
|
|
257
|
+
ecdsa_curve_name?: string;
|
|
258
|
+
show_display?: boolean;
|
|
259
|
+
coin_name?: string;
|
|
260
|
+
script_type?: InputScriptType;
|
|
261
|
+
ignore_xpub_magic?: boolean;
|
|
262
|
+
};
|
|
263
|
+
export type PublicKey = {
|
|
264
|
+
node: HDNodeType;
|
|
265
|
+
xpub: string;
|
|
266
|
+
root_fingerprint?: number;
|
|
267
|
+
};
|
|
268
|
+
export type GetAddress = {
|
|
269
|
+
address_n: number[];
|
|
270
|
+
coin_name?: string;
|
|
271
|
+
show_display?: boolean;
|
|
272
|
+
multisig?: MultisigRedeemScriptType;
|
|
273
|
+
script_type?: InputScriptType;
|
|
274
|
+
ignore_xpub_magic?: boolean;
|
|
275
|
+
};
|
|
276
|
+
export type Address = {
|
|
277
|
+
address: string;
|
|
278
|
+
};
|
|
279
|
+
export type GetOwnershipId = {
|
|
280
|
+
address_n: number[];
|
|
281
|
+
coin_name?: string;
|
|
282
|
+
multisig?: MultisigRedeemScriptType;
|
|
283
|
+
script_type?: InputScriptType;
|
|
284
|
+
};
|
|
285
|
+
export type OwnershipId = {
|
|
286
|
+
ownership_id: string;
|
|
287
|
+
};
|
|
288
|
+
export type SignMessage = {
|
|
289
|
+
address_n: number[];
|
|
290
|
+
message: string;
|
|
291
|
+
coin_name?: string;
|
|
292
|
+
script_type?: InputScriptType;
|
|
293
|
+
no_script_type?: boolean;
|
|
294
|
+
is_bip322_simple?: boolean;
|
|
295
|
+
};
|
|
296
|
+
export type MessageSignature = {
|
|
297
|
+
address: string;
|
|
298
|
+
signature: string;
|
|
299
|
+
};
|
|
300
|
+
export type VerifyMessage = {
|
|
301
|
+
address: string;
|
|
302
|
+
signature: string;
|
|
303
|
+
message: string;
|
|
304
|
+
coin_name?: string;
|
|
305
|
+
};
|
|
306
|
+
export type SignTx = {
|
|
307
|
+
outputs_count: number;
|
|
308
|
+
inputs_count: number;
|
|
309
|
+
coin_name?: string;
|
|
310
|
+
version?: number;
|
|
311
|
+
lock_time?: number;
|
|
312
|
+
expiry?: number;
|
|
313
|
+
overwintered?: boolean;
|
|
314
|
+
version_group_id?: number;
|
|
315
|
+
timestamp?: number;
|
|
316
|
+
branch_id?: number;
|
|
317
|
+
amount_unit?: AmountUnit;
|
|
318
|
+
decred_staking_ticket?: boolean;
|
|
319
|
+
};
|
|
320
|
+
export declare enum Enum_RequestType {
|
|
321
|
+
TXINPUT = 0,
|
|
322
|
+
TXOUTPUT = 1,
|
|
323
|
+
TXMETA = 2,
|
|
324
|
+
TXFINISHED = 3,
|
|
325
|
+
TXEXTRADATA = 4,
|
|
326
|
+
TXORIGINPUT = 5,
|
|
327
|
+
TXORIGOUTPUT = 6
|
|
328
|
+
}
|
|
329
|
+
export type RequestType = keyof typeof Enum_RequestType;
|
|
330
|
+
export type TxRequestDetailsType = {
|
|
331
|
+
request_index: number;
|
|
332
|
+
tx_hash?: string;
|
|
333
|
+
extra_data_len?: number;
|
|
334
|
+
extra_data_offset?: number;
|
|
335
|
+
};
|
|
336
|
+
export type TxRequestSerializedType = {
|
|
337
|
+
signature_index?: number;
|
|
338
|
+
signature?: string;
|
|
339
|
+
serialized_tx?: string;
|
|
340
|
+
};
|
|
341
|
+
export type TxRequest = {
|
|
342
|
+
request_type: RequestType;
|
|
343
|
+
details: TxRequestDetailsType;
|
|
344
|
+
serialized?: TxRequestSerializedType;
|
|
345
|
+
};
|
|
346
|
+
export type InternalInputScriptType = Exclude<InputScriptType, 'EXTERNAL'>;
|
|
347
|
+
type CommonTxInputType = {
|
|
348
|
+
prev_hash: string;
|
|
349
|
+
prev_index: number;
|
|
350
|
+
amount: UintType;
|
|
351
|
+
sequence?: number;
|
|
352
|
+
multisig?: MultisigRedeemScriptType;
|
|
353
|
+
decred_tree?: number;
|
|
354
|
+
orig_hash?: string;
|
|
355
|
+
orig_index?: number;
|
|
356
|
+
decred_staking_spend?: DecredStakingSpendType;
|
|
357
|
+
script_pubkey?: string;
|
|
358
|
+
script_sig?: string;
|
|
359
|
+
witness?: string;
|
|
360
|
+
ownership_proof?: string;
|
|
361
|
+
commitment_data?: string;
|
|
362
|
+
};
|
|
363
|
+
export type TxInputType = (CommonTxInputType & {
|
|
364
|
+
address_n: number[];
|
|
365
|
+
script_type?: InternalInputScriptType;
|
|
366
|
+
}) | (CommonTxInputType & {
|
|
367
|
+
address_n?: typeof undefined;
|
|
368
|
+
script_type: 'EXTERNAL';
|
|
369
|
+
script_pubkey: string;
|
|
370
|
+
});
|
|
371
|
+
export type TxInput = TxInputType;
|
|
372
|
+
export type TxOutputBinType = {
|
|
373
|
+
amount: UintType;
|
|
374
|
+
script_pubkey: string;
|
|
375
|
+
decred_script_version?: number;
|
|
376
|
+
};
|
|
377
|
+
export type ChangeOutputScriptType = Exclude<OutputScriptType, 'PAYTOOPRETURN'>;
|
|
378
|
+
export type TxOutputType = {
|
|
379
|
+
address: string;
|
|
380
|
+
address_n?: typeof undefined;
|
|
381
|
+
script_type: 'PAYTOADDRESS';
|
|
382
|
+
amount: UintType;
|
|
383
|
+
multisig?: MultisigRedeemScriptType;
|
|
384
|
+
orig_hash?: string;
|
|
385
|
+
orig_index?: number;
|
|
386
|
+
payment_req_index?: number;
|
|
387
|
+
} | {
|
|
388
|
+
address?: typeof undefined;
|
|
389
|
+
address_n: number[];
|
|
390
|
+
script_type: ChangeOutputScriptType;
|
|
391
|
+
amount: UintType;
|
|
392
|
+
multisig?: MultisigRedeemScriptType;
|
|
393
|
+
orig_hash?: string;
|
|
394
|
+
orig_index?: number;
|
|
395
|
+
payment_req_index?: number;
|
|
396
|
+
} | {
|
|
397
|
+
address?: typeof undefined;
|
|
398
|
+
address_n?: typeof undefined;
|
|
399
|
+
amount: '0';
|
|
400
|
+
op_return_data: string;
|
|
401
|
+
script_type: 'PAYTOOPRETURN';
|
|
402
|
+
orig_hash?: string;
|
|
403
|
+
orig_index?: number;
|
|
404
|
+
payment_req_index?: number;
|
|
405
|
+
};
|
|
406
|
+
export type TxOutput = TxOutputType;
|
|
407
|
+
export type PrevTx = {
|
|
408
|
+
version: number;
|
|
409
|
+
lock_time: number;
|
|
410
|
+
inputs_count: number;
|
|
411
|
+
outputs_count: number;
|
|
412
|
+
extra_data_len?: number;
|
|
413
|
+
expiry?: number;
|
|
414
|
+
version_group_id?: number;
|
|
415
|
+
timestamp?: number;
|
|
416
|
+
branch_id?: number;
|
|
417
|
+
};
|
|
418
|
+
export type PrevInput = {
|
|
419
|
+
prev_hash: string;
|
|
420
|
+
prev_index: number;
|
|
421
|
+
script_sig: string;
|
|
422
|
+
sequence: number;
|
|
423
|
+
decred_tree?: number;
|
|
424
|
+
};
|
|
425
|
+
export type PrevOutput = {
|
|
426
|
+
amount: UintType;
|
|
427
|
+
script_pubkey: string;
|
|
428
|
+
decred_script_version?: number;
|
|
429
|
+
};
|
|
430
|
+
export type TxAckResponse = {
|
|
431
|
+
inputs: Array<TxInputType | PrevInput>;
|
|
432
|
+
} | {
|
|
433
|
+
bin_outputs: TxOutputBinType[];
|
|
434
|
+
} | {
|
|
435
|
+
outputs: TxOutputType[];
|
|
436
|
+
} | {
|
|
437
|
+
extra_data: string;
|
|
438
|
+
} | {
|
|
439
|
+
version?: number;
|
|
440
|
+
lock_time?: number;
|
|
441
|
+
inputs_cnt: number;
|
|
442
|
+
outputs_cnt: number;
|
|
443
|
+
extra_data?: string;
|
|
444
|
+
extra_data_len?: number;
|
|
445
|
+
timestamp?: number;
|
|
446
|
+
version_group_id?: number;
|
|
447
|
+
expiry?: number;
|
|
448
|
+
branch_id?: number;
|
|
449
|
+
};
|
|
450
|
+
export type TxAck = {
|
|
451
|
+
tx: TxAckResponse;
|
|
452
|
+
};
|
|
453
|
+
export type TxAckInputWrapper = {
|
|
454
|
+
input: TxInput;
|
|
455
|
+
};
|
|
456
|
+
export type TxAckInput = {
|
|
457
|
+
tx: TxAckInputWrapper;
|
|
458
|
+
};
|
|
459
|
+
export type TxAckOutputWrapper = {
|
|
460
|
+
output: TxOutput;
|
|
461
|
+
};
|
|
462
|
+
export type TxAckOutput = {
|
|
463
|
+
tx: TxAckOutputWrapper;
|
|
464
|
+
};
|
|
465
|
+
export type TxAckPrevMeta = {
|
|
466
|
+
tx: PrevTx;
|
|
467
|
+
};
|
|
468
|
+
export type TxAckPrevInputWrapper = {
|
|
469
|
+
input: PrevInput;
|
|
470
|
+
};
|
|
471
|
+
export type TxAckPrevInput = {
|
|
472
|
+
tx: TxAckPrevInputWrapper;
|
|
473
|
+
};
|
|
474
|
+
export type TxAckPrevOutputWrapper = {
|
|
475
|
+
output: PrevOutput;
|
|
476
|
+
};
|
|
477
|
+
export type TxAckPrevOutput = {
|
|
478
|
+
tx: TxAckPrevOutputWrapper;
|
|
479
|
+
};
|
|
480
|
+
export type TxAckPrevExtraDataWrapper = {
|
|
481
|
+
extra_data_chunk: string;
|
|
482
|
+
};
|
|
483
|
+
export type TxAckPrevExtraData = {
|
|
484
|
+
tx: TxAckPrevExtraDataWrapper;
|
|
485
|
+
};
|
|
486
|
+
export type GetOwnershipProof = {
|
|
487
|
+
address_n: number[];
|
|
488
|
+
coin_name?: string;
|
|
489
|
+
script_type?: InputScriptType;
|
|
490
|
+
multisig?: MultisigRedeemScriptType;
|
|
491
|
+
user_confirmation?: boolean;
|
|
492
|
+
ownership_ids?: string[];
|
|
493
|
+
commitment_data?: string;
|
|
494
|
+
};
|
|
495
|
+
export type OwnershipProof = {
|
|
496
|
+
ownership_proof: string;
|
|
497
|
+
signature: string;
|
|
498
|
+
};
|
|
499
|
+
export type AuthorizeCoinJoin = {
|
|
500
|
+
coordinator: string;
|
|
501
|
+
max_total_fee: number;
|
|
502
|
+
fee_per_anonymity?: number;
|
|
503
|
+
address_n: number[];
|
|
504
|
+
coin_name?: string;
|
|
505
|
+
script_type?: InputScriptType;
|
|
506
|
+
amount_unit?: AmountUnit;
|
|
507
|
+
};
|
|
508
|
+
export type BIP32Address = {
|
|
509
|
+
address_n: number[];
|
|
510
|
+
};
|
|
511
|
+
export type GetPublicKeyMultiple = {
|
|
512
|
+
addresses: BIP32Address[];
|
|
513
|
+
ecdsa_curve_name?: string;
|
|
514
|
+
show_display?: boolean;
|
|
515
|
+
coin_name?: string;
|
|
516
|
+
script_type?: InputScriptType;
|
|
517
|
+
ignore_xpub_magic?: boolean;
|
|
518
|
+
};
|
|
519
|
+
export type PublicKeyMultiple = {
|
|
520
|
+
xpubs: string[];
|
|
521
|
+
};
|
|
522
|
+
export type SignPsbt = {
|
|
523
|
+
psbt: string;
|
|
524
|
+
coin_name?: string;
|
|
525
|
+
};
|
|
526
|
+
export type SignedPsbt = {
|
|
527
|
+
psbt: string;
|
|
528
|
+
};
|
|
529
|
+
export type FirmwareErase = {
|
|
530
|
+
length?: number;
|
|
531
|
+
};
|
|
532
|
+
export type FirmwareRequest = {
|
|
533
|
+
offset?: number;
|
|
534
|
+
length?: number;
|
|
535
|
+
};
|
|
536
|
+
export type FirmwareUpload = {
|
|
537
|
+
payload: Buffer | ArrayBuffer;
|
|
538
|
+
hash?: string;
|
|
539
|
+
};
|
|
540
|
+
export type SelfTest = {
|
|
541
|
+
payload?: string;
|
|
542
|
+
};
|
|
543
|
+
export type FirmwareErase_ex = {
|
|
544
|
+
length?: number;
|
|
545
|
+
};
|
|
546
|
+
export declare enum RebootType {
|
|
547
|
+
Normal = 0,
|
|
548
|
+
Boardloader = 1,
|
|
549
|
+
BootLoader = 2
|
|
550
|
+
}
|
|
551
|
+
export type Reboot = {
|
|
552
|
+
reboot_type: RebootType;
|
|
553
|
+
};
|
|
554
|
+
export type FirmwareUpdateEmmc = {
|
|
555
|
+
path: string;
|
|
556
|
+
reboot_on_success?: boolean;
|
|
557
|
+
};
|
|
558
|
+
export declare enum CardanoDerivationType {
|
|
559
|
+
LEDGER = 0,
|
|
560
|
+
ICARUS = 1,
|
|
561
|
+
ICARUS_TREZOR = 2
|
|
562
|
+
}
|
|
563
|
+
export declare enum CardanoAddressType {
|
|
564
|
+
BASE = 0,
|
|
565
|
+
BASE_SCRIPT_KEY = 1,
|
|
566
|
+
BASE_KEY_SCRIPT = 2,
|
|
567
|
+
BASE_SCRIPT_SCRIPT = 3,
|
|
568
|
+
POINTER = 4,
|
|
569
|
+
POINTER_SCRIPT = 5,
|
|
570
|
+
ENTERPRISE = 6,
|
|
571
|
+
ENTERPRISE_SCRIPT = 7,
|
|
572
|
+
BYRON = 8,
|
|
573
|
+
REWARD = 14,
|
|
574
|
+
REWARD_SCRIPT = 15
|
|
575
|
+
}
|
|
576
|
+
export declare enum CardanoNativeScriptType {
|
|
577
|
+
PUB_KEY = 0,
|
|
578
|
+
ALL = 1,
|
|
579
|
+
ANY = 2,
|
|
580
|
+
N_OF_K = 3,
|
|
581
|
+
INVALID_BEFORE = 4,
|
|
582
|
+
INVALID_HEREAFTER = 5
|
|
583
|
+
}
|
|
584
|
+
export declare enum CardanoNativeScriptHashDisplayFormat {
|
|
585
|
+
HIDE = 0,
|
|
586
|
+
BECH32 = 1,
|
|
587
|
+
POLICY_ID = 2
|
|
588
|
+
}
|
|
589
|
+
export declare enum CardanoTxOutputSerializationFormat {
|
|
590
|
+
ARRAY_LEGACY = 0,
|
|
591
|
+
MAP_BABBAGE = 1
|
|
592
|
+
}
|
|
593
|
+
export declare enum CardanoCertificateType {
|
|
594
|
+
STAKE_REGISTRATION = 0,
|
|
595
|
+
STAKE_DEREGISTRATION = 1,
|
|
596
|
+
STAKE_DELEGATION = 2,
|
|
597
|
+
STAKE_POOL_REGISTRATION = 3,
|
|
598
|
+
STAKE_REGISTRATION_CONWAY = 7,
|
|
599
|
+
STAKE_DEREGISTRATION_CONWAY = 8,
|
|
600
|
+
VOTE_DELEGATION = 9
|
|
601
|
+
}
|
|
602
|
+
export declare enum CardanoDRepType {
|
|
603
|
+
KEY_HASH = 0,
|
|
604
|
+
SCRIPT_HASH = 1,
|
|
605
|
+
ABSTAIN = 2,
|
|
606
|
+
NO_CONFIDENCE = 3
|
|
607
|
+
}
|
|
608
|
+
export declare enum CardanoPoolRelayType {
|
|
609
|
+
SINGLE_HOST_IP = 0,
|
|
610
|
+
SINGLE_HOST_NAME = 1,
|
|
611
|
+
MULTIPLE_HOST_NAME = 2
|
|
612
|
+
}
|
|
613
|
+
export declare enum CardanoTxAuxiliaryDataSupplementType {
|
|
614
|
+
NONE = 0,
|
|
615
|
+
CVOTE_REGISTRATION_SIGNATURE = 1
|
|
616
|
+
}
|
|
617
|
+
export declare enum CardanoCVoteRegistrationFormat {
|
|
618
|
+
CIP15 = 0,
|
|
619
|
+
CIP36 = 1
|
|
620
|
+
}
|
|
621
|
+
export declare enum CardanoTxSigningMode {
|
|
622
|
+
ORDINARY_TRANSACTION = 0,
|
|
623
|
+
POOL_REGISTRATION_AS_OWNER = 1,
|
|
624
|
+
MULTISIG_TRANSACTION = 2,
|
|
625
|
+
PLUTUS_TRANSACTION = 3
|
|
626
|
+
}
|
|
627
|
+
export declare enum CardanoTxWitnessType {
|
|
628
|
+
BYRON_WITNESS = 0,
|
|
629
|
+
SHELLEY_WITNESS = 1
|
|
630
|
+
}
|
|
631
|
+
export type CardanoBlockchainPointerType = {
|
|
632
|
+
block_index: number;
|
|
633
|
+
tx_index: number;
|
|
634
|
+
certificate_index: number;
|
|
635
|
+
};
|
|
636
|
+
export type CardanoNativeScript = {
|
|
637
|
+
type: CardanoNativeScriptType;
|
|
638
|
+
scripts?: CardanoNativeScript[];
|
|
639
|
+
key_hash?: string;
|
|
640
|
+
key_path?: number[];
|
|
641
|
+
required_signatures_count?: number;
|
|
642
|
+
invalid_before?: UintType;
|
|
643
|
+
invalid_hereafter?: UintType;
|
|
644
|
+
};
|
|
645
|
+
export type CardanoGetNativeScriptHash = {
|
|
646
|
+
script: CardanoNativeScript;
|
|
647
|
+
display_format: CardanoNativeScriptHashDisplayFormat;
|
|
648
|
+
derivation_type: CardanoDerivationType;
|
|
649
|
+
};
|
|
650
|
+
export type CardanoNativeScriptHash = {
|
|
651
|
+
script_hash: string;
|
|
652
|
+
};
|
|
653
|
+
export type CardanoAddressParametersType = {
|
|
654
|
+
address_type: CardanoAddressType;
|
|
655
|
+
address_n: number[];
|
|
656
|
+
address_n_staking: number[];
|
|
657
|
+
staking_key_hash?: string;
|
|
658
|
+
certificate_pointer?: CardanoBlockchainPointerType;
|
|
659
|
+
script_payment_hash?: string;
|
|
660
|
+
script_staking_hash?: string;
|
|
661
|
+
};
|
|
662
|
+
export type CardanoGetAddress = {
|
|
663
|
+
show_display?: boolean;
|
|
664
|
+
protocol_magic: number;
|
|
665
|
+
network_id: number;
|
|
666
|
+
address_parameters: CardanoAddressParametersType;
|
|
667
|
+
derivation_type: CardanoDerivationType;
|
|
668
|
+
chunkify?: boolean;
|
|
669
|
+
};
|
|
670
|
+
export type CardanoAddress = {
|
|
671
|
+
address: string;
|
|
672
|
+
};
|
|
673
|
+
export type CardanoGetPublicKey = {
|
|
674
|
+
address_n: number[];
|
|
675
|
+
show_display?: boolean;
|
|
676
|
+
derivation_type: CardanoDerivationType;
|
|
677
|
+
};
|
|
678
|
+
export type CardanoPublicKey = {
|
|
679
|
+
xpub: string;
|
|
680
|
+
node: HDNodeType;
|
|
681
|
+
};
|
|
682
|
+
export type CardanoSignTxInit = {
|
|
683
|
+
signing_mode: CardanoTxSigningMode;
|
|
684
|
+
protocol_magic: number;
|
|
685
|
+
network_id: number;
|
|
686
|
+
inputs_count: number;
|
|
687
|
+
outputs_count: number;
|
|
688
|
+
fee: UintType;
|
|
689
|
+
ttl?: UintType;
|
|
690
|
+
certificates_count: number;
|
|
691
|
+
withdrawals_count: number;
|
|
692
|
+
has_auxiliary_data: boolean;
|
|
693
|
+
validity_interval_start?: UintType;
|
|
694
|
+
witness_requests_count: number;
|
|
695
|
+
minting_asset_groups_count: number;
|
|
696
|
+
derivation_type: CardanoDerivationType;
|
|
697
|
+
include_network_id?: boolean;
|
|
698
|
+
script_data_hash?: string;
|
|
699
|
+
collateral_inputs_count: number;
|
|
700
|
+
required_signers_count: number;
|
|
701
|
+
has_collateral_return?: boolean;
|
|
702
|
+
total_collateral?: UintType;
|
|
703
|
+
reference_inputs_count?: number;
|
|
704
|
+
chunkify?: boolean;
|
|
705
|
+
tag_cbor_sets?: boolean;
|
|
706
|
+
};
|
|
707
|
+
export type CardanoTxInput = {
|
|
708
|
+
prev_hash: string;
|
|
709
|
+
prev_index: number;
|
|
710
|
+
};
|
|
711
|
+
export type CardanoTxOutput = {
|
|
712
|
+
address?: string;
|
|
713
|
+
address_parameters?: CardanoAddressParametersType;
|
|
714
|
+
amount: UintType;
|
|
715
|
+
asset_groups_count: number;
|
|
716
|
+
datum_hash?: string;
|
|
717
|
+
format?: CardanoTxOutputSerializationFormat;
|
|
718
|
+
inline_datum_size?: number;
|
|
719
|
+
reference_script_size?: number;
|
|
720
|
+
};
|
|
721
|
+
export type CardanoAssetGroup = {
|
|
722
|
+
policy_id: string;
|
|
723
|
+
tokens_count: number;
|
|
724
|
+
};
|
|
725
|
+
export type CardanoToken = {
|
|
726
|
+
asset_name_bytes: string;
|
|
727
|
+
amount?: UintType;
|
|
728
|
+
mint_amount?: UintType;
|
|
729
|
+
};
|
|
730
|
+
export type CardanoTxInlineDatumChunk = {
|
|
731
|
+
data: string;
|
|
732
|
+
};
|
|
733
|
+
export type CardanoTxReferenceScriptChunk = {
|
|
734
|
+
data: string;
|
|
735
|
+
};
|
|
736
|
+
export type CardanoPoolOwner = {
|
|
737
|
+
staking_key_path?: number[];
|
|
738
|
+
staking_key_hash?: string;
|
|
739
|
+
};
|
|
740
|
+
export type CardanoPoolRelayParameters = {
|
|
741
|
+
type: CardanoPoolRelayType;
|
|
742
|
+
ipv4_address?: string;
|
|
743
|
+
ipv6_address?: string;
|
|
744
|
+
host_name?: string;
|
|
745
|
+
port?: number;
|
|
746
|
+
};
|
|
747
|
+
export type CardanoPoolMetadataType = {
|
|
748
|
+
url: string;
|
|
749
|
+
hash: string;
|
|
750
|
+
};
|
|
751
|
+
export type CardanoPoolParametersType = {
|
|
752
|
+
pool_id: string;
|
|
753
|
+
vrf_key_hash: string;
|
|
754
|
+
pledge: UintType;
|
|
755
|
+
cost: UintType;
|
|
756
|
+
margin_numerator: UintType;
|
|
757
|
+
margin_denominator: UintType;
|
|
758
|
+
reward_account: string;
|
|
759
|
+
metadata?: CardanoPoolMetadataType;
|
|
760
|
+
owners_count: number;
|
|
761
|
+
relays_count: number;
|
|
762
|
+
};
|
|
763
|
+
export type CardanoDRep = {
|
|
764
|
+
type: CardanoDRepType;
|
|
765
|
+
key_hash?: string;
|
|
766
|
+
script_hash?: string;
|
|
767
|
+
};
|
|
768
|
+
export type CardanoTxCertificate = {
|
|
769
|
+
type: CardanoCertificateType;
|
|
770
|
+
path?: number[];
|
|
771
|
+
pool?: string;
|
|
772
|
+
pool_parameters?: CardanoPoolParametersType;
|
|
773
|
+
script_hash?: string;
|
|
774
|
+
key_hash?: string;
|
|
775
|
+
deposit?: UintType;
|
|
776
|
+
drep?: CardanoDRep;
|
|
777
|
+
};
|
|
778
|
+
export type CardanoTxWithdrawal = {
|
|
779
|
+
path?: number[];
|
|
780
|
+
amount: UintType;
|
|
781
|
+
script_hash?: string;
|
|
782
|
+
key_hash?: string;
|
|
783
|
+
};
|
|
784
|
+
export type CardanoCVoteRegistrationDelegation = {
|
|
785
|
+
vote_public_key: string;
|
|
786
|
+
weight: number;
|
|
787
|
+
};
|
|
788
|
+
export type CardanoCVoteRegistrationParametersType = {
|
|
789
|
+
vote_public_key?: string;
|
|
790
|
+
staking_path: number[];
|
|
791
|
+
payment_address_parameters?: CardanoAddressParametersType;
|
|
792
|
+
nonce: number;
|
|
793
|
+
format?: CardanoCVoteRegistrationFormat;
|
|
794
|
+
delegations: CardanoCVoteRegistrationDelegation[];
|
|
795
|
+
voting_purpose?: number;
|
|
796
|
+
payment_address?: string;
|
|
797
|
+
};
|
|
798
|
+
export type CardanoTxAuxiliaryData = {
|
|
799
|
+
cvote_registration_parameters?: CardanoCVoteRegistrationParametersType;
|
|
800
|
+
hash?: string;
|
|
801
|
+
};
|
|
802
|
+
export type CardanoTxMint = {
|
|
803
|
+
asset_groups_count: number;
|
|
804
|
+
};
|
|
805
|
+
export type CardanoTxCollateralInput = {
|
|
806
|
+
prev_hash: string;
|
|
807
|
+
prev_index: number;
|
|
808
|
+
};
|
|
809
|
+
export type CardanoTxRequiredSigner = {
|
|
810
|
+
key_hash?: string;
|
|
811
|
+
key_path?: number[];
|
|
812
|
+
};
|
|
813
|
+
export type CardanoTxReferenceInput = {
|
|
814
|
+
prev_hash: string;
|
|
815
|
+
prev_index: number;
|
|
816
|
+
};
|
|
817
|
+
export type CardanoTxItemAck = {};
|
|
818
|
+
export type CardanoTxAuxiliaryDataSupplement = {
|
|
819
|
+
type: CardanoTxAuxiliaryDataSupplementType;
|
|
820
|
+
auxiliary_data_hash?: string;
|
|
821
|
+
cvote_registration_signature?: string;
|
|
822
|
+
};
|
|
823
|
+
export type CardanoTxWitnessRequest = {
|
|
824
|
+
path: number[];
|
|
825
|
+
};
|
|
826
|
+
export type CardanoTxWitnessResponse = {
|
|
827
|
+
type: CardanoTxWitnessType;
|
|
828
|
+
pub_key: string;
|
|
829
|
+
signature: string;
|
|
830
|
+
chain_code?: string;
|
|
831
|
+
};
|
|
832
|
+
export type CardanoTxHostAck = {};
|
|
833
|
+
export type CardanoTxBodyHash = {
|
|
834
|
+
tx_hash: string;
|
|
835
|
+
};
|
|
836
|
+
export type CardanoSignTxFinished = {};
|
|
837
|
+
export type CardanoSignMessage = {
|
|
838
|
+
address_n: number[];
|
|
839
|
+
message: string;
|
|
840
|
+
derivation_type: CardanoDerivationType;
|
|
841
|
+
network_id: number;
|
|
842
|
+
address_type?: CardanoAddressType;
|
|
843
|
+
};
|
|
844
|
+
export type CardanoMessageSignature = {
|
|
845
|
+
signature: string;
|
|
846
|
+
key: string;
|
|
847
|
+
};
|
|
848
|
+
export type Success = {
|
|
849
|
+
message: string;
|
|
850
|
+
};
|
|
851
|
+
export declare enum FailureType {
|
|
852
|
+
Failure_UnexpectedMessage = 1,
|
|
853
|
+
Failure_ButtonExpected = 2,
|
|
854
|
+
Failure_DataError = 3,
|
|
855
|
+
Failure_ActionCancelled = 4,
|
|
856
|
+
Failure_PinExpected = 5,
|
|
857
|
+
Failure_PinCancelled = 6,
|
|
858
|
+
Failure_PinInvalid = 7,
|
|
859
|
+
Failure_InvalidSignature = 8,
|
|
860
|
+
Failure_ProcessError = 9,
|
|
861
|
+
Failure_NotEnoughFunds = 10,
|
|
862
|
+
Failure_NotInitialized = 11,
|
|
863
|
+
Failure_PinMismatch = 12,
|
|
864
|
+
Failure_WipeCodeMismatch = 13,
|
|
865
|
+
Failure_InvalidSession = 14,
|
|
866
|
+
Failure_FirmwareError = 99
|
|
867
|
+
}
|
|
868
|
+
export type Failure = {
|
|
869
|
+
code?: FailureType;
|
|
870
|
+
message?: string;
|
|
871
|
+
};
|
|
872
|
+
export declare enum Enum_ButtonRequestType {
|
|
873
|
+
ButtonRequest_Other = 1,
|
|
874
|
+
ButtonRequest_FeeOverThreshold = 2,
|
|
875
|
+
ButtonRequest_ConfirmOutput = 3,
|
|
876
|
+
ButtonRequest_ResetDevice = 4,
|
|
877
|
+
ButtonRequest_ConfirmWord = 5,
|
|
878
|
+
ButtonRequest_WipeDevice = 6,
|
|
879
|
+
ButtonRequest_ProtectCall = 7,
|
|
880
|
+
ButtonRequest_SignTx = 8,
|
|
881
|
+
ButtonRequest_FirmwareCheck = 9,
|
|
882
|
+
ButtonRequest_Address = 10,
|
|
883
|
+
ButtonRequest_PublicKey = 11,
|
|
884
|
+
ButtonRequest_MnemonicWordCount = 12,
|
|
885
|
+
ButtonRequest_MnemonicInput = 13,
|
|
886
|
+
_Deprecated_ButtonRequest_PassphraseType = 14,
|
|
887
|
+
ButtonRequest_UnknownDerivationPath = 15,
|
|
888
|
+
ButtonRequest_RecoveryHomepage = 16,
|
|
889
|
+
ButtonRequest_Success = 17,
|
|
890
|
+
ButtonRequest_Warning = 18,
|
|
891
|
+
ButtonRequest_PassphraseEntry = 19,
|
|
892
|
+
ButtonRequest_PinEntry = 20,
|
|
893
|
+
ButtonRequest_AttachPin = 8000
|
|
894
|
+
}
|
|
895
|
+
export type ButtonRequestType = keyof typeof Enum_ButtonRequestType;
|
|
896
|
+
export type ButtonRequest = {
|
|
897
|
+
code?: ButtonRequestType;
|
|
898
|
+
pages?: number;
|
|
899
|
+
};
|
|
900
|
+
export type ButtonAck = {};
|
|
901
|
+
export declare enum Enum_PinMatrixRequestType {
|
|
902
|
+
PinMatrixRequestType_Current = 1,
|
|
903
|
+
PinMatrixRequestType_NewFirst = 2,
|
|
904
|
+
PinMatrixRequestType_NewSecond = 3,
|
|
905
|
+
PinMatrixRequestType_WipeCodeFirst = 4,
|
|
906
|
+
PinMatrixRequestType_WipeCodeSecond = 5,
|
|
907
|
+
PinMatrixRequestType_BackupFirst = 6,
|
|
908
|
+
PinMatrixRequestType_BackupSecond = 7,
|
|
909
|
+
PinMatrixRequestType_AttachToPin = 8000
|
|
910
|
+
}
|
|
911
|
+
export type PinMatrixRequestType = keyof typeof Enum_PinMatrixRequestType;
|
|
912
|
+
export type PinMatrixRequest = {
|
|
913
|
+
type?: PinMatrixRequestType;
|
|
914
|
+
};
|
|
915
|
+
export type PinMatrixAck = {
|
|
916
|
+
pin: string;
|
|
917
|
+
new_pin?: string;
|
|
918
|
+
};
|
|
919
|
+
export type PassphraseRequest = {
|
|
920
|
+
_on_device?: boolean;
|
|
921
|
+
exists_attach_pin_user?: boolean;
|
|
922
|
+
};
|
|
923
|
+
export type PassphraseAck = {
|
|
924
|
+
passphrase?: string;
|
|
925
|
+
_state?: string;
|
|
926
|
+
on_device?: boolean;
|
|
927
|
+
on_device_attach_pin?: boolean;
|
|
928
|
+
};
|
|
929
|
+
export type Deprecated_PassphraseStateRequest = {
|
|
930
|
+
state?: string;
|
|
931
|
+
};
|
|
932
|
+
export type Deprecated_PassphraseStateAck = {};
|
|
933
|
+
export type BixinPinInputOnDevice = {};
|
|
934
|
+
export type ConfluxGetAddress = {
|
|
935
|
+
address_n: number[];
|
|
936
|
+
show_display?: boolean;
|
|
937
|
+
chain_id?: number;
|
|
938
|
+
};
|
|
939
|
+
export type ConfluxAddress = {
|
|
940
|
+
address?: string;
|
|
941
|
+
};
|
|
942
|
+
export type ConfluxSignTx = {
|
|
943
|
+
address_n: number[];
|
|
944
|
+
nonce?: string;
|
|
945
|
+
gas_price?: string;
|
|
946
|
+
gas_limit?: string;
|
|
947
|
+
to?: string;
|
|
948
|
+
value?: string;
|
|
949
|
+
epoch_height?: string;
|
|
950
|
+
storage_limit?: string;
|
|
951
|
+
data_initial_chunk?: string;
|
|
952
|
+
data_length?: number;
|
|
953
|
+
chain_id?: number;
|
|
954
|
+
};
|
|
955
|
+
export type ConfluxTxRequest = {
|
|
956
|
+
data_length?: number;
|
|
957
|
+
signature_v?: number;
|
|
958
|
+
signature_r?: string;
|
|
959
|
+
signature_s?: string;
|
|
960
|
+
};
|
|
961
|
+
export type ConfluxTxAck = {
|
|
962
|
+
data_chunk?: string;
|
|
963
|
+
};
|
|
964
|
+
export type ConfluxSignMessage = {
|
|
965
|
+
address_n: number[];
|
|
966
|
+
message?: string;
|
|
967
|
+
};
|
|
968
|
+
export type ConfluxMessageSignature = {
|
|
969
|
+
signature?: string;
|
|
970
|
+
address?: string;
|
|
971
|
+
};
|
|
972
|
+
export type ConfluxSignMessageCIP23 = {
|
|
973
|
+
address_n: number[];
|
|
974
|
+
domain_hash?: string;
|
|
975
|
+
message_hash?: string;
|
|
976
|
+
};
|
|
977
|
+
export type CosmosGetAddress = {
|
|
978
|
+
address_n: number[];
|
|
979
|
+
hrp?: string;
|
|
980
|
+
show_display?: boolean;
|
|
981
|
+
};
|
|
982
|
+
export type CosmosAddress = {
|
|
983
|
+
address?: string;
|
|
984
|
+
};
|
|
985
|
+
export type CosmosSignTx = {
|
|
986
|
+
address_n: number[];
|
|
987
|
+
raw_tx: string;
|
|
988
|
+
};
|
|
989
|
+
export type CosmosSignedTx = {
|
|
990
|
+
signature: string;
|
|
991
|
+
};
|
|
992
|
+
export type CipherKeyValue = {
|
|
993
|
+
address_n: number[];
|
|
994
|
+
key: string;
|
|
995
|
+
value: string;
|
|
996
|
+
encrypt?: boolean;
|
|
997
|
+
ask_on_encrypt?: boolean;
|
|
998
|
+
ask_on_decrypt?: boolean;
|
|
999
|
+
iv?: string;
|
|
1000
|
+
};
|
|
1001
|
+
export type CipheredKeyValue = {
|
|
1002
|
+
value: string;
|
|
1003
|
+
};
|
|
1004
|
+
export type IdentityType = {
|
|
1005
|
+
proto?: string;
|
|
1006
|
+
user?: string;
|
|
1007
|
+
host?: string;
|
|
1008
|
+
port?: string;
|
|
1009
|
+
path?: string;
|
|
1010
|
+
index?: number;
|
|
1011
|
+
};
|
|
1012
|
+
export type SignIdentity = {
|
|
1013
|
+
identity: IdentityType;
|
|
1014
|
+
challenge_hidden?: string;
|
|
1015
|
+
challenge_visual?: string;
|
|
1016
|
+
ecdsa_curve_name?: string;
|
|
1017
|
+
};
|
|
1018
|
+
export type SignedIdentity = {
|
|
1019
|
+
address: string;
|
|
1020
|
+
public_key: string;
|
|
1021
|
+
signature: string;
|
|
1022
|
+
};
|
|
1023
|
+
export type GetECDHSessionKey = {
|
|
1024
|
+
identity: IdentityType;
|
|
1025
|
+
peer_public_key: string;
|
|
1026
|
+
ecdsa_curve_name?: string;
|
|
1027
|
+
};
|
|
1028
|
+
export type ECDHSessionKey = {
|
|
1029
|
+
session_key: string;
|
|
1030
|
+
public_key?: string;
|
|
1031
|
+
};
|
|
1032
|
+
export type Path = {
|
|
1033
|
+
address_n: number[];
|
|
1034
|
+
};
|
|
1035
|
+
export type BatchGetPublickeys = {
|
|
1036
|
+
ecdsa_curve_name?: string;
|
|
1037
|
+
paths: Path[];
|
|
1038
|
+
include_node?: boolean;
|
|
1039
|
+
};
|
|
1040
|
+
export type EcdsaPublicKeys = {
|
|
1041
|
+
public_keys: string[];
|
|
1042
|
+
hd_nodes: HDNodeType[];
|
|
1043
|
+
root_fingerprint?: number;
|
|
1044
|
+
};
|
|
1045
|
+
export type DnxGetAddress = {
|
|
1046
|
+
address_n: number[];
|
|
1047
|
+
show_display?: boolean;
|
|
1048
|
+
};
|
|
1049
|
+
export type DnxAddress = {
|
|
1050
|
+
address?: string;
|
|
1051
|
+
};
|
|
1052
|
+
export type DnxSignTx = {
|
|
1053
|
+
address_n: number[];
|
|
1054
|
+
inputs_count: number;
|
|
1055
|
+
to_address: string;
|
|
1056
|
+
amount: UintType;
|
|
1057
|
+
fee: UintType;
|
|
1058
|
+
payment_id?: string;
|
|
1059
|
+
};
|
|
1060
|
+
export type DnxTxKey = {
|
|
1061
|
+
ephemeral_tx_sec_key?: string;
|
|
1062
|
+
ephemeral_tx_pub_key?: string;
|
|
1063
|
+
};
|
|
1064
|
+
export type DnxComputedKeyImage = {
|
|
1065
|
+
key_image?: string;
|
|
1066
|
+
};
|
|
1067
|
+
export type DnxInputRequest = {
|
|
1068
|
+
request_index?: number;
|
|
1069
|
+
tx_key?: DnxTxKey;
|
|
1070
|
+
computed_key_image?: DnxComputedKeyImage;
|
|
1071
|
+
};
|
|
1072
|
+
export type DnxInputAck = {
|
|
1073
|
+
prev_index: number;
|
|
1074
|
+
global_index: number;
|
|
1075
|
+
tx_pubkey: string;
|
|
1076
|
+
prev_out_pubkey: string;
|
|
1077
|
+
amount: UintType;
|
|
1078
|
+
};
|
|
1079
|
+
export type DnxRTSigsRequest = {};
|
|
1080
|
+
export type DnxSignedTx = {
|
|
1081
|
+
signatures: string[];
|
|
1082
|
+
output_keys: string[];
|
|
1083
|
+
};
|
|
1084
|
+
export type EmmcFixPermission = {};
|
|
1085
|
+
export type EmmcPath = {
|
|
1086
|
+
exist: boolean;
|
|
1087
|
+
size: number;
|
|
1088
|
+
year: number;
|
|
1089
|
+
month: number;
|
|
1090
|
+
day: number;
|
|
1091
|
+
hour: number;
|
|
1092
|
+
minute: number;
|
|
1093
|
+
second: number;
|
|
1094
|
+
readonly: boolean;
|
|
1095
|
+
hidden: boolean;
|
|
1096
|
+
system: boolean;
|
|
1097
|
+
archive: boolean;
|
|
1098
|
+
directory: boolean;
|
|
1099
|
+
};
|
|
1100
|
+
export type EmmcPathInfo = {
|
|
1101
|
+
path: string;
|
|
1102
|
+
};
|
|
1103
|
+
export type EmmcFile = {
|
|
1104
|
+
path: string;
|
|
1105
|
+
offset: number;
|
|
1106
|
+
len: number;
|
|
1107
|
+
data?: string;
|
|
1108
|
+
data_hash?: number;
|
|
1109
|
+
processed_byte?: number;
|
|
1110
|
+
};
|
|
1111
|
+
export type EmmcFileRead = {
|
|
1112
|
+
file: EmmcFile;
|
|
1113
|
+
ui_percentage?: number;
|
|
1114
|
+
};
|
|
1115
|
+
export type EmmcFileWrite = {
|
|
1116
|
+
file: EmmcFile;
|
|
1117
|
+
overwrite: boolean;
|
|
1118
|
+
append: boolean;
|
|
1119
|
+
ui_percentage?: number;
|
|
1120
|
+
};
|
|
1121
|
+
export type EmmcFileDelete = {
|
|
1122
|
+
path: string;
|
|
1123
|
+
};
|
|
1124
|
+
export type EmmcDir = {
|
|
1125
|
+
path: string;
|
|
1126
|
+
child_dirs?: string;
|
|
1127
|
+
child_files?: string;
|
|
1128
|
+
};
|
|
1129
|
+
export type EmmcDirList = {
|
|
1130
|
+
path: string;
|
|
1131
|
+
};
|
|
1132
|
+
export type EmmcDirMake = {
|
|
1133
|
+
path: string;
|
|
1134
|
+
};
|
|
1135
|
+
export type EmmcDirRemove = {
|
|
1136
|
+
path: string;
|
|
1137
|
+
};
|
|
1138
|
+
export type EosGetPublicKey = {
|
|
1139
|
+
address_n: number[];
|
|
1140
|
+
show_display?: boolean;
|
|
1141
|
+
};
|
|
1142
|
+
export type EosPublicKey = {
|
|
1143
|
+
wif_public_key: string;
|
|
1144
|
+
raw_public_key: string;
|
|
1145
|
+
};
|
|
1146
|
+
export type EosTxHeader = {
|
|
1147
|
+
expiration: number;
|
|
1148
|
+
ref_block_num: number;
|
|
1149
|
+
ref_block_prefix: number;
|
|
1150
|
+
max_net_usage_words: number;
|
|
1151
|
+
max_cpu_usage_ms: number;
|
|
1152
|
+
delay_sec: number;
|
|
1153
|
+
};
|
|
1154
|
+
export type EosSignTx = {
|
|
1155
|
+
address_n: number[];
|
|
1156
|
+
chain_id?: string;
|
|
1157
|
+
header?: EosTxHeader;
|
|
1158
|
+
num_actions?: number;
|
|
1159
|
+
};
|
|
1160
|
+
export type EosTxActionRequest = {
|
|
1161
|
+
data_size?: number;
|
|
1162
|
+
};
|
|
1163
|
+
export type EosAsset = {
|
|
1164
|
+
amount?: UintType;
|
|
1165
|
+
symbol?: string;
|
|
1166
|
+
};
|
|
1167
|
+
export type EosPermissionLevel = {
|
|
1168
|
+
actor?: string;
|
|
1169
|
+
permission?: string;
|
|
1170
|
+
};
|
|
1171
|
+
export type EosAuthorizationKey = {
|
|
1172
|
+
type?: number;
|
|
1173
|
+
key: string;
|
|
1174
|
+
address_n?: number[];
|
|
1175
|
+
weight: number;
|
|
1176
|
+
};
|
|
1177
|
+
export type EosAuthorizationAccount = {
|
|
1178
|
+
account?: EosPermissionLevel;
|
|
1179
|
+
weight?: number;
|
|
1180
|
+
};
|
|
1181
|
+
export type EosAuthorizationWait = {
|
|
1182
|
+
wait_sec?: number;
|
|
1183
|
+
weight?: number;
|
|
1184
|
+
};
|
|
1185
|
+
export type EosAuthorization = {
|
|
1186
|
+
threshold?: number;
|
|
1187
|
+
keys: EosAuthorizationKey[];
|
|
1188
|
+
accounts: EosAuthorizationAccount[];
|
|
1189
|
+
waits: EosAuthorizationWait[];
|
|
1190
|
+
};
|
|
1191
|
+
export type EosActionCommon = {
|
|
1192
|
+
account?: string;
|
|
1193
|
+
name?: string;
|
|
1194
|
+
authorization: EosPermissionLevel[];
|
|
1195
|
+
};
|
|
1196
|
+
export type EosActionTransfer = {
|
|
1197
|
+
sender?: string;
|
|
1198
|
+
receiver?: string;
|
|
1199
|
+
quantity?: EosAsset;
|
|
1200
|
+
memo?: string;
|
|
1201
|
+
};
|
|
1202
|
+
export type EosActionDelegate = {
|
|
1203
|
+
sender?: string;
|
|
1204
|
+
receiver?: string;
|
|
1205
|
+
net_quantity?: EosAsset;
|
|
1206
|
+
cpu_quantity?: EosAsset;
|
|
1207
|
+
transfer?: boolean;
|
|
1208
|
+
};
|
|
1209
|
+
export type EosActionUndelegate = {
|
|
1210
|
+
sender?: string;
|
|
1211
|
+
receiver?: string;
|
|
1212
|
+
net_quantity?: EosAsset;
|
|
1213
|
+
cpu_quantity?: EosAsset;
|
|
1214
|
+
};
|
|
1215
|
+
export type EosActionRefund = {
|
|
1216
|
+
owner?: string;
|
|
1217
|
+
};
|
|
1218
|
+
export type EosActionBuyRam = {
|
|
1219
|
+
payer?: string;
|
|
1220
|
+
receiver?: string;
|
|
1221
|
+
quantity?: EosAsset;
|
|
1222
|
+
};
|
|
1223
|
+
export type EosActionBuyRamBytes = {
|
|
1224
|
+
payer?: string;
|
|
1225
|
+
receiver?: string;
|
|
1226
|
+
bytes?: number;
|
|
1227
|
+
};
|
|
1228
|
+
export type EosActionSellRam = {
|
|
1229
|
+
account?: string;
|
|
1230
|
+
bytes?: number;
|
|
1231
|
+
};
|
|
1232
|
+
export type EosActionVoteProducer = {
|
|
1233
|
+
voter?: string;
|
|
1234
|
+
proxy?: string;
|
|
1235
|
+
producers: string[];
|
|
1236
|
+
};
|
|
1237
|
+
export type EosActionUpdateAuth = {
|
|
1238
|
+
account?: string;
|
|
1239
|
+
permission?: string;
|
|
1240
|
+
parent?: string;
|
|
1241
|
+
auth?: EosAuthorization;
|
|
1242
|
+
};
|
|
1243
|
+
export type EosActionDeleteAuth = {
|
|
1244
|
+
account?: string;
|
|
1245
|
+
permission?: string;
|
|
1246
|
+
};
|
|
1247
|
+
export type EosActionLinkAuth = {
|
|
1248
|
+
account?: string;
|
|
1249
|
+
code?: string;
|
|
1250
|
+
type?: string;
|
|
1251
|
+
requirement?: string;
|
|
1252
|
+
};
|
|
1253
|
+
export type EosActionUnlinkAuth = {
|
|
1254
|
+
account?: string;
|
|
1255
|
+
code?: string;
|
|
1256
|
+
type?: string;
|
|
1257
|
+
};
|
|
1258
|
+
export type EosActionNewAccount = {
|
|
1259
|
+
creator?: string;
|
|
1260
|
+
name?: string;
|
|
1261
|
+
owner?: EosAuthorization;
|
|
1262
|
+
active?: EosAuthorization;
|
|
1263
|
+
};
|
|
1264
|
+
export type EosActionUnknown = {
|
|
1265
|
+
data_size: number;
|
|
1266
|
+
data_chunk?: string;
|
|
1267
|
+
};
|
|
1268
|
+
export type EosTxActionAck = {
|
|
1269
|
+
common?: EosActionCommon;
|
|
1270
|
+
transfer?: EosActionTransfer;
|
|
1271
|
+
delegate?: EosActionDelegate;
|
|
1272
|
+
undelegate?: EosActionUndelegate;
|
|
1273
|
+
refund?: EosActionRefund;
|
|
1274
|
+
buy_ram?: EosActionBuyRam;
|
|
1275
|
+
buy_ram_bytes?: EosActionBuyRamBytes;
|
|
1276
|
+
sell_ram?: EosActionSellRam;
|
|
1277
|
+
vote_producer?: EosActionVoteProducer;
|
|
1278
|
+
update_auth?: EosActionUpdateAuth;
|
|
1279
|
+
delete_auth?: EosActionDeleteAuth;
|
|
1280
|
+
link_auth?: EosActionLinkAuth;
|
|
1281
|
+
unlink_auth?: EosActionUnlinkAuth;
|
|
1282
|
+
new_account?: EosActionNewAccount;
|
|
1283
|
+
unknown?: EosActionUnknown;
|
|
1284
|
+
};
|
|
1285
|
+
export type EosSignedTx = {
|
|
1286
|
+
signature: string;
|
|
1287
|
+
};
|
|
1288
|
+
export declare enum EthereumDefinitionType {
|
|
1289
|
+
NETWORK = 0,
|
|
1290
|
+
TOKEN = 1
|
|
1291
|
+
}
|
|
1292
|
+
export type EthereumNetworkInfo = {
|
|
1293
|
+
chain_id: number;
|
|
1294
|
+
symbol: string;
|
|
1295
|
+
slip44: number;
|
|
1296
|
+
name: string;
|
|
1297
|
+
icon?: string;
|
|
1298
|
+
primary_color?: number;
|
|
1299
|
+
};
|
|
1300
|
+
export type EthereumTokenInfo = {
|
|
1301
|
+
address: string;
|
|
1302
|
+
chain_id: number;
|
|
1303
|
+
symbol: string;
|
|
1304
|
+
decimals: number;
|
|
1305
|
+
name: string;
|
|
1306
|
+
};
|
|
1307
|
+
export type EthereumDefinitions = {
|
|
1308
|
+
encoded_network?: ArrayBuffer;
|
|
1309
|
+
encoded_token?: ArrayBuffer;
|
|
1310
|
+
};
|
|
1311
|
+
export type EthereumSignTypedDataUKey = {
|
|
1312
|
+
address_n: number[];
|
|
1313
|
+
primary_type: string;
|
|
1314
|
+
metamask_v4_compat?: boolean;
|
|
1315
|
+
chain_id?: number;
|
|
1316
|
+
};
|
|
1317
|
+
export declare enum EthereumGnosisSafeTxOperation {
|
|
1318
|
+
CALL = 0,
|
|
1319
|
+
DELEGATE_CALL = 1
|
|
1320
|
+
}
|
|
1321
|
+
export type EthereumGnosisSafeTxRequest = {};
|
|
1322
|
+
export type EthereumGnosisSafeTxAck = {
|
|
1323
|
+
to: string;
|
|
1324
|
+
value: string;
|
|
1325
|
+
data?: string;
|
|
1326
|
+
operation: EthereumGnosisSafeTxOperation;
|
|
1327
|
+
safeTxGas: string;
|
|
1328
|
+
baseGas: string;
|
|
1329
|
+
gasPrice: string;
|
|
1330
|
+
gasToken: string;
|
|
1331
|
+
refundReceiver: string;
|
|
1332
|
+
nonce: string;
|
|
1333
|
+
chain_id: number;
|
|
1334
|
+
verifyingContract: string;
|
|
1335
|
+
};
|
|
1336
|
+
export type EthereumTypedDataStructRequestUKey = {
|
|
1337
|
+
name: string;
|
|
1338
|
+
};
|
|
1339
|
+
export type EthereumStructMemberUKey = {
|
|
1340
|
+
type: EthereumFieldTypeUKey;
|
|
1341
|
+
name: string;
|
|
1342
|
+
};
|
|
1343
|
+
export type EthereumFieldTypeUKey = {
|
|
1344
|
+
data_type: EthereumDataTypeUKey;
|
|
1345
|
+
size?: number;
|
|
1346
|
+
entry_type?: EthereumFieldTypeUKey;
|
|
1347
|
+
struct_name?: string;
|
|
1348
|
+
};
|
|
1349
|
+
export declare enum EthereumDataTypeUKey {
|
|
1350
|
+
UINT = 1,
|
|
1351
|
+
INT = 2,
|
|
1352
|
+
BYTES = 3,
|
|
1353
|
+
STRING = 4,
|
|
1354
|
+
BOOL = 5,
|
|
1355
|
+
ADDRESS = 6,
|
|
1356
|
+
ARRAY = 7,
|
|
1357
|
+
STRUCT = 8
|
|
1358
|
+
}
|
|
1359
|
+
export type EthereumTypedDataStructAckUKey = {
|
|
1360
|
+
members: EthereumStructMemberUKey[];
|
|
1361
|
+
};
|
|
1362
|
+
export type EthereumTypedDataValueRequestUKey = {
|
|
1363
|
+
member_path: number[];
|
|
1364
|
+
};
|
|
1365
|
+
export type EthereumTypedDataValueAckUKey = {
|
|
1366
|
+
value: string;
|
|
1367
|
+
};
|
|
1368
|
+
export type EthereumSignTypedData = {
|
|
1369
|
+
address_n: number[];
|
|
1370
|
+
primary_type: string;
|
|
1371
|
+
metamask_v4_compat?: boolean;
|
|
1372
|
+
definitions?: EthereumDefinitions;
|
|
1373
|
+
};
|
|
1374
|
+
export type EthereumTypedDataStructRequest = {
|
|
1375
|
+
name: string;
|
|
1376
|
+
};
|
|
1377
|
+
export declare enum EthereumDataType {
|
|
1378
|
+
UINT = 1,
|
|
1379
|
+
INT = 2,
|
|
1380
|
+
BYTES = 3,
|
|
1381
|
+
STRING = 4,
|
|
1382
|
+
BOOL = 5,
|
|
1383
|
+
ADDRESS = 6,
|
|
1384
|
+
ARRAY = 7,
|
|
1385
|
+
STRUCT = 8
|
|
1386
|
+
}
|
|
1387
|
+
export type EthereumFieldType = {
|
|
1388
|
+
data_type: EthereumDataType;
|
|
1389
|
+
size?: number;
|
|
1390
|
+
entry_type?: EthereumFieldType;
|
|
1391
|
+
struct_name?: string;
|
|
1392
|
+
};
|
|
1393
|
+
export type EthereumStructMember = {
|
|
1394
|
+
type: EthereumFieldType;
|
|
1395
|
+
name: string;
|
|
1396
|
+
};
|
|
1397
|
+
export type EthereumTypedDataStructAck = {
|
|
1398
|
+
members: EthereumStructMember[];
|
|
1399
|
+
};
|
|
1400
|
+
export type EthereumTypedDataValueRequest = {
|
|
1401
|
+
member_path: number[];
|
|
1402
|
+
};
|
|
1403
|
+
export type EthereumTypedDataValueAck = {
|
|
1404
|
+
value: string;
|
|
1405
|
+
};
|
|
1406
|
+
export type EthereumGetPublicKeyUKey = {
|
|
1407
|
+
address_n: number[];
|
|
1408
|
+
show_display?: boolean;
|
|
1409
|
+
chain_id?: number;
|
|
1410
|
+
};
|
|
1411
|
+
export type EthereumPublicKeyUKey = {
|
|
1412
|
+
node: HDNodeType;
|
|
1413
|
+
xpub: string;
|
|
1414
|
+
};
|
|
1415
|
+
export type EthereumGetAddressUKey = {
|
|
1416
|
+
address_n: number[];
|
|
1417
|
+
show_display?: boolean;
|
|
1418
|
+
chain_id?: number;
|
|
1419
|
+
};
|
|
1420
|
+
export type EthereumAddressUKey = {
|
|
1421
|
+
_old_address?: string;
|
|
1422
|
+
address?: string;
|
|
1423
|
+
};
|
|
1424
|
+
export type EthereumSignTxUKey = {
|
|
1425
|
+
address_n: number[];
|
|
1426
|
+
nonce?: string;
|
|
1427
|
+
gas_price: string;
|
|
1428
|
+
gas_limit: string;
|
|
1429
|
+
to?: string;
|
|
1430
|
+
value?: string;
|
|
1431
|
+
data_initial_chunk?: string;
|
|
1432
|
+
data_length?: number;
|
|
1433
|
+
chain_id: number;
|
|
1434
|
+
tx_type?: number;
|
|
1435
|
+
};
|
|
1436
|
+
export type EthereumAccessListUKey = {
|
|
1437
|
+
address: string;
|
|
1438
|
+
storage_keys: string[];
|
|
1439
|
+
};
|
|
1440
|
+
export type EthereumSignTxEIP1559UKey = {
|
|
1441
|
+
address_n: number[];
|
|
1442
|
+
nonce: string;
|
|
1443
|
+
max_gas_fee: string;
|
|
1444
|
+
max_priority_fee: string;
|
|
1445
|
+
gas_limit: string;
|
|
1446
|
+
to?: string;
|
|
1447
|
+
value: string;
|
|
1448
|
+
data_initial_chunk?: string;
|
|
1449
|
+
data_length: number;
|
|
1450
|
+
chain_id: number;
|
|
1451
|
+
access_list: EthereumAccessListUKey[];
|
|
1452
|
+
};
|
|
1453
|
+
export type EthereumAuthorizationSignature = {
|
|
1454
|
+
y_parity: number;
|
|
1455
|
+
r: string;
|
|
1456
|
+
s: string;
|
|
1457
|
+
};
|
|
1458
|
+
export type EthereumAuthorizationUKey = {
|
|
1459
|
+
address_n: number[];
|
|
1460
|
+
chain_id: number;
|
|
1461
|
+
address: string;
|
|
1462
|
+
nonce: string;
|
|
1463
|
+
signature?: EthereumAuthorizationSignature;
|
|
1464
|
+
};
|
|
1465
|
+
export type EthereumSignTxEIP7702UKey = {
|
|
1466
|
+
address_n: number[];
|
|
1467
|
+
nonce: string;
|
|
1468
|
+
max_gas_fee: string;
|
|
1469
|
+
max_priority_fee: string;
|
|
1470
|
+
gas_limit: string;
|
|
1471
|
+
to: string;
|
|
1472
|
+
value: string;
|
|
1473
|
+
data_initial_chunk?: string;
|
|
1474
|
+
data_length: number;
|
|
1475
|
+
chain_id: number;
|
|
1476
|
+
access_list: EthereumAccessListUKey[];
|
|
1477
|
+
authorization_list: EthereumAuthorizationUKey[];
|
|
1478
|
+
};
|
|
1479
|
+
export type EthereumTxRequestUKey = {
|
|
1480
|
+
data_length?: number;
|
|
1481
|
+
signature_v?: number;
|
|
1482
|
+
signature_r?: string;
|
|
1483
|
+
signature_s?: string;
|
|
1484
|
+
authorization_signatures: EthereumAuthorizationSignature[];
|
|
1485
|
+
};
|
|
1486
|
+
export type EthereumTxAckUKey = {
|
|
1487
|
+
data_chunk: string;
|
|
1488
|
+
};
|
|
1489
|
+
export type EthereumSignMessageUKey = {
|
|
1490
|
+
address_n: number[];
|
|
1491
|
+
message: string;
|
|
1492
|
+
chain_id?: number;
|
|
1493
|
+
};
|
|
1494
|
+
export type EthereumMessageSignatureUKey = {
|
|
1495
|
+
signature: string;
|
|
1496
|
+
address: string;
|
|
1497
|
+
};
|
|
1498
|
+
export type EthereumVerifyMessageUKey = {
|
|
1499
|
+
signature: string;
|
|
1500
|
+
message: string;
|
|
1501
|
+
address: string;
|
|
1502
|
+
chain_id?: number;
|
|
1503
|
+
};
|
|
1504
|
+
export type EthereumSignTypedHashUKey = {
|
|
1505
|
+
address_n: number[];
|
|
1506
|
+
domain_separator_hash: string;
|
|
1507
|
+
message_hash?: string;
|
|
1508
|
+
chain_id?: number;
|
|
1509
|
+
};
|
|
1510
|
+
export type EthereumTypedDataSignatureUKey = {
|
|
1511
|
+
signature: string;
|
|
1512
|
+
address: string;
|
|
1513
|
+
};
|
|
1514
|
+
export type EthereumSignMessageEIP712 = {
|
|
1515
|
+
address_n: number[];
|
|
1516
|
+
domain_hash?: string;
|
|
1517
|
+
message_hash?: string;
|
|
1518
|
+
};
|
|
1519
|
+
export type EthereumGetPublicKey = {
|
|
1520
|
+
address_n: number[];
|
|
1521
|
+
show_display?: boolean;
|
|
1522
|
+
};
|
|
1523
|
+
export type EthereumPublicKey = {
|
|
1524
|
+
node: HDNodeType;
|
|
1525
|
+
xpub: string;
|
|
1526
|
+
};
|
|
1527
|
+
export type EthereumGetAddress = {
|
|
1528
|
+
address_n: number[];
|
|
1529
|
+
show_display?: boolean;
|
|
1530
|
+
encoded_network?: ArrayBuffer;
|
|
1531
|
+
};
|
|
1532
|
+
export type EthereumAddress = {
|
|
1533
|
+
_old_address?: string;
|
|
1534
|
+
address: string;
|
|
1535
|
+
};
|
|
1536
|
+
export type EthereumSignTx = {
|
|
1537
|
+
address_n: number[];
|
|
1538
|
+
nonce?: string;
|
|
1539
|
+
gas_price: string;
|
|
1540
|
+
gas_limit: string;
|
|
1541
|
+
to?: string;
|
|
1542
|
+
value?: string;
|
|
1543
|
+
data_initial_chunk?: string;
|
|
1544
|
+
data_length?: number;
|
|
1545
|
+
chain_id: number;
|
|
1546
|
+
tx_type?: number;
|
|
1547
|
+
definitions?: EthereumDefinitions;
|
|
1548
|
+
};
|
|
1549
|
+
export type EthereumAccessList = {
|
|
1550
|
+
address: string;
|
|
1551
|
+
storage_keys: string[];
|
|
1552
|
+
};
|
|
1553
|
+
export type EthereumSignTxEIP1559 = {
|
|
1554
|
+
address_n: number[];
|
|
1555
|
+
nonce: string;
|
|
1556
|
+
max_gas_fee: string;
|
|
1557
|
+
max_priority_fee: string;
|
|
1558
|
+
gas_limit: string;
|
|
1559
|
+
to?: string;
|
|
1560
|
+
value: string;
|
|
1561
|
+
data_initial_chunk?: string;
|
|
1562
|
+
data_length: number;
|
|
1563
|
+
chain_id: number;
|
|
1564
|
+
access_list: EthereumAccessList[];
|
|
1565
|
+
definitions?: EthereumDefinitions;
|
|
1566
|
+
};
|
|
1567
|
+
export type EthereumTxRequest = {
|
|
1568
|
+
data_length?: number;
|
|
1569
|
+
signature_v?: number;
|
|
1570
|
+
signature_r?: string;
|
|
1571
|
+
signature_s?: string;
|
|
1572
|
+
};
|
|
1573
|
+
export type EthereumTxAck = {
|
|
1574
|
+
data_chunk: string;
|
|
1575
|
+
};
|
|
1576
|
+
export type EthereumSignMessage = {
|
|
1577
|
+
address_n: number[];
|
|
1578
|
+
message: string;
|
|
1579
|
+
encoded_network?: ArrayBuffer;
|
|
1580
|
+
};
|
|
1581
|
+
export type EthereumMessageSignature = {
|
|
1582
|
+
signature: string;
|
|
1583
|
+
address: string;
|
|
1584
|
+
};
|
|
1585
|
+
export type EthereumVerifyMessage = {
|
|
1586
|
+
signature: string;
|
|
1587
|
+
message: string;
|
|
1588
|
+
address: string;
|
|
1589
|
+
};
|
|
1590
|
+
export type EthereumSignTypedHash = {
|
|
1591
|
+
address_n: number[];
|
|
1592
|
+
domain_separator_hash: string;
|
|
1593
|
+
message_hash?: string;
|
|
1594
|
+
encoded_network?: ArrayBuffer;
|
|
1595
|
+
};
|
|
1596
|
+
export type EthereumTypedDataSignature = {
|
|
1597
|
+
signature: string;
|
|
1598
|
+
address: string;
|
|
1599
|
+
};
|
|
1600
|
+
export type FilecoinGetAddress = {
|
|
1601
|
+
address_n: number[];
|
|
1602
|
+
show_display?: boolean;
|
|
1603
|
+
testnet?: boolean;
|
|
1604
|
+
};
|
|
1605
|
+
export type FilecoinAddress = {
|
|
1606
|
+
address?: string;
|
|
1607
|
+
};
|
|
1608
|
+
export type FilecoinSignTx = {
|
|
1609
|
+
address_n: number[];
|
|
1610
|
+
raw_tx: string;
|
|
1611
|
+
testnet?: boolean;
|
|
1612
|
+
};
|
|
1613
|
+
export type FilecoinSignedTx = {
|
|
1614
|
+
signature: string;
|
|
1615
|
+
};
|
|
1616
|
+
export type KaspaGetAddress = {
|
|
1617
|
+
address_n: number[];
|
|
1618
|
+
show_display?: boolean;
|
|
1619
|
+
prefix?: string;
|
|
1620
|
+
scheme?: string;
|
|
1621
|
+
use_tweak?: boolean;
|
|
1622
|
+
};
|
|
1623
|
+
export type KaspaAddress = {
|
|
1624
|
+
address: string;
|
|
1625
|
+
};
|
|
1626
|
+
export type KaspaSignTx = {
|
|
1627
|
+
address_n: number[];
|
|
1628
|
+
raw_message: string;
|
|
1629
|
+
scheme?: string;
|
|
1630
|
+
prefix?: string;
|
|
1631
|
+
input_count?: number;
|
|
1632
|
+
use_tweak?: boolean;
|
|
1633
|
+
};
|
|
1634
|
+
export type KaspaTxInputRequest = {
|
|
1635
|
+
request_index: number;
|
|
1636
|
+
signature?: string;
|
|
1637
|
+
};
|
|
1638
|
+
export type KaspaTxInputAck = {
|
|
1639
|
+
address_n: number[];
|
|
1640
|
+
raw_message: string;
|
|
1641
|
+
};
|
|
1642
|
+
export type KaspaSignedTx = {
|
|
1643
|
+
signature: string;
|
|
1644
|
+
};
|
|
1645
|
+
export type LnurlAuth = {
|
|
1646
|
+
domain: string;
|
|
1647
|
+
data: string;
|
|
1648
|
+
};
|
|
1649
|
+
export type LnurlAuthResp = {
|
|
1650
|
+
publickey?: string;
|
|
1651
|
+
path?: string;
|
|
1652
|
+
signature?: string;
|
|
1653
|
+
};
|
|
1654
|
+
export declare enum Enum_BackupType {
|
|
1655
|
+
Bip39 = 0,
|
|
1656
|
+
Slip39_Basic = 1,
|
|
1657
|
+
Slip39_Advanced = 2
|
|
1658
|
+
}
|
|
1659
|
+
export type BackupType = keyof typeof Enum_BackupType;
|
|
1660
|
+
export declare enum Enum_SafetyCheckLevel {
|
|
1661
|
+
Strict = 0,
|
|
1662
|
+
PromptAlways = 1,
|
|
1663
|
+
PromptTemporarily = 2
|
|
1664
|
+
}
|
|
1665
|
+
export type SafetyCheckLevel = keyof typeof Enum_SafetyCheckLevel;
|
|
1666
|
+
export type Initialize = {
|
|
1667
|
+
session_id?: string;
|
|
1668
|
+
_skip_passphrase?: boolean;
|
|
1669
|
+
derive_cardano?: boolean;
|
|
1670
|
+
passphrase_state?: string;
|
|
1671
|
+
is_contains_attach?: boolean;
|
|
1672
|
+
};
|
|
1673
|
+
export type GetFeatures = {};
|
|
1674
|
+
export type UkeyGetFeatures = {};
|
|
1675
|
+
export declare enum UKeyDeviceType {
|
|
1676
|
+
CLASSIC = 0,
|
|
1677
|
+
CLASSIC1S = 1,
|
|
1678
|
+
MINI = 2,
|
|
1679
|
+
TOUCH = 3,
|
|
1680
|
+
PRO = 5,
|
|
1681
|
+
PURE = 6
|
|
1682
|
+
}
|
|
1683
|
+
export declare enum UKeySeType {
|
|
1684
|
+
THD89 = 0,
|
|
1685
|
+
SE608A = 1
|
|
1686
|
+
}
|
|
1687
|
+
export declare enum UKeySEState {
|
|
1688
|
+
BOOT = 0,
|
|
1689
|
+
APP = 1
|
|
1690
|
+
}
|
|
1691
|
+
export declare enum Enum_Capability {
|
|
1692
|
+
Capability_Bitcoin = 1,
|
|
1693
|
+
Capability_Bitcoin_like = 2,
|
|
1694
|
+
Capability_Binance = 3,
|
|
1695
|
+
Capability_Cardano = 4,
|
|
1696
|
+
Capability_Crypto = 5,
|
|
1697
|
+
Capability_EOS = 6,
|
|
1698
|
+
Capability_Ethereum = 7,
|
|
1699
|
+
Capability_Lisk = 8,
|
|
1700
|
+
Capability_Monero = 9,
|
|
1701
|
+
Capability_NEM = 10,
|
|
1702
|
+
Capability_Ripple = 11,
|
|
1703
|
+
Capability_Stellar = 12,
|
|
1704
|
+
Capability_Tezos = 13,
|
|
1705
|
+
Capability_U2F = 14,
|
|
1706
|
+
Capability_Shamir = 15,
|
|
1707
|
+
Capability_ShamirGroups = 16,
|
|
1708
|
+
Capability_PassphraseEntry = 17,
|
|
1709
|
+
Capability_EthereumTypedData = 1000,
|
|
1710
|
+
Capability_AttachToPin = 8000
|
|
1711
|
+
}
|
|
1712
|
+
export type Capability = keyof typeof Enum_Capability;
|
|
1713
|
+
export type Features = {
|
|
1714
|
+
vendor: string;
|
|
1715
|
+
major_version: number;
|
|
1716
|
+
minor_version: number;
|
|
1717
|
+
patch_version: number;
|
|
1718
|
+
bootloader_mode: boolean | null;
|
|
1719
|
+
device_id: string | null;
|
|
1720
|
+
pin_protection: boolean | null;
|
|
1721
|
+
passphrase_protection: boolean | null;
|
|
1722
|
+
language: string | null;
|
|
1723
|
+
label: string | null;
|
|
1724
|
+
initialized: boolean | null;
|
|
1725
|
+
revision: string | null;
|
|
1726
|
+
bootloader_hash: string | null;
|
|
1727
|
+
imported: boolean | null;
|
|
1728
|
+
unlocked: boolean | null;
|
|
1729
|
+
_passphrase_cached?: boolean;
|
|
1730
|
+
firmware_present: boolean | null;
|
|
1731
|
+
needs_backup: boolean | null;
|
|
1732
|
+
flags: number | null;
|
|
1733
|
+
model: string;
|
|
1734
|
+
fw_major: number | null;
|
|
1735
|
+
fw_minor: number | null;
|
|
1736
|
+
fw_patch: number | null;
|
|
1737
|
+
fw_vendor: string | null;
|
|
1738
|
+
unfinished_backup: boolean | null;
|
|
1739
|
+
no_backup: boolean | null;
|
|
1740
|
+
recovery_mode: boolean | null;
|
|
1741
|
+
capabilities: Capability[];
|
|
1742
|
+
backup_type: BackupType | null;
|
|
1743
|
+
sd_card_present: boolean | null;
|
|
1744
|
+
sd_protection: boolean | null;
|
|
1745
|
+
wipe_code_protection: boolean | null;
|
|
1746
|
+
session_id: string | null;
|
|
1747
|
+
passphrase_always_on_device: boolean | null;
|
|
1748
|
+
safety_checks: SafetyCheckLevel | null;
|
|
1749
|
+
auto_lock_delay_ms: number | null;
|
|
1750
|
+
display_rotation: number | null;
|
|
1751
|
+
experimental_features: boolean | null;
|
|
1752
|
+
busy?: boolean;
|
|
1753
|
+
offset?: number;
|
|
1754
|
+
ble_name?: string;
|
|
1755
|
+
ble_ver?: string;
|
|
1756
|
+
ble_enable?: boolean;
|
|
1757
|
+
se_enable?: boolean;
|
|
1758
|
+
se_ver?: string;
|
|
1759
|
+
backup_only?: boolean;
|
|
1760
|
+
ukey_version?: string;
|
|
1761
|
+
ukey_serial?: string;
|
|
1762
|
+
bootloader_version?: string;
|
|
1763
|
+
serial_no?: string;
|
|
1764
|
+
spi_flash?: string;
|
|
1765
|
+
initstates?: number;
|
|
1766
|
+
NFT_voucher?: string;
|
|
1767
|
+
cpu_info?: string;
|
|
1768
|
+
pre_firmware?: string;
|
|
1769
|
+
coin_switch?: number;
|
|
1770
|
+
build_id?: string;
|
|
1771
|
+
boardloader_version?: string;
|
|
1772
|
+
battery_level?: number;
|
|
1773
|
+
ukey_device_type?: string | null;
|
|
1774
|
+
ukey_se_type?: string | null;
|
|
1775
|
+
ukey_board_version?: string;
|
|
1776
|
+
ukey_board_hash?: string;
|
|
1777
|
+
ukey_boot_version?: string;
|
|
1778
|
+
ukey_boot_hash?: string;
|
|
1779
|
+
ukey_se01_version?: string;
|
|
1780
|
+
ukey_se01_hash?: string;
|
|
1781
|
+
ukey_se01_build_id?: string;
|
|
1782
|
+
ukey_firmware_version?: string;
|
|
1783
|
+
ukey_firmware_hash?: string;
|
|
1784
|
+
ukey_firmware_build_id?: string;
|
|
1785
|
+
ukey_serial_no?: string;
|
|
1786
|
+
ukey_boot_build_id?: string;
|
|
1787
|
+
ukey_ble_name?: string;
|
|
1788
|
+
ukey_ble_version?: string;
|
|
1789
|
+
ukey_ble_build_id?: string;
|
|
1790
|
+
ukey_ble_hash?: string;
|
|
1791
|
+
ukey_se02_version?: string;
|
|
1792
|
+
ukey_se03_version?: string;
|
|
1793
|
+
ukey_se04_version?: string;
|
|
1794
|
+
ukey_se01_state?: string | null;
|
|
1795
|
+
ukey_se02_state?: string | null;
|
|
1796
|
+
ukey_se03_state?: string | null;
|
|
1797
|
+
ukey_se04_state?: string | null;
|
|
1798
|
+
attach_to_pin_user?: boolean;
|
|
1799
|
+
unlocked_attach_pin?: boolean;
|
|
1800
|
+
};
|
|
1801
|
+
export type UkeyFeatures = {
|
|
1802
|
+
ukey_device_type?: UKeyDeviceType;
|
|
1803
|
+
ukey_board_version?: string;
|
|
1804
|
+
ukey_boot_version?: string;
|
|
1805
|
+
ukey_firmware_version?: string;
|
|
1806
|
+
ukey_board_hash?: string;
|
|
1807
|
+
ukey_boot_hash?: string;
|
|
1808
|
+
ukey_firmware_hash?: string;
|
|
1809
|
+
ukey_board_build_id?: string;
|
|
1810
|
+
ukey_boot_build_id?: string;
|
|
1811
|
+
ukey_firmware_build_id?: string;
|
|
1812
|
+
ukey_serial_no?: string;
|
|
1813
|
+
ukey_ble_name?: string;
|
|
1814
|
+
ukey_ble_version?: string;
|
|
1815
|
+
ukey_ble_build_id?: string;
|
|
1816
|
+
ukey_ble_hash?: string;
|
|
1817
|
+
ukey_se_type?: UKeySeType;
|
|
1818
|
+
ukey_se01_state?: UKeySEState;
|
|
1819
|
+
ukey_se02_state?: UKeySEState;
|
|
1820
|
+
ukey_se03_state?: UKeySEState;
|
|
1821
|
+
ukey_se04_state?: UKeySEState;
|
|
1822
|
+
ukey_se01_version?: string;
|
|
1823
|
+
ukey_se02_version?: string;
|
|
1824
|
+
ukey_se03_version?: string;
|
|
1825
|
+
ukey_se04_version?: string;
|
|
1826
|
+
ukey_se01_hash?: string;
|
|
1827
|
+
ukey_se02_hash?: string;
|
|
1828
|
+
ukey_se03_hash?: string;
|
|
1829
|
+
ukey_se04_hash?: string;
|
|
1830
|
+
ukey_se01_build_id?: string;
|
|
1831
|
+
ukey_se02_build_id?: string;
|
|
1832
|
+
ukey_se03_build_id?: string;
|
|
1833
|
+
ukey_se04_build_id?: string;
|
|
1834
|
+
ukey_se01_boot_version?: string;
|
|
1835
|
+
ukey_se02_boot_version?: string;
|
|
1836
|
+
ukey_se03_boot_version?: string;
|
|
1837
|
+
ukey_se04_boot_version?: string;
|
|
1838
|
+
ukey_se01_boot_hash?: string;
|
|
1839
|
+
ukey_se02_boot_hash?: string;
|
|
1840
|
+
ukey_se03_boot_hash?: string;
|
|
1841
|
+
ukey_se04_boot_hash?: string;
|
|
1842
|
+
ukey_se01_boot_build_id?: string;
|
|
1843
|
+
ukey_se02_boot_build_id?: string;
|
|
1844
|
+
ukey_se03_boot_build_id?: string;
|
|
1845
|
+
ukey_se04_boot_build_id?: string;
|
|
1846
|
+
};
|
|
1847
|
+
export type LockDevice = {};
|
|
1848
|
+
export type EndSession = {};
|
|
1849
|
+
export declare enum ExportType {
|
|
1850
|
+
SeedEncExportType_NO = 0,
|
|
1851
|
+
SeedEncExportType_YES = 1,
|
|
1852
|
+
MnemonicPlainExportType_YES = 2
|
|
1853
|
+
}
|
|
1854
|
+
export type ApplySettings = {
|
|
1855
|
+
language?: string;
|
|
1856
|
+
label?: string;
|
|
1857
|
+
use_passphrase?: boolean;
|
|
1858
|
+
homescreen?: string;
|
|
1859
|
+
_passphrase_source?: number;
|
|
1860
|
+
auto_lock_delay_ms?: number;
|
|
1861
|
+
display_rotation?: number;
|
|
1862
|
+
passphrase_always_on_device?: boolean;
|
|
1863
|
+
safety_checks?: SafetyCheckLevel;
|
|
1864
|
+
experimental_features?: boolean;
|
|
1865
|
+
use_ble?: boolean;
|
|
1866
|
+
use_se?: boolean;
|
|
1867
|
+
is_bixinapp?: boolean;
|
|
1868
|
+
fastpay_pin?: boolean;
|
|
1869
|
+
fastpay_confirm?: boolean;
|
|
1870
|
+
fastpay_money_limit?: number;
|
|
1871
|
+
fastpay_times?: number;
|
|
1872
|
+
};
|
|
1873
|
+
export type ApplyFlags = {
|
|
1874
|
+
flags: number;
|
|
1875
|
+
};
|
|
1876
|
+
export type ChangePin = {
|
|
1877
|
+
remove?: boolean;
|
|
1878
|
+
};
|
|
1879
|
+
export type ChangeWipeCode = {
|
|
1880
|
+
remove?: boolean;
|
|
1881
|
+
};
|
|
1882
|
+
export declare enum SdProtectOperationType {
|
|
1883
|
+
DISABLE = 0,
|
|
1884
|
+
ENABLE = 1,
|
|
1885
|
+
REFRESH = 2
|
|
1886
|
+
}
|
|
1887
|
+
export type SdProtect = {
|
|
1888
|
+
operation: SdProtectOperationType;
|
|
1889
|
+
};
|
|
1890
|
+
export type Ping = {
|
|
1891
|
+
message?: string;
|
|
1892
|
+
button_protection?: boolean;
|
|
1893
|
+
};
|
|
1894
|
+
export type Cancel = {};
|
|
1895
|
+
export type GetEntropy = {
|
|
1896
|
+
size: number;
|
|
1897
|
+
};
|
|
1898
|
+
export type Entropy = {
|
|
1899
|
+
entropy: string;
|
|
1900
|
+
};
|
|
1901
|
+
export type WipeDevice = {};
|
|
1902
|
+
export type ResetDevice = {
|
|
1903
|
+
display_random?: boolean;
|
|
1904
|
+
strength?: number;
|
|
1905
|
+
passphrase_protection?: boolean;
|
|
1906
|
+
pin_protection?: boolean;
|
|
1907
|
+
language?: string;
|
|
1908
|
+
label?: string;
|
|
1909
|
+
u2f_counter?: number;
|
|
1910
|
+
skip_backup?: boolean;
|
|
1911
|
+
no_backup?: boolean;
|
|
1912
|
+
backup_type?: string | number;
|
|
1913
|
+
};
|
|
1914
|
+
export type BackupDevice = {};
|
|
1915
|
+
export type EntropyRequest = {};
|
|
1916
|
+
export type EntropyAck = {
|
|
1917
|
+
entropy: string;
|
|
1918
|
+
};
|
|
1919
|
+
export declare enum RecoveryDeviceType {
|
|
1920
|
+
RecoveryDeviceType_ScrambledWords = 0,
|
|
1921
|
+
RecoveryDeviceType_Matrix = 1
|
|
1922
|
+
}
|
|
1923
|
+
export type RecoveryDevice = {
|
|
1924
|
+
word_count?: number;
|
|
1925
|
+
passphrase_protection?: boolean;
|
|
1926
|
+
pin_protection?: boolean;
|
|
1927
|
+
language?: string;
|
|
1928
|
+
label?: string;
|
|
1929
|
+
enforce_wordlist?: boolean;
|
|
1930
|
+
type?: RecoveryDeviceType;
|
|
1931
|
+
u2f_counter?: number;
|
|
1932
|
+
dry_run?: boolean;
|
|
1933
|
+
};
|
|
1934
|
+
export declare enum Enum_WordRequestType {
|
|
1935
|
+
WordRequestType_Plain = 0,
|
|
1936
|
+
WordRequestType_Matrix9 = 1,
|
|
1937
|
+
WordRequestType_Matrix6 = 2
|
|
1938
|
+
}
|
|
1939
|
+
export type WordRequestType = keyof typeof Enum_WordRequestType;
|
|
1940
|
+
export type WordRequest = {
|
|
1941
|
+
type: WordRequestType;
|
|
1942
|
+
};
|
|
1943
|
+
export type WordAck = {
|
|
1944
|
+
word: string;
|
|
1945
|
+
};
|
|
1946
|
+
export type SetU2FCounter = {
|
|
1947
|
+
u2f_counter: number;
|
|
1948
|
+
};
|
|
1949
|
+
export type GetNextU2FCounter = {};
|
|
1950
|
+
export type NextU2FCounter = {
|
|
1951
|
+
u2f_counter: number;
|
|
1952
|
+
};
|
|
1953
|
+
export type DoPreauthorized = {};
|
|
1954
|
+
export type PreauthorizedRequest = {};
|
|
1955
|
+
export type CancelAuthorization = {};
|
|
1956
|
+
export declare enum SeedRequestType {
|
|
1957
|
+
SeedRequestType_Gen = 0,
|
|
1958
|
+
SeedRequestType_EncExport = 1,
|
|
1959
|
+
SeedRequestType_EncImport = 2
|
|
1960
|
+
}
|
|
1961
|
+
export type BixinSeedOperate = {
|
|
1962
|
+
type: SeedRequestType;
|
|
1963
|
+
seed_importData?: string;
|
|
1964
|
+
};
|
|
1965
|
+
export type BixinMessageSE = {
|
|
1966
|
+
inputmessage: string;
|
|
1967
|
+
};
|
|
1968
|
+
export type BixinOutMessageSE = {
|
|
1969
|
+
outmessage?: string;
|
|
1970
|
+
};
|
|
1971
|
+
export type DeviceBackToBoot = {};
|
|
1972
|
+
export type BixinBackupRequest = {};
|
|
1973
|
+
export type BixinBackupAck = {
|
|
1974
|
+
data: string;
|
|
1975
|
+
};
|
|
1976
|
+
export type BixinRestoreRequest = {
|
|
1977
|
+
data: string;
|
|
1978
|
+
language?: string;
|
|
1979
|
+
label?: string;
|
|
1980
|
+
passphrase_protection?: boolean;
|
|
1981
|
+
};
|
|
1982
|
+
export type BixinRestoreAck = {
|
|
1983
|
+
data: string;
|
|
1984
|
+
};
|
|
1985
|
+
export type BixinVerifyDeviceRequest = {
|
|
1986
|
+
data: string;
|
|
1987
|
+
};
|
|
1988
|
+
export type BixinVerifyDeviceAck = {
|
|
1989
|
+
cert: string;
|
|
1990
|
+
signature: string;
|
|
1991
|
+
};
|
|
1992
|
+
export declare enum WL_OperationType {
|
|
1993
|
+
WL_OperationType_Add = 0,
|
|
1994
|
+
WL_OperationType_Delete = 1,
|
|
1995
|
+
WL_OperationType_Inquire = 2
|
|
1996
|
+
}
|
|
1997
|
+
export type BixinWhiteListRequest = {
|
|
1998
|
+
type: WL_OperationType;
|
|
1999
|
+
addr_in?: string;
|
|
2000
|
+
};
|
|
2001
|
+
export type BixinWhiteListAck = {
|
|
2002
|
+
address: string[];
|
|
2003
|
+
};
|
|
2004
|
+
export type BixinLoadDevice = {
|
|
2005
|
+
mnemonics: string;
|
|
2006
|
+
language?: string;
|
|
2007
|
+
label?: string;
|
|
2008
|
+
skip_checksum?: boolean;
|
|
2009
|
+
};
|
|
2010
|
+
export type BixinBackupDevice = {};
|
|
2011
|
+
export type BixinBackupDeviceAck = {
|
|
2012
|
+
mnemonics: string;
|
|
2013
|
+
};
|
|
2014
|
+
export type DeviceInfoSettings = {
|
|
2015
|
+
serial_no?: string;
|
|
2016
|
+
cpu_info?: string;
|
|
2017
|
+
pre_firmware?: string;
|
|
2018
|
+
};
|
|
2019
|
+
export type GetDeviceInfo = {};
|
|
2020
|
+
export type DeviceInfo = {
|
|
2021
|
+
serial_no?: string;
|
|
2022
|
+
spiFlash_info?: string;
|
|
2023
|
+
SE_info?: string;
|
|
2024
|
+
NFT_voucher?: string;
|
|
2025
|
+
cpu_info?: string;
|
|
2026
|
+
pre_firmware?: string;
|
|
2027
|
+
};
|
|
2028
|
+
export type ReadSEPublicKey = {};
|
|
2029
|
+
export type SEPublicKey = {
|
|
2030
|
+
public_key: string;
|
|
2031
|
+
};
|
|
2032
|
+
export type WriteSEPublicCert = {
|
|
2033
|
+
public_cert: string;
|
|
2034
|
+
};
|
|
2035
|
+
export type ReadSEPublicCert = {};
|
|
2036
|
+
export type SEPublicCert = {
|
|
2037
|
+
public_cert: string;
|
|
2038
|
+
};
|
|
2039
|
+
export type SpiFlashWrite = {
|
|
2040
|
+
address: number;
|
|
2041
|
+
data: string;
|
|
2042
|
+
};
|
|
2043
|
+
export type SpiFlashRead = {
|
|
2044
|
+
address: number;
|
|
2045
|
+
len: number;
|
|
2046
|
+
};
|
|
2047
|
+
export type SpiFlashData = {
|
|
2048
|
+
data: string;
|
|
2049
|
+
};
|
|
2050
|
+
export type SESignMessage = {
|
|
2051
|
+
message: string;
|
|
2052
|
+
};
|
|
2053
|
+
export type SEMessageSignature = {
|
|
2054
|
+
signature: string;
|
|
2055
|
+
};
|
|
2056
|
+
export declare enum ResourceType {
|
|
2057
|
+
WallPaper = 0,
|
|
2058
|
+
Nft = 1
|
|
2059
|
+
}
|
|
2060
|
+
export type ResourceUpload = {
|
|
2061
|
+
extension: string;
|
|
2062
|
+
data_length: number;
|
|
2063
|
+
res_type: ResourceType;
|
|
2064
|
+
nft_meta_data?: string;
|
|
2065
|
+
zoom_data_length: number;
|
|
2066
|
+
file_name_no_ext?: string;
|
|
2067
|
+
};
|
|
2068
|
+
export type ZoomRequest = {
|
|
2069
|
+
offset?: number;
|
|
2070
|
+
data_length: number;
|
|
2071
|
+
};
|
|
2072
|
+
export type ResourceRequest = {
|
|
2073
|
+
offset?: number;
|
|
2074
|
+
data_length: number;
|
|
2075
|
+
};
|
|
2076
|
+
export type ResourceAck = {
|
|
2077
|
+
data_chunk: string;
|
|
2078
|
+
hash?: string;
|
|
2079
|
+
};
|
|
2080
|
+
export type ResourceUpdate = {
|
|
2081
|
+
file_name: string;
|
|
2082
|
+
data_length: number;
|
|
2083
|
+
initial_data_chunk: string;
|
|
2084
|
+
hash?: string;
|
|
2085
|
+
};
|
|
2086
|
+
export type NFTWriteInfo = {
|
|
2087
|
+
index: number;
|
|
2088
|
+
width: number;
|
|
2089
|
+
height: number;
|
|
2090
|
+
name_zh?: string;
|
|
2091
|
+
name_en?: string;
|
|
2092
|
+
};
|
|
2093
|
+
export type NFTWriteData = {
|
|
2094
|
+
index: number;
|
|
2095
|
+
data: string;
|
|
2096
|
+
offset: number;
|
|
2097
|
+
};
|
|
2098
|
+
export type RebootToBootloader = {};
|
|
2099
|
+
export type RebootToBoardloader = {};
|
|
2100
|
+
export type ListResDir = {
|
|
2101
|
+
path: string;
|
|
2102
|
+
};
|
|
2103
|
+
export type FileInfo = {
|
|
2104
|
+
name: string;
|
|
2105
|
+
size: number;
|
|
2106
|
+
};
|
|
2107
|
+
export type FileInfoList = {
|
|
2108
|
+
files: FileInfo[];
|
|
2109
|
+
};
|
|
2110
|
+
export type DeviceEraseSector = {
|
|
2111
|
+
sector: number;
|
|
2112
|
+
};
|
|
2113
|
+
export type UnLockDevice = {};
|
|
2114
|
+
export type UnLockDeviceResponse = {
|
|
2115
|
+
unlocked?: boolean;
|
|
2116
|
+
unlocked_attach_pin?: boolean;
|
|
2117
|
+
passphrase_protection?: boolean;
|
|
2118
|
+
};
|
|
2119
|
+
export type GetPassphraseState = {
|
|
2120
|
+
passphrase_state?: string;
|
|
2121
|
+
};
|
|
2122
|
+
export type PassphraseState = {
|
|
2123
|
+
passphrase_state?: string;
|
|
2124
|
+
session_id?: string;
|
|
2125
|
+
unlocked_attach_pin?: boolean;
|
|
2126
|
+
};
|
|
2127
|
+
export type MoneroRctKeyPublic = {
|
|
2128
|
+
dest?: string;
|
|
2129
|
+
commitment?: string;
|
|
2130
|
+
};
|
|
2131
|
+
export type MoneroOutputEntry = {
|
|
2132
|
+
idx?: number;
|
|
2133
|
+
key?: MoneroRctKeyPublic;
|
|
2134
|
+
};
|
|
2135
|
+
export type MoneroMultisigKLRki = {
|
|
2136
|
+
K?: string;
|
|
2137
|
+
L?: string;
|
|
2138
|
+
R?: string;
|
|
2139
|
+
ki?: string;
|
|
2140
|
+
};
|
|
2141
|
+
export type MoneroTransactionSourceEntry = {
|
|
2142
|
+
outputs: MoneroOutputEntry[];
|
|
2143
|
+
real_output?: number;
|
|
2144
|
+
real_out_tx_key?: string;
|
|
2145
|
+
real_out_additional_tx_keys: string[];
|
|
2146
|
+
real_output_in_tx_index?: number;
|
|
2147
|
+
amount?: UintType;
|
|
2148
|
+
rct?: boolean;
|
|
2149
|
+
mask?: string;
|
|
2150
|
+
multisig_kLRki?: MoneroMultisigKLRki;
|
|
2151
|
+
subaddr_minor?: number;
|
|
2152
|
+
};
|
|
2153
|
+
export type MoneroAccountPublicAddress = {
|
|
2154
|
+
spend_public_key?: string;
|
|
2155
|
+
view_public_key?: string;
|
|
2156
|
+
};
|
|
2157
|
+
export type MoneroTransactionDestinationEntry = {
|
|
2158
|
+
amount?: UintType;
|
|
2159
|
+
addr?: MoneroAccountPublicAddress;
|
|
2160
|
+
is_subaddress?: boolean;
|
|
2161
|
+
original?: string;
|
|
2162
|
+
is_integrated?: boolean;
|
|
2163
|
+
};
|
|
2164
|
+
export type MoneroTransactionRsigData = {
|
|
2165
|
+
rsig_type?: number;
|
|
2166
|
+
offload_type?: number;
|
|
2167
|
+
grouping: number[];
|
|
2168
|
+
mask?: string;
|
|
2169
|
+
rsig?: string;
|
|
2170
|
+
rsig_parts: string[];
|
|
2171
|
+
bp_version?: number;
|
|
2172
|
+
};
|
|
2173
|
+
export type MoneroGetAddress = {
|
|
2174
|
+
address_n: number[];
|
|
2175
|
+
show_display?: boolean;
|
|
2176
|
+
network_type?: number;
|
|
2177
|
+
account?: number;
|
|
2178
|
+
minor?: number;
|
|
2179
|
+
payment_id?: string;
|
|
2180
|
+
};
|
|
2181
|
+
export type MoneroAddress = {
|
|
2182
|
+
address?: string;
|
|
2183
|
+
};
|
|
2184
|
+
export type MoneroGetWatchKey = {
|
|
2185
|
+
address_n: number[];
|
|
2186
|
+
network_type?: number;
|
|
2187
|
+
};
|
|
2188
|
+
export type MoneroWatchKey = {
|
|
2189
|
+
watch_key?: string;
|
|
2190
|
+
address?: string;
|
|
2191
|
+
};
|
|
2192
|
+
export type MoneroTransactionData = {
|
|
2193
|
+
version?: number;
|
|
2194
|
+
payment_id?: string;
|
|
2195
|
+
unlock_time?: number;
|
|
2196
|
+
outputs: MoneroTransactionDestinationEntry[];
|
|
2197
|
+
change_dts?: MoneroTransactionDestinationEntry;
|
|
2198
|
+
num_inputs?: number;
|
|
2199
|
+
mixin?: number;
|
|
2200
|
+
fee?: UintType;
|
|
2201
|
+
account?: number;
|
|
2202
|
+
minor_indices: number[];
|
|
2203
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2204
|
+
integrated_indices: number[];
|
|
2205
|
+
client_version?: number;
|
|
2206
|
+
hard_fork?: number;
|
|
2207
|
+
monero_version?: string;
|
|
2208
|
+
};
|
|
2209
|
+
export type MoneroTransactionInitRequest = {
|
|
2210
|
+
version?: number;
|
|
2211
|
+
address_n: number[];
|
|
2212
|
+
network_type?: number;
|
|
2213
|
+
tsx_data?: MoneroTransactionData;
|
|
2214
|
+
};
|
|
2215
|
+
export type MoneroTransactionInitAck = {
|
|
2216
|
+
hmacs: string[];
|
|
2217
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2218
|
+
};
|
|
2219
|
+
export type MoneroTransactionSetInputRequest = {
|
|
2220
|
+
src_entr?: MoneroTransactionSourceEntry;
|
|
2221
|
+
};
|
|
2222
|
+
export type MoneroTransactionSetInputAck = {
|
|
2223
|
+
vini?: string;
|
|
2224
|
+
vini_hmac?: string;
|
|
2225
|
+
pseudo_out?: string;
|
|
2226
|
+
pseudo_out_hmac?: string;
|
|
2227
|
+
pseudo_out_alpha?: string;
|
|
2228
|
+
spend_key?: string;
|
|
2229
|
+
};
|
|
2230
|
+
export type MoneroTransactionInputsPermutationRequest = {
|
|
2231
|
+
perm: number[];
|
|
2232
|
+
};
|
|
2233
|
+
export type MoneroTransactionInputsPermutationAck = {};
|
|
2234
|
+
export type MoneroTransactionInputViniRequest = {
|
|
2235
|
+
src_entr?: MoneroTransactionSourceEntry;
|
|
2236
|
+
vini?: string;
|
|
2237
|
+
vini_hmac?: string;
|
|
2238
|
+
pseudo_out?: string;
|
|
2239
|
+
pseudo_out_hmac?: string;
|
|
2240
|
+
orig_idx?: number;
|
|
2241
|
+
};
|
|
2242
|
+
export type MoneroTransactionInputViniAck = {};
|
|
2243
|
+
export type MoneroTransactionAllInputsSetRequest = {};
|
|
2244
|
+
export type MoneroTransactionAllInputsSetAck = {
|
|
2245
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2246
|
+
};
|
|
2247
|
+
export type MoneroTransactionSetOutputRequest = {
|
|
2248
|
+
dst_entr?: MoneroTransactionDestinationEntry;
|
|
2249
|
+
dst_entr_hmac?: string;
|
|
2250
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2251
|
+
is_offloaded_bp?: boolean;
|
|
2252
|
+
};
|
|
2253
|
+
export type MoneroTransactionSetOutputAck = {
|
|
2254
|
+
tx_out?: string;
|
|
2255
|
+
vouti_hmac?: string;
|
|
2256
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2257
|
+
out_pk?: string;
|
|
2258
|
+
ecdh_info?: string;
|
|
2259
|
+
};
|
|
2260
|
+
export type MoneroTransactionAllOutSetRequest = {
|
|
2261
|
+
rsig_data?: MoneroTransactionRsigData;
|
|
2262
|
+
};
|
|
2263
|
+
export type MoneroRingCtSig = {
|
|
2264
|
+
txn_fee?: number;
|
|
2265
|
+
message?: string;
|
|
2266
|
+
rv_type?: number;
|
|
2267
|
+
};
|
|
2268
|
+
export type MoneroTransactionAllOutSetAck = {
|
|
2269
|
+
extra?: string;
|
|
2270
|
+
tx_prefix_hash?: string;
|
|
2271
|
+
rv?: MoneroRingCtSig;
|
|
2272
|
+
full_message_hash?: string;
|
|
2273
|
+
};
|
|
2274
|
+
export type MoneroTransactionSignInputRequest = {
|
|
2275
|
+
src_entr?: MoneroTransactionSourceEntry;
|
|
2276
|
+
vini?: string;
|
|
2277
|
+
vini_hmac?: string;
|
|
2278
|
+
pseudo_out?: string;
|
|
2279
|
+
pseudo_out_hmac?: string;
|
|
2280
|
+
pseudo_out_alpha?: string;
|
|
2281
|
+
spend_key?: string;
|
|
2282
|
+
orig_idx?: number;
|
|
2283
|
+
};
|
|
2284
|
+
export type MoneroTransactionSignInputAck = {
|
|
2285
|
+
signature?: string;
|
|
2286
|
+
pseudo_out?: string;
|
|
2287
|
+
};
|
|
2288
|
+
export type MoneroTransactionFinalRequest = {};
|
|
2289
|
+
export type MoneroTransactionFinalAck = {
|
|
2290
|
+
cout_key?: string;
|
|
2291
|
+
salt?: string;
|
|
2292
|
+
rand_mult?: string;
|
|
2293
|
+
tx_enc_keys?: string;
|
|
2294
|
+
opening_key?: string;
|
|
2295
|
+
};
|
|
2296
|
+
export type MoneroSubAddressIndicesList = {
|
|
2297
|
+
account?: number;
|
|
2298
|
+
minor_indices: number[];
|
|
2299
|
+
};
|
|
2300
|
+
export type MoneroKeyImageExportInitRequest = {
|
|
2301
|
+
num?: number;
|
|
2302
|
+
hash?: string;
|
|
2303
|
+
address_n: number[];
|
|
2304
|
+
network_type?: number;
|
|
2305
|
+
subs: MoneroSubAddressIndicesList[];
|
|
2306
|
+
};
|
|
2307
|
+
export type MoneroKeyImageExportInitAck = {};
|
|
2308
|
+
export type MoneroTransferDetails = {
|
|
2309
|
+
out_key?: string;
|
|
2310
|
+
tx_pub_key?: string;
|
|
2311
|
+
additional_tx_pub_keys: string[];
|
|
2312
|
+
internal_output_index?: number;
|
|
2313
|
+
sub_addr_major?: number;
|
|
2314
|
+
sub_addr_minor?: number;
|
|
2315
|
+
};
|
|
2316
|
+
export type MoneroKeyImageSyncStepRequest = {
|
|
2317
|
+
tdis: MoneroTransferDetails[];
|
|
2318
|
+
};
|
|
2319
|
+
export type MoneroExportedKeyImage = {
|
|
2320
|
+
iv?: string;
|
|
2321
|
+
blob?: string;
|
|
2322
|
+
};
|
|
2323
|
+
export type MoneroKeyImageSyncStepAck = {
|
|
2324
|
+
kis: MoneroExportedKeyImage[];
|
|
2325
|
+
};
|
|
2326
|
+
export type MoneroKeyImageSyncFinalRequest = {};
|
|
2327
|
+
export type MoneroKeyImageSyncFinalAck = {
|
|
2328
|
+
enc_key?: string;
|
|
2329
|
+
};
|
|
2330
|
+
export type MoneroGetTxKeyRequest = {
|
|
2331
|
+
address_n: number[];
|
|
2332
|
+
network_type?: number;
|
|
2333
|
+
salt1?: string;
|
|
2334
|
+
salt2?: string;
|
|
2335
|
+
tx_enc_keys?: string;
|
|
2336
|
+
tx_prefix_hash?: string;
|
|
2337
|
+
reason?: number;
|
|
2338
|
+
view_public_key?: string;
|
|
2339
|
+
};
|
|
2340
|
+
export type MoneroGetTxKeyAck = {
|
|
2341
|
+
salt?: string;
|
|
2342
|
+
tx_keys?: string;
|
|
2343
|
+
tx_derivations?: string;
|
|
2344
|
+
};
|
|
2345
|
+
export type MoneroLiveRefreshStartRequest = {
|
|
2346
|
+
address_n: number[];
|
|
2347
|
+
network_type?: number;
|
|
2348
|
+
};
|
|
2349
|
+
export type MoneroLiveRefreshStartAck = {};
|
|
2350
|
+
export type MoneroLiveRefreshStepRequest = {
|
|
2351
|
+
out_key?: string;
|
|
2352
|
+
recv_deriv?: string;
|
|
2353
|
+
real_out_idx?: number;
|
|
2354
|
+
sub_addr_major?: number;
|
|
2355
|
+
sub_addr_minor?: number;
|
|
2356
|
+
};
|
|
2357
|
+
export type MoneroLiveRefreshStepAck = {
|
|
2358
|
+
salt?: string;
|
|
2359
|
+
key_image?: string;
|
|
2360
|
+
};
|
|
2361
|
+
export type MoneroLiveRefreshFinalRequest = {};
|
|
2362
|
+
export type MoneroLiveRefreshFinalAck = {};
|
|
2363
|
+
export type NearGetAddress = {
|
|
2364
|
+
address_n: number[];
|
|
2365
|
+
show_display?: boolean;
|
|
2366
|
+
};
|
|
2367
|
+
export type NearAddress = {
|
|
2368
|
+
address?: string;
|
|
2369
|
+
};
|
|
2370
|
+
export type NearSignTx = {
|
|
2371
|
+
address_n: number[];
|
|
2372
|
+
raw_tx: string;
|
|
2373
|
+
};
|
|
2374
|
+
export type NearSignedTx = {
|
|
2375
|
+
signature: string;
|
|
2376
|
+
};
|
|
2377
|
+
export type NEMGetAddress = {
|
|
2378
|
+
address_n: number[];
|
|
2379
|
+
network?: number;
|
|
2380
|
+
show_display?: boolean;
|
|
2381
|
+
};
|
|
2382
|
+
export type NEMAddress = {
|
|
2383
|
+
address: string;
|
|
2384
|
+
};
|
|
2385
|
+
export type NEMTransactionCommon = {
|
|
2386
|
+
address_n?: number[];
|
|
2387
|
+
network?: number;
|
|
2388
|
+
timestamp?: number;
|
|
2389
|
+
fee?: UintType;
|
|
2390
|
+
deadline?: number;
|
|
2391
|
+
signer?: string;
|
|
2392
|
+
};
|
|
2393
|
+
export type NEMMosaic = {
|
|
2394
|
+
namespace?: string;
|
|
2395
|
+
mosaic?: string;
|
|
2396
|
+
quantity?: number;
|
|
2397
|
+
};
|
|
2398
|
+
export type NEMTransfer = {
|
|
2399
|
+
recipient?: string;
|
|
2400
|
+
amount?: UintType;
|
|
2401
|
+
payload?: string;
|
|
2402
|
+
public_key?: string;
|
|
2403
|
+
mosaics?: NEMMosaic[];
|
|
2404
|
+
};
|
|
2405
|
+
export type NEMProvisionNamespace = {
|
|
2406
|
+
namespace?: string;
|
|
2407
|
+
parent?: string;
|
|
2408
|
+
sink?: string;
|
|
2409
|
+
fee?: UintType;
|
|
2410
|
+
};
|
|
2411
|
+
export declare enum NEMMosaicLevy {
|
|
2412
|
+
MosaicLevy_Absolute = 1,
|
|
2413
|
+
MosaicLevy_Percentile = 2
|
|
2414
|
+
}
|
|
2415
|
+
export type NEMMosaicDefinition = {
|
|
2416
|
+
name?: string;
|
|
2417
|
+
ticker?: string;
|
|
2418
|
+
namespace?: string;
|
|
2419
|
+
mosaic?: string;
|
|
2420
|
+
divisibility?: number;
|
|
2421
|
+
levy?: NEMMosaicLevy;
|
|
2422
|
+
fee?: UintType;
|
|
2423
|
+
levy_address?: string;
|
|
2424
|
+
levy_namespace?: string;
|
|
2425
|
+
levy_mosaic?: string;
|
|
2426
|
+
supply?: number;
|
|
2427
|
+
mutable_supply?: boolean;
|
|
2428
|
+
transferable?: boolean;
|
|
2429
|
+
description?: string;
|
|
2430
|
+
networks?: number[];
|
|
2431
|
+
};
|
|
2432
|
+
export type NEMMosaicCreation = {
|
|
2433
|
+
definition?: NEMMosaicDefinition;
|
|
2434
|
+
sink?: string;
|
|
2435
|
+
fee?: UintType;
|
|
2436
|
+
};
|
|
2437
|
+
export declare enum NEMSupplyChangeType {
|
|
2438
|
+
SupplyChange_Increase = 1,
|
|
2439
|
+
SupplyChange_Decrease = 2
|
|
2440
|
+
}
|
|
2441
|
+
export type NEMMosaicSupplyChange = {
|
|
2442
|
+
namespace?: string;
|
|
2443
|
+
mosaic?: string;
|
|
2444
|
+
type?: NEMSupplyChangeType;
|
|
2445
|
+
delta?: number;
|
|
2446
|
+
};
|
|
2447
|
+
export declare enum NEMModificationType {
|
|
2448
|
+
CosignatoryModification_Add = 1,
|
|
2449
|
+
CosignatoryModification_Delete = 2
|
|
2450
|
+
}
|
|
2451
|
+
export type NEMCosignatoryModification = {
|
|
2452
|
+
type?: NEMModificationType;
|
|
2453
|
+
public_key?: string;
|
|
2454
|
+
};
|
|
2455
|
+
export type NEMAggregateModification = {
|
|
2456
|
+
modifications?: NEMCosignatoryModification[];
|
|
2457
|
+
relative_change?: number;
|
|
2458
|
+
};
|
|
2459
|
+
export declare enum NEMImportanceTransferMode {
|
|
2460
|
+
ImportanceTransfer_Activate = 1,
|
|
2461
|
+
ImportanceTransfer_Deactivate = 2
|
|
2462
|
+
}
|
|
2463
|
+
export type NEMImportanceTransfer = {
|
|
2464
|
+
mode?: NEMImportanceTransferMode;
|
|
2465
|
+
public_key?: string;
|
|
2466
|
+
};
|
|
2467
|
+
export type NEMSignTx = {
|
|
2468
|
+
transaction?: NEMTransactionCommon;
|
|
2469
|
+
multisig?: NEMTransactionCommon;
|
|
2470
|
+
transfer?: NEMTransfer;
|
|
2471
|
+
cosigning?: boolean;
|
|
2472
|
+
provision_namespace?: NEMProvisionNamespace;
|
|
2473
|
+
mosaic_creation?: NEMMosaicCreation;
|
|
2474
|
+
supply_change?: NEMMosaicSupplyChange;
|
|
2475
|
+
aggregate_modification?: NEMAggregateModification;
|
|
2476
|
+
importance_transfer?: NEMImportanceTransfer;
|
|
2477
|
+
};
|
|
2478
|
+
export type NEMSignedTx = {
|
|
2479
|
+
data: string;
|
|
2480
|
+
signature: string;
|
|
2481
|
+
};
|
|
2482
|
+
export type NEMDecryptMessage = {
|
|
2483
|
+
address_n: number[];
|
|
2484
|
+
network?: number;
|
|
2485
|
+
public_key?: string;
|
|
2486
|
+
payload?: string;
|
|
2487
|
+
};
|
|
2488
|
+
export type NEMDecryptedMessage = {
|
|
2489
|
+
payload: string;
|
|
2490
|
+
};
|
|
2491
|
+
export type NeoGetAddress = {
|
|
2492
|
+
address_n: number[];
|
|
2493
|
+
show_display?: boolean;
|
|
2494
|
+
};
|
|
2495
|
+
export type NeoAddress = {
|
|
2496
|
+
address?: string;
|
|
2497
|
+
public_key?: string;
|
|
2498
|
+
};
|
|
2499
|
+
export type NeoSignTx = {
|
|
2500
|
+
address_n: number[];
|
|
2501
|
+
raw_tx: string;
|
|
2502
|
+
network_magic?: number;
|
|
2503
|
+
};
|
|
2504
|
+
export type NeoSignedTx = {
|
|
2505
|
+
public_key: string;
|
|
2506
|
+
signature: string;
|
|
2507
|
+
};
|
|
2508
|
+
export type NervosGetAddress = {
|
|
2509
|
+
address_n: number[];
|
|
2510
|
+
network: string;
|
|
2511
|
+
show_display?: boolean;
|
|
2512
|
+
};
|
|
2513
|
+
export type NervosAddress = {
|
|
2514
|
+
address: string;
|
|
2515
|
+
};
|
|
2516
|
+
export type NervosSignTx = {
|
|
2517
|
+
address_n: number[];
|
|
2518
|
+
data_initial_chunk: string;
|
|
2519
|
+
witness_buffer: string;
|
|
2520
|
+
network: string;
|
|
2521
|
+
data_length?: number;
|
|
2522
|
+
};
|
|
2523
|
+
export type NervosSignedTx = {
|
|
2524
|
+
signature: string;
|
|
2525
|
+
address: string;
|
|
2526
|
+
};
|
|
2527
|
+
export type NervosTxRequest = {
|
|
2528
|
+
data_length?: number;
|
|
2529
|
+
public_key?: string;
|
|
2530
|
+
signature?: string;
|
|
2531
|
+
};
|
|
2532
|
+
export type NervosTxAck = {
|
|
2533
|
+
data_chunk: string;
|
|
2534
|
+
};
|
|
2535
|
+
export type NexaGetAddress = {
|
|
2536
|
+
address_n: number[];
|
|
2537
|
+
show_display?: boolean;
|
|
2538
|
+
prefix?: string;
|
|
2539
|
+
};
|
|
2540
|
+
export type NexaAddress = {
|
|
2541
|
+
address: string;
|
|
2542
|
+
public_key: string;
|
|
2543
|
+
};
|
|
2544
|
+
export type NexaSignTx = {
|
|
2545
|
+
address_n: number[];
|
|
2546
|
+
raw_message: string;
|
|
2547
|
+
prefix?: string;
|
|
2548
|
+
input_count?: number;
|
|
2549
|
+
};
|
|
2550
|
+
export type NexaTxInputRequest = {
|
|
2551
|
+
request_index: number;
|
|
2552
|
+
signature?: string;
|
|
2553
|
+
};
|
|
2554
|
+
export type NexaTxInputAck = {
|
|
2555
|
+
address_n: number[];
|
|
2556
|
+
raw_message: string;
|
|
2557
|
+
};
|
|
2558
|
+
export type NexaSignedTx = {
|
|
2559
|
+
signature: string;
|
|
2560
|
+
};
|
|
2561
|
+
export type NostrGetPublicKey = {
|
|
2562
|
+
address_n: number[];
|
|
2563
|
+
show_display?: boolean;
|
|
2564
|
+
};
|
|
2565
|
+
export type NostrPublicKey = {
|
|
2566
|
+
publickey?: string;
|
|
2567
|
+
npub?: string;
|
|
2568
|
+
};
|
|
2569
|
+
export type NostrSignEvent = {
|
|
2570
|
+
address_n: number[];
|
|
2571
|
+
event: string;
|
|
2572
|
+
};
|
|
2573
|
+
export type NostrSignedEvent = {
|
|
2574
|
+
event: string;
|
|
2575
|
+
};
|
|
2576
|
+
export type NostrSignSchnorr = {
|
|
2577
|
+
address_n: number[];
|
|
2578
|
+
hash: string;
|
|
2579
|
+
};
|
|
2580
|
+
export type NostrSignedSchnorr = {
|
|
2581
|
+
signature: string;
|
|
2582
|
+
};
|
|
2583
|
+
export type NostrEncryptMessage = {
|
|
2584
|
+
address_n: number[];
|
|
2585
|
+
pubkey: string;
|
|
2586
|
+
msg: string;
|
|
2587
|
+
show_display?: boolean;
|
|
2588
|
+
};
|
|
2589
|
+
export type NostrEncryptedMessage = {
|
|
2590
|
+
msg: string;
|
|
2591
|
+
};
|
|
2592
|
+
export type NostrDecryptMessage = {
|
|
2593
|
+
address_n: number[];
|
|
2594
|
+
pubkey: string;
|
|
2595
|
+
msg: string;
|
|
2596
|
+
show_display?: boolean;
|
|
2597
|
+
};
|
|
2598
|
+
export type NostrDecryptedMessage = {
|
|
2599
|
+
msg: string;
|
|
2600
|
+
};
|
|
2601
|
+
export type PolkadotGetAddress = {
|
|
2602
|
+
address_n: number[];
|
|
2603
|
+
prefix: number;
|
|
2604
|
+
network: string;
|
|
2605
|
+
show_display?: boolean;
|
|
2606
|
+
};
|
|
2607
|
+
export type PolkadotAddress = {
|
|
2608
|
+
address?: string;
|
|
2609
|
+
public_key?: string;
|
|
2610
|
+
};
|
|
2611
|
+
export type PolkadotSignTx = {
|
|
2612
|
+
address_n: number[];
|
|
2613
|
+
raw_tx: string;
|
|
2614
|
+
network: string;
|
|
2615
|
+
};
|
|
2616
|
+
export type PolkadotSignedTx = {
|
|
2617
|
+
signature: string;
|
|
2618
|
+
};
|
|
2619
|
+
export type RippleGetAddress = {
|
|
2620
|
+
address_n: number[];
|
|
2621
|
+
show_display?: boolean;
|
|
2622
|
+
};
|
|
2623
|
+
export type RippleAddress = {
|
|
2624
|
+
address: string;
|
|
2625
|
+
};
|
|
2626
|
+
export type RipplePayment = {
|
|
2627
|
+
amount: UintType;
|
|
2628
|
+
destination: string;
|
|
2629
|
+
destination_tag?: number;
|
|
2630
|
+
};
|
|
2631
|
+
export type RippleSignTx = {
|
|
2632
|
+
address_n: number[];
|
|
2633
|
+
fee?: UintType;
|
|
2634
|
+
flags?: number;
|
|
2635
|
+
sequence?: number;
|
|
2636
|
+
last_ledger_sequence?: number;
|
|
2637
|
+
payment?: RipplePayment;
|
|
2638
|
+
};
|
|
2639
|
+
export type RippleSignedTx = {
|
|
2640
|
+
signature: string;
|
|
2641
|
+
serialized_tx: string;
|
|
2642
|
+
};
|
|
2643
|
+
export type ScdoGetAddress = {
|
|
2644
|
+
address_n: number[];
|
|
2645
|
+
show_display?: boolean;
|
|
2646
|
+
};
|
|
2647
|
+
export type ScdoAddress = {
|
|
2648
|
+
address: string;
|
|
2649
|
+
};
|
|
2650
|
+
export type ScdoSignTx = {
|
|
2651
|
+
address_n: number[];
|
|
2652
|
+
nonce: string;
|
|
2653
|
+
gas_price: string;
|
|
2654
|
+
gas_limit: string;
|
|
2655
|
+
to: string;
|
|
2656
|
+
value: string;
|
|
2657
|
+
timestamp?: string;
|
|
2658
|
+
data_initial_chunk?: string;
|
|
2659
|
+
data_length?: number;
|
|
2660
|
+
tx_type?: number;
|
|
2661
|
+
};
|
|
2662
|
+
export type ScdoSignedTx = {
|
|
2663
|
+
data_length?: number;
|
|
2664
|
+
signature?: string;
|
|
2665
|
+
};
|
|
2666
|
+
export type ScdoTxAck = {
|
|
2667
|
+
data_chunk?: string;
|
|
2668
|
+
};
|
|
2669
|
+
export type ScdoSignMessage = {
|
|
2670
|
+
address_n: number[];
|
|
2671
|
+
message?: string;
|
|
2672
|
+
};
|
|
2673
|
+
export type ScdoSignedMessage = {
|
|
2674
|
+
signature?: string;
|
|
2675
|
+
address?: string;
|
|
2676
|
+
};
|
|
2677
|
+
export type SolanaGetAddress = {
|
|
2678
|
+
address_n: number[];
|
|
2679
|
+
show_display?: boolean;
|
|
2680
|
+
};
|
|
2681
|
+
export type SolanaAddress = {
|
|
2682
|
+
address?: string;
|
|
2683
|
+
};
|
|
2684
|
+
export type SolanaSignTx = {
|
|
2685
|
+
address_n: number[];
|
|
2686
|
+
raw_tx: string;
|
|
2687
|
+
};
|
|
2688
|
+
export type SolanaSignedTx = {
|
|
2689
|
+
signature?: string;
|
|
2690
|
+
};
|
|
2691
|
+
export declare enum SolanaOffChainMessageVersion {
|
|
2692
|
+
MESSAGE_VERSION_0 = 0
|
|
2693
|
+
}
|
|
2694
|
+
export declare enum SolanaOffChainMessageFormat {
|
|
2695
|
+
V0_RESTRICTED_ASCII = 0,
|
|
2696
|
+
V0_LIMITED_UTF8 = 1
|
|
2697
|
+
}
|
|
2698
|
+
export type SolanaSignOffChainMessage = {
|
|
2699
|
+
address_n: number[];
|
|
2700
|
+
message: string;
|
|
2701
|
+
message_version?: SolanaOffChainMessageVersion;
|
|
2702
|
+
message_format?: SolanaOffChainMessageFormat;
|
|
2703
|
+
application_domain?: string;
|
|
2704
|
+
};
|
|
2705
|
+
export type SolanaSignUnsafeMessage = {
|
|
2706
|
+
address_n: number[];
|
|
2707
|
+
message: string;
|
|
2708
|
+
};
|
|
2709
|
+
export type SolanaMessageSignature = {
|
|
2710
|
+
signature: string;
|
|
2711
|
+
public_key?: string;
|
|
2712
|
+
};
|
|
2713
|
+
export type StarcoinGetAddress = {
|
|
2714
|
+
address_n: number[];
|
|
2715
|
+
show_display?: boolean;
|
|
2716
|
+
};
|
|
2717
|
+
export type StarcoinAddress = {
|
|
2718
|
+
address?: string;
|
|
2719
|
+
};
|
|
2720
|
+
export type StarcoinGetPublicKey = {
|
|
2721
|
+
address_n: number[];
|
|
2722
|
+
show_display?: boolean;
|
|
2723
|
+
};
|
|
2724
|
+
export type StarcoinPublicKey = {
|
|
2725
|
+
public_key: string;
|
|
2726
|
+
};
|
|
2727
|
+
export type StarcoinSignTx = {
|
|
2728
|
+
address_n: number[];
|
|
2729
|
+
raw_tx?: string;
|
|
2730
|
+
};
|
|
2731
|
+
export type StarcoinSignedTx = {
|
|
2732
|
+
public_key: string;
|
|
2733
|
+
signature: string;
|
|
2734
|
+
};
|
|
2735
|
+
export type StarcoinSignMessage = {
|
|
2736
|
+
address_n: number[];
|
|
2737
|
+
message?: string;
|
|
2738
|
+
};
|
|
2739
|
+
export type StarcoinMessageSignature = {
|
|
2740
|
+
public_key: string;
|
|
2741
|
+
signature: string;
|
|
2742
|
+
};
|
|
2743
|
+
export type StarcoinVerifyMessage = {
|
|
2744
|
+
public_key?: string;
|
|
2745
|
+
signature?: string;
|
|
2746
|
+
message?: string;
|
|
2747
|
+
};
|
|
2748
|
+
export declare enum StellarAssetType {
|
|
2749
|
+
NATIVE = 0,
|
|
2750
|
+
ALPHANUM4 = 1,
|
|
2751
|
+
ALPHANUM12 = 2
|
|
2752
|
+
}
|
|
2753
|
+
export type StellarAsset = {
|
|
2754
|
+
type: StellarAssetType;
|
|
2755
|
+
code?: string;
|
|
2756
|
+
issuer?: string;
|
|
2757
|
+
};
|
|
2758
|
+
export type StellarGetAddress = {
|
|
2759
|
+
address_n: number[];
|
|
2760
|
+
show_display?: boolean;
|
|
2761
|
+
};
|
|
2762
|
+
export type StellarAddress = {
|
|
2763
|
+
address: string;
|
|
2764
|
+
};
|
|
2765
|
+
export declare enum StellarMemoType {
|
|
2766
|
+
NONE = 0,
|
|
2767
|
+
TEXT = 1,
|
|
2768
|
+
ID = 2,
|
|
2769
|
+
HASH = 3,
|
|
2770
|
+
RETURN = 4
|
|
2771
|
+
}
|
|
2772
|
+
export type StellarSignTx = {
|
|
2773
|
+
address_n: number[];
|
|
2774
|
+
network_passphrase: string;
|
|
2775
|
+
source_account: string;
|
|
2776
|
+
fee: UintType;
|
|
2777
|
+
sequence_number: UintType;
|
|
2778
|
+
timebounds_start: number;
|
|
2779
|
+
timebounds_end: number;
|
|
2780
|
+
memo_type: StellarMemoType;
|
|
2781
|
+
memo_text?: string;
|
|
2782
|
+
memo_id?: string;
|
|
2783
|
+
memo_hash?: Buffer | string;
|
|
2784
|
+
num_operations: number;
|
|
2785
|
+
};
|
|
2786
|
+
export type StellarTxOpRequest = {};
|
|
2787
|
+
export type StellarPaymentOp = {
|
|
2788
|
+
source_account?: string;
|
|
2789
|
+
destination_account: string;
|
|
2790
|
+
asset: StellarAsset;
|
|
2791
|
+
amount: UintType;
|
|
2792
|
+
};
|
|
2793
|
+
export type StellarCreateAccountOp = {
|
|
2794
|
+
source_account?: string;
|
|
2795
|
+
new_account: string;
|
|
2796
|
+
starting_balance: UintType;
|
|
2797
|
+
};
|
|
2798
|
+
export type StellarPathPaymentStrictReceiveOp = {
|
|
2799
|
+
source_account?: string;
|
|
2800
|
+
send_asset: StellarAsset;
|
|
2801
|
+
send_max: UintType;
|
|
2802
|
+
destination_account: string;
|
|
2803
|
+
destination_asset: StellarAsset;
|
|
2804
|
+
destination_amount: UintType;
|
|
2805
|
+
paths?: StellarAsset[];
|
|
2806
|
+
};
|
|
2807
|
+
export type StellarPathPaymentStrictSendOp = {
|
|
2808
|
+
source_account?: string;
|
|
2809
|
+
send_asset: StellarAsset;
|
|
2810
|
+
send_amount: UintType;
|
|
2811
|
+
destination_account: string;
|
|
2812
|
+
destination_asset: StellarAsset;
|
|
2813
|
+
destination_min: UintType;
|
|
2814
|
+
paths?: StellarAsset[];
|
|
2815
|
+
};
|
|
2816
|
+
export type StellarManageSellOfferOp = {
|
|
2817
|
+
source_account?: string;
|
|
2818
|
+
selling_asset: StellarAsset;
|
|
2819
|
+
buying_asset: StellarAsset;
|
|
2820
|
+
amount: UintType;
|
|
2821
|
+
price_n: number;
|
|
2822
|
+
price_d: number;
|
|
2823
|
+
offer_id: UintType;
|
|
2824
|
+
};
|
|
2825
|
+
export type StellarManageBuyOfferOp = {
|
|
2826
|
+
source_account?: string;
|
|
2827
|
+
selling_asset: StellarAsset;
|
|
2828
|
+
buying_asset: StellarAsset;
|
|
2829
|
+
amount: UintType;
|
|
2830
|
+
price_n: number;
|
|
2831
|
+
price_d: number;
|
|
2832
|
+
offer_id: UintType;
|
|
2833
|
+
};
|
|
2834
|
+
export type StellarCreatePassiveSellOfferOp = {
|
|
2835
|
+
source_account?: string;
|
|
2836
|
+
selling_asset: StellarAsset;
|
|
2837
|
+
buying_asset: StellarAsset;
|
|
2838
|
+
amount: UintType;
|
|
2839
|
+
price_n: number;
|
|
2840
|
+
price_d: number;
|
|
2841
|
+
};
|
|
2842
|
+
export declare enum StellarSignerType {
|
|
2843
|
+
ACCOUNT = 0,
|
|
2844
|
+
PRE_AUTH = 1,
|
|
2845
|
+
HASH = 2
|
|
2846
|
+
}
|
|
2847
|
+
export type StellarSetOptionsOp = {
|
|
2848
|
+
source_account?: string;
|
|
2849
|
+
inflation_destination_account?: string;
|
|
2850
|
+
clear_flags?: number;
|
|
2851
|
+
set_flags?: number;
|
|
2852
|
+
master_weight?: UintType;
|
|
2853
|
+
low_threshold?: UintType;
|
|
2854
|
+
medium_threshold?: UintType;
|
|
2855
|
+
high_threshold?: UintType;
|
|
2856
|
+
home_domain?: string;
|
|
2857
|
+
signer_type?: StellarSignerType;
|
|
2858
|
+
signer_key?: Buffer | string;
|
|
2859
|
+
signer_weight?: number;
|
|
2860
|
+
};
|
|
2861
|
+
export type StellarChangeTrustOp = {
|
|
2862
|
+
source_account?: string;
|
|
2863
|
+
asset: StellarAsset;
|
|
2864
|
+
limit: UintType;
|
|
2865
|
+
};
|
|
2866
|
+
export type StellarAllowTrustOp = {
|
|
2867
|
+
source_account?: string;
|
|
2868
|
+
trusted_account: string;
|
|
2869
|
+
asset_type: StellarAssetType;
|
|
2870
|
+
asset_code?: string;
|
|
2871
|
+
is_authorized: boolean;
|
|
2872
|
+
};
|
|
2873
|
+
export type StellarAccountMergeOp = {
|
|
2874
|
+
source_account?: string;
|
|
2875
|
+
destination_account: string;
|
|
2876
|
+
};
|
|
2877
|
+
export type StellarManageDataOp = {
|
|
2878
|
+
source_account?: string;
|
|
2879
|
+
key: string;
|
|
2880
|
+
value?: Buffer | string;
|
|
2881
|
+
};
|
|
2882
|
+
export type StellarBumpSequenceOp = {
|
|
2883
|
+
source_account?: string;
|
|
2884
|
+
bump_to: UintType;
|
|
2885
|
+
};
|
|
2886
|
+
export type StellarSignedTx = {
|
|
2887
|
+
public_key: string;
|
|
2888
|
+
signature: string;
|
|
2889
|
+
};
|
|
2890
|
+
export type SuiGetAddress = {
|
|
2891
|
+
address_n: number[];
|
|
2892
|
+
show_display?: boolean;
|
|
2893
|
+
};
|
|
2894
|
+
export type SuiAddress = {
|
|
2895
|
+
address?: string;
|
|
2896
|
+
};
|
|
2897
|
+
export type SuiSignTx = {
|
|
2898
|
+
address_n: number[];
|
|
2899
|
+
raw_tx: string;
|
|
2900
|
+
data_initial_chunk?: string;
|
|
2901
|
+
data_length?: number;
|
|
2902
|
+
};
|
|
2903
|
+
export type SuiSignedTx = {
|
|
2904
|
+
public_key: string;
|
|
2905
|
+
signature: string;
|
|
2906
|
+
};
|
|
2907
|
+
export type SuiTxRequest = {
|
|
2908
|
+
data_length?: number;
|
|
2909
|
+
public_key?: string;
|
|
2910
|
+
signature?: string;
|
|
2911
|
+
};
|
|
2912
|
+
export type SuiTxAck = {
|
|
2913
|
+
data_chunk: string;
|
|
2914
|
+
};
|
|
2915
|
+
export type SuiSignMessage = {
|
|
2916
|
+
address_n: number[];
|
|
2917
|
+
message: string;
|
|
2918
|
+
};
|
|
2919
|
+
export type SuiMessageSignature = {
|
|
2920
|
+
signature: string;
|
|
2921
|
+
address: string;
|
|
2922
|
+
};
|
|
2923
|
+
export type TezosGetAddress = {
|
|
2924
|
+
address_n: number[];
|
|
2925
|
+
show_display?: boolean;
|
|
2926
|
+
};
|
|
2927
|
+
export type TezosAddress = {
|
|
2928
|
+
address: string;
|
|
2929
|
+
};
|
|
2930
|
+
export type TezosGetPublicKey = {
|
|
2931
|
+
address_n: number[];
|
|
2932
|
+
show_display?: boolean;
|
|
2933
|
+
};
|
|
2934
|
+
export type TezosPublicKey = {
|
|
2935
|
+
public_key: string;
|
|
2936
|
+
};
|
|
2937
|
+
export declare enum TezosContractType {
|
|
2938
|
+
Implicit = 0,
|
|
2939
|
+
Originated = 1
|
|
2940
|
+
}
|
|
2941
|
+
export type TezosContractID = {
|
|
2942
|
+
tag: number;
|
|
2943
|
+
hash: Uint8Array;
|
|
2944
|
+
};
|
|
2945
|
+
export type TezosRevealOp = {
|
|
2946
|
+
source: Uint8Array;
|
|
2947
|
+
fee: UintType;
|
|
2948
|
+
counter: number;
|
|
2949
|
+
gas_limit: number;
|
|
2950
|
+
storage_limit: number;
|
|
2951
|
+
public_key: Uint8Array;
|
|
2952
|
+
};
|
|
2953
|
+
export type TezosManagerTransfer = {
|
|
2954
|
+
destination?: TezosContractID;
|
|
2955
|
+
amount?: UintType;
|
|
2956
|
+
};
|
|
2957
|
+
export type TezosParametersManager = {
|
|
2958
|
+
set_delegate?: Uint8Array;
|
|
2959
|
+
cancel_delegate?: boolean;
|
|
2960
|
+
transfer?: TezosManagerTransfer;
|
|
2961
|
+
};
|
|
2962
|
+
export type TezosTransactionOp = {
|
|
2963
|
+
source: Uint8Array;
|
|
2964
|
+
fee: UintType;
|
|
2965
|
+
counter: number;
|
|
2966
|
+
gas_limit: number;
|
|
2967
|
+
storage_limit: number;
|
|
2968
|
+
amount: UintType;
|
|
2969
|
+
destination: TezosContractID;
|
|
2970
|
+
parameters?: number[];
|
|
2971
|
+
parameters_manager?: TezosParametersManager;
|
|
2972
|
+
};
|
|
2973
|
+
export type TezosOriginationOp = {
|
|
2974
|
+
source: Uint8Array;
|
|
2975
|
+
fee: UintType;
|
|
2976
|
+
counter: number;
|
|
2977
|
+
gas_limit: number;
|
|
2978
|
+
storage_limit: number;
|
|
2979
|
+
manager_pubkey?: string;
|
|
2980
|
+
balance: number;
|
|
2981
|
+
spendable?: boolean;
|
|
2982
|
+
delegatable?: boolean;
|
|
2983
|
+
delegate?: Uint8Array;
|
|
2984
|
+
script: string | number[];
|
|
2985
|
+
};
|
|
2986
|
+
export type TezosDelegationOp = {
|
|
2987
|
+
source: Uint8Array;
|
|
2988
|
+
fee: UintType;
|
|
2989
|
+
counter: number;
|
|
2990
|
+
gas_limit: number;
|
|
2991
|
+
storage_limit: number;
|
|
2992
|
+
delegate: Uint8Array;
|
|
2993
|
+
};
|
|
2994
|
+
export type TezosProposalOp = {
|
|
2995
|
+
source?: string;
|
|
2996
|
+
period?: number;
|
|
2997
|
+
proposals: string[];
|
|
2998
|
+
};
|
|
2999
|
+
export declare enum TezosBallotType {
|
|
3000
|
+
Yay = 0,
|
|
3001
|
+
Nay = 1,
|
|
3002
|
+
Pass = 2
|
|
3003
|
+
}
|
|
3004
|
+
export type TezosBallotOp = {
|
|
3005
|
+
source?: string;
|
|
3006
|
+
period?: number;
|
|
3007
|
+
proposal?: string;
|
|
3008
|
+
ballot?: TezosBallotType;
|
|
3009
|
+
};
|
|
3010
|
+
export type TezosSignTx = {
|
|
3011
|
+
address_n: number[];
|
|
3012
|
+
branch: Uint8Array;
|
|
3013
|
+
reveal?: TezosRevealOp;
|
|
3014
|
+
transaction?: TezosTransactionOp;
|
|
3015
|
+
origination?: TezosOriginationOp;
|
|
3016
|
+
delegation?: TezosDelegationOp;
|
|
3017
|
+
proposal?: TezosProposalOp;
|
|
3018
|
+
ballot?: TezosBallotOp;
|
|
3019
|
+
};
|
|
3020
|
+
export type TezosSignedTx = {
|
|
3021
|
+
signature: string;
|
|
3022
|
+
sig_op_contents: string;
|
|
3023
|
+
operation_hash: string;
|
|
3024
|
+
};
|
|
3025
|
+
export declare enum TonWalletVersion {
|
|
3026
|
+
V4R2 = 3
|
|
3027
|
+
}
|
|
3028
|
+
export declare enum TonWorkChain {
|
|
3029
|
+
BASECHAIN = 0,
|
|
3030
|
+
MASTERCHAIN = 1
|
|
3031
|
+
}
|
|
3032
|
+
export type TonGetAddress = {
|
|
3033
|
+
address_n: number[];
|
|
3034
|
+
show_display?: boolean;
|
|
3035
|
+
wallet_version?: TonWalletVersion;
|
|
3036
|
+
is_bounceable?: boolean;
|
|
3037
|
+
is_testnet_only?: boolean;
|
|
3038
|
+
workchain?: TonWorkChain;
|
|
3039
|
+
wallet_id?: number;
|
|
3040
|
+
};
|
|
3041
|
+
export type TonAddress = {
|
|
3042
|
+
public_key: string;
|
|
3043
|
+
address: string;
|
|
3044
|
+
};
|
|
3045
|
+
export type TonSignMessage = {
|
|
3046
|
+
address_n: number[];
|
|
3047
|
+
destination: string;
|
|
3048
|
+
jetton_master_address?: string;
|
|
3049
|
+
jetton_wallet_address?: string;
|
|
3050
|
+
ton_amount: UintType;
|
|
3051
|
+
jetton_amount?: UintType;
|
|
3052
|
+
fwd_fee?: UintType;
|
|
3053
|
+
comment?: string;
|
|
3054
|
+
is_raw_data?: boolean;
|
|
3055
|
+
mode?: number;
|
|
3056
|
+
seqno: number;
|
|
3057
|
+
expire_at: UintType;
|
|
3058
|
+
wallet_version?: TonWalletVersion;
|
|
3059
|
+
wallet_id?: number;
|
|
3060
|
+
workchain?: TonWorkChain;
|
|
3061
|
+
is_bounceable?: boolean;
|
|
3062
|
+
is_testnet_only?: boolean;
|
|
3063
|
+
ext_destination: string[];
|
|
3064
|
+
ext_ton_amount: UintType[];
|
|
3065
|
+
ext_payload: string[];
|
|
3066
|
+
jetton_amount_bytes?: string;
|
|
3067
|
+
init_data_initial_chunk?: string;
|
|
3068
|
+
init_data_length?: number;
|
|
3069
|
+
signing_message_repr?: string;
|
|
3070
|
+
};
|
|
3071
|
+
export type TonTxAck = {
|
|
3072
|
+
init_data_chunk: string;
|
|
3073
|
+
};
|
|
3074
|
+
export type TonSignedMessage = {
|
|
3075
|
+
signature?: string;
|
|
3076
|
+
signning_message?: string;
|
|
3077
|
+
init_data_length?: number;
|
|
3078
|
+
};
|
|
3079
|
+
export type TonSignProof = {
|
|
3080
|
+
address_n: number[];
|
|
3081
|
+
appdomain: string;
|
|
3082
|
+
comment?: string;
|
|
3083
|
+
expire_at: UintType;
|
|
3084
|
+
wallet_version?: TonWalletVersion;
|
|
3085
|
+
wallet_id?: number;
|
|
3086
|
+
workchain?: TonWorkChain;
|
|
3087
|
+
is_bounceable?: boolean;
|
|
3088
|
+
is_testnet_only?: boolean;
|
|
3089
|
+
};
|
|
3090
|
+
export type TonSignedProof = {
|
|
3091
|
+
signature?: string;
|
|
3092
|
+
};
|
|
3093
|
+
export type TronGetAddress = {
|
|
3094
|
+
address_n: number[];
|
|
3095
|
+
show_display?: boolean;
|
|
3096
|
+
};
|
|
3097
|
+
export type TronAddress = {
|
|
3098
|
+
address?: string;
|
|
3099
|
+
};
|
|
3100
|
+
export type TronTransferContract = {
|
|
3101
|
+
to_address?: string;
|
|
3102
|
+
amount?: UintType;
|
|
3103
|
+
};
|
|
3104
|
+
export type TronTriggerSmartContract = {
|
|
3105
|
+
contract_address?: string;
|
|
3106
|
+
call_value?: number;
|
|
3107
|
+
data?: string;
|
|
3108
|
+
call_token_value?: number;
|
|
3109
|
+
asset_id?: number;
|
|
3110
|
+
};
|
|
3111
|
+
export declare enum TronResourceCode {
|
|
3112
|
+
BANDWIDTH = 0,
|
|
3113
|
+
ENERGY = 1,
|
|
3114
|
+
TRON_POWER = 2
|
|
3115
|
+
}
|
|
3116
|
+
export type TronFreezeBalanceContract = {
|
|
3117
|
+
frozen_balance?: number;
|
|
3118
|
+
frozen_duration?: number;
|
|
3119
|
+
resource?: TronResourceCode;
|
|
3120
|
+
receiver_address?: string;
|
|
3121
|
+
};
|
|
3122
|
+
export type TronUnfreezeBalanceContract = {
|
|
3123
|
+
resource?: TronResourceCode;
|
|
3124
|
+
receiver_address?: string;
|
|
3125
|
+
};
|
|
3126
|
+
export type TronWithdrawBalanceContract = {
|
|
3127
|
+
owner_address?: string;
|
|
3128
|
+
};
|
|
3129
|
+
export type TronFreezeBalanceV2Contract = {
|
|
3130
|
+
frozen_balance?: number;
|
|
3131
|
+
resource?: TronResourceCode;
|
|
3132
|
+
};
|
|
3133
|
+
export type TronUnfreezeBalanceV2Contract = {
|
|
3134
|
+
unfreeze_balance?: number;
|
|
3135
|
+
resource?: TronResourceCode;
|
|
3136
|
+
};
|
|
3137
|
+
export type TronWithdrawExpireUnfreezeContract = {};
|
|
3138
|
+
export type TronDelegateResourceContract = {
|
|
3139
|
+
resource?: TronResourceCode;
|
|
3140
|
+
balance?: number;
|
|
3141
|
+
receiver_address?: string;
|
|
3142
|
+
lock?: boolean;
|
|
3143
|
+
lock_period?: number;
|
|
3144
|
+
};
|
|
3145
|
+
export type TronUnDelegateResourceContract = {
|
|
3146
|
+
resource?: TronResourceCode;
|
|
3147
|
+
balance?: number;
|
|
3148
|
+
receiver_address?: string;
|
|
3149
|
+
};
|
|
3150
|
+
export type Vote = {
|
|
3151
|
+
vote_address: string;
|
|
3152
|
+
vote_count: number;
|
|
3153
|
+
};
|
|
3154
|
+
export type TronVoteWitnessContract = {
|
|
3155
|
+
votes: Vote[];
|
|
3156
|
+
support?: boolean;
|
|
3157
|
+
};
|
|
3158
|
+
export type TronCancelAllUnfreezeV2Contract = {};
|
|
3159
|
+
export type TronContract = {
|
|
3160
|
+
transfer_contract?: TronTransferContract;
|
|
3161
|
+
provider?: string;
|
|
3162
|
+
vote_witness_contract?: TronVoteWitnessContract;
|
|
3163
|
+
contract_name?: string;
|
|
3164
|
+
permission_id?: number;
|
|
3165
|
+
freeze_balance_contract?: TronFreezeBalanceContract;
|
|
3166
|
+
unfreeze_balance_contract?: TronUnfreezeBalanceContract;
|
|
3167
|
+
withdraw_balance_contract?: TronWithdrawBalanceContract;
|
|
3168
|
+
trigger_smart_contract?: TronTriggerSmartContract;
|
|
3169
|
+
freeze_balance_v2_contract?: TronFreezeBalanceV2Contract;
|
|
3170
|
+
unfreeze_balance_v2_contract?: TronUnfreezeBalanceV2Contract;
|
|
3171
|
+
withdraw_expire_unfreeze_contract?: TronWithdrawExpireUnfreezeContract;
|
|
3172
|
+
delegate_resource_contract?: TronDelegateResourceContract;
|
|
3173
|
+
undelegate_resource_contract?: TronUnDelegateResourceContract;
|
|
3174
|
+
cancel_all_unfreeze_v2_contract?: TronCancelAllUnfreezeV2Contract;
|
|
3175
|
+
};
|
|
3176
|
+
export type TronSignTx = {
|
|
3177
|
+
address_n: number[];
|
|
3178
|
+
ref_block_bytes: string;
|
|
3179
|
+
ref_block_hash: string;
|
|
3180
|
+
expiration: number;
|
|
3181
|
+
data?: string;
|
|
3182
|
+
contract: TronContract;
|
|
3183
|
+
timestamp: number;
|
|
3184
|
+
fee_limit?: number;
|
|
3185
|
+
};
|
|
3186
|
+
export type TronSignedTx = {
|
|
3187
|
+
signature: string;
|
|
3188
|
+
serialized_tx?: string;
|
|
3189
|
+
};
|
|
3190
|
+
export declare enum TronMessageType {
|
|
3191
|
+
V1 = 1,
|
|
3192
|
+
V2 = 2
|
|
3193
|
+
}
|
|
3194
|
+
export type TronSignMessage = {
|
|
3195
|
+
address_n: number[];
|
|
3196
|
+
message: string;
|
|
3197
|
+
message_type?: TronMessageType;
|
|
3198
|
+
};
|
|
3199
|
+
export type TronMessageSignature = {
|
|
3200
|
+
address: string;
|
|
3201
|
+
signature: string;
|
|
3202
|
+
};
|
|
3203
|
+
export type facotry = {};
|
|
3204
|
+
export declare enum CommandFlags {
|
|
3205
|
+
Default = 0,
|
|
3206
|
+
Factory_Only = 1
|
|
3207
|
+
}
|
|
3208
|
+
export type MessageType = {
|
|
3209
|
+
AlephiumGetAddress: AlephiumGetAddress;
|
|
3210
|
+
AlephiumAddress: AlephiumAddress;
|
|
3211
|
+
AlephiumSignTx: AlephiumSignTx;
|
|
3212
|
+
AlephiumSignedTx: AlephiumSignedTx;
|
|
3213
|
+
AlephiumTxRequest: AlephiumTxRequest;
|
|
3214
|
+
AlephiumTxAck: AlephiumTxAck;
|
|
3215
|
+
AlephiumBytecodeRequest: AlephiumBytecodeRequest;
|
|
3216
|
+
AlephiumBytecodeAck: AlephiumBytecodeAck;
|
|
3217
|
+
AlephiumSignMessage: AlephiumSignMessage;
|
|
3218
|
+
AlephiumMessageSignature: AlephiumMessageSignature;
|
|
3219
|
+
AlgorandGetAddress: AlgorandGetAddress;
|
|
3220
|
+
AlgorandAddress: AlgorandAddress;
|
|
3221
|
+
AlgorandSignTx: AlgorandSignTx;
|
|
3222
|
+
AlgorandSignedTx: AlgorandSignedTx;
|
|
3223
|
+
AptosGetAddress: AptosGetAddress;
|
|
3224
|
+
AptosAddress: AptosAddress;
|
|
3225
|
+
AptosSignTx: AptosSignTx;
|
|
3226
|
+
AptosSignedTx: AptosSignedTx;
|
|
3227
|
+
AptosMessagePayload: AptosMessagePayload;
|
|
3228
|
+
AptosSignMessage: AptosSignMessage;
|
|
3229
|
+
AptosMessageSignature: AptosMessageSignature;
|
|
3230
|
+
AptosSignSIWAMessage: AptosSignSIWAMessage;
|
|
3231
|
+
BenfenGetAddress: BenfenGetAddress;
|
|
3232
|
+
BenfenAddress: BenfenAddress;
|
|
3233
|
+
BenfenSignTx: BenfenSignTx;
|
|
3234
|
+
BenfenSignedTx: BenfenSignedTx;
|
|
3235
|
+
BenfenTxRequest: BenfenTxRequest;
|
|
3236
|
+
BenfenTxAck: BenfenTxAck;
|
|
3237
|
+
BenfenSignMessage: BenfenSignMessage;
|
|
3238
|
+
BenfenMessageSignature: BenfenMessageSignature;
|
|
3239
|
+
BinanceGetAddress: BinanceGetAddress;
|
|
3240
|
+
BinanceAddress: BinanceAddress;
|
|
3241
|
+
BinanceGetPublicKey: BinanceGetPublicKey;
|
|
3242
|
+
BinancePublicKey: BinancePublicKey;
|
|
3243
|
+
BinanceSignTx: BinanceSignTx;
|
|
3244
|
+
BinanceTxRequest: BinanceTxRequest;
|
|
3245
|
+
BinanceCoin: BinanceCoin;
|
|
3246
|
+
BinanceInputOutput: BinanceInputOutput;
|
|
3247
|
+
BinanceTransferMsg: BinanceTransferMsg;
|
|
3248
|
+
BinanceOrderMsg: BinanceOrderMsg;
|
|
3249
|
+
BinanceCancelMsg: BinanceCancelMsg;
|
|
3250
|
+
BinanceSignedTx: BinanceSignedTx;
|
|
3251
|
+
HDNodeType: HDNodeType;
|
|
3252
|
+
HDNodePathType: HDNodePathType;
|
|
3253
|
+
MultisigRedeemScriptType: MultisigRedeemScriptType;
|
|
3254
|
+
GetPublicKey: GetPublicKey;
|
|
3255
|
+
PublicKey: PublicKey;
|
|
3256
|
+
GetAddress: GetAddress;
|
|
3257
|
+
Address: Address;
|
|
3258
|
+
GetOwnershipId: GetOwnershipId;
|
|
3259
|
+
OwnershipId: OwnershipId;
|
|
3260
|
+
SignMessage: SignMessage;
|
|
3261
|
+
MessageSignature: MessageSignature;
|
|
3262
|
+
VerifyMessage: VerifyMessage;
|
|
3263
|
+
SignTx: SignTx;
|
|
3264
|
+
TxRequestDetailsType: TxRequestDetailsType;
|
|
3265
|
+
TxRequestSerializedType: TxRequestSerializedType;
|
|
3266
|
+
TxRequest: TxRequest;
|
|
3267
|
+
TxInputType: TxInputType;
|
|
3268
|
+
TxOutputBinType: TxOutputBinType;
|
|
3269
|
+
TxOutputType: TxOutputType;
|
|
3270
|
+
PrevTx: PrevTx;
|
|
3271
|
+
PrevInput: PrevInput;
|
|
3272
|
+
PrevOutput: PrevOutput;
|
|
3273
|
+
TxAck: TxAck;
|
|
3274
|
+
TxAckInputWrapper: TxAckInputWrapper;
|
|
3275
|
+
TxAckInput: TxAckInput;
|
|
3276
|
+
TxAckOutputWrapper: TxAckOutputWrapper;
|
|
3277
|
+
TxAckOutput: TxAckOutput;
|
|
3278
|
+
TxAckPrevMeta: TxAckPrevMeta;
|
|
3279
|
+
TxAckPrevInputWrapper: TxAckPrevInputWrapper;
|
|
3280
|
+
TxAckPrevInput: TxAckPrevInput;
|
|
3281
|
+
TxAckPrevOutputWrapper: TxAckPrevOutputWrapper;
|
|
3282
|
+
TxAckPrevOutput: TxAckPrevOutput;
|
|
3283
|
+
TxAckPrevExtraDataWrapper: TxAckPrevExtraDataWrapper;
|
|
3284
|
+
TxAckPrevExtraData: TxAckPrevExtraData;
|
|
3285
|
+
GetOwnershipProof: GetOwnershipProof;
|
|
3286
|
+
OwnershipProof: OwnershipProof;
|
|
3287
|
+
AuthorizeCoinJoin: AuthorizeCoinJoin;
|
|
3288
|
+
BIP32Address: BIP32Address;
|
|
3289
|
+
GetPublicKeyMultiple: GetPublicKeyMultiple;
|
|
3290
|
+
PublicKeyMultiple: PublicKeyMultiple;
|
|
3291
|
+
SignPsbt: SignPsbt;
|
|
3292
|
+
SignedPsbt: SignedPsbt;
|
|
3293
|
+
FirmwareErase: FirmwareErase;
|
|
3294
|
+
FirmwareRequest: FirmwareRequest;
|
|
3295
|
+
FirmwareUpload: FirmwareUpload;
|
|
3296
|
+
SelfTest: SelfTest;
|
|
3297
|
+
FirmwareErase_ex: FirmwareErase_ex;
|
|
3298
|
+
Reboot: Reboot;
|
|
3299
|
+
FirmwareUpdateEmmc: FirmwareUpdateEmmc;
|
|
3300
|
+
CardanoBlockchainPointerType: CardanoBlockchainPointerType;
|
|
3301
|
+
CardanoNativeScript: CardanoNativeScript;
|
|
3302
|
+
CardanoGetNativeScriptHash: CardanoGetNativeScriptHash;
|
|
3303
|
+
CardanoNativeScriptHash: CardanoNativeScriptHash;
|
|
3304
|
+
CardanoAddressParametersType: CardanoAddressParametersType;
|
|
3305
|
+
CardanoGetAddress: CardanoGetAddress;
|
|
3306
|
+
CardanoAddress: CardanoAddress;
|
|
3307
|
+
CardanoGetPublicKey: CardanoGetPublicKey;
|
|
3308
|
+
CardanoPublicKey: CardanoPublicKey;
|
|
3309
|
+
CardanoSignTxInit: CardanoSignTxInit;
|
|
3310
|
+
CardanoTxInput: CardanoTxInput;
|
|
3311
|
+
CardanoTxOutput: CardanoTxOutput;
|
|
3312
|
+
CardanoAssetGroup: CardanoAssetGroup;
|
|
3313
|
+
CardanoToken: CardanoToken;
|
|
3314
|
+
CardanoTxInlineDatumChunk: CardanoTxInlineDatumChunk;
|
|
3315
|
+
CardanoTxReferenceScriptChunk: CardanoTxReferenceScriptChunk;
|
|
3316
|
+
CardanoPoolOwner: CardanoPoolOwner;
|
|
3317
|
+
CardanoPoolRelayParameters: CardanoPoolRelayParameters;
|
|
3318
|
+
CardanoPoolMetadataType: CardanoPoolMetadataType;
|
|
3319
|
+
CardanoPoolParametersType: CardanoPoolParametersType;
|
|
3320
|
+
CardanoDRep: CardanoDRep;
|
|
3321
|
+
CardanoTxCertificate: CardanoTxCertificate;
|
|
3322
|
+
CardanoTxWithdrawal: CardanoTxWithdrawal;
|
|
3323
|
+
CardanoCVoteRegistrationDelegation: CardanoCVoteRegistrationDelegation;
|
|
3324
|
+
CardanoCVoteRegistrationParametersType: CardanoCVoteRegistrationParametersType;
|
|
3325
|
+
CardanoTxAuxiliaryData: CardanoTxAuxiliaryData;
|
|
3326
|
+
CardanoTxMint: CardanoTxMint;
|
|
3327
|
+
CardanoTxCollateralInput: CardanoTxCollateralInput;
|
|
3328
|
+
CardanoTxRequiredSigner: CardanoTxRequiredSigner;
|
|
3329
|
+
CardanoTxReferenceInput: CardanoTxReferenceInput;
|
|
3330
|
+
CardanoTxItemAck: CardanoTxItemAck;
|
|
3331
|
+
CardanoTxAuxiliaryDataSupplement: CardanoTxAuxiliaryDataSupplement;
|
|
3332
|
+
CardanoTxWitnessRequest: CardanoTxWitnessRequest;
|
|
3333
|
+
CardanoTxWitnessResponse: CardanoTxWitnessResponse;
|
|
3334
|
+
CardanoTxHostAck: CardanoTxHostAck;
|
|
3335
|
+
CardanoTxBodyHash: CardanoTxBodyHash;
|
|
3336
|
+
CardanoSignTxFinished: CardanoSignTxFinished;
|
|
3337
|
+
CardanoSignMessage: CardanoSignMessage;
|
|
3338
|
+
CardanoMessageSignature: CardanoMessageSignature;
|
|
3339
|
+
Success: Success;
|
|
3340
|
+
Failure: Failure;
|
|
3341
|
+
ButtonRequest: ButtonRequest;
|
|
3342
|
+
ButtonAck: ButtonAck;
|
|
3343
|
+
PinMatrixRequest: PinMatrixRequest;
|
|
3344
|
+
PinMatrixAck: PinMatrixAck;
|
|
3345
|
+
PassphraseRequest: PassphraseRequest;
|
|
3346
|
+
PassphraseAck: PassphraseAck;
|
|
3347
|
+
Deprecated_PassphraseStateRequest: Deprecated_PassphraseStateRequest;
|
|
3348
|
+
Deprecated_PassphraseStateAck: Deprecated_PassphraseStateAck;
|
|
3349
|
+
BixinPinInputOnDevice: BixinPinInputOnDevice;
|
|
3350
|
+
ConfluxGetAddress: ConfluxGetAddress;
|
|
3351
|
+
ConfluxAddress: ConfluxAddress;
|
|
3352
|
+
ConfluxSignTx: ConfluxSignTx;
|
|
3353
|
+
ConfluxTxRequest: ConfluxTxRequest;
|
|
3354
|
+
ConfluxTxAck: ConfluxTxAck;
|
|
3355
|
+
ConfluxSignMessage: ConfluxSignMessage;
|
|
3356
|
+
ConfluxMessageSignature: ConfluxMessageSignature;
|
|
3357
|
+
ConfluxSignMessageCIP23: ConfluxSignMessageCIP23;
|
|
3358
|
+
CosmosGetAddress: CosmosGetAddress;
|
|
3359
|
+
CosmosAddress: CosmosAddress;
|
|
3360
|
+
CosmosSignTx: CosmosSignTx;
|
|
3361
|
+
CosmosSignedTx: CosmosSignedTx;
|
|
3362
|
+
CipherKeyValue: CipherKeyValue;
|
|
3363
|
+
CipheredKeyValue: CipheredKeyValue;
|
|
3364
|
+
IdentityType: IdentityType;
|
|
3365
|
+
SignIdentity: SignIdentity;
|
|
3366
|
+
SignedIdentity: SignedIdentity;
|
|
3367
|
+
GetECDHSessionKey: GetECDHSessionKey;
|
|
3368
|
+
ECDHSessionKey: ECDHSessionKey;
|
|
3369
|
+
Path: Path;
|
|
3370
|
+
BatchGetPublickeys: BatchGetPublickeys;
|
|
3371
|
+
EcdsaPublicKeys: EcdsaPublicKeys;
|
|
3372
|
+
DnxGetAddress: DnxGetAddress;
|
|
3373
|
+
DnxAddress: DnxAddress;
|
|
3374
|
+
DnxSignTx: DnxSignTx;
|
|
3375
|
+
DnxTxKey: DnxTxKey;
|
|
3376
|
+
DnxComputedKeyImage: DnxComputedKeyImage;
|
|
3377
|
+
DnxInputRequest: DnxInputRequest;
|
|
3378
|
+
DnxInputAck: DnxInputAck;
|
|
3379
|
+
DnxRTSigsRequest: DnxRTSigsRequest;
|
|
3380
|
+
DnxSignedTx: DnxSignedTx;
|
|
3381
|
+
EmmcFixPermission: EmmcFixPermission;
|
|
3382
|
+
EmmcPath: EmmcPath;
|
|
3383
|
+
EmmcPathInfo: EmmcPathInfo;
|
|
3384
|
+
EmmcFile: EmmcFile;
|
|
3385
|
+
EmmcFileRead: EmmcFileRead;
|
|
3386
|
+
EmmcFileWrite: EmmcFileWrite;
|
|
3387
|
+
EmmcFileDelete: EmmcFileDelete;
|
|
3388
|
+
EmmcDir: EmmcDir;
|
|
3389
|
+
EmmcDirList: EmmcDirList;
|
|
3390
|
+
EmmcDirMake: EmmcDirMake;
|
|
3391
|
+
EmmcDirRemove: EmmcDirRemove;
|
|
3392
|
+
EosGetPublicKey: EosGetPublicKey;
|
|
3393
|
+
EosPublicKey: EosPublicKey;
|
|
3394
|
+
EosTxHeader: EosTxHeader;
|
|
3395
|
+
EosSignTx: EosSignTx;
|
|
3396
|
+
EosTxActionRequest: EosTxActionRequest;
|
|
3397
|
+
EosAsset: EosAsset;
|
|
3398
|
+
EosPermissionLevel: EosPermissionLevel;
|
|
3399
|
+
EosAuthorizationKey: EosAuthorizationKey;
|
|
3400
|
+
EosAuthorizationAccount: EosAuthorizationAccount;
|
|
3401
|
+
EosAuthorizationWait: EosAuthorizationWait;
|
|
3402
|
+
EosAuthorization: EosAuthorization;
|
|
3403
|
+
EosActionCommon: EosActionCommon;
|
|
3404
|
+
EosActionTransfer: EosActionTransfer;
|
|
3405
|
+
EosActionDelegate: EosActionDelegate;
|
|
3406
|
+
EosActionUndelegate: EosActionUndelegate;
|
|
3407
|
+
EosActionRefund: EosActionRefund;
|
|
3408
|
+
EosActionBuyRam: EosActionBuyRam;
|
|
3409
|
+
EosActionBuyRamBytes: EosActionBuyRamBytes;
|
|
3410
|
+
EosActionSellRam: EosActionSellRam;
|
|
3411
|
+
EosActionVoteProducer: EosActionVoteProducer;
|
|
3412
|
+
EosActionUpdateAuth: EosActionUpdateAuth;
|
|
3413
|
+
EosActionDeleteAuth: EosActionDeleteAuth;
|
|
3414
|
+
EosActionLinkAuth: EosActionLinkAuth;
|
|
3415
|
+
EosActionUnlinkAuth: EosActionUnlinkAuth;
|
|
3416
|
+
EosActionNewAccount: EosActionNewAccount;
|
|
3417
|
+
EosActionUnknown: EosActionUnknown;
|
|
3418
|
+
EosTxActionAck: EosTxActionAck;
|
|
3419
|
+
EosSignedTx: EosSignedTx;
|
|
3420
|
+
EthereumNetworkInfo: EthereumNetworkInfo;
|
|
3421
|
+
EthereumTokenInfo: EthereumTokenInfo;
|
|
3422
|
+
EthereumDefinitions: EthereumDefinitions;
|
|
3423
|
+
EthereumSignTypedDataUKey: EthereumSignTypedDataUKey;
|
|
3424
|
+
EthereumGnosisSafeTxRequest: EthereumGnosisSafeTxRequest;
|
|
3425
|
+
EthereumGnosisSafeTxAck: EthereumGnosisSafeTxAck;
|
|
3426
|
+
EthereumTypedDataStructRequestUKey: EthereumTypedDataStructRequestUKey;
|
|
3427
|
+
EthereumStructMemberUKey: EthereumStructMemberUKey;
|
|
3428
|
+
EthereumFieldTypeUKey: EthereumFieldTypeUKey;
|
|
3429
|
+
EthereumTypedDataStructAckUKey: EthereumTypedDataStructAckUKey;
|
|
3430
|
+
EthereumTypedDataValueRequestUKey: EthereumTypedDataValueRequestUKey;
|
|
3431
|
+
EthereumTypedDataValueAckUKey: EthereumTypedDataValueAckUKey;
|
|
3432
|
+
EthereumSignTypedData: EthereumSignTypedData;
|
|
3433
|
+
EthereumTypedDataStructRequest: EthereumTypedDataStructRequest;
|
|
3434
|
+
EthereumFieldType: EthereumFieldType;
|
|
3435
|
+
EthereumStructMember: EthereumStructMember;
|
|
3436
|
+
EthereumTypedDataStructAck: EthereumTypedDataStructAck;
|
|
3437
|
+
EthereumTypedDataValueRequest: EthereumTypedDataValueRequest;
|
|
3438
|
+
EthereumTypedDataValueAck: EthereumTypedDataValueAck;
|
|
3439
|
+
EthereumGetPublicKeyUKey: EthereumGetPublicKeyUKey;
|
|
3440
|
+
EthereumPublicKeyUKey: EthereumPublicKeyUKey;
|
|
3441
|
+
EthereumGetAddressUKey: EthereumGetAddressUKey;
|
|
3442
|
+
EthereumAddressUKey: EthereumAddressUKey;
|
|
3443
|
+
EthereumSignTxUKey: EthereumSignTxUKey;
|
|
3444
|
+
EthereumAccessListUKey: EthereumAccessListUKey;
|
|
3445
|
+
EthereumSignTxEIP1559UKey: EthereumSignTxEIP1559UKey;
|
|
3446
|
+
EthereumAuthorizationSignature: EthereumAuthorizationSignature;
|
|
3447
|
+
EthereumAuthorizationUKey: EthereumAuthorizationUKey;
|
|
3448
|
+
EthereumSignTxEIP7702UKey: EthereumSignTxEIP7702UKey;
|
|
3449
|
+
EthereumTxRequestUKey: EthereumTxRequestUKey;
|
|
3450
|
+
EthereumTxAckUKey: EthereumTxAckUKey;
|
|
3451
|
+
EthereumSignMessageUKey: EthereumSignMessageUKey;
|
|
3452
|
+
EthereumMessageSignatureUKey: EthereumMessageSignatureUKey;
|
|
3453
|
+
EthereumVerifyMessageUKey: EthereumVerifyMessageUKey;
|
|
3454
|
+
EthereumSignTypedHashUKey: EthereumSignTypedHashUKey;
|
|
3455
|
+
EthereumTypedDataSignatureUKey: EthereumTypedDataSignatureUKey;
|
|
3456
|
+
EthereumSignMessageEIP712: EthereumSignMessageEIP712;
|
|
3457
|
+
EthereumGetPublicKey: EthereumGetPublicKey;
|
|
3458
|
+
EthereumPublicKey: EthereumPublicKey;
|
|
3459
|
+
EthereumGetAddress: EthereumGetAddress;
|
|
3460
|
+
EthereumAddress: EthereumAddress;
|
|
3461
|
+
EthereumSignTx: EthereumSignTx;
|
|
3462
|
+
EthereumAccessList: EthereumAccessList;
|
|
3463
|
+
EthereumSignTxEIP1559: EthereumSignTxEIP1559;
|
|
3464
|
+
EthereumTxRequest: EthereumTxRequest;
|
|
3465
|
+
EthereumTxAck: EthereumTxAck;
|
|
3466
|
+
EthereumSignMessage: EthereumSignMessage;
|
|
3467
|
+
EthereumMessageSignature: EthereumMessageSignature;
|
|
3468
|
+
EthereumVerifyMessage: EthereumVerifyMessage;
|
|
3469
|
+
EthereumSignTypedHash: EthereumSignTypedHash;
|
|
3470
|
+
EthereumTypedDataSignature: EthereumTypedDataSignature;
|
|
3471
|
+
FilecoinGetAddress: FilecoinGetAddress;
|
|
3472
|
+
FilecoinAddress: FilecoinAddress;
|
|
3473
|
+
FilecoinSignTx: FilecoinSignTx;
|
|
3474
|
+
FilecoinSignedTx: FilecoinSignedTx;
|
|
3475
|
+
KaspaGetAddress: KaspaGetAddress;
|
|
3476
|
+
KaspaAddress: KaspaAddress;
|
|
3477
|
+
KaspaSignTx: KaspaSignTx;
|
|
3478
|
+
KaspaTxInputRequest: KaspaTxInputRequest;
|
|
3479
|
+
KaspaTxInputAck: KaspaTxInputAck;
|
|
3480
|
+
KaspaSignedTx: KaspaSignedTx;
|
|
3481
|
+
LnurlAuth: LnurlAuth;
|
|
3482
|
+
LnurlAuthResp: LnurlAuthResp;
|
|
3483
|
+
Initialize: Initialize;
|
|
3484
|
+
GetFeatures: GetFeatures;
|
|
3485
|
+
UkeyGetFeatures: UkeyGetFeatures;
|
|
3486
|
+
Features: Features;
|
|
3487
|
+
UkeyFeatures: UkeyFeatures;
|
|
3488
|
+
LockDevice: LockDevice;
|
|
3489
|
+
EndSession: EndSession;
|
|
3490
|
+
ApplySettings: ApplySettings;
|
|
3491
|
+
ApplyFlags: ApplyFlags;
|
|
3492
|
+
ChangePin: ChangePin;
|
|
3493
|
+
ChangeWipeCode: ChangeWipeCode;
|
|
3494
|
+
SdProtect: SdProtect;
|
|
3495
|
+
Ping: Ping;
|
|
3496
|
+
Cancel: Cancel;
|
|
3497
|
+
GetEntropy: GetEntropy;
|
|
3498
|
+
Entropy: Entropy;
|
|
3499
|
+
WipeDevice: WipeDevice;
|
|
3500
|
+
ResetDevice: ResetDevice;
|
|
3501
|
+
BackupDevice: BackupDevice;
|
|
3502
|
+
EntropyRequest: EntropyRequest;
|
|
3503
|
+
EntropyAck: EntropyAck;
|
|
3504
|
+
RecoveryDevice: RecoveryDevice;
|
|
3505
|
+
WordRequest: WordRequest;
|
|
3506
|
+
WordAck: WordAck;
|
|
3507
|
+
SetU2FCounter: SetU2FCounter;
|
|
3508
|
+
GetNextU2FCounter: GetNextU2FCounter;
|
|
3509
|
+
NextU2FCounter: NextU2FCounter;
|
|
3510
|
+
DoPreauthorized: DoPreauthorized;
|
|
3511
|
+
PreauthorizedRequest: PreauthorizedRequest;
|
|
3512
|
+
CancelAuthorization: CancelAuthorization;
|
|
3513
|
+
BixinSeedOperate: BixinSeedOperate;
|
|
3514
|
+
BixinMessageSE: BixinMessageSE;
|
|
3515
|
+
BixinOutMessageSE: BixinOutMessageSE;
|
|
3516
|
+
DeviceBackToBoot: DeviceBackToBoot;
|
|
3517
|
+
BixinBackupRequest: BixinBackupRequest;
|
|
3518
|
+
BixinBackupAck: BixinBackupAck;
|
|
3519
|
+
BixinRestoreRequest: BixinRestoreRequest;
|
|
3520
|
+
BixinRestoreAck: BixinRestoreAck;
|
|
3521
|
+
BixinVerifyDeviceRequest: BixinVerifyDeviceRequest;
|
|
3522
|
+
BixinVerifyDeviceAck: BixinVerifyDeviceAck;
|
|
3523
|
+
BixinWhiteListRequest: BixinWhiteListRequest;
|
|
3524
|
+
BixinWhiteListAck: BixinWhiteListAck;
|
|
3525
|
+
BixinLoadDevice: BixinLoadDevice;
|
|
3526
|
+
BixinBackupDevice: BixinBackupDevice;
|
|
3527
|
+
BixinBackupDeviceAck: BixinBackupDeviceAck;
|
|
3528
|
+
DeviceInfoSettings: DeviceInfoSettings;
|
|
3529
|
+
GetDeviceInfo: GetDeviceInfo;
|
|
3530
|
+
DeviceInfo: DeviceInfo;
|
|
3531
|
+
ReadSEPublicKey: ReadSEPublicKey;
|
|
3532
|
+
SEPublicKey: SEPublicKey;
|
|
3533
|
+
WriteSEPublicCert: WriteSEPublicCert;
|
|
3534
|
+
ReadSEPublicCert: ReadSEPublicCert;
|
|
3535
|
+
SEPublicCert: SEPublicCert;
|
|
3536
|
+
SpiFlashWrite: SpiFlashWrite;
|
|
3537
|
+
SpiFlashRead: SpiFlashRead;
|
|
3538
|
+
SpiFlashData: SpiFlashData;
|
|
3539
|
+
SESignMessage: SESignMessage;
|
|
3540
|
+
SEMessageSignature: SEMessageSignature;
|
|
3541
|
+
ResourceUpload: ResourceUpload;
|
|
3542
|
+
ZoomRequest: ZoomRequest;
|
|
3543
|
+
ResourceRequest: ResourceRequest;
|
|
3544
|
+
ResourceAck: ResourceAck;
|
|
3545
|
+
ResourceUpdate: ResourceUpdate;
|
|
3546
|
+
NFTWriteInfo: NFTWriteInfo;
|
|
3547
|
+
NFTWriteData: NFTWriteData;
|
|
3548
|
+
RebootToBootloader: RebootToBootloader;
|
|
3549
|
+
RebootToBoardloader: RebootToBoardloader;
|
|
3550
|
+
ListResDir: ListResDir;
|
|
3551
|
+
FileInfo: FileInfo;
|
|
3552
|
+
FileInfoList: FileInfoList;
|
|
3553
|
+
DeviceEraseSector: DeviceEraseSector;
|
|
3554
|
+
UnLockDevice: UnLockDevice;
|
|
3555
|
+
UnLockDeviceResponse: UnLockDeviceResponse;
|
|
3556
|
+
GetPassphraseState: GetPassphraseState;
|
|
3557
|
+
PassphraseState: PassphraseState;
|
|
3558
|
+
MoneroRctKeyPublic: MoneroRctKeyPublic;
|
|
3559
|
+
MoneroOutputEntry: MoneroOutputEntry;
|
|
3560
|
+
MoneroMultisigKLRki: MoneroMultisigKLRki;
|
|
3561
|
+
MoneroTransactionSourceEntry: MoneroTransactionSourceEntry;
|
|
3562
|
+
MoneroAccountPublicAddress: MoneroAccountPublicAddress;
|
|
3563
|
+
MoneroTransactionDestinationEntry: MoneroTransactionDestinationEntry;
|
|
3564
|
+
MoneroTransactionRsigData: MoneroTransactionRsigData;
|
|
3565
|
+
MoneroGetAddress: MoneroGetAddress;
|
|
3566
|
+
MoneroAddress: MoneroAddress;
|
|
3567
|
+
MoneroGetWatchKey: MoneroGetWatchKey;
|
|
3568
|
+
MoneroWatchKey: MoneroWatchKey;
|
|
3569
|
+
MoneroTransactionData: MoneroTransactionData;
|
|
3570
|
+
MoneroTransactionInitRequest: MoneroTransactionInitRequest;
|
|
3571
|
+
MoneroTransactionInitAck: MoneroTransactionInitAck;
|
|
3572
|
+
MoneroTransactionSetInputRequest: MoneroTransactionSetInputRequest;
|
|
3573
|
+
MoneroTransactionSetInputAck: MoneroTransactionSetInputAck;
|
|
3574
|
+
MoneroTransactionInputsPermutationRequest: MoneroTransactionInputsPermutationRequest;
|
|
3575
|
+
MoneroTransactionInputsPermutationAck: MoneroTransactionInputsPermutationAck;
|
|
3576
|
+
MoneroTransactionInputViniRequest: MoneroTransactionInputViniRequest;
|
|
3577
|
+
MoneroTransactionInputViniAck: MoneroTransactionInputViniAck;
|
|
3578
|
+
MoneroTransactionAllInputsSetRequest: MoneroTransactionAllInputsSetRequest;
|
|
3579
|
+
MoneroTransactionAllInputsSetAck: MoneroTransactionAllInputsSetAck;
|
|
3580
|
+
MoneroTransactionSetOutputRequest: MoneroTransactionSetOutputRequest;
|
|
3581
|
+
MoneroTransactionSetOutputAck: MoneroTransactionSetOutputAck;
|
|
3582
|
+
MoneroTransactionAllOutSetRequest: MoneroTransactionAllOutSetRequest;
|
|
3583
|
+
MoneroRingCtSig: MoneroRingCtSig;
|
|
3584
|
+
MoneroTransactionAllOutSetAck: MoneroTransactionAllOutSetAck;
|
|
3585
|
+
MoneroTransactionSignInputRequest: MoneroTransactionSignInputRequest;
|
|
3586
|
+
MoneroTransactionSignInputAck: MoneroTransactionSignInputAck;
|
|
3587
|
+
MoneroTransactionFinalRequest: MoneroTransactionFinalRequest;
|
|
3588
|
+
MoneroTransactionFinalAck: MoneroTransactionFinalAck;
|
|
3589
|
+
MoneroSubAddressIndicesList: MoneroSubAddressIndicesList;
|
|
3590
|
+
MoneroKeyImageExportInitRequest: MoneroKeyImageExportInitRequest;
|
|
3591
|
+
MoneroKeyImageExportInitAck: MoneroKeyImageExportInitAck;
|
|
3592
|
+
MoneroTransferDetails: MoneroTransferDetails;
|
|
3593
|
+
MoneroKeyImageSyncStepRequest: MoneroKeyImageSyncStepRequest;
|
|
3594
|
+
MoneroExportedKeyImage: MoneroExportedKeyImage;
|
|
3595
|
+
MoneroKeyImageSyncStepAck: MoneroKeyImageSyncStepAck;
|
|
3596
|
+
MoneroKeyImageSyncFinalRequest: MoneroKeyImageSyncFinalRequest;
|
|
3597
|
+
MoneroKeyImageSyncFinalAck: MoneroKeyImageSyncFinalAck;
|
|
3598
|
+
MoneroGetTxKeyRequest: MoneroGetTxKeyRequest;
|
|
3599
|
+
MoneroGetTxKeyAck: MoneroGetTxKeyAck;
|
|
3600
|
+
MoneroLiveRefreshStartRequest: MoneroLiveRefreshStartRequest;
|
|
3601
|
+
MoneroLiveRefreshStartAck: MoneroLiveRefreshStartAck;
|
|
3602
|
+
MoneroLiveRefreshStepRequest: MoneroLiveRefreshStepRequest;
|
|
3603
|
+
MoneroLiveRefreshStepAck: MoneroLiveRefreshStepAck;
|
|
3604
|
+
MoneroLiveRefreshFinalRequest: MoneroLiveRefreshFinalRequest;
|
|
3605
|
+
MoneroLiveRefreshFinalAck: MoneroLiveRefreshFinalAck;
|
|
3606
|
+
NearGetAddress: NearGetAddress;
|
|
3607
|
+
NearAddress: NearAddress;
|
|
3608
|
+
NearSignTx: NearSignTx;
|
|
3609
|
+
NearSignedTx: NearSignedTx;
|
|
3610
|
+
NEMGetAddress: NEMGetAddress;
|
|
3611
|
+
NEMAddress: NEMAddress;
|
|
3612
|
+
NEMTransactionCommon: NEMTransactionCommon;
|
|
3613
|
+
NEMMosaic: NEMMosaic;
|
|
3614
|
+
NEMTransfer: NEMTransfer;
|
|
3615
|
+
NEMProvisionNamespace: NEMProvisionNamespace;
|
|
3616
|
+
NEMMosaicDefinition: NEMMosaicDefinition;
|
|
3617
|
+
NEMMosaicCreation: NEMMosaicCreation;
|
|
3618
|
+
NEMMosaicSupplyChange: NEMMosaicSupplyChange;
|
|
3619
|
+
NEMCosignatoryModification: NEMCosignatoryModification;
|
|
3620
|
+
NEMAggregateModification: NEMAggregateModification;
|
|
3621
|
+
NEMImportanceTransfer: NEMImportanceTransfer;
|
|
3622
|
+
NEMSignTx: NEMSignTx;
|
|
3623
|
+
NEMSignedTx: NEMSignedTx;
|
|
3624
|
+
NEMDecryptMessage: NEMDecryptMessage;
|
|
3625
|
+
NEMDecryptedMessage: NEMDecryptedMessage;
|
|
3626
|
+
NeoGetAddress: NeoGetAddress;
|
|
3627
|
+
NeoAddress: NeoAddress;
|
|
3628
|
+
NeoSignTx: NeoSignTx;
|
|
3629
|
+
NeoSignedTx: NeoSignedTx;
|
|
3630
|
+
NervosGetAddress: NervosGetAddress;
|
|
3631
|
+
NervosAddress: NervosAddress;
|
|
3632
|
+
NervosSignTx: NervosSignTx;
|
|
3633
|
+
NervosSignedTx: NervosSignedTx;
|
|
3634
|
+
NervosTxRequest: NervosTxRequest;
|
|
3635
|
+
NervosTxAck: NervosTxAck;
|
|
3636
|
+
NexaGetAddress: NexaGetAddress;
|
|
3637
|
+
NexaAddress: NexaAddress;
|
|
3638
|
+
NexaSignTx: NexaSignTx;
|
|
3639
|
+
NexaTxInputRequest: NexaTxInputRequest;
|
|
3640
|
+
NexaTxInputAck: NexaTxInputAck;
|
|
3641
|
+
NexaSignedTx: NexaSignedTx;
|
|
3642
|
+
NostrGetPublicKey: NostrGetPublicKey;
|
|
3643
|
+
NostrPublicKey: NostrPublicKey;
|
|
3644
|
+
NostrSignEvent: NostrSignEvent;
|
|
3645
|
+
NostrSignedEvent: NostrSignedEvent;
|
|
3646
|
+
NostrSignSchnorr: NostrSignSchnorr;
|
|
3647
|
+
NostrSignedSchnorr: NostrSignedSchnorr;
|
|
3648
|
+
NostrEncryptMessage: NostrEncryptMessage;
|
|
3649
|
+
NostrEncryptedMessage: NostrEncryptedMessage;
|
|
3650
|
+
NostrDecryptMessage: NostrDecryptMessage;
|
|
3651
|
+
NostrDecryptedMessage: NostrDecryptedMessage;
|
|
3652
|
+
PolkadotGetAddress: PolkadotGetAddress;
|
|
3653
|
+
PolkadotAddress: PolkadotAddress;
|
|
3654
|
+
PolkadotSignTx: PolkadotSignTx;
|
|
3655
|
+
PolkadotSignedTx: PolkadotSignedTx;
|
|
3656
|
+
RippleGetAddress: RippleGetAddress;
|
|
3657
|
+
RippleAddress: RippleAddress;
|
|
3658
|
+
RipplePayment: RipplePayment;
|
|
3659
|
+
RippleSignTx: RippleSignTx;
|
|
3660
|
+
RippleSignedTx: RippleSignedTx;
|
|
3661
|
+
ScdoGetAddress: ScdoGetAddress;
|
|
3662
|
+
ScdoAddress: ScdoAddress;
|
|
3663
|
+
ScdoSignTx: ScdoSignTx;
|
|
3664
|
+
ScdoSignedTx: ScdoSignedTx;
|
|
3665
|
+
ScdoTxAck: ScdoTxAck;
|
|
3666
|
+
ScdoSignMessage: ScdoSignMessage;
|
|
3667
|
+
ScdoSignedMessage: ScdoSignedMessage;
|
|
3668
|
+
SolanaGetAddress: SolanaGetAddress;
|
|
3669
|
+
SolanaAddress: SolanaAddress;
|
|
3670
|
+
SolanaSignTx: SolanaSignTx;
|
|
3671
|
+
SolanaSignedTx: SolanaSignedTx;
|
|
3672
|
+
SolanaSignOffChainMessage: SolanaSignOffChainMessage;
|
|
3673
|
+
SolanaSignUnsafeMessage: SolanaSignUnsafeMessage;
|
|
3674
|
+
SolanaMessageSignature: SolanaMessageSignature;
|
|
3675
|
+
StarcoinGetAddress: StarcoinGetAddress;
|
|
3676
|
+
StarcoinAddress: StarcoinAddress;
|
|
3677
|
+
StarcoinGetPublicKey: StarcoinGetPublicKey;
|
|
3678
|
+
StarcoinPublicKey: StarcoinPublicKey;
|
|
3679
|
+
StarcoinSignTx: StarcoinSignTx;
|
|
3680
|
+
StarcoinSignedTx: StarcoinSignedTx;
|
|
3681
|
+
StarcoinSignMessage: StarcoinSignMessage;
|
|
3682
|
+
StarcoinMessageSignature: StarcoinMessageSignature;
|
|
3683
|
+
StarcoinVerifyMessage: StarcoinVerifyMessage;
|
|
3684
|
+
StellarAsset: StellarAsset;
|
|
3685
|
+
StellarGetAddress: StellarGetAddress;
|
|
3686
|
+
StellarAddress: StellarAddress;
|
|
3687
|
+
StellarSignTx: StellarSignTx;
|
|
3688
|
+
StellarTxOpRequest: StellarTxOpRequest;
|
|
3689
|
+
StellarPaymentOp: StellarPaymentOp;
|
|
3690
|
+
StellarCreateAccountOp: StellarCreateAccountOp;
|
|
3691
|
+
StellarPathPaymentStrictReceiveOp: StellarPathPaymentStrictReceiveOp;
|
|
3692
|
+
StellarPathPaymentStrictSendOp: StellarPathPaymentStrictSendOp;
|
|
3693
|
+
StellarManageSellOfferOp: StellarManageSellOfferOp;
|
|
3694
|
+
StellarManageBuyOfferOp: StellarManageBuyOfferOp;
|
|
3695
|
+
StellarCreatePassiveSellOfferOp: StellarCreatePassiveSellOfferOp;
|
|
3696
|
+
StellarSetOptionsOp: StellarSetOptionsOp;
|
|
3697
|
+
StellarChangeTrustOp: StellarChangeTrustOp;
|
|
3698
|
+
StellarAllowTrustOp: StellarAllowTrustOp;
|
|
3699
|
+
StellarAccountMergeOp: StellarAccountMergeOp;
|
|
3700
|
+
StellarManageDataOp: StellarManageDataOp;
|
|
3701
|
+
StellarBumpSequenceOp: StellarBumpSequenceOp;
|
|
3702
|
+
StellarSignedTx: StellarSignedTx;
|
|
3703
|
+
SuiGetAddress: SuiGetAddress;
|
|
3704
|
+
SuiAddress: SuiAddress;
|
|
3705
|
+
SuiSignTx: SuiSignTx;
|
|
3706
|
+
SuiSignedTx: SuiSignedTx;
|
|
3707
|
+
SuiTxRequest: SuiTxRequest;
|
|
3708
|
+
SuiTxAck: SuiTxAck;
|
|
3709
|
+
SuiSignMessage: SuiSignMessage;
|
|
3710
|
+
SuiMessageSignature: SuiMessageSignature;
|
|
3711
|
+
TezosGetAddress: TezosGetAddress;
|
|
3712
|
+
TezosAddress: TezosAddress;
|
|
3713
|
+
TezosGetPublicKey: TezosGetPublicKey;
|
|
3714
|
+
TezosPublicKey: TezosPublicKey;
|
|
3715
|
+
TezosContractID: TezosContractID;
|
|
3716
|
+
TezosRevealOp: TezosRevealOp;
|
|
3717
|
+
TezosManagerTransfer: TezosManagerTransfer;
|
|
3718
|
+
TezosParametersManager: TezosParametersManager;
|
|
3719
|
+
TezosTransactionOp: TezosTransactionOp;
|
|
3720
|
+
TezosOriginationOp: TezosOriginationOp;
|
|
3721
|
+
TezosDelegationOp: TezosDelegationOp;
|
|
3722
|
+
TezosProposalOp: TezosProposalOp;
|
|
3723
|
+
TezosBallotOp: TezosBallotOp;
|
|
3724
|
+
TezosSignTx: TezosSignTx;
|
|
3725
|
+
TezosSignedTx: TezosSignedTx;
|
|
3726
|
+
TonGetAddress: TonGetAddress;
|
|
3727
|
+
TonAddress: TonAddress;
|
|
3728
|
+
TonSignMessage: TonSignMessage;
|
|
3729
|
+
TonTxAck: TonTxAck;
|
|
3730
|
+
TonSignedMessage: TonSignedMessage;
|
|
3731
|
+
TonSignProof: TonSignProof;
|
|
3732
|
+
TonSignedProof: TonSignedProof;
|
|
3733
|
+
TronGetAddress: TronGetAddress;
|
|
3734
|
+
TronAddress: TronAddress;
|
|
3735
|
+
TronTransferContract: TronTransferContract;
|
|
3736
|
+
TronTriggerSmartContract: TronTriggerSmartContract;
|
|
3737
|
+
TronFreezeBalanceContract: TronFreezeBalanceContract;
|
|
3738
|
+
TronUnfreezeBalanceContract: TronUnfreezeBalanceContract;
|
|
3739
|
+
TronWithdrawBalanceContract: TronWithdrawBalanceContract;
|
|
3740
|
+
TronFreezeBalanceV2Contract: TronFreezeBalanceV2Contract;
|
|
3741
|
+
TronUnfreezeBalanceV2Contract: TronUnfreezeBalanceV2Contract;
|
|
3742
|
+
TronWithdrawExpireUnfreezeContract: TronWithdrawExpireUnfreezeContract;
|
|
3743
|
+
TronDelegateResourceContract: TronDelegateResourceContract;
|
|
3744
|
+
TronUnDelegateResourceContract: TronUnDelegateResourceContract;
|
|
3745
|
+
Vote: Vote;
|
|
3746
|
+
TronVoteWitnessContract: TronVoteWitnessContract;
|
|
3747
|
+
TronCancelAllUnfreezeV2Contract: TronCancelAllUnfreezeV2Contract;
|
|
3748
|
+
TronContract: TronContract;
|
|
3749
|
+
TronSignTx: TronSignTx;
|
|
3750
|
+
TronSignedTx: TronSignedTx;
|
|
3751
|
+
TronSignMessage: TronSignMessage;
|
|
3752
|
+
TronMessageSignature: TronMessageSignature;
|
|
3753
|
+
facotry: facotry;
|
|
3754
|
+
};
|
|
3755
|
+
export type MessageKey = keyof MessageType;
|
|
3756
|
+
export type MessageResponse<T extends MessageKey> = {
|
|
3757
|
+
type: T;
|
|
3758
|
+
message: MessageType[T];
|
|
3759
|
+
};
|
|
3760
|
+
export type TypedCall = <T extends MessageKey, R extends MessageKey>(type: T, resType: R, message?: MessageType[T]) => Promise<MessageResponse<R>>;
|
|
3761
|
+
export {};
|
|
3762
|
+
//# sourceMappingURL=messages.d.ts.map
|