@onekeyfe/hd-transport 0.3.29 → 0.3.31

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.
@@ -1,64 +1,64 @@
1
1
  /// <reference types="node" />
2
- export declare type UintType = string | number;
3
- export declare type AlgorandGetAddress = {
2
+ export type UintType = string | number;
3
+ export type AlgorandGetAddress = {
4
4
  address_n: number[];
5
5
  show_display?: boolean;
6
6
  };
7
- export declare type AlgorandAddress = {
7
+ export type AlgorandAddress = {
8
8
  address?: string;
9
9
  };
10
- export declare type AlgorandSignTx = {
10
+ export type AlgorandSignTx = {
11
11
  address_n: number[];
12
12
  raw_tx: string;
13
13
  };
14
- export declare type AlgorandSignedTx = {
14
+ export type AlgorandSignedTx = {
15
15
  signature: string;
16
16
  };
17
- export declare type AptosGetAddress = {
17
+ export type AptosGetAddress = {
18
18
  address_n: number[];
19
19
  show_display?: boolean;
20
20
  };
21
- export declare type AptosAddress = {
21
+ export type AptosAddress = {
22
22
  address?: string;
23
23
  };
24
- export declare type AptosSignTx = {
24
+ export type AptosSignTx = {
25
25
  address_n: number[];
26
26
  raw_tx: string;
27
27
  };
28
- export declare type AptosSignedTx = {
28
+ export type AptosSignedTx = {
29
29
  public_key: string;
30
30
  signature: string;
31
31
  };
32
- export declare type AptosMessagePayload = {
32
+ export type AptosMessagePayload = {
33
33
  address?: string;
34
34
  chain_id?: string;
35
35
  application?: string;
36
36
  nonce: string;
37
37
  message: string;
38
38
  };
39
- export declare type AptosSignMessage = {
39
+ export type AptosSignMessage = {
40
40
  address_n: number[];
41
41
  payload: AptosMessagePayload;
42
42
  };
43
- export declare type AptosMessageSignature = {
43
+ export type AptosMessageSignature = {
44
44
  signature: string;
45
45
  address: string;
46
46
  };
47
- export declare type BinanceGetAddress = {
47
+ export type BinanceGetAddress = {
48
48
  address_n: number[];
49
49
  show_display?: boolean;
50
50
  };
51
- export declare type BinanceAddress = {
51
+ export type BinanceAddress = {
52
52
  address: string;
53
53
  };
54
- export declare type BinanceGetPublicKey = {
54
+ export type BinanceGetPublicKey = {
55
55
  address_n: number[];
56
56
  show_display?: boolean;
57
57
  };
58
- export declare type BinancePublicKey = {
58
+ export type BinancePublicKey = {
59
59
  public_key: string;
60
60
  };
61
- export declare type BinanceSignTx = {
61
+ export type BinanceSignTx = {
62
62
  address_n: number[];
63
63
  msg_count?: number;
64
64
  account_number?: number;
@@ -67,16 +67,16 @@ export declare type BinanceSignTx = {
67
67
  sequence?: number;
68
68
  source?: number;
69
69
  };
70
- export declare type BinanceTxRequest = {};
71
- export declare type BinanceCoin = {
70
+ export type BinanceTxRequest = {};
71
+ export type BinanceCoin = {
72
72
  amount?: UintType;
73
73
  denom?: string;
74
74
  };
75
- export declare type BinanceInputOutput = {
75
+ export type BinanceInputOutput = {
76
76
  address?: string;
77
77
  coins: BinanceCoin[];
78
78
  };
79
- export declare type BinanceTransferMsg = {
79
+ export type BinanceTransferMsg = {
80
80
  inputs: BinanceInputOutput[];
81
81
  outputs: BinanceInputOutput[];
82
82
  };
@@ -97,7 +97,7 @@ export declare enum BinanceTimeInForce {
97
97
  TIF_RESERVED = 2,
98
98
  IOC = 3
99
99
  }
100
- export declare type BinanceOrderMsg = {
100
+ export type BinanceOrderMsg = {
101
101
  id?: string;
102
102
  ordertype?: BinanceOrderType;
103
103
  price?: number;
@@ -107,12 +107,12 @@ export declare type BinanceOrderMsg = {
107
107
  symbol?: string;
108
108
  timeinforce?: BinanceTimeInForce;
109
109
  };
110
- export declare type BinanceCancelMsg = {
110
+ export type BinanceCancelMsg = {
111
111
  refid?: string;
112
112
  sender?: string;
113
113
  symbol?: string;
114
114
  };
115
- export declare type BinanceSignedTx = {
115
+ export type BinanceSignedTx = {
116
116
  signature: string;
117
117
  public_key: string;
118
118
  };
@@ -124,7 +124,7 @@ export declare enum Enum_InputScriptType {
124
124
  SPENDP2SHWITNESS = 4,
125
125
  SPENDTAPROOT = 5
126
126
  }
127
- export declare type InputScriptType = keyof typeof Enum_InputScriptType;
127
+ export type InputScriptType = keyof typeof Enum_InputScriptType;
128
128
  export declare enum Enum_OutputScriptType {
129
129
  PAYTOADDRESS = 0,
130
130
  PAYTOSCRIPTHASH = 1,
@@ -134,7 +134,7 @@ export declare enum Enum_OutputScriptType {
134
134
  PAYTOP2SHWITNESS = 5,
135
135
  PAYTOTAPROOT = 6
136
136
  }
137
- export declare type OutputScriptType = keyof typeof Enum_OutputScriptType;
137
+ export type OutputScriptType = keyof typeof Enum_OutputScriptType;
138
138
  export declare enum DecredStakingSpendType {
139
139
  SSGen = 0,
140
140
  SSRTX = 1
@@ -145,7 +145,7 @@ export declare enum AmountUnit {
145
145
  MICROBITCOIN = 2,
146
146
  SATOSHI = 3
147
147
  }
148
- export declare type HDNodeType = {
148
+ export type HDNodeType = {
149
149
  depth: number;
150
150
  fingerprint: number;
151
151
  child_num: number;
@@ -153,18 +153,18 @@ export declare type HDNodeType = {
153
153
  private_key?: string;
154
154
  public_key: string;
155
155
  };
156
- export declare type HDNodePathType = {
156
+ export type HDNodePathType = {
157
157
  node: HDNodeType | string;
158
158
  address_n: number[];
159
159
  };
160
- export declare type MultisigRedeemScriptType = {
160
+ export type MultisigRedeemScriptType = {
161
161
  pubkeys: HDNodePathType[];
162
162
  signatures: string[];
163
163
  m: number;
164
164
  nodes?: HDNodeType[];
165
165
  address_n?: number[];
166
166
  };
167
- export declare type GetPublicKey = {
167
+ export type GetPublicKey = {
168
168
  address_n: number[];
169
169
  ecdsa_curve_name?: string;
170
170
  show_display?: boolean;
@@ -172,12 +172,12 @@ export declare type GetPublicKey = {
172
172
  script_type?: InputScriptType;
173
173
  ignore_xpub_magic?: boolean;
174
174
  };
175
- export declare type PublicKey = {
175
+ export type PublicKey = {
176
176
  node: HDNodeType;
177
177
  xpub: string;
178
178
  root_fingerprint?: number;
179
179
  };
180
- export declare type GetAddress = {
180
+ export type GetAddress = {
181
181
  address_n: number[];
182
182
  coin_name?: string;
183
183
  show_display?: boolean;
@@ -185,36 +185,36 @@ export declare type GetAddress = {
185
185
  script_type?: InputScriptType;
186
186
  ignore_xpub_magic?: boolean;
187
187
  };
188
- export declare type Address = {
188
+ export type Address = {
189
189
  address: string;
190
190
  };
191
- export declare type GetOwnershipId = {
191
+ export type GetOwnershipId = {
192
192
  address_n: number[];
193
193
  coin_name?: string;
194
194
  multisig?: MultisigRedeemScriptType;
195
195
  script_type?: InputScriptType;
196
196
  };
197
- export declare type OwnershipId = {
197
+ export type OwnershipId = {
198
198
  ownership_id: string;
199
199
  };
200
- export declare type SignMessage = {
200
+ export type SignMessage = {
201
201
  address_n: number[];
202
202
  message: string;
203
203
  coin_name?: string;
204
204
  script_type?: InputScriptType;
205
205
  no_script_type?: boolean;
206
206
  };
207
- export declare type MessageSignature = {
207
+ export type MessageSignature = {
208
208
  address: string;
209
209
  signature: string;
210
210
  };
211
- export declare type VerifyMessage = {
211
+ export type VerifyMessage = {
212
212
  address: string;
213
213
  signature: string;
214
214
  message: string;
215
215
  coin_name?: string;
216
216
  };
217
- export declare type SignTx = {
217
+ export type SignTx = {
218
218
  outputs_count: number;
219
219
  inputs_count: number;
220
220
  coin_name?: string;
@@ -237,25 +237,25 @@ export declare enum Enum_RequestType {
237
237
  TXORIGINPUT = 5,
238
238
  TXORIGOUTPUT = 6
239
239
  }
240
- export declare type RequestType = keyof typeof Enum_RequestType;
241
- export declare type TxRequestDetailsType = {
240
+ export type RequestType = keyof typeof Enum_RequestType;
241
+ export type TxRequestDetailsType = {
242
242
  request_index: number;
243
243
  tx_hash?: string;
244
244
  extra_data_len?: number;
245
245
  extra_data_offset?: number;
246
246
  };
247
- export declare type TxRequestSerializedType = {
247
+ export type TxRequestSerializedType = {
248
248
  signature_index?: number;
249
249
  signature?: string;
250
250
  serialized_tx?: string;
251
251
  };
252
- export declare type TxRequest = {
252
+ export type TxRequest = {
253
253
  request_type: RequestType;
254
254
  details: TxRequestDetailsType;
255
255
  serialized?: TxRequestSerializedType;
256
256
  };
257
- export declare type InternalInputScriptType = Exclude<InputScriptType, 'EXTERNAL'>;
258
- declare type CommonTxInputType = {
257
+ export type InternalInputScriptType = Exclude<InputScriptType, 'EXTERNAL'>;
258
+ type CommonTxInputType = {
259
259
  prev_hash: string;
260
260
  prev_index: number;
261
261
  amount: UintType;
@@ -271,7 +271,7 @@ declare type CommonTxInputType = {
271
271
  ownership_proof?: string;
272
272
  commitment_data?: string;
273
273
  };
274
- export declare type TxInputType = (CommonTxInputType & {
274
+ export type TxInputType = (CommonTxInputType & {
275
275
  address_n: number[];
276
276
  script_type?: InternalInputScriptType;
277
277
  }) | (CommonTxInputType & {
@@ -279,14 +279,14 @@ export declare type TxInputType = (CommonTxInputType & {
279
279
  script_type: 'EXTERNAL';
280
280
  script_pubkey: string;
281
281
  });
282
- export declare type TxInput = TxInputType;
283
- export declare type TxOutputBinType = {
282
+ export type TxInput = TxInputType;
283
+ export type TxOutputBinType = {
284
284
  amount: UintType;
285
285
  script_pubkey: string;
286
286
  decred_script_version?: number;
287
287
  };
288
- export declare type ChangeOutputScriptType = Exclude<OutputScriptType, 'PAYTOOPRETURN'>;
289
- export declare type TxOutputType = {
288
+ export type ChangeOutputScriptType = Exclude<OutputScriptType, 'PAYTOOPRETURN'>;
289
+ export type TxOutputType = {
290
290
  address: string;
291
291
  address_n?: typeof undefined;
292
292
  script_type: 'PAYTOADDRESS';
@@ -314,8 +314,8 @@ export declare type TxOutputType = {
314
314
  orig_index?: number;
315
315
  payment_req_index?: number;
316
316
  };
317
- export declare type TxOutput = TxOutputType;
318
- export declare type PrevTx = {
317
+ export type TxOutput = TxOutputType;
318
+ export type PrevTx = {
319
319
  version: number;
320
320
  lock_time: number;
321
321
  inputs_count: number;
@@ -326,19 +326,19 @@ export declare type PrevTx = {
326
326
  timestamp?: number;
327
327
  branch_id?: number;
328
328
  };
329
- export declare type PrevInput = {
329
+ export type PrevInput = {
330
330
  prev_hash: string;
331
331
  prev_index: number;
332
332
  script_sig: string;
333
333
  sequence: number;
334
334
  decred_tree?: number;
335
335
  };
336
- export declare type PrevOutput = {
336
+ export type PrevOutput = {
337
337
  amount: UintType;
338
338
  script_pubkey: string;
339
339
  decred_script_version?: number;
340
340
  };
341
- export declare type TxAckResponse = {
341
+ export type TxAckResponse = {
342
342
  inputs: Array<TxInputType | PrevInput>;
343
343
  } | {
344
344
  bin_outputs: TxOutputBinType[];
@@ -358,43 +358,43 @@ export declare type TxAckResponse = {
358
358
  expiry?: number;
359
359
  branch_id?: number;
360
360
  };
361
- export declare type TxAck = {
361
+ export type TxAck = {
362
362
  tx: TxAckResponse;
363
363
  };
364
- export declare type TxAckInputWrapper = {
364
+ export type TxAckInputWrapper = {
365
365
  input: TxInput;
366
366
  };
367
- export declare type TxAckInput = {
367
+ export type TxAckInput = {
368
368
  tx: TxAckInputWrapper;
369
369
  };
370
- export declare type TxAckOutputWrapper = {
370
+ export type TxAckOutputWrapper = {
371
371
  output: TxOutput;
372
372
  };
373
- export declare type TxAckOutput = {
373
+ export type TxAckOutput = {
374
374
  tx: TxAckOutputWrapper;
375
375
  };
376
- export declare type TxAckPrevMeta = {
376
+ export type TxAckPrevMeta = {
377
377
  tx: PrevTx;
378
378
  };
379
- export declare type TxAckPrevInputWrapper = {
379
+ export type TxAckPrevInputWrapper = {
380
380
  input: PrevInput;
381
381
  };
382
- export declare type TxAckPrevInput = {
382
+ export type TxAckPrevInput = {
383
383
  tx: TxAckPrevInputWrapper;
384
384
  };
385
- export declare type TxAckPrevOutputWrapper = {
385
+ export type TxAckPrevOutputWrapper = {
386
386
  output: PrevOutput;
387
387
  };
388
- export declare type TxAckPrevOutput = {
388
+ export type TxAckPrevOutput = {
389
389
  tx: TxAckPrevOutputWrapper;
390
390
  };
391
- export declare type TxAckPrevExtraDataWrapper = {
391
+ export type TxAckPrevExtraDataWrapper = {
392
392
  extra_data_chunk: string;
393
393
  };
394
- export declare type TxAckPrevExtraData = {
394
+ export type TxAckPrevExtraData = {
395
395
  tx: TxAckPrevExtraDataWrapper;
396
396
  };
397
- export declare type GetOwnershipProof = {
397
+ export type GetOwnershipProof = {
398
398
  address_n: number[];
399
399
  coin_name?: string;
400
400
  script_type?: InputScriptType;
@@ -403,11 +403,11 @@ export declare type GetOwnershipProof = {
403
403
  ownership_ids?: string[];
404
404
  commitment_data?: string;
405
405
  };
406
- export declare type OwnershipProof = {
406
+ export type OwnershipProof = {
407
407
  ownership_proof: string;
408
408
  signature: string;
409
409
  };
410
- export declare type AuthorizeCoinJoin = {
410
+ export type AuthorizeCoinJoin = {
411
411
  coordinator: string;
412
412
  max_total_fee: number;
413
413
  fee_per_anonymity?: number;
@@ -416,10 +416,10 @@ export declare type AuthorizeCoinJoin = {
416
416
  script_type?: InputScriptType;
417
417
  amount_unit?: AmountUnit;
418
418
  };
419
- export declare type BIP32Address = {
419
+ export type BIP32Address = {
420
420
  address_n: number[];
421
421
  };
422
- export declare type GetPublicKeyMultiple = {
422
+ export type GetPublicKeyMultiple = {
423
423
  addresses: BIP32Address[];
424
424
  ecdsa_curve_name?: string;
425
425
  show_display?: boolean;
@@ -427,24 +427,24 @@ export declare type GetPublicKeyMultiple = {
427
427
  script_type?: InputScriptType;
428
428
  ignore_xpub_magic?: boolean;
429
429
  };
430
- export declare type PublicKeyMultiple = {
430
+ export type PublicKeyMultiple = {
431
431
  xpubs: string[];
432
432
  };
433
- export declare type FirmwareErase = {
433
+ export type FirmwareErase = {
434
434
  length?: number;
435
435
  };
436
- export declare type FirmwareRequest = {
436
+ export type FirmwareRequest = {
437
437
  offset?: number;
438
438
  length?: number;
439
439
  };
440
- export declare type FirmwareUpload = {
440
+ export type FirmwareUpload = {
441
441
  payload: Buffer | ArrayBuffer;
442
442
  hash?: string;
443
443
  };
444
- export declare type SelfTest = {
444
+ export type SelfTest = {
445
445
  payload?: string;
446
446
  };
447
- export declare type FirmwareErase_ex = {
447
+ export type FirmwareErase_ex = {
448
448
  length?: number;
449
449
  };
450
450
  export declare enum RebootType {
@@ -452,10 +452,10 @@ export declare enum RebootType {
452
452
  Boardloader = 1,
453
453
  BootLoader = 2
454
454
  }
455
- export declare type Reboot = {
455
+ export type Reboot = {
456
456
  reboot_type: RebootType;
457
457
  };
458
- export declare type FirmwareUpdateEmmc = {
458
+ export type FirmwareUpdateEmmc = {
459
459
  path: string;
460
460
  reboot_on_success?: boolean;
461
461
  };
@@ -523,12 +523,12 @@ export declare enum CardanoTxWitnessType {
523
523
  BYRON_WITNESS = 0,
524
524
  SHELLEY_WITNESS = 1
525
525
  }
526
- export declare type CardanoBlockchainPointerType = {
526
+ export type CardanoBlockchainPointerType = {
527
527
  block_index: number;
528
528
  tx_index: number;
529
529
  certificate_index: number;
530
530
  };
531
- export declare type CardanoNativeScript = {
531
+ export type CardanoNativeScript = {
532
532
  type: CardanoNativeScriptType;
533
533
  scripts?: CardanoNativeScript[];
534
534
  key_hash?: string;
@@ -537,15 +537,15 @@ export declare type CardanoNativeScript = {
537
537
  invalid_before?: UintType;
538
538
  invalid_hereafter?: UintType;
539
539
  };
540
- export declare type CardanoGetNativeScriptHash = {
540
+ export type CardanoGetNativeScriptHash = {
541
541
  script: CardanoNativeScript;
542
542
  display_format: CardanoNativeScriptHashDisplayFormat;
543
543
  derivation_type: CardanoDerivationType;
544
544
  };
545
- export declare type CardanoNativeScriptHash = {
545
+ export type CardanoNativeScriptHash = {
546
546
  script_hash: string;
547
547
  };
548
- export declare type CardanoAddressParametersType = {
548
+ export type CardanoAddressParametersType = {
549
549
  address_type: CardanoAddressType;
550
550
  address_n: number[];
551
551
  address_n_staking: number[];
@@ -554,26 +554,26 @@ export declare type CardanoAddressParametersType = {
554
554
  script_payment_hash?: string;
555
555
  script_staking_hash?: string;
556
556
  };
557
- export declare type CardanoGetAddress = {
557
+ export type CardanoGetAddress = {
558
558
  show_display?: boolean;
559
559
  protocol_magic: number;
560
560
  network_id: number;
561
561
  address_parameters: CardanoAddressParametersType;
562
562
  derivation_type: CardanoDerivationType;
563
563
  };
564
- export declare type CardanoAddress = {
564
+ export type CardanoAddress = {
565
565
  address: string;
566
566
  };
567
- export declare type CardanoGetPublicKey = {
567
+ export type CardanoGetPublicKey = {
568
568
  address_n: number[];
569
569
  show_display?: boolean;
570
570
  derivation_type: CardanoDerivationType;
571
571
  };
572
- export declare type CardanoPublicKey = {
572
+ export type CardanoPublicKey = {
573
573
  xpub: string;
574
574
  node: HDNodeType;
575
575
  };
576
- export declare type CardanoSignTxInit = {
576
+ export type CardanoSignTxInit = {
577
577
  signing_mode: CardanoTxSigningMode;
578
578
  protocol_magic: number;
579
579
  network_id: number;
@@ -596,11 +596,11 @@ export declare type CardanoSignTxInit = {
596
596
  total_collateral?: UintType;
597
597
  reference_inputs_count?: number;
598
598
  };
599
- export declare type CardanoTxInput = {
599
+ export type CardanoTxInput = {
600
600
  prev_hash: string;
601
601
  prev_index: number;
602
602
  };
603
- export declare type CardanoTxOutput = {
603
+ export type CardanoTxOutput = {
604
604
  address?: string;
605
605
  address_parameters?: CardanoAddressParametersType;
606
606
  amount: UintType;
@@ -610,37 +610,37 @@ export declare type CardanoTxOutput = {
610
610
  inline_datum_size?: number;
611
611
  reference_script_size?: number;
612
612
  };
613
- export declare type CardanoAssetGroup = {
613
+ export type CardanoAssetGroup = {
614
614
  policy_id: string;
615
615
  tokens_count: number;
616
616
  };
617
- export declare type CardanoToken = {
617
+ export type CardanoToken = {
618
618
  asset_name_bytes: string;
619
619
  amount?: UintType;
620
620
  mint_amount?: UintType;
621
621
  };
622
- export declare type CardanoTxInlineDatumChunk = {
622
+ export type CardanoTxInlineDatumChunk = {
623
623
  data: string;
624
624
  };
625
- export declare type CardanoTxReferenceScriptChunk = {
625
+ export type CardanoTxReferenceScriptChunk = {
626
626
  data: string;
627
627
  };
628
- export declare type CardanoPoolOwner = {
628
+ export type CardanoPoolOwner = {
629
629
  staking_key_path?: number[];
630
630
  staking_key_hash?: string;
631
631
  };
632
- export declare type CardanoPoolRelayParameters = {
632
+ export type CardanoPoolRelayParameters = {
633
633
  type: CardanoPoolRelayType;
634
634
  ipv4_address?: string;
635
635
  ipv6_address?: string;
636
636
  host_name?: string;
637
637
  port?: number;
638
638
  };
639
- export declare type CardanoPoolMetadataType = {
639
+ export type CardanoPoolMetadataType = {
640
640
  url: string;
641
641
  hash: string;
642
642
  };
643
- export declare type CardanoPoolParametersType = {
643
+ export type CardanoPoolParametersType = {
644
644
  pool_id: string;
645
645
  vrf_key_hash: string;
646
646
  pledge: UintType;
@@ -652,7 +652,7 @@ export declare type CardanoPoolParametersType = {
652
652
  owners_count: number;
653
653
  relays_count: number;
654
654
  };
655
- export declare type CardanoTxCertificate = {
655
+ export type CardanoTxCertificate = {
656
656
  type: CardanoCertificateType;
657
657
  path?: number[];
658
658
  pool?: string;
@@ -660,17 +660,17 @@ export declare type CardanoTxCertificate = {
660
660
  script_hash?: string;
661
661
  key_hash?: string;
662
662
  };
663
- export declare type CardanoTxWithdrawal = {
663
+ export type CardanoTxWithdrawal = {
664
664
  path?: number[];
665
665
  amount: UintType;
666
666
  script_hash?: string;
667
667
  key_hash?: string;
668
668
  };
669
- export declare type CardanoGovernanceRegistrationDelegation = {
669
+ export type CardanoGovernanceRegistrationDelegation = {
670
670
  voting_public_key: string;
671
671
  weight: number;
672
672
  };
673
- export declare type CardanoGovernanceRegistrationParametersType = {
673
+ export type CardanoGovernanceRegistrationParametersType = {
674
674
  voting_public_key?: string;
675
675
  staking_path: number[];
676
676
  reward_address_parameters: CardanoAddressParametersType;
@@ -679,56 +679,56 @@ export declare type CardanoGovernanceRegistrationParametersType = {
679
679
  delegations: CardanoGovernanceRegistrationDelegation[];
680
680
  voting_purpose?: number;
681
681
  };
682
- export declare type CardanoTxAuxiliaryData = {
682
+ export type CardanoTxAuxiliaryData = {
683
683
  governance_registration_parameters?: CardanoGovernanceRegistrationParametersType;
684
684
  hash?: string;
685
685
  };
686
- export declare type CardanoTxMint = {
686
+ export type CardanoTxMint = {
687
687
  asset_groups_count: number;
688
688
  };
689
- export declare type CardanoTxCollateralInput = {
689
+ export type CardanoTxCollateralInput = {
690
690
  prev_hash: string;
691
691
  prev_index: number;
692
692
  };
693
- export declare type CardanoTxRequiredSigner = {
693
+ export type CardanoTxRequiredSigner = {
694
694
  key_hash?: string;
695
695
  key_path?: number[];
696
696
  };
697
- export declare type CardanoTxReferenceInput = {
697
+ export type CardanoTxReferenceInput = {
698
698
  prev_hash: string;
699
699
  prev_index: number;
700
700
  };
701
- export declare type CardanoTxItemAck = {};
702
- export declare type CardanoTxAuxiliaryDataSupplement = {
701
+ export type CardanoTxItemAck = {};
702
+ export type CardanoTxAuxiliaryDataSupplement = {
703
703
  type: CardanoTxAuxiliaryDataSupplementType;
704
704
  auxiliary_data_hash?: string;
705
705
  governance_signature?: string;
706
706
  };
707
- export declare type CardanoTxWitnessRequest = {
707
+ export type CardanoTxWitnessRequest = {
708
708
  path: number[];
709
709
  };
710
- export declare type CardanoTxWitnessResponse = {
710
+ export type CardanoTxWitnessResponse = {
711
711
  type: CardanoTxWitnessType;
712
712
  pub_key: string;
713
713
  signature: string;
714
714
  chain_code?: string;
715
715
  };
716
- export declare type CardanoTxHostAck = {};
717
- export declare type CardanoTxBodyHash = {
716
+ export type CardanoTxHostAck = {};
717
+ export type CardanoTxBodyHash = {
718
718
  tx_hash: string;
719
719
  };
720
- export declare type CardanoSignTxFinished = {};
721
- export declare type CardanoSignMessage = {
720
+ export type CardanoSignTxFinished = {};
721
+ export type CardanoSignMessage = {
722
722
  address_n: number[];
723
723
  message: string;
724
724
  derivation_type: CardanoDerivationType;
725
725
  network_id: number;
726
726
  };
727
- export declare type CardanoMessageSignature = {
727
+ export type CardanoMessageSignature = {
728
728
  signature: string;
729
729
  key: string;
730
730
  };
731
- export declare type Success = {
731
+ export type Success = {
732
732
  message: string;
733
733
  };
734
734
  export declare enum FailureType {
@@ -748,7 +748,7 @@ export declare enum FailureType {
748
748
  Failure_InvalidSession = 14,
749
749
  Failure_FirmwareError = 99
750
750
  }
751
- export declare type Failure = {
751
+ export type Failure = {
752
752
  code?: FailureType;
753
753
  message?: string;
754
754
  };
@@ -774,12 +774,12 @@ export declare enum Enum_ButtonRequestType {
774
774
  ButtonRequest_PassphraseEntry = 19,
775
775
  ButtonRequest_PinEntry = 20
776
776
  }
777
- export declare type ButtonRequestType = keyof typeof Enum_ButtonRequestType;
778
- export declare type ButtonRequest = {
777
+ export type ButtonRequestType = keyof typeof Enum_ButtonRequestType;
778
+ export type ButtonRequest = {
779
779
  code?: ButtonRequestType;
780
780
  pages?: number;
781
781
  };
782
- export declare type ButtonAck = {};
782
+ export type ButtonAck = {};
783
783
  export declare enum Enum_PinMatrixRequestType {
784
784
  PinMatrixRequestType_Current = 1,
785
785
  PinMatrixRequestType_NewFirst = 2,
@@ -789,36 +789,36 @@ export declare enum Enum_PinMatrixRequestType {
789
789
  PinMatrixRequestType_BackupFirst = 6,
790
790
  PinMatrixRequestType_BackupSecond = 7
791
791
  }
792
- export declare type PinMatrixRequestType = keyof typeof Enum_PinMatrixRequestType;
793
- export declare type PinMatrixRequest = {
792
+ export type PinMatrixRequestType = keyof typeof Enum_PinMatrixRequestType;
793
+ export type PinMatrixRequest = {
794
794
  type?: PinMatrixRequestType;
795
795
  };
796
- export declare type PinMatrixAck = {
796
+ export type PinMatrixAck = {
797
797
  pin: string;
798
798
  new_pin?: string;
799
799
  };
800
- export declare type PassphraseRequest = {
800
+ export type PassphraseRequest = {
801
801
  _on_device?: boolean;
802
802
  };
803
- export declare type PassphraseAck = {
803
+ export type PassphraseAck = {
804
804
  passphrase?: string;
805
805
  _state?: string;
806
806
  on_device?: boolean;
807
807
  };
808
- export declare type Deprecated_PassphraseStateRequest = {
808
+ export type Deprecated_PassphraseStateRequest = {
809
809
  state?: string;
810
810
  };
811
- export declare type Deprecated_PassphraseStateAck = {};
812
- export declare type BixinPinInputOnDevice = {};
813
- export declare type ConfluxGetAddress = {
811
+ export type Deprecated_PassphraseStateAck = {};
812
+ export type BixinPinInputOnDevice = {};
813
+ export type ConfluxGetAddress = {
814
814
  address_n: number[];
815
815
  show_display?: boolean;
816
816
  chain_id?: number;
817
817
  };
818
- export declare type ConfluxAddress = {
818
+ export type ConfluxAddress = {
819
819
  address?: string;
820
820
  };
821
- export declare type ConfluxSignTx = {
821
+ export type ConfluxSignTx = {
822
822
  address_n: number[];
823
823
  nonce?: string;
824
824
  gas_price?: string;
@@ -831,44 +831,44 @@ export declare type ConfluxSignTx = {
831
831
  data_length?: number;
832
832
  chain_id?: number;
833
833
  };
834
- export declare type ConfluxTxRequest = {
834
+ export type ConfluxTxRequest = {
835
835
  data_length?: number;
836
836
  signature_v?: number;
837
837
  signature_r?: string;
838
838
  signature_s?: string;
839
839
  };
840
- export declare type ConfluxTxAck = {
840
+ export type ConfluxTxAck = {
841
841
  data_chunk?: string;
842
842
  };
843
- export declare type ConfluxSignMessage = {
843
+ export type ConfluxSignMessage = {
844
844
  address_n: number[];
845
845
  message?: string;
846
846
  };
847
- export declare type ConfluxMessageSignature = {
847
+ export type ConfluxMessageSignature = {
848
848
  signature?: string;
849
849
  address?: string;
850
850
  };
851
- export declare type ConfluxSignMessageCIP23 = {
851
+ export type ConfluxSignMessageCIP23 = {
852
852
  address_n: number[];
853
853
  domain_hash?: string;
854
854
  message_hash?: string;
855
855
  };
856
- export declare type CosmosGetAddress = {
856
+ export type CosmosGetAddress = {
857
857
  address_n: number[];
858
858
  hrp?: string;
859
859
  show_display?: boolean;
860
860
  };
861
- export declare type CosmosAddress = {
861
+ export type CosmosAddress = {
862
862
  address?: string;
863
863
  };
864
- export declare type CosmosSignTx = {
864
+ export type CosmosSignTx = {
865
865
  address_n: number[];
866
866
  raw_tx: string;
867
867
  };
868
- export declare type CosmosSignedTx = {
868
+ export type CosmosSignedTx = {
869
869
  signature: string;
870
870
  };
871
- export declare type CipherKeyValue = {
871
+ export type CipherKeyValue = {
872
872
  address_n: number[];
873
873
  key: string;
874
874
  value: string;
@@ -877,10 +877,10 @@ export declare type CipherKeyValue = {
877
877
  ask_on_decrypt?: boolean;
878
878
  iv?: string;
879
879
  };
880
- export declare type CipheredKeyValue = {
880
+ export type CipheredKeyValue = {
881
881
  value: string;
882
882
  };
883
- export declare type IdentityType = {
883
+ export type IdentityType = {
884
884
  proto?: string;
885
885
  user?: string;
886
886
  host?: string;
@@ -888,38 +888,38 @@ export declare type IdentityType = {
888
888
  path?: string;
889
889
  index?: number;
890
890
  };
891
- export declare type SignIdentity = {
891
+ export type SignIdentity = {
892
892
  identity: IdentityType;
893
893
  challenge_hidden?: string;
894
894
  challenge_visual?: string;
895
895
  ecdsa_curve_name?: string;
896
896
  };
897
- export declare type SignedIdentity = {
897
+ export type SignedIdentity = {
898
898
  address: string;
899
899
  public_key: string;
900
900
  signature: string;
901
901
  };
902
- export declare type GetECDHSessionKey = {
902
+ export type GetECDHSessionKey = {
903
903
  identity: IdentityType;
904
904
  peer_public_key: string;
905
905
  ecdsa_curve_name?: string;
906
906
  };
907
- export declare type ECDHSessionKey = {
907
+ export type ECDHSessionKey = {
908
908
  session_key: string;
909
909
  public_key?: string;
910
910
  };
911
- export declare type Path = {
911
+ export type Path = {
912
912
  address_n: number[];
913
913
  };
914
- export declare type BatchGetPublickeys = {
914
+ export type BatchGetPublickeys = {
915
915
  ecdsa_curve_name?: string;
916
916
  paths: Path[];
917
917
  };
918
- export declare type EcdsaPublicKeys = {
918
+ export type EcdsaPublicKeys = {
919
919
  public_keys: string[];
920
920
  };
921
- export declare type EmmcFixPermission = {};
922
- export declare type EmmcPath = {
921
+ export type EmmcFixPermission = {};
922
+ export type EmmcPath = {
923
923
  exist: boolean;
924
924
  size: number;
925
925
  year: number;
@@ -934,10 +934,10 @@ export declare type EmmcPath = {
934
934
  archive: boolean;
935
935
  directory: boolean;
936
936
  };
937
- export declare type EmmcPathInfo = {
937
+ export type EmmcPathInfo = {
938
938
  path: string;
939
939
  };
940
- export declare type EmmcFile = {
940
+ export type EmmcFile = {
941
941
  path: string;
942
942
  offset: number;
943
943
  len: number;
@@ -945,42 +945,42 @@ export declare type EmmcFile = {
945
945
  data_hash?: number;
946
946
  processed_byte?: number;
947
947
  };
948
- export declare type EmmcFileRead = {
948
+ export type EmmcFileRead = {
949
949
  file: EmmcFile;
950
950
  ui_percentage?: number;
951
951
  };
952
- export declare type EmmcFileWrite = {
952
+ export type EmmcFileWrite = {
953
953
  file: EmmcFile;
954
954
  overwrite: boolean;
955
955
  append: boolean;
956
956
  ui_percentage?: number;
957
957
  };
958
- export declare type EmmcFileDelete = {
958
+ export type EmmcFileDelete = {
959
959
  path: string;
960
960
  };
961
- export declare type EmmcDir = {
961
+ export type EmmcDir = {
962
962
  path: string;
963
963
  child_dirs?: string;
964
964
  child_files?: string;
965
965
  };
966
- export declare type EmmcDirList = {
966
+ export type EmmcDirList = {
967
967
  path: string;
968
968
  };
969
- export declare type EmmcDirMake = {
969
+ export type EmmcDirMake = {
970
970
  path: string;
971
971
  };
972
- export declare type EmmcDirRemove = {
972
+ export type EmmcDirRemove = {
973
973
  path: string;
974
974
  };
975
- export declare type EosGetPublicKey = {
975
+ export type EosGetPublicKey = {
976
976
  address_n: number[];
977
977
  show_display?: boolean;
978
978
  };
979
- export declare type EosPublicKey = {
979
+ export type EosPublicKey = {
980
980
  wif_public_key: string;
981
981
  raw_public_key: string;
982
982
  };
983
- export declare type EosTxHeader = {
983
+ export type EosTxHeader = {
984
984
  expiration: number;
985
985
  ref_block_num: number;
986
986
  ref_block_prefix: number;
@@ -988,121 +988,121 @@ export declare type EosTxHeader = {
988
988
  max_cpu_usage_ms: number;
989
989
  delay_sec: number;
990
990
  };
991
- export declare type EosSignTx = {
991
+ export type EosSignTx = {
992
992
  address_n: number[];
993
993
  chain_id?: string;
994
994
  header?: EosTxHeader;
995
995
  num_actions?: number;
996
996
  };
997
- export declare type EosTxActionRequest = {
997
+ export type EosTxActionRequest = {
998
998
  data_size?: number;
999
999
  };
1000
- export declare type EosAsset = {
1000
+ export type EosAsset = {
1001
1001
  amount?: UintType;
1002
1002
  symbol?: string;
1003
1003
  };
1004
- export declare type EosPermissionLevel = {
1004
+ export type EosPermissionLevel = {
1005
1005
  actor?: string;
1006
1006
  permission?: string;
1007
1007
  };
1008
- export declare type EosAuthorizationKey = {
1008
+ export type EosAuthorizationKey = {
1009
1009
  type?: number;
1010
1010
  key: string;
1011
1011
  address_n?: number[];
1012
1012
  weight: number;
1013
1013
  };
1014
- export declare type EosAuthorizationAccount = {
1014
+ export type EosAuthorizationAccount = {
1015
1015
  account?: EosPermissionLevel;
1016
1016
  weight?: number;
1017
1017
  };
1018
- export declare type EosAuthorizationWait = {
1018
+ export type EosAuthorizationWait = {
1019
1019
  wait_sec?: number;
1020
1020
  weight?: number;
1021
1021
  };
1022
- export declare type EosAuthorization = {
1022
+ export type EosAuthorization = {
1023
1023
  threshold?: number;
1024
1024
  keys: EosAuthorizationKey[];
1025
1025
  accounts: EosAuthorizationAccount[];
1026
1026
  waits: EosAuthorizationWait[];
1027
1027
  };
1028
- export declare type EosActionCommon = {
1028
+ export type EosActionCommon = {
1029
1029
  account?: string;
1030
1030
  name?: string;
1031
1031
  authorization: EosPermissionLevel[];
1032
1032
  };
1033
- export declare type EosActionTransfer = {
1033
+ export type EosActionTransfer = {
1034
1034
  sender?: string;
1035
1035
  receiver?: string;
1036
1036
  quantity?: EosAsset;
1037
1037
  memo?: string;
1038
1038
  };
1039
- export declare type EosActionDelegate = {
1039
+ export type EosActionDelegate = {
1040
1040
  sender?: string;
1041
1041
  receiver?: string;
1042
1042
  net_quantity?: EosAsset;
1043
1043
  cpu_quantity?: EosAsset;
1044
1044
  transfer?: boolean;
1045
1045
  };
1046
- export declare type EosActionUndelegate = {
1046
+ export type EosActionUndelegate = {
1047
1047
  sender?: string;
1048
1048
  receiver?: string;
1049
1049
  net_quantity?: EosAsset;
1050
1050
  cpu_quantity?: EosAsset;
1051
1051
  };
1052
- export declare type EosActionRefund = {
1052
+ export type EosActionRefund = {
1053
1053
  owner?: string;
1054
1054
  };
1055
- export declare type EosActionBuyRam = {
1055
+ export type EosActionBuyRam = {
1056
1056
  payer?: string;
1057
1057
  receiver?: string;
1058
1058
  quantity?: EosAsset;
1059
1059
  };
1060
- export declare type EosActionBuyRamBytes = {
1060
+ export type EosActionBuyRamBytes = {
1061
1061
  payer?: string;
1062
1062
  receiver?: string;
1063
1063
  bytes?: number;
1064
1064
  };
1065
- export declare type EosActionSellRam = {
1065
+ export type EosActionSellRam = {
1066
1066
  account?: string;
1067
1067
  bytes?: number;
1068
1068
  };
1069
- export declare type EosActionVoteProducer = {
1069
+ export type EosActionVoteProducer = {
1070
1070
  voter?: string;
1071
1071
  proxy?: string;
1072
1072
  producers: string[];
1073
1073
  };
1074
- export declare type EosActionUpdateAuth = {
1074
+ export type EosActionUpdateAuth = {
1075
1075
  account?: string;
1076
1076
  permission?: string;
1077
1077
  parent?: string;
1078
1078
  auth?: EosAuthorization;
1079
1079
  };
1080
- export declare type EosActionDeleteAuth = {
1080
+ export type EosActionDeleteAuth = {
1081
1081
  account?: string;
1082
1082
  permission?: string;
1083
1083
  };
1084
- export declare type EosActionLinkAuth = {
1084
+ export type EosActionLinkAuth = {
1085
1085
  account?: string;
1086
1086
  code?: string;
1087
1087
  type?: string;
1088
1088
  requirement?: string;
1089
1089
  };
1090
- export declare type EosActionUnlinkAuth = {
1090
+ export type EosActionUnlinkAuth = {
1091
1091
  account?: string;
1092
1092
  code?: string;
1093
1093
  type?: string;
1094
1094
  };
1095
- export declare type EosActionNewAccount = {
1095
+ export type EosActionNewAccount = {
1096
1096
  creator?: string;
1097
1097
  name?: string;
1098
1098
  owner?: EosAuthorization;
1099
1099
  active?: EosAuthorization;
1100
1100
  };
1101
- export declare type EosActionUnknown = {
1101
+ export type EosActionUnknown = {
1102
1102
  data_size: number;
1103
1103
  data_chunk?: string;
1104
1104
  };
1105
- export declare type EosTxActionAck = {
1105
+ export type EosTxActionAck = {
1106
1106
  common?: EosActionCommon;
1107
1107
  transfer?: EosActionTransfer;
1108
1108
  delegate?: EosActionDelegate;
@@ -1119,14 +1119,14 @@ export declare type EosTxActionAck = {
1119
1119
  new_account?: EosActionNewAccount;
1120
1120
  unknown?: EosActionUnknown;
1121
1121
  };
1122
- export declare type EosSignedTx = {
1122
+ export type EosSignedTx = {
1123
1123
  signature: string;
1124
1124
  };
1125
1125
  export declare enum EthereumDefinitionType {
1126
1126
  NETWORK = 0,
1127
1127
  TOKEN = 1
1128
1128
  }
1129
- export declare type EthereumNetworkInfo = {
1129
+ export type EthereumNetworkInfo = {
1130
1130
  chain_id: number;
1131
1131
  symbol: string;
1132
1132
  slip44: number;
@@ -1134,31 +1134,31 @@ export declare type EthereumNetworkInfo = {
1134
1134
  icon?: string;
1135
1135
  primary_color?: number;
1136
1136
  };
1137
- export declare type EthereumTokenInfo = {
1137
+ export type EthereumTokenInfo = {
1138
1138
  address: string;
1139
1139
  chain_id: number;
1140
1140
  symbol: string;
1141
1141
  decimals: number;
1142
1142
  name: string;
1143
1143
  };
1144
- export declare type EthereumDefinitions = {
1144
+ export type EthereumDefinitions = {
1145
1145
  encoded_network?: ArrayBuffer;
1146
1146
  encoded_token?: ArrayBuffer;
1147
1147
  };
1148
- export declare type EthereumSignTypedDataOneKey = {
1148
+ export type EthereumSignTypedDataOneKey = {
1149
1149
  address_n: number[];
1150
1150
  primary_type: string;
1151
1151
  metamask_v4_compat?: boolean;
1152
1152
  chain_id?: number;
1153
1153
  };
1154
- export declare type EthereumTypedDataStructRequestOneKey = {
1154
+ export type EthereumTypedDataStructRequestOneKey = {
1155
1155
  name: string;
1156
1156
  };
1157
- export declare type EthereumStructMemberOneKey = {
1157
+ export type EthereumStructMemberOneKey = {
1158
1158
  type: EthereumFieldTypeOneKey;
1159
1159
  name: string;
1160
1160
  };
1161
- export declare type EthereumFieldTypeOneKey = {
1161
+ export type EthereumFieldTypeOneKey = {
1162
1162
  data_type: EthereumDataTypeOneKey;
1163
1163
  size?: number;
1164
1164
  entry_type?: EthereumFieldTypeOneKey;
@@ -1174,22 +1174,22 @@ export declare enum EthereumDataTypeOneKey {
1174
1174
  ARRAY = 7,
1175
1175
  STRUCT = 8
1176
1176
  }
1177
- export declare type EthereumTypedDataStructAckOneKey = {
1177
+ export type EthereumTypedDataStructAckOneKey = {
1178
1178
  members: EthereumStructMemberOneKey[];
1179
1179
  };
1180
- export declare type EthereumTypedDataValueRequestOneKey = {
1180
+ export type EthereumTypedDataValueRequestOneKey = {
1181
1181
  member_path: number[];
1182
1182
  };
1183
- export declare type EthereumTypedDataValueAckOneKey = {
1183
+ export type EthereumTypedDataValueAckOneKey = {
1184
1184
  value: string;
1185
1185
  };
1186
- export declare type EthereumSignTypedData = {
1186
+ export type EthereumSignTypedData = {
1187
1187
  address_n: number[];
1188
1188
  primary_type: string;
1189
1189
  metamask_v4_compat?: boolean;
1190
1190
  definitions?: EthereumDefinitions;
1191
1191
  };
1192
- export declare type EthereumTypedDataStructRequest = {
1192
+ export type EthereumTypedDataStructRequest = {
1193
1193
  name: string;
1194
1194
  };
1195
1195
  export declare enum EthereumDataType {
@@ -1202,44 +1202,44 @@ export declare enum EthereumDataType {
1202
1202
  ARRAY = 7,
1203
1203
  STRUCT = 8
1204
1204
  }
1205
- export declare type EthereumFieldType = {
1205
+ export type EthereumFieldType = {
1206
1206
  data_type: EthereumDataType;
1207
1207
  size?: number;
1208
1208
  entry_type?: EthereumFieldType;
1209
1209
  struct_name?: string;
1210
1210
  };
1211
- export declare type EthereumStructMember = {
1211
+ export type EthereumStructMember = {
1212
1212
  type: EthereumFieldType;
1213
1213
  name: string;
1214
1214
  };
1215
- export declare type EthereumTypedDataStructAck = {
1215
+ export type EthereumTypedDataStructAck = {
1216
1216
  members: EthereumStructMember[];
1217
1217
  };
1218
- export declare type EthereumTypedDataValueRequest = {
1218
+ export type EthereumTypedDataValueRequest = {
1219
1219
  member_path: number[];
1220
1220
  };
1221
- export declare type EthereumTypedDataValueAck = {
1221
+ export type EthereumTypedDataValueAck = {
1222
1222
  value: string;
1223
1223
  };
1224
- export declare type EthereumGetPublicKeyOneKey = {
1224
+ export type EthereumGetPublicKeyOneKey = {
1225
1225
  address_n: number[];
1226
1226
  show_display?: boolean;
1227
1227
  chain_id?: number;
1228
1228
  };
1229
- export declare type EthereumPublicKeyOneKey = {
1229
+ export type EthereumPublicKeyOneKey = {
1230
1230
  node: HDNodeType;
1231
1231
  xpub: string;
1232
1232
  };
1233
- export declare type EthereumGetAddressOneKey = {
1233
+ export type EthereumGetAddressOneKey = {
1234
1234
  address_n: number[];
1235
1235
  show_display?: boolean;
1236
1236
  chain_id?: number;
1237
1237
  };
1238
- export declare type EthereumAddressOneKey = {
1238
+ export type EthereumAddressOneKey = {
1239
1239
  _old_address?: string;
1240
1240
  address?: string;
1241
1241
  };
1242
- export declare type EthereumSignTxOneKey = {
1242
+ export type EthereumSignTxOneKey = {
1243
1243
  address_n: number[];
1244
1244
  nonce?: string;
1245
1245
  gas_price: string;
@@ -1251,11 +1251,11 @@ export declare type EthereumSignTxOneKey = {
1251
1251
  chain_id: number;
1252
1252
  tx_type?: number;
1253
1253
  };
1254
- export declare type EthereumAccessListOneKey = {
1254
+ export type EthereumAccessListOneKey = {
1255
1255
  address: string;
1256
1256
  storage_keys: string[];
1257
1257
  };
1258
- export declare type EthereumSignTxEIP1559OneKey = {
1258
+ export type EthereumSignTxEIP1559OneKey = {
1259
1259
  address_n: number[];
1260
1260
  nonce: string;
1261
1261
  max_gas_fee: string;
@@ -1268,63 +1268,63 @@ export declare type EthereumSignTxEIP1559OneKey = {
1268
1268
  chain_id: number;
1269
1269
  access_list: EthereumAccessListOneKey[];
1270
1270
  };
1271
- export declare type EthereumTxRequestOneKey = {
1271
+ export type EthereumTxRequestOneKey = {
1272
1272
  data_length?: number;
1273
1273
  signature_v?: number;
1274
1274
  signature_r?: string;
1275
1275
  signature_s?: string;
1276
1276
  };
1277
- export declare type EthereumTxAckOneKey = {
1277
+ export type EthereumTxAckOneKey = {
1278
1278
  data_chunk: string;
1279
1279
  };
1280
- export declare type EthereumSignMessageOneKey = {
1280
+ export type EthereumSignMessageOneKey = {
1281
1281
  address_n: number[];
1282
1282
  message: string;
1283
1283
  chain_id?: number;
1284
1284
  };
1285
- export declare type EthereumMessageSignatureOneKey = {
1285
+ export type EthereumMessageSignatureOneKey = {
1286
1286
  signature: string;
1287
1287
  address: string;
1288
1288
  };
1289
- export declare type EthereumVerifyMessageOneKey = {
1289
+ export type EthereumVerifyMessageOneKey = {
1290
1290
  signature: string;
1291
1291
  message: string;
1292
1292
  address: string;
1293
1293
  chain_id?: number;
1294
1294
  };
1295
- export declare type EthereumSignTypedHashOneKey = {
1295
+ export type EthereumSignTypedHashOneKey = {
1296
1296
  address_n: number[];
1297
1297
  domain_separator_hash: string;
1298
1298
  message_hash?: string;
1299
1299
  chain_id?: number;
1300
1300
  };
1301
- export declare type EthereumTypedDataSignatureOneKey = {
1301
+ export type EthereumTypedDataSignatureOneKey = {
1302
1302
  signature: string;
1303
1303
  address: string;
1304
1304
  };
1305
- export declare type EthereumSignMessageEIP712 = {
1305
+ export type EthereumSignMessageEIP712 = {
1306
1306
  address_n: number[];
1307
1307
  domain_hash?: string;
1308
1308
  message_hash?: string;
1309
1309
  };
1310
- export declare type EthereumGetPublicKey = {
1310
+ export type EthereumGetPublicKey = {
1311
1311
  address_n: number[];
1312
1312
  show_display?: boolean;
1313
1313
  };
1314
- export declare type EthereumPublicKey = {
1314
+ export type EthereumPublicKey = {
1315
1315
  node: HDNodeType;
1316
1316
  xpub: string;
1317
1317
  };
1318
- export declare type EthereumGetAddress = {
1318
+ export type EthereumGetAddress = {
1319
1319
  address_n: number[];
1320
1320
  show_display?: boolean;
1321
1321
  encoded_network?: ArrayBuffer;
1322
1322
  };
1323
- export declare type EthereumAddress = {
1323
+ export type EthereumAddress = {
1324
1324
  _old_address?: string;
1325
1325
  address: string;
1326
1326
  };
1327
- export declare type EthereumSignTx = {
1327
+ export type EthereumSignTx = {
1328
1328
  address_n: number[];
1329
1329
  nonce?: string;
1330
1330
  gas_price: string;
@@ -1337,11 +1337,11 @@ export declare type EthereumSignTx = {
1337
1337
  tx_type?: number;
1338
1338
  definitions?: EthereumDefinitions;
1339
1339
  };
1340
- export declare type EthereumAccessList = {
1340
+ export type EthereumAccessList = {
1341
1341
  address: string;
1342
1342
  storage_keys: string[];
1343
1343
  };
1344
- export declare type EthereumSignTxEIP1559 = {
1344
+ export type EthereumSignTxEIP1559 = {
1345
1345
  address_n: number[];
1346
1346
  nonce: string;
1347
1347
  max_gas_fee: string;
@@ -1355,80 +1355,80 @@ export declare type EthereumSignTxEIP1559 = {
1355
1355
  access_list: EthereumAccessList[];
1356
1356
  definitions?: EthereumDefinitions;
1357
1357
  };
1358
- export declare type EthereumTxRequest = {
1358
+ export type EthereumTxRequest = {
1359
1359
  data_length?: number;
1360
1360
  signature_v?: number;
1361
1361
  signature_r?: string;
1362
1362
  signature_s?: string;
1363
1363
  };
1364
- export declare type EthereumTxAck = {
1364
+ export type EthereumTxAck = {
1365
1365
  data_chunk: string;
1366
1366
  };
1367
- export declare type EthereumSignMessage = {
1367
+ export type EthereumSignMessage = {
1368
1368
  address_n: number[];
1369
1369
  message: string;
1370
1370
  encoded_network?: ArrayBuffer;
1371
1371
  };
1372
- export declare type EthereumMessageSignature = {
1372
+ export type EthereumMessageSignature = {
1373
1373
  signature: string;
1374
1374
  address: string;
1375
1375
  };
1376
- export declare type EthereumVerifyMessage = {
1376
+ export type EthereumVerifyMessage = {
1377
1377
  signature: string;
1378
1378
  message: string;
1379
1379
  address: string;
1380
1380
  };
1381
- export declare type EthereumSignTypedHash = {
1381
+ export type EthereumSignTypedHash = {
1382
1382
  address_n: number[];
1383
1383
  domain_separator_hash: string;
1384
1384
  message_hash?: string;
1385
1385
  encoded_network?: ArrayBuffer;
1386
1386
  };
1387
- export declare type EthereumTypedDataSignature = {
1387
+ export type EthereumTypedDataSignature = {
1388
1388
  signature: string;
1389
1389
  address: string;
1390
1390
  };
1391
- export declare type FilecoinGetAddress = {
1391
+ export type FilecoinGetAddress = {
1392
1392
  address_n: number[];
1393
1393
  show_display?: boolean;
1394
1394
  testnet?: boolean;
1395
1395
  };
1396
- export declare type FilecoinAddress = {
1396
+ export type FilecoinAddress = {
1397
1397
  address?: string;
1398
1398
  };
1399
- export declare type FilecoinSignTx = {
1399
+ export type FilecoinSignTx = {
1400
1400
  address_n: number[];
1401
1401
  raw_tx: string;
1402
1402
  testnet?: boolean;
1403
1403
  };
1404
- export declare type FilecoinSignedTx = {
1404
+ export type FilecoinSignedTx = {
1405
1405
  signature: string;
1406
1406
  };
1407
- export declare type KaspaGetAddress = {
1407
+ export type KaspaGetAddress = {
1408
1408
  address_n: number[];
1409
1409
  show_display?: boolean;
1410
1410
  prefix?: string;
1411
1411
  scheme?: string;
1412
1412
  };
1413
- export declare type KaspaAddress = {
1413
+ export type KaspaAddress = {
1414
1414
  address: string;
1415
1415
  };
1416
- export declare type KaspaSignTx = {
1416
+ export type KaspaSignTx = {
1417
1417
  address_n: number[];
1418
1418
  raw_message: string;
1419
1419
  scheme?: string;
1420
1420
  prefix?: string;
1421
1421
  input_count?: number;
1422
1422
  };
1423
- export declare type KaspaTxInputRequest = {
1423
+ export type KaspaTxInputRequest = {
1424
1424
  request_index: number;
1425
1425
  signature?: string;
1426
1426
  };
1427
- export declare type KaspaTxInputAck = {
1427
+ export type KaspaTxInputAck = {
1428
1428
  address_n: number[];
1429
1429
  raw_message: string;
1430
1430
  };
1431
- export declare type KaspaSignedTx = {
1431
+ export type KaspaSignedTx = {
1432
1432
  signature: string;
1433
1433
  };
1434
1434
  export declare enum Enum_BackupType {
@@ -1436,19 +1436,19 @@ export declare enum Enum_BackupType {
1436
1436
  Slip39_Basic = 1,
1437
1437
  Slip39_Advanced = 2
1438
1438
  }
1439
- export declare type BackupType = keyof typeof Enum_BackupType;
1439
+ export type BackupType = keyof typeof Enum_BackupType;
1440
1440
  export declare enum Enum_SafetyCheckLevel {
1441
1441
  Strict = 0,
1442
1442
  PromptAlways = 1,
1443
1443
  PromptTemporarily = 2
1444
1444
  }
1445
- export declare type SafetyCheckLevel = keyof typeof Enum_SafetyCheckLevel;
1446
- export declare type Initialize = {
1445
+ export type SafetyCheckLevel = keyof typeof Enum_SafetyCheckLevel;
1446
+ export type Initialize = {
1447
1447
  session_id?: string;
1448
1448
  _skip_passphrase?: boolean;
1449
1449
  derive_cardano?: boolean;
1450
1450
  };
1451
- export declare type GetFeatures = {};
1451
+ export type GetFeatures = {};
1452
1452
  export declare enum Enum_Capability {
1453
1453
  Capability_Bitcoin = 1,
1454
1454
  Capability_Bitcoin_like = 2,
@@ -1468,8 +1468,8 @@ export declare enum Enum_Capability {
1468
1468
  Capability_ShamirGroups = 16,
1469
1469
  Capability_PassphraseEntry = 17
1470
1470
  }
1471
- export declare type Capability = keyof typeof Enum_Capability;
1472
- export declare type Features = {
1471
+ export type Capability = keyof typeof Enum_Capability;
1472
+ export type Features = {
1473
1473
  vendor: string;
1474
1474
  major_version: number;
1475
1475
  minor_version: number;
@@ -1529,14 +1529,14 @@ export declare type Features = {
1529
1529
  build_id?: string;
1530
1530
  battery_level?: number;
1531
1531
  };
1532
- export declare type LockDevice = {};
1533
- export declare type EndSession = {};
1532
+ export type LockDevice = {};
1533
+ export type EndSession = {};
1534
1534
  export declare enum ExportType {
1535
1535
  SeedEncExportType_NO = 0,
1536
1536
  SeedEncExportType_YES = 1,
1537
1537
  MnemonicPlainExportType_YES = 2
1538
1538
  }
1539
- export declare type ApplySettings = {
1539
+ export type ApplySettings = {
1540
1540
  language?: string;
1541
1541
  label?: string;
1542
1542
  use_passphrase?: boolean;
@@ -1555,13 +1555,13 @@ export declare type ApplySettings = {
1555
1555
  fastpay_money_limit?: number;
1556
1556
  fastpay_times?: number;
1557
1557
  };
1558
- export declare type ApplyFlags = {
1558
+ export type ApplyFlags = {
1559
1559
  flags: number;
1560
1560
  };
1561
- export declare type ChangePin = {
1561
+ export type ChangePin = {
1562
1562
  remove?: boolean;
1563
1563
  };
1564
- export declare type ChangeWipeCode = {
1564
+ export type ChangeWipeCode = {
1565
1565
  remove?: boolean;
1566
1566
  };
1567
1567
  export declare enum SdProtectOperationType {
@@ -1569,22 +1569,22 @@ export declare enum SdProtectOperationType {
1569
1569
  ENABLE = 1,
1570
1570
  REFRESH = 2
1571
1571
  }
1572
- export declare type SdProtect = {
1572
+ export type SdProtect = {
1573
1573
  operation: SdProtectOperationType;
1574
1574
  };
1575
- export declare type Ping = {
1575
+ export type Ping = {
1576
1576
  message?: string;
1577
1577
  button_protection?: boolean;
1578
1578
  };
1579
- export declare type Cancel = {};
1580
- export declare type GetEntropy = {
1579
+ export type Cancel = {};
1580
+ export type GetEntropy = {
1581
1581
  size: number;
1582
1582
  };
1583
- export declare type Entropy = {
1583
+ export type Entropy = {
1584
1584
  entropy: string;
1585
1585
  };
1586
- export declare type WipeDevice = {};
1587
- export declare type ResetDevice = {
1586
+ export type WipeDevice = {};
1587
+ export type ResetDevice = {
1588
1588
  display_random?: boolean;
1589
1589
  strength?: number;
1590
1590
  passphrase_protection?: boolean;
@@ -1596,16 +1596,16 @@ export declare type ResetDevice = {
1596
1596
  no_backup?: boolean;
1597
1597
  backup_type?: string | number;
1598
1598
  };
1599
- export declare type BackupDevice = {};
1600
- export declare type EntropyRequest = {};
1601
- export declare type EntropyAck = {
1599
+ export type BackupDevice = {};
1600
+ export type EntropyRequest = {};
1601
+ export type EntropyAck = {
1602
1602
  entropy: string;
1603
1603
  };
1604
1604
  export declare enum RecoveryDeviceType {
1605
1605
  RecoveryDeviceType_ScrambledWords = 0,
1606
1606
  RecoveryDeviceType_Matrix = 1
1607
1607
  }
1608
- export declare type RecoveryDevice = {
1608
+ export type RecoveryDevice = {
1609
1609
  word_count?: number;
1610
1610
  passphrase_protection?: boolean;
1611
1611
  pin_protection?: boolean;
@@ -1621,56 +1621,56 @@ export declare enum Enum_WordRequestType {
1621
1621
  WordRequestType_Matrix9 = 1,
1622
1622
  WordRequestType_Matrix6 = 2
1623
1623
  }
1624
- export declare type WordRequestType = keyof typeof Enum_WordRequestType;
1625
- export declare type WordRequest = {
1624
+ export type WordRequestType = keyof typeof Enum_WordRequestType;
1625
+ export type WordRequest = {
1626
1626
  type: WordRequestType;
1627
1627
  };
1628
- export declare type WordAck = {
1628
+ export type WordAck = {
1629
1629
  word: string;
1630
1630
  };
1631
- export declare type SetU2FCounter = {
1631
+ export type SetU2FCounter = {
1632
1632
  u2f_counter: number;
1633
1633
  };
1634
- export declare type GetNextU2FCounter = {};
1635
- export declare type NextU2FCounter = {
1634
+ export type GetNextU2FCounter = {};
1635
+ export type NextU2FCounter = {
1636
1636
  u2f_counter: number;
1637
1637
  };
1638
- export declare type DoPreauthorized = {};
1639
- export declare type PreauthorizedRequest = {};
1640
- export declare type CancelAuthorization = {};
1638
+ export type DoPreauthorized = {};
1639
+ export type PreauthorizedRequest = {};
1640
+ export type CancelAuthorization = {};
1641
1641
  export declare enum SeedRequestType {
1642
1642
  SeedRequestType_Gen = 0,
1643
1643
  SeedRequestType_EncExport = 1,
1644
1644
  SeedRequestType_EncImport = 2
1645
1645
  }
1646
- export declare type BixinSeedOperate = {
1646
+ export type BixinSeedOperate = {
1647
1647
  type: SeedRequestType;
1648
1648
  seed_importData?: string;
1649
1649
  };
1650
- export declare type BixinMessageSE = {
1650
+ export type BixinMessageSE = {
1651
1651
  inputmessage: string;
1652
1652
  };
1653
- export declare type BixinOutMessageSE = {
1653
+ export type BixinOutMessageSE = {
1654
1654
  outmessage?: string;
1655
1655
  };
1656
- export declare type DeviceBackToBoot = {};
1657
- export declare type BixinBackupRequest = {};
1658
- export declare type BixinBackupAck = {
1656
+ export type DeviceBackToBoot = {};
1657
+ export type BixinBackupRequest = {};
1658
+ export type BixinBackupAck = {
1659
1659
  data: string;
1660
1660
  };
1661
- export declare type BixinRestoreRequest = {
1661
+ export type BixinRestoreRequest = {
1662
1662
  data: string;
1663
1663
  language?: string;
1664
1664
  label?: string;
1665
1665
  passphrase_protection?: boolean;
1666
1666
  };
1667
- export declare type BixinRestoreAck = {
1667
+ export type BixinRestoreAck = {
1668
1668
  data: string;
1669
1669
  };
1670
- export declare type BixinVerifyDeviceRequest = {
1670
+ export type BixinVerifyDeviceRequest = {
1671
1671
  data: string;
1672
1672
  };
1673
- export declare type BixinVerifyDeviceAck = {
1673
+ export type BixinVerifyDeviceAck = {
1674
1674
  cert: string;
1675
1675
  signature: string;
1676
1676
  };
@@ -1679,30 +1679,30 @@ export declare enum WL_OperationType {
1679
1679
  WL_OperationType_Delete = 1,
1680
1680
  WL_OperationType_Inquire = 2
1681
1681
  }
1682
- export declare type BixinWhiteListRequest = {
1682
+ export type BixinWhiteListRequest = {
1683
1683
  type: WL_OperationType;
1684
1684
  addr_in?: string;
1685
1685
  };
1686
- export declare type BixinWhiteListAck = {
1686
+ export type BixinWhiteListAck = {
1687
1687
  address: string[];
1688
1688
  };
1689
- export declare type BixinLoadDevice = {
1689
+ export type BixinLoadDevice = {
1690
1690
  mnemonics: string;
1691
1691
  language?: string;
1692
1692
  label?: string;
1693
1693
  skip_checksum?: boolean;
1694
1694
  };
1695
- export declare type BixinBackupDevice = {};
1696
- export declare type BixinBackupDeviceAck = {
1695
+ export type BixinBackupDevice = {};
1696
+ export type BixinBackupDeviceAck = {
1697
1697
  mnemonics: string;
1698
1698
  };
1699
- export declare type DeviceInfoSettings = {
1699
+ export type DeviceInfoSettings = {
1700
1700
  serial_no?: string;
1701
1701
  cpu_info?: string;
1702
1702
  pre_firmware?: string;
1703
1703
  };
1704
- export declare type GetDeviceInfo = {};
1705
- export declare type DeviceInfo = {
1704
+ export type GetDeviceInfo = {};
1705
+ export type DeviceInfo = {
1706
1706
  serial_no?: string;
1707
1707
  spiFlash_info?: string;
1708
1708
  SE_info?: string;
@@ -1710,39 +1710,39 @@ export declare type DeviceInfo = {
1710
1710
  cpu_info?: string;
1711
1711
  pre_firmware?: string;
1712
1712
  };
1713
- export declare type ReadSEPublicKey = {};
1714
- export declare type SEPublicKey = {
1713
+ export type ReadSEPublicKey = {};
1714
+ export type SEPublicKey = {
1715
1715
  public_key: string;
1716
1716
  };
1717
- export declare type WriteSEPublicCert = {
1717
+ export type WriteSEPublicCert = {
1718
1718
  public_cert: string;
1719
1719
  };
1720
- export declare type ReadSEPublicCert = {};
1721
- export declare type SEPublicCert = {
1720
+ export type ReadSEPublicCert = {};
1721
+ export type SEPublicCert = {
1722
1722
  public_cert: string;
1723
1723
  };
1724
- export declare type SpiFlashWrite = {
1724
+ export type SpiFlashWrite = {
1725
1725
  address: number;
1726
1726
  data: string;
1727
1727
  };
1728
- export declare type SpiFlashRead = {
1728
+ export type SpiFlashRead = {
1729
1729
  address: number;
1730
1730
  len: number;
1731
1731
  };
1732
- export declare type SpiFlashData = {
1732
+ export type SpiFlashData = {
1733
1733
  data: string;
1734
1734
  };
1735
- export declare type SESignMessage = {
1735
+ export type SESignMessage = {
1736
1736
  message: string;
1737
1737
  };
1738
- export declare type SEMessageSignature = {
1738
+ export type SEMessageSignature = {
1739
1739
  signature: string;
1740
1740
  };
1741
1741
  export declare enum ResourceType {
1742
1742
  WallPaper = 0,
1743
1743
  Nft = 1
1744
1744
  }
1745
- export declare type ResourceUpload = {
1745
+ export type ResourceUpload = {
1746
1746
  extension: string;
1747
1747
  data_length: number;
1748
1748
  res_type: ResourceType;
@@ -1750,66 +1750,66 @@ export declare type ResourceUpload = {
1750
1750
  zoom_data_length: number;
1751
1751
  file_name_no_ext?: string;
1752
1752
  };
1753
- export declare type ZoomRequest = {
1753
+ export type ZoomRequest = {
1754
1754
  offset?: number;
1755
1755
  data_length: number;
1756
1756
  };
1757
- export declare type ResourceRequest = {
1757
+ export type ResourceRequest = {
1758
1758
  offset?: number;
1759
1759
  data_length: number;
1760
1760
  };
1761
- export declare type ResourceAck = {
1761
+ export type ResourceAck = {
1762
1762
  data_chunk: string;
1763
1763
  hash?: string;
1764
1764
  };
1765
- export declare type ResourceUpdate = {
1765
+ export type ResourceUpdate = {
1766
1766
  file_name: string;
1767
1767
  data_length: number;
1768
1768
  initial_data_chunk: string;
1769
1769
  hash?: string;
1770
1770
  };
1771
- export declare type NFTWriteInfo = {
1771
+ export type NFTWriteInfo = {
1772
1772
  index: number;
1773
1773
  width: number;
1774
1774
  height: number;
1775
1775
  name_zh?: string;
1776
1776
  name_en?: string;
1777
1777
  };
1778
- export declare type NFTWriteData = {
1778
+ export type NFTWriteData = {
1779
1779
  index: number;
1780
1780
  data: string;
1781
1781
  offset: number;
1782
1782
  };
1783
- export declare type RebootToBootloader = {};
1784
- export declare type RebootToBoardloader = {};
1785
- export declare type ListResDir = {
1783
+ export type RebootToBootloader = {};
1784
+ export type RebootToBoardloader = {};
1785
+ export type ListResDir = {
1786
1786
  path: string;
1787
1787
  };
1788
- export declare type FileInfo = {
1788
+ export type FileInfo = {
1789
1789
  name: string;
1790
1790
  size: number;
1791
1791
  };
1792
- export declare type FileInfoList = {
1792
+ export type FileInfoList = {
1793
1793
  files: FileInfo[];
1794
1794
  };
1795
- export declare type DeviceEraseSector = {
1795
+ export type DeviceEraseSector = {
1796
1796
  sector: number;
1797
1797
  };
1798
- export declare type MoneroRctKeyPublic = {
1798
+ export type MoneroRctKeyPublic = {
1799
1799
  dest?: string;
1800
1800
  commitment?: string;
1801
1801
  };
1802
- export declare type MoneroOutputEntry = {
1802
+ export type MoneroOutputEntry = {
1803
1803
  idx?: number;
1804
1804
  key?: MoneroRctKeyPublic;
1805
1805
  };
1806
- export declare type MoneroMultisigKLRki = {
1806
+ export type MoneroMultisigKLRki = {
1807
1807
  K?: string;
1808
1808
  L?: string;
1809
1809
  R?: string;
1810
1810
  ki?: string;
1811
1811
  };
1812
- export declare type MoneroTransactionSourceEntry = {
1812
+ export type MoneroTransactionSourceEntry = {
1813
1813
  outputs: MoneroOutputEntry[];
1814
1814
  real_output?: number;
1815
1815
  real_out_tx_key?: string;
@@ -1821,18 +1821,18 @@ export declare type MoneroTransactionSourceEntry = {
1821
1821
  multisig_kLRki?: MoneroMultisigKLRki;
1822
1822
  subaddr_minor?: number;
1823
1823
  };
1824
- export declare type MoneroAccountPublicAddress = {
1824
+ export type MoneroAccountPublicAddress = {
1825
1825
  spend_public_key?: string;
1826
1826
  view_public_key?: string;
1827
1827
  };
1828
- export declare type MoneroTransactionDestinationEntry = {
1828
+ export type MoneroTransactionDestinationEntry = {
1829
1829
  amount?: UintType;
1830
1830
  addr?: MoneroAccountPublicAddress;
1831
1831
  is_subaddress?: boolean;
1832
1832
  original?: string;
1833
1833
  is_integrated?: boolean;
1834
1834
  };
1835
- export declare type MoneroTransactionRsigData = {
1835
+ export type MoneroTransactionRsigData = {
1836
1836
  rsig_type?: number;
1837
1837
  offload_type?: number;
1838
1838
  grouping: number[];
@@ -1841,7 +1841,7 @@ export declare type MoneroTransactionRsigData = {
1841
1841
  rsig_parts: string[];
1842
1842
  bp_version?: number;
1843
1843
  };
1844
- export declare type MoneroGetAddress = {
1844
+ export type MoneroGetAddress = {
1845
1845
  address_n: number[];
1846
1846
  show_display?: boolean;
1847
1847
  network_type?: number;
@@ -1849,18 +1849,18 @@ export declare type MoneroGetAddress = {
1849
1849
  minor?: number;
1850
1850
  payment_id?: string;
1851
1851
  };
1852
- export declare type MoneroAddress = {
1852
+ export type MoneroAddress = {
1853
1853
  address?: string;
1854
1854
  };
1855
- export declare type MoneroGetWatchKey = {
1855
+ export type MoneroGetWatchKey = {
1856
1856
  address_n: number[];
1857
1857
  network_type?: number;
1858
1858
  };
1859
- export declare type MoneroWatchKey = {
1859
+ export type MoneroWatchKey = {
1860
1860
  watch_key?: string;
1861
1861
  address?: string;
1862
1862
  };
1863
- export declare type MoneroTransactionData = {
1863
+ export type MoneroTransactionData = {
1864
1864
  version?: number;
1865
1865
  payment_id?: string;
1866
1866
  unlock_time?: number;
@@ -1877,20 +1877,20 @@ export declare type MoneroTransactionData = {
1877
1877
  hard_fork?: number;
1878
1878
  monero_version?: string;
1879
1879
  };
1880
- export declare type MoneroTransactionInitRequest = {
1880
+ export type MoneroTransactionInitRequest = {
1881
1881
  version?: number;
1882
1882
  address_n: number[];
1883
1883
  network_type?: number;
1884
1884
  tsx_data?: MoneroTransactionData;
1885
1885
  };
1886
- export declare type MoneroTransactionInitAck = {
1886
+ export type MoneroTransactionInitAck = {
1887
1887
  hmacs: string[];
1888
1888
  rsig_data?: MoneroTransactionRsigData;
1889
1889
  };
1890
- export declare type MoneroTransactionSetInputRequest = {
1890
+ export type MoneroTransactionSetInputRequest = {
1891
1891
  src_entr?: MoneroTransactionSourceEntry;
1892
1892
  };
1893
- export declare type MoneroTransactionSetInputAck = {
1893
+ export type MoneroTransactionSetInputAck = {
1894
1894
  vini?: string;
1895
1895
  vini_hmac?: string;
1896
1896
  pseudo_out?: string;
@@ -1898,11 +1898,11 @@ export declare type MoneroTransactionSetInputAck = {
1898
1898
  pseudo_out_alpha?: string;
1899
1899
  spend_key?: string;
1900
1900
  };
1901
- export declare type MoneroTransactionInputsPermutationRequest = {
1901
+ export type MoneroTransactionInputsPermutationRequest = {
1902
1902
  perm: number[];
1903
1903
  };
1904
- export declare type MoneroTransactionInputsPermutationAck = {};
1905
- export declare type MoneroTransactionInputViniRequest = {
1904
+ export type MoneroTransactionInputsPermutationAck = {};
1905
+ export type MoneroTransactionInputViniRequest = {
1906
1906
  src_entr?: MoneroTransactionSourceEntry;
1907
1907
  vini?: string;
1908
1908
  vini_hmac?: string;
@@ -1910,39 +1910,39 @@ export declare type MoneroTransactionInputViniRequest = {
1910
1910
  pseudo_out_hmac?: string;
1911
1911
  orig_idx?: number;
1912
1912
  };
1913
- export declare type MoneroTransactionInputViniAck = {};
1914
- export declare type MoneroTransactionAllInputsSetRequest = {};
1915
- export declare type MoneroTransactionAllInputsSetAck = {
1913
+ export type MoneroTransactionInputViniAck = {};
1914
+ export type MoneroTransactionAllInputsSetRequest = {};
1915
+ export type MoneroTransactionAllInputsSetAck = {
1916
1916
  rsig_data?: MoneroTransactionRsigData;
1917
1917
  };
1918
- export declare type MoneroTransactionSetOutputRequest = {
1918
+ export type MoneroTransactionSetOutputRequest = {
1919
1919
  dst_entr?: MoneroTransactionDestinationEntry;
1920
1920
  dst_entr_hmac?: string;
1921
1921
  rsig_data?: MoneroTransactionRsigData;
1922
1922
  is_offloaded_bp?: boolean;
1923
1923
  };
1924
- export declare type MoneroTransactionSetOutputAck = {
1924
+ export type MoneroTransactionSetOutputAck = {
1925
1925
  tx_out?: string;
1926
1926
  vouti_hmac?: string;
1927
1927
  rsig_data?: MoneroTransactionRsigData;
1928
1928
  out_pk?: string;
1929
1929
  ecdh_info?: string;
1930
1930
  };
1931
- export declare type MoneroTransactionAllOutSetRequest = {
1931
+ export type MoneroTransactionAllOutSetRequest = {
1932
1932
  rsig_data?: MoneroTransactionRsigData;
1933
1933
  };
1934
- export declare type MoneroRingCtSig = {
1934
+ export type MoneroRingCtSig = {
1935
1935
  txn_fee?: number;
1936
1936
  message?: string;
1937
1937
  rv_type?: number;
1938
1938
  };
1939
- export declare type MoneroTransactionAllOutSetAck = {
1939
+ export type MoneroTransactionAllOutSetAck = {
1940
1940
  extra?: string;
1941
1941
  tx_prefix_hash?: string;
1942
1942
  rv?: MoneroRingCtSig;
1943
1943
  full_message_hash?: string;
1944
1944
  };
1945
- export declare type MoneroTransactionSignInputRequest = {
1945
+ export type MoneroTransactionSignInputRequest = {
1946
1946
  src_entr?: MoneroTransactionSourceEntry;
1947
1947
  vini?: string;
1948
1948
  vini_hmac?: string;
@@ -1952,31 +1952,31 @@ export declare type MoneroTransactionSignInputRequest = {
1952
1952
  spend_key?: string;
1953
1953
  orig_idx?: number;
1954
1954
  };
1955
- export declare type MoneroTransactionSignInputAck = {
1955
+ export type MoneroTransactionSignInputAck = {
1956
1956
  signature?: string;
1957
1957
  pseudo_out?: string;
1958
1958
  };
1959
- export declare type MoneroTransactionFinalRequest = {};
1960
- export declare type MoneroTransactionFinalAck = {
1959
+ export type MoneroTransactionFinalRequest = {};
1960
+ export type MoneroTransactionFinalAck = {
1961
1961
  cout_key?: string;
1962
1962
  salt?: string;
1963
1963
  rand_mult?: string;
1964
1964
  tx_enc_keys?: string;
1965
1965
  opening_key?: string;
1966
1966
  };
1967
- export declare type MoneroSubAddressIndicesList = {
1967
+ export type MoneroSubAddressIndicesList = {
1968
1968
  account?: number;
1969
1969
  minor_indices: number[];
1970
1970
  };
1971
- export declare type MoneroKeyImageExportInitRequest = {
1971
+ export type MoneroKeyImageExportInitRequest = {
1972
1972
  num?: number;
1973
1973
  hash?: string;
1974
1974
  address_n: number[];
1975
1975
  network_type?: number;
1976
1976
  subs: MoneroSubAddressIndicesList[];
1977
1977
  };
1978
- export declare type MoneroKeyImageExportInitAck = {};
1979
- export declare type MoneroTransferDetails = {
1978
+ export type MoneroKeyImageExportInitAck = {};
1979
+ export type MoneroTransferDetails = {
1980
1980
  out_key?: string;
1981
1981
  tx_pub_key?: string;
1982
1982
  additional_tx_pub_keys: string[];
@@ -1984,21 +1984,21 @@ export declare type MoneroTransferDetails = {
1984
1984
  sub_addr_major?: number;
1985
1985
  sub_addr_minor?: number;
1986
1986
  };
1987
- export declare type MoneroKeyImageSyncStepRequest = {
1987
+ export type MoneroKeyImageSyncStepRequest = {
1988
1988
  tdis: MoneroTransferDetails[];
1989
1989
  };
1990
- export declare type MoneroExportedKeyImage = {
1990
+ export type MoneroExportedKeyImage = {
1991
1991
  iv?: string;
1992
1992
  blob?: string;
1993
1993
  };
1994
- export declare type MoneroKeyImageSyncStepAck = {
1994
+ export type MoneroKeyImageSyncStepAck = {
1995
1995
  kis: MoneroExportedKeyImage[];
1996
1996
  };
1997
- export declare type MoneroKeyImageSyncFinalRequest = {};
1998
- export declare type MoneroKeyImageSyncFinalAck = {
1997
+ export type MoneroKeyImageSyncFinalRequest = {};
1998
+ export type MoneroKeyImageSyncFinalAck = {
1999
1999
  enc_key?: string;
2000
2000
  };
2001
- export declare type MoneroGetTxKeyRequest = {
2001
+ export type MoneroGetTxKeyRequest = {
2002
2002
  address_n: number[];
2003
2003
  network_type?: number;
2004
2004
  salt1?: string;
@@ -2008,52 +2008,52 @@ export declare type MoneroGetTxKeyRequest = {
2008
2008
  reason?: number;
2009
2009
  view_public_key?: string;
2010
2010
  };
2011
- export declare type MoneroGetTxKeyAck = {
2011
+ export type MoneroGetTxKeyAck = {
2012
2012
  salt?: string;
2013
2013
  tx_keys?: string;
2014
2014
  tx_derivations?: string;
2015
2015
  };
2016
- export declare type MoneroLiveRefreshStartRequest = {
2016
+ export type MoneroLiveRefreshStartRequest = {
2017
2017
  address_n: number[];
2018
2018
  network_type?: number;
2019
2019
  };
2020
- export declare type MoneroLiveRefreshStartAck = {};
2021
- export declare type MoneroLiveRefreshStepRequest = {
2020
+ export type MoneroLiveRefreshStartAck = {};
2021
+ export type MoneroLiveRefreshStepRequest = {
2022
2022
  out_key?: string;
2023
2023
  recv_deriv?: string;
2024
2024
  real_out_idx?: number;
2025
2025
  sub_addr_major?: number;
2026
2026
  sub_addr_minor?: number;
2027
2027
  };
2028
- export declare type MoneroLiveRefreshStepAck = {
2028
+ export type MoneroLiveRefreshStepAck = {
2029
2029
  salt?: string;
2030
2030
  key_image?: string;
2031
2031
  };
2032
- export declare type MoneroLiveRefreshFinalRequest = {};
2033
- export declare type MoneroLiveRefreshFinalAck = {};
2034
- export declare type NearGetAddress = {
2032
+ export type MoneroLiveRefreshFinalRequest = {};
2033
+ export type MoneroLiveRefreshFinalAck = {};
2034
+ export type NearGetAddress = {
2035
2035
  address_n: number[];
2036
2036
  show_display?: boolean;
2037
2037
  };
2038
- export declare type NearAddress = {
2038
+ export type NearAddress = {
2039
2039
  address?: string;
2040
2040
  };
2041
- export declare type NearSignTx = {
2041
+ export type NearSignTx = {
2042
2042
  address_n: number[];
2043
2043
  raw_tx: string;
2044
2044
  };
2045
- export declare type NearSignedTx = {
2045
+ export type NearSignedTx = {
2046
2046
  signature: string;
2047
2047
  };
2048
- export declare type NEMGetAddress = {
2048
+ export type NEMGetAddress = {
2049
2049
  address_n: number[];
2050
2050
  network?: number;
2051
2051
  show_display?: boolean;
2052
2052
  };
2053
- export declare type NEMAddress = {
2053
+ export type NEMAddress = {
2054
2054
  address: string;
2055
2055
  };
2056
- export declare type NEMTransactionCommon = {
2056
+ export type NEMTransactionCommon = {
2057
2057
  address_n?: number[];
2058
2058
  network?: number;
2059
2059
  timestamp?: number;
@@ -2061,19 +2061,19 @@ export declare type NEMTransactionCommon = {
2061
2061
  deadline?: number;
2062
2062
  signer?: string;
2063
2063
  };
2064
- export declare type NEMMosaic = {
2064
+ export type NEMMosaic = {
2065
2065
  namespace?: string;
2066
2066
  mosaic?: string;
2067
2067
  quantity?: number;
2068
2068
  };
2069
- export declare type NEMTransfer = {
2069
+ export type NEMTransfer = {
2070
2070
  recipient?: string;
2071
2071
  amount?: UintType;
2072
2072
  payload?: string;
2073
2073
  public_key?: string;
2074
2074
  mosaics?: NEMMosaic[];
2075
2075
  };
2076
- export declare type NEMProvisionNamespace = {
2076
+ export type NEMProvisionNamespace = {
2077
2077
  namespace?: string;
2078
2078
  parent?: string;
2079
2079
  sink?: string;
@@ -2083,7 +2083,7 @@ export declare enum NEMMosaicLevy {
2083
2083
  MosaicLevy_Absolute = 1,
2084
2084
  MosaicLevy_Percentile = 2
2085
2085
  }
2086
- export declare type NEMMosaicDefinition = {
2086
+ export type NEMMosaicDefinition = {
2087
2087
  name?: string;
2088
2088
  ticker?: string;
2089
2089
  namespace?: string;
@@ -2100,7 +2100,7 @@ export declare type NEMMosaicDefinition = {
2100
2100
  description?: string;
2101
2101
  networks?: number[];
2102
2102
  };
2103
- export declare type NEMMosaicCreation = {
2103
+ export type NEMMosaicCreation = {
2104
2104
  definition?: NEMMosaicDefinition;
2105
2105
  sink?: string;
2106
2106
  fee?: UintType;
@@ -2109,7 +2109,7 @@ export declare enum NEMSupplyChangeType {
2109
2109
  SupplyChange_Increase = 1,
2110
2110
  SupplyChange_Decrease = 2
2111
2111
  }
2112
- export declare type NEMMosaicSupplyChange = {
2112
+ export type NEMMosaicSupplyChange = {
2113
2113
  namespace?: string;
2114
2114
  mosaic?: string;
2115
2115
  type?: NEMSupplyChangeType;
@@ -2119,11 +2119,11 @@ export declare enum NEMModificationType {
2119
2119
  CosignatoryModification_Add = 1,
2120
2120
  CosignatoryModification_Delete = 2
2121
2121
  }
2122
- export declare type NEMCosignatoryModification = {
2122
+ export type NEMCosignatoryModification = {
2123
2123
  type?: NEMModificationType;
2124
2124
  public_key?: string;
2125
2125
  };
2126
- export declare type NEMAggregateModification = {
2126
+ export type NEMAggregateModification = {
2127
2127
  modifications?: NEMCosignatoryModification[];
2128
2128
  relative_change?: number;
2129
2129
  };
@@ -2131,11 +2131,11 @@ export declare enum NEMImportanceTransferMode {
2131
2131
  ImportanceTransfer_Activate = 1,
2132
2132
  ImportanceTransfer_Deactivate = 2
2133
2133
  }
2134
- export declare type NEMImportanceTransfer = {
2134
+ export type NEMImportanceTransfer = {
2135
2135
  mode?: NEMImportanceTransferMode;
2136
2136
  public_key?: string;
2137
2137
  };
2138
- export declare type NEMSignTx = {
2138
+ export type NEMSignTx = {
2139
2139
  transaction?: NEMTransactionCommon;
2140
2140
  multisig?: NEMTransactionCommon;
2141
2141
  transfer?: NEMTransfer;
@@ -2146,76 +2146,76 @@ export declare type NEMSignTx = {
2146
2146
  aggregate_modification?: NEMAggregateModification;
2147
2147
  importance_transfer?: NEMImportanceTransfer;
2148
2148
  };
2149
- export declare type NEMSignedTx = {
2149
+ export type NEMSignedTx = {
2150
2150
  data: string;
2151
2151
  signature: string;
2152
2152
  };
2153
- export declare type NEMDecryptMessage = {
2153
+ export type NEMDecryptMessage = {
2154
2154
  address_n: number[];
2155
2155
  network?: number;
2156
2156
  public_key?: string;
2157
2157
  payload?: string;
2158
2158
  };
2159
- export declare type NEMDecryptedMessage = {
2159
+ export type NEMDecryptedMessage = {
2160
2160
  payload: string;
2161
2161
  };
2162
- export declare type NexaGetAddress = {
2162
+ export type NexaGetAddress = {
2163
2163
  address_n: number[];
2164
2164
  show_display?: boolean;
2165
2165
  prefix?: string;
2166
2166
  };
2167
- export declare type NexaAddress = {
2167
+ export type NexaAddress = {
2168
2168
  address: string;
2169
2169
  public_key: string;
2170
2170
  };
2171
- export declare type NexaSignTx = {
2171
+ export type NexaSignTx = {
2172
2172
  address_n: number[];
2173
2173
  raw_message: string;
2174
2174
  prefix?: string;
2175
2175
  input_count?: number;
2176
2176
  };
2177
- export declare type NexaTxInputRequest = {
2177
+ export type NexaTxInputRequest = {
2178
2178
  request_index: number;
2179
2179
  signature?: string;
2180
2180
  };
2181
- export declare type NexaTxInputAck = {
2181
+ export type NexaTxInputAck = {
2182
2182
  address_n: number[];
2183
2183
  raw_message: string;
2184
2184
  };
2185
- export declare type NexaSignedTx = {
2185
+ export type NexaSignedTx = {
2186
2186
  signature: string;
2187
2187
  };
2188
- export declare type PolkadotGetAddress = {
2188
+ export type PolkadotGetAddress = {
2189
2189
  address_n: number[];
2190
2190
  prefix: number;
2191
2191
  network: string;
2192
2192
  show_display?: boolean;
2193
2193
  };
2194
- export declare type PolkadotAddress = {
2194
+ export type PolkadotAddress = {
2195
2195
  address?: string;
2196
2196
  public_key?: string;
2197
2197
  };
2198
- export declare type PolkadotSignTx = {
2198
+ export type PolkadotSignTx = {
2199
2199
  address_n: number[];
2200
2200
  raw_tx: string;
2201
2201
  network: string;
2202
2202
  };
2203
- export declare type PolkadotSignedTx = {
2203
+ export type PolkadotSignedTx = {
2204
2204
  signature: string;
2205
2205
  };
2206
- export declare type RippleGetAddress = {
2206
+ export type RippleGetAddress = {
2207
2207
  address_n: number[];
2208
2208
  show_display?: boolean;
2209
2209
  };
2210
- export declare type RippleAddress = {
2210
+ export type RippleAddress = {
2211
2211
  address: string;
2212
2212
  };
2213
- export declare type RipplePayment = {
2213
+ export type RipplePayment = {
2214
2214
  amount: UintType;
2215
2215
  destination: string;
2216
2216
  destination_tag?: number;
2217
2217
  };
2218
- export declare type RippleSignTx = {
2218
+ export type RippleSignTx = {
2219
2219
  address_n: number[];
2220
2220
  fee?: UintType;
2221
2221
  flags?: number;
@@ -2223,55 +2223,55 @@ export declare type RippleSignTx = {
2223
2223
  last_ledger_sequence?: number;
2224
2224
  payment?: RipplePayment;
2225
2225
  };
2226
- export declare type RippleSignedTx = {
2226
+ export type RippleSignedTx = {
2227
2227
  signature: string;
2228
2228
  serialized_tx: string;
2229
2229
  };
2230
- export declare type SolanaGetAddress = {
2230
+ export type SolanaGetAddress = {
2231
2231
  address_n: number[];
2232
2232
  show_display?: boolean;
2233
2233
  };
2234
- export declare type SolanaAddress = {
2234
+ export type SolanaAddress = {
2235
2235
  address?: string;
2236
2236
  };
2237
- export declare type SolanaSignTx = {
2237
+ export type SolanaSignTx = {
2238
2238
  address_n: number[];
2239
2239
  raw_tx: string;
2240
2240
  };
2241
- export declare type SolanaSignedTx = {
2241
+ export type SolanaSignedTx = {
2242
2242
  signature?: string;
2243
2243
  };
2244
- export declare type StarcoinGetAddress = {
2244
+ export type StarcoinGetAddress = {
2245
2245
  address_n: number[];
2246
2246
  show_display?: boolean;
2247
2247
  };
2248
- export declare type StarcoinAddress = {
2248
+ export type StarcoinAddress = {
2249
2249
  address?: string;
2250
2250
  };
2251
- export declare type StarcoinGetPublicKey = {
2251
+ export type StarcoinGetPublicKey = {
2252
2252
  address_n: number[];
2253
2253
  show_display?: boolean;
2254
2254
  };
2255
- export declare type StarcoinPublicKey = {
2255
+ export type StarcoinPublicKey = {
2256
2256
  public_key: string;
2257
2257
  };
2258
- export declare type StarcoinSignTx = {
2258
+ export type StarcoinSignTx = {
2259
2259
  address_n: number[];
2260
2260
  raw_tx?: string;
2261
2261
  };
2262
- export declare type StarcoinSignedTx = {
2262
+ export type StarcoinSignedTx = {
2263
2263
  public_key: string;
2264
2264
  signature: string;
2265
2265
  };
2266
- export declare type StarcoinSignMessage = {
2266
+ export type StarcoinSignMessage = {
2267
2267
  address_n: number[];
2268
2268
  message?: string;
2269
2269
  };
2270
- export declare type StarcoinMessageSignature = {
2270
+ export type StarcoinMessageSignature = {
2271
2271
  public_key: string;
2272
2272
  signature: string;
2273
2273
  };
2274
- export declare type StarcoinVerifyMessage = {
2274
+ export type StarcoinVerifyMessage = {
2275
2275
  public_key?: string;
2276
2276
  signature?: string;
2277
2277
  message?: string;
@@ -2281,16 +2281,16 @@ export declare enum StellarAssetType {
2281
2281
  ALPHANUM4 = 1,
2282
2282
  ALPHANUM12 = 2
2283
2283
  }
2284
- export declare type StellarAsset = {
2284
+ export type StellarAsset = {
2285
2285
  type: StellarAssetType;
2286
2286
  code?: string;
2287
2287
  issuer?: string;
2288
2288
  };
2289
- export declare type StellarGetAddress = {
2289
+ export type StellarGetAddress = {
2290
2290
  address_n: number[];
2291
2291
  show_display?: boolean;
2292
2292
  };
2293
- export declare type StellarAddress = {
2293
+ export type StellarAddress = {
2294
2294
  address: string;
2295
2295
  };
2296
2296
  export declare enum StellarMemoType {
@@ -2300,7 +2300,7 @@ export declare enum StellarMemoType {
2300
2300
  HASH = 3,
2301
2301
  RETURN = 4
2302
2302
  }
2303
- export declare type StellarSignTx = {
2303
+ export type StellarSignTx = {
2304
2304
  address_n: number[];
2305
2305
  network_passphrase: string;
2306
2306
  source_account: string;
@@ -2314,19 +2314,19 @@ export declare type StellarSignTx = {
2314
2314
  memo_hash?: Buffer | string;
2315
2315
  num_operations: number;
2316
2316
  };
2317
- export declare type StellarTxOpRequest = {};
2318
- export declare type StellarPaymentOp = {
2317
+ export type StellarTxOpRequest = {};
2318
+ export type StellarPaymentOp = {
2319
2319
  source_account?: string;
2320
2320
  destination_account: string;
2321
2321
  asset: StellarAsset;
2322
2322
  amount: UintType;
2323
2323
  };
2324
- export declare type StellarCreateAccountOp = {
2324
+ export type StellarCreateAccountOp = {
2325
2325
  source_account?: string;
2326
2326
  new_account: string;
2327
2327
  starting_balance: UintType;
2328
2328
  };
2329
- export declare type StellarPathPaymentStrictReceiveOp = {
2329
+ export type StellarPathPaymentStrictReceiveOp = {
2330
2330
  source_account?: string;
2331
2331
  send_asset: StellarAsset;
2332
2332
  send_max: UintType;
@@ -2335,7 +2335,7 @@ export declare type StellarPathPaymentStrictReceiveOp = {
2335
2335
  destination_amount: UintType;
2336
2336
  paths?: StellarAsset[];
2337
2337
  };
2338
- export declare type StellarPathPaymentStrictSendOp = {
2338
+ export type StellarPathPaymentStrictSendOp = {
2339
2339
  source_account?: string;
2340
2340
  send_asset: StellarAsset;
2341
2341
  send_amount: UintType;
@@ -2344,7 +2344,7 @@ export declare type StellarPathPaymentStrictSendOp = {
2344
2344
  destination_min: UintType;
2345
2345
  paths?: StellarAsset[];
2346
2346
  };
2347
- export declare type StellarManageSellOfferOp = {
2347
+ export type StellarManageSellOfferOp = {
2348
2348
  source_account?: string;
2349
2349
  selling_asset: StellarAsset;
2350
2350
  buying_asset: StellarAsset;
@@ -2353,7 +2353,7 @@ export declare type StellarManageSellOfferOp = {
2353
2353
  price_d: number;
2354
2354
  offer_id: UintType;
2355
2355
  };
2356
- export declare type StellarManageBuyOfferOp = {
2356
+ export type StellarManageBuyOfferOp = {
2357
2357
  source_account?: string;
2358
2358
  selling_asset: StellarAsset;
2359
2359
  buying_asset: StellarAsset;
@@ -2362,7 +2362,7 @@ export declare type StellarManageBuyOfferOp = {
2362
2362
  price_d: number;
2363
2363
  offer_id: UintType;
2364
2364
  };
2365
- export declare type StellarCreatePassiveSellOfferOp = {
2365
+ export type StellarCreatePassiveSellOfferOp = {
2366
2366
  source_account?: string;
2367
2367
  selling_asset: StellarAsset;
2368
2368
  buying_asset: StellarAsset;
@@ -2375,7 +2375,7 @@ export declare enum StellarSignerType {
2375
2375
  PRE_AUTH = 1,
2376
2376
  HASH = 2
2377
2377
  }
2378
- export declare type StellarSetOptionsOp = {
2378
+ export type StellarSetOptionsOp = {
2379
2379
  source_account?: string;
2380
2380
  inflation_destination_account?: string;
2381
2381
  clear_flags?: number;
@@ -2389,73 +2389,81 @@ export declare type StellarSetOptionsOp = {
2389
2389
  signer_key?: Buffer | string;
2390
2390
  signer_weight?: number;
2391
2391
  };
2392
- export declare type StellarChangeTrustOp = {
2392
+ export type StellarChangeTrustOp = {
2393
2393
  source_account?: string;
2394
2394
  asset: StellarAsset;
2395
2395
  limit: UintType;
2396
2396
  };
2397
- export declare type StellarAllowTrustOp = {
2397
+ export type StellarAllowTrustOp = {
2398
2398
  source_account?: string;
2399
2399
  trusted_account: string;
2400
2400
  asset_type: StellarAssetType;
2401
2401
  asset_code?: string;
2402
2402
  is_authorized: boolean;
2403
2403
  };
2404
- export declare type StellarAccountMergeOp = {
2404
+ export type StellarAccountMergeOp = {
2405
2405
  source_account?: string;
2406
2406
  destination_account: string;
2407
2407
  };
2408
- export declare type StellarManageDataOp = {
2408
+ export type StellarManageDataOp = {
2409
2409
  source_account?: string;
2410
2410
  key: string;
2411
2411
  value?: Buffer | string;
2412
2412
  };
2413
- export declare type StellarBumpSequenceOp = {
2413
+ export type StellarBumpSequenceOp = {
2414
2414
  source_account?: string;
2415
2415
  bump_to: UintType;
2416
2416
  };
2417
- export declare type StellarSignedTx = {
2417
+ export type StellarSignedTx = {
2418
2418
  public_key: string;
2419
2419
  signature: string;
2420
2420
  };
2421
- export declare type SuiGetAddress = {
2421
+ export type SuiGetAddress = {
2422
2422
  address_n: number[];
2423
2423
  show_display?: boolean;
2424
2424
  };
2425
- export declare type SuiAddress = {
2425
+ export type SuiAddress = {
2426
2426
  address?: string;
2427
2427
  };
2428
- export declare type SuiSignTx = {
2428
+ export type SuiSignTx = {
2429
2429
  address_n: number[];
2430
2430
  raw_tx: string;
2431
2431
  };
2432
- export declare type SuiSignedTx = {
2432
+ export type SuiSignedTx = {
2433
2433
  public_key: string;
2434
2434
  signature: string;
2435
2435
  };
2436
- export declare type TezosGetAddress = {
2436
+ export type SuiSignMessage = {
2437
+ address_n: number[];
2438
+ message: string;
2439
+ };
2440
+ export type SuiMessageSignature = {
2441
+ signature: string;
2442
+ address: string;
2443
+ };
2444
+ export type TezosGetAddress = {
2437
2445
  address_n: number[];
2438
2446
  show_display?: boolean;
2439
2447
  };
2440
- export declare type TezosAddress = {
2448
+ export type TezosAddress = {
2441
2449
  address: string;
2442
2450
  };
2443
- export declare type TezosGetPublicKey = {
2451
+ export type TezosGetPublicKey = {
2444
2452
  address_n: number[];
2445
2453
  show_display?: boolean;
2446
2454
  };
2447
- export declare type TezosPublicKey = {
2455
+ export type TezosPublicKey = {
2448
2456
  public_key: string;
2449
2457
  };
2450
2458
  export declare enum TezosContractType {
2451
2459
  Implicit = 0,
2452
2460
  Originated = 1
2453
2461
  }
2454
- export declare type TezosContractID = {
2462
+ export type TezosContractID = {
2455
2463
  tag: number;
2456
2464
  hash: Uint8Array;
2457
2465
  };
2458
- export declare type TezosRevealOp = {
2466
+ export type TezosRevealOp = {
2459
2467
  source: Uint8Array;
2460
2468
  fee: UintType;
2461
2469
  counter: number;
@@ -2463,16 +2471,16 @@ export declare type TezosRevealOp = {
2463
2471
  storage_limit: number;
2464
2472
  public_key: Uint8Array;
2465
2473
  };
2466
- export declare type TezosManagerTransfer = {
2474
+ export type TezosManagerTransfer = {
2467
2475
  destination?: TezosContractID;
2468
2476
  amount?: UintType;
2469
2477
  };
2470
- export declare type TezosParametersManager = {
2478
+ export type TezosParametersManager = {
2471
2479
  set_delegate?: Uint8Array;
2472
2480
  cancel_delegate?: boolean;
2473
2481
  transfer?: TezosManagerTransfer;
2474
2482
  };
2475
- export declare type TezosTransactionOp = {
2483
+ export type TezosTransactionOp = {
2476
2484
  source: Uint8Array;
2477
2485
  fee: UintType;
2478
2486
  counter: number;
@@ -2483,7 +2491,7 @@ export declare type TezosTransactionOp = {
2483
2491
  parameters?: number[];
2484
2492
  parameters_manager?: TezosParametersManager;
2485
2493
  };
2486
- export declare type TezosOriginationOp = {
2494
+ export type TezosOriginationOp = {
2487
2495
  source: Uint8Array;
2488
2496
  fee: UintType;
2489
2497
  counter: number;
@@ -2496,7 +2504,7 @@ export declare type TezosOriginationOp = {
2496
2504
  delegate?: Uint8Array;
2497
2505
  script: string | number[];
2498
2506
  };
2499
- export declare type TezosDelegationOp = {
2507
+ export type TezosDelegationOp = {
2500
2508
  source: Uint8Array;
2501
2509
  fee: UintType;
2502
2510
  counter: number;
@@ -2504,7 +2512,7 @@ export declare type TezosDelegationOp = {
2504
2512
  storage_limit: number;
2505
2513
  delegate: Uint8Array;
2506
2514
  };
2507
- export declare type TezosProposalOp = {
2515
+ export type TezosProposalOp = {
2508
2516
  source?: string;
2509
2517
  period?: number;
2510
2518
  proposals: string[];
@@ -2514,13 +2522,13 @@ export declare enum TezosBallotType {
2514
2522
  Nay = 1,
2515
2523
  Pass = 2
2516
2524
  }
2517
- export declare type TezosBallotOp = {
2525
+ export type TezosBallotOp = {
2518
2526
  source?: string;
2519
2527
  period?: number;
2520
2528
  proposal?: string;
2521
2529
  ballot?: TezosBallotType;
2522
2530
  };
2523
- export declare type TezosSignTx = {
2531
+ export type TezosSignTx = {
2524
2532
  address_n: number[];
2525
2533
  branch: Uint8Array;
2526
2534
  reveal?: TezosRevealOp;
@@ -2530,23 +2538,23 @@ export declare type TezosSignTx = {
2530
2538
  proposal?: TezosProposalOp;
2531
2539
  ballot?: TezosBallotOp;
2532
2540
  };
2533
- export declare type TezosSignedTx = {
2541
+ export type TezosSignedTx = {
2534
2542
  signature: string;
2535
2543
  sig_op_contents: string;
2536
2544
  operation_hash: string;
2537
2545
  };
2538
- export declare type TronGetAddress = {
2546
+ export type TronGetAddress = {
2539
2547
  address_n: number[];
2540
2548
  show_display?: boolean;
2541
2549
  };
2542
- export declare type TronAddress = {
2550
+ export type TronAddress = {
2543
2551
  address?: string;
2544
2552
  };
2545
- export declare type TronTransferContract = {
2553
+ export type TronTransferContract = {
2546
2554
  to_address?: string;
2547
2555
  amount?: UintType;
2548
2556
  };
2549
- export declare type TronTriggerSmartContract = {
2557
+ export type TronTriggerSmartContract = {
2550
2558
  contract_address?: string;
2551
2559
  call_value?: number;
2552
2560
  data?: string;
@@ -2557,40 +2565,40 @@ export declare enum TronResourceCode {
2557
2565
  BANDWIDTH = 0,
2558
2566
  ENERGY = 1
2559
2567
  }
2560
- export declare type TronFreezeBalanceContract = {
2568
+ export type TronFreezeBalanceContract = {
2561
2569
  frozen_balance?: number;
2562
2570
  frozen_duration?: number;
2563
2571
  resource?: TronResourceCode;
2564
2572
  receiver_address?: string;
2565
2573
  };
2566
- export declare type TronUnfreezeBalanceContract = {
2574
+ export type TronUnfreezeBalanceContract = {
2567
2575
  resource?: TronResourceCode;
2568
2576
  receiver_address?: string;
2569
2577
  };
2570
- export declare type TronWithdrawBalanceContract = {
2578
+ export type TronWithdrawBalanceContract = {
2571
2579
  owner_address?: string;
2572
2580
  };
2573
- export declare type TronFreezeBalanceV2Contract = {
2581
+ export type TronFreezeBalanceV2Contract = {
2574
2582
  frozen_balance?: number;
2575
2583
  resource?: TronResourceCode;
2576
2584
  };
2577
- export declare type TronUnfreezeBalanceV2Contract = {
2585
+ export type TronUnfreezeBalanceV2Contract = {
2578
2586
  unfreeze_balance?: number;
2579
2587
  resource?: TronResourceCode;
2580
2588
  };
2581
- export declare type TronWithdrawExpireUnfreezeContract = {};
2582
- export declare type TronDelegateResourceContract = {
2589
+ export type TronWithdrawExpireUnfreezeContract = {};
2590
+ export type TronDelegateResourceContract = {
2583
2591
  resource?: TronResourceCode;
2584
2592
  balance?: number;
2585
2593
  receiver_address?: string;
2586
2594
  lock?: boolean;
2587
2595
  };
2588
- export declare type TronUnDelegateResourceContract = {
2596
+ export type TronUnDelegateResourceContract = {
2589
2597
  resource?: TronResourceCode;
2590
2598
  balance?: number;
2591
2599
  receiver_address?: string;
2592
2600
  };
2593
- export declare type TronContract = {
2601
+ export type TronContract = {
2594
2602
  transfer_contract?: TronTransferContract;
2595
2603
  freeze_balance_contract?: TronFreezeBalanceContract;
2596
2604
  unfreeze_balance_contract?: TronUnfreezeBalanceContract;
@@ -2602,7 +2610,7 @@ export declare type TronContract = {
2602
2610
  delegate_resource_contract?: TronDelegateResourceContract;
2603
2611
  undelegate_resource_contract?: TronUnDelegateResourceContract;
2604
2612
  };
2605
- export declare type TronSignTx = {
2613
+ export type TronSignTx = {
2606
2614
  address_n: number[];
2607
2615
  ref_block_bytes: string;
2608
2616
  ref_block_hash: string;
@@ -2612,24 +2620,24 @@ export declare type TronSignTx = {
2612
2620
  timestamp: number;
2613
2621
  fee_limit?: number;
2614
2622
  };
2615
- export declare type TronSignedTx = {
2623
+ export type TronSignedTx = {
2616
2624
  signature: string;
2617
2625
  serialized_tx?: string;
2618
2626
  };
2619
- export declare type TronSignMessage = {
2627
+ export type TronSignMessage = {
2620
2628
  address_n: number[];
2621
2629
  message: string;
2622
2630
  };
2623
- export declare type TronMessageSignature = {
2631
+ export type TronMessageSignature = {
2624
2632
  address: string;
2625
2633
  signature: string;
2626
2634
  };
2627
- export declare type facotry = {};
2635
+ export type facotry = {};
2628
2636
  export declare enum CommandFlags {
2629
2637
  Default = 0,
2630
2638
  Factory_Only = 1
2631
2639
  }
2632
- export declare type MessageType = {
2640
+ export type MessageType = {
2633
2641
  AlgorandGetAddress: AlgorandGetAddress;
2634
2642
  AlgorandAddress: AlgorandAddress;
2635
2643
  AlgorandSignTx: AlgorandSignTx;
@@ -3054,6 +3062,8 @@ export declare type MessageType = {
3054
3062
  SuiAddress: SuiAddress;
3055
3063
  SuiSignTx: SuiSignTx;
3056
3064
  SuiSignedTx: SuiSignedTx;
3065
+ SuiSignMessage: SuiSignMessage;
3066
+ SuiMessageSignature: SuiMessageSignature;
3057
3067
  TezosGetAddress: TezosGetAddress;
3058
3068
  TezosAddress: TezosAddress;
3059
3069
  TezosGetPublicKey: TezosGetPublicKey;
@@ -3088,11 +3098,11 @@ export declare type MessageType = {
3088
3098
  TronMessageSignature: TronMessageSignature;
3089
3099
  facotry: facotry;
3090
3100
  };
3091
- export declare type MessageKey = keyof MessageType;
3092
- export declare type MessageResponse<T extends MessageKey> = {
3101
+ export type MessageKey = keyof MessageType;
3102
+ export type MessageResponse<T extends MessageKey> = {
3093
3103
  type: T;
3094
3104
  message: MessageType[T];
3095
3105
  };
3096
- export declare type TypedCall = <T extends MessageKey, R extends MessageKey>(type: T, resType: R, message?: MessageType[T]) => Promise<MessageResponse<R>>;
3106
+ export type TypedCall = <T extends MessageKey, R extends MessageKey>(type: T, resType: R, message?: MessageType[T]) => Promise<MessageResponse<R>>;
3097
3107
  export {};
3098
3108
  //# sourceMappingURL=messages.d.ts.map