@sats-connect/core 0.7.0-c70c343 → 0.7.0-e717297

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -101,12 +101,12 @@ interface InputToSign {
101
101
  }
102
102
  type PsbtPayload = {
103
103
  psbtBase64: string;
104
- inputsToSign: InputToSign[];
104
+ inputsToSign?: InputToSign[];
105
105
  broadcast?: boolean;
106
106
  };
107
107
  type SignMultiplePsbtPayload = {
108
108
  psbtBase64: string;
109
- inputsToSign: InputToSign[];
109
+ inputsToSign?: InputToSign[];
110
110
  };
111
111
  interface SignTransactionPayload extends RequestPayload, PsbtPayload {
112
112
  message: string;
@@ -138,7 +138,7 @@ declare const accountChangeSchema: v.ObjectSchema<{
138
138
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
139
139
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
140
140
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
141
- }, undefined>, undefined>, never>;
141
+ }, undefined>, undefined>, undefined>;
142
142
  }, undefined>;
143
143
  type AccountChangeEvent = v.InferOutput<typeof accountChangeSchema>;
144
144
  declare const networkChangeEventName = "networkChange";
@@ -156,7 +156,7 @@ declare const networkChangeSchema: v.ObjectSchema<{
156
156
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
157
157
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
158
158
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
159
- }, undefined>, undefined>, never>;
159
+ }, undefined>, undefined>, undefined>;
160
160
  }, undefined>;
161
161
  type NetworkChangeEvent = v.InferOutput<typeof networkChangeSchema>;
162
162
  declare const disconnectEventName = "disconnect";
@@ -172,7 +172,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
172
172
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
173
173
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
174
174
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
175
- }, undefined>, undefined>, never>;
175
+ }, undefined>, undefined>, undefined>;
176
176
  }, undefined>, v.ObjectSchema<{
177
177
  readonly type: v.LiteralSchema<"networkChange", undefined>;
178
178
  readonly bitcoin: v.ObjectSchema<{
@@ -187,14 +187,25 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
187
187
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
188
188
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
189
189
  readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
190
- }, undefined>, undefined>, never>;
190
+ }, undefined>, undefined>, undefined>;
191
191
  }, undefined>, v.ObjectSchema<{
192
192
  readonly type: v.LiteralSchema<"disconnect", undefined>;
193
193
  }, undefined>], undefined>;
194
194
  type WalletEvent = v.InferOutput<typeof walletEventSchema>;
195
- type AddListener = <const WalletEventName extends WalletEvent['type']>(eventName: WalletEventName, cb: (event: Extract<WalletEvent, {
196
- type: WalletEventName;
197
- }>) => void) => () => void;
195
+ type AccountChangeCallback = (e: AccountChangeEvent) => void;
196
+ type DisconnectCallback = (e: DisconnectEvent) => void;
197
+ type NetworkChangeCallback = (e: NetworkChangeEvent) => void;
198
+ type ListenerInfo = {
199
+ eventName: typeof accountChangeEventName;
200
+ cb: AccountChangeCallback;
201
+ } | {
202
+ eventName: typeof disconnectEventName;
203
+ cb: DisconnectCallback;
204
+ } | {
205
+ eventName: typeof networkChangeEventName;
206
+ cb: NetworkChangeCallback;
207
+ };
208
+ type AddListener = (arg: ListenerInfo) => () => void;
198
209
  interface BaseBitcoinProvider {
199
210
  request: <Method extends keyof Requests>(method: Method, options: Params<Method>, providerId?: string) => Promise<RpcResponse<Method>>;
200
211
  connect: (request: string) => Promise<GetAddressResponse>;
@@ -272,12 +283,12 @@ interface RequestOptions<Payload extends RequestPayload, Response> {
272
283
  payload: Payload;
273
284
  getProvider?: () => Promise<BitcoinProvider | undefined>;
274
285
  }
275
- declare const RpcIdSchema: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, never>;
286
+ declare const RpcIdSchema: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
276
287
  type RpcId = v.InferOutput<typeof RpcIdSchema>;
277
288
  declare const rpcRequestMessageSchema: v.ObjectSchema<{
278
289
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
279
290
  readonly method: v.StringSchema<undefined>;
280
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
291
+ readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
281
292
  readonly id: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
282
293
  }, undefined>;
283
294
  type RpcRequestMessage = v.InferOutput<typeof rpcRequestMessageSchema>;
@@ -336,23 +347,23 @@ declare enum RpcErrorCode {
336
347
  declare const rpcSuccessResponseMessageSchema: v.ObjectSchema<{
337
348
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
338
349
  readonly result: v.NonOptionalSchema<v.UnknownSchema, undefined>;
339
- readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, never>;
350
+ readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
340
351
  }, undefined>;
341
352
  type RpcSuccessResponseMessage = v.InferOutput<typeof rpcSuccessResponseMessageSchema>;
342
353
  declare const rpcErrorResponseMessageSchema: v.ObjectSchema<{
343
354
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
344
355
  readonly error: v.NonOptionalSchema<v.UnknownSchema, undefined>;
345
- readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, never>;
356
+ readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
346
357
  }, undefined>;
347
358
  type RpcErrorResponseMessage = v.InferOutput<typeof rpcErrorResponseMessageSchema>;
348
359
  declare const rpcResponseMessageSchema: v.UnionSchema<[v.ObjectSchema<{
349
360
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
350
361
  readonly result: v.NonOptionalSchema<v.UnknownSchema, undefined>;
351
- readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, never>;
362
+ readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
352
363
  }, undefined>, v.ObjectSchema<{
353
364
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
354
365
  readonly error: v.NonOptionalSchema<v.UnknownSchema, undefined>;
355
- readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, never>;
366
+ readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
356
367
  }, undefined>], undefined>;
357
368
  type RpcResponseMessage = v.InferOutput<typeof rpcResponseMessageSchema>;
358
369
  interface RpcError {
@@ -376,7 +387,7 @@ type RpcResult<Method extends keyof Requests> = {
376
387
  };
377
388
 
378
389
  declare const getInfoMethodName = "getInfo";
379
- declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
390
+ declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
380
391
  type GetInfoParams = v.InferOutput<typeof getInfoParamsSchema>;
381
392
  declare const getInfoResultSchema: v.ObjectSchema<{
382
393
  /**
@@ -386,7 +397,7 @@ declare const getInfoResultSchema: v.ObjectSchema<{
386
397
  /**
387
398
  * [WBIP](https://wbips.netlify.app/wbips/WBIP002) methods supported by the wallet.
388
399
  */
389
- readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
400
+ readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
390
401
  /**
391
402
  * List of WBIP standards supported by the wallet. Not currently used.
392
403
  */
@@ -395,7 +406,7 @@ declare const getInfoResultSchema: v.ObjectSchema<{
395
406
  type GetInfoResult = v.InferOutput<typeof getInfoResultSchema>;
396
407
  declare const getInfoRequestMessageSchema: v.ObjectSchema<{
397
408
  readonly method: v.LiteralSchema<"getInfo", undefined>;
398
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
409
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
399
410
  readonly id: v.StringSchema<undefined>;
400
411
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
401
412
  }, undefined>;
@@ -411,7 +422,7 @@ declare const getAddressesParamsSchema: v.ObjectSchema<{
411
422
  /**
412
423
  * A message to be displayed to the user in the request prompt.
413
424
  */
414
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
425
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
415
426
  }, undefined>;
416
427
  type GetAddressesParams = v.InferOutput<typeof getAddressesParamsSchema>;
417
428
  declare const getAddressesResultSchema: v.ObjectSchema<{
@@ -451,7 +462,7 @@ declare const getAddressesRequestMessageSchema: v.ObjectSchema<{
451
462
  /**
452
463
  * A message to be displayed to the user in the request prompt.
453
464
  */
454
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
465
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
455
466
  }, undefined>;
456
467
  readonly id: v.StringSchema<undefined>;
457
468
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -475,7 +486,7 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
475
486
  /**
476
487
  * The protocol to use for signing the message.
477
488
  */
478
- readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, never>;
489
+ readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
479
490
  }, undefined>;
480
491
  type SignMessageParams = v.InferOutput<typeof signMessageParamsSchema>;
481
492
  declare const signMessageResultSchema: v.ObjectSchema<{
@@ -511,7 +522,7 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
511
522
  /**
512
523
  * The protocol to use for signing the message.
513
524
  */
514
- readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, never>;
525
+ readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
515
526
  }, undefined>;
516
527
  readonly id: v.StringSchema<undefined>;
517
528
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -564,11 +575,11 @@ declare const signPsbtParamsSchema: v.ObjectSchema<{
564
575
  * The inputs to sign.
565
576
  * The key is the address and the value is an array of indexes of the inputs to sign.
566
577
  */
567
- readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, never>;
578
+ readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, undefined>;
568
579
  /**
569
580
  * Whether to broadcast the transaction after signing.
570
581
  **/
571
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
582
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
572
583
  }, undefined>;
573
584
  type SignPsbtParams = v.InferOutput<typeof signPsbtParamsSchema>;
574
585
  declare const signPsbtResultSchema: v.ObjectSchema<{
@@ -580,7 +591,7 @@ declare const signPsbtResultSchema: v.ObjectSchema<{
580
591
  * The transaction id as a hex-encoded string.
581
592
  * This is only returned if the transaction was broadcast.
582
593
  **/
583
- readonly txid: v.OptionalSchema<v.StringSchema<undefined>, never>;
594
+ readonly txid: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
584
595
  }, undefined>;
585
596
  type SignPsbtResult = v.InferOutput<typeof signPsbtResultSchema>;
586
597
  declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
@@ -594,11 +605,11 @@ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
594
605
  * The inputs to sign.
595
606
  * The key is the address and the value is an array of indexes of the inputs to sign.
596
607
  */
597
- readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, never>;
608
+ readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, undefined>;
598
609
  /**
599
610
  * Whether to broadcast the transaction after signing.
600
611
  **/
601
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
612
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
602
613
  }, undefined>;
603
614
  readonly id: v.StringSchema<undefined>;
604
615
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -615,7 +626,7 @@ declare const getAccountsParamsSchema: v.ObjectSchema<{
615
626
  /**
616
627
  * A message to be displayed to the user in the request prompt.
617
628
  */
618
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
629
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
619
630
  }, undefined>;
620
631
  type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
621
632
  declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
@@ -639,7 +650,7 @@ declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
639
650
  /**
640
651
  * A message to be displayed to the user in the request prompt.
641
652
  */
642
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
653
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
643
654
  }, undefined>;
644
655
  readonly id: v.StringSchema<undefined>;
645
656
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -647,7 +658,7 @@ declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
647
658
  type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageSchema>;
648
659
  type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
649
660
  declare const getBalanceMethodName = "getBalance";
650
- declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
661
+ declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
651
662
  type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
652
663
  declare const getBalanceResultSchema: v.ObjectSchema<{
653
664
  /**
@@ -674,7 +685,7 @@ declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
674
685
  readonly method: v.LiteralSchema<"getBalance", undefined>;
675
686
  readonly id: v.StringSchema<undefined>;
676
687
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
677
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
688
+ readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
678
689
  }, undefined>;
679
690
  type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
680
691
  type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
@@ -693,7 +704,7 @@ declare const getInscriptionsResultSchema: v.ObjectSchema<{
693
704
  readonly inscriptionId: v.StringSchema<undefined>;
694
705
  readonly inscriptionNumber: v.StringSchema<undefined>;
695
706
  readonly address: v.StringSchema<undefined>;
696
- readonly collectionName: v.OptionalSchema<v.StringSchema<undefined>, never>;
707
+ readonly collectionName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
697
708
  readonly postage: v.StringSchema<undefined>;
698
709
  readonly contentLength: v.StringSchema<undefined>;
699
710
  readonly contentType: v.StringSchema<undefined>;
@@ -827,29 +838,29 @@ type RunesEstimateRbfOrder = MethodParamsAndResult<RunesEstimateRbfOrderParams,
827
838
  declare const runesEtchMethodName = "runes_etch";
828
839
  declare const runesEtchParamsSchema: v.ObjectSchema<{
829
840
  readonly runeName: v.StringSchema<undefined>;
830
- readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
831
- readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
832
- readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
841
+ readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
842
+ readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
843
+ readonly premine: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
833
844
  readonly isMintable: v.BooleanSchema<undefined>;
834
- readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
845
+ readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
835
846
  readonly destinationAddress: v.StringSchema<undefined>;
836
847
  readonly refundAddress: v.StringSchema<undefined>;
837
848
  readonly feeRate: v.NumberSchema<undefined>;
838
- readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
839
- readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
849
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
850
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
840
851
  readonly terms: v.OptionalSchema<v.ObjectSchema<{
841
852
  readonly amount: v.StringSchema<undefined>;
842
853
  readonly cap: v.StringSchema<undefined>;
843
- readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
844
- readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
845
- readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
846
- readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
847
- }, undefined>, never>;
854
+ readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
855
+ readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
856
+ readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
857
+ readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
858
+ }, undefined>, undefined>;
848
859
  readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
849
860
  readonly contentType: v.StringSchema<undefined>;
850
861
  readonly contentBase64: v.StringSchema<undefined>;
851
- }, undefined>, never>;
852
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
862
+ }, undefined>, undefined>;
863
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
853
864
  }, undefined>;
854
865
  type RunesEtchParams = v.InferOutput<typeof runesEtchParamsSchema>;
855
866
  declare const runesEtchResultSchema: v.ObjectSchema<{
@@ -862,29 +873,29 @@ declare const runesEtchRequestMessageSchema: v.ObjectSchema<{
862
873
  readonly method: v.LiteralSchema<"runes_etch", undefined>;
863
874
  readonly params: v.ObjectSchema<{
864
875
  readonly runeName: v.StringSchema<undefined>;
865
- readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
866
- readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
867
- readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
876
+ readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
877
+ readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
878
+ readonly premine: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
868
879
  readonly isMintable: v.BooleanSchema<undefined>;
869
- readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
880
+ readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
870
881
  readonly destinationAddress: v.StringSchema<undefined>;
871
882
  readonly refundAddress: v.StringSchema<undefined>;
872
883
  readonly feeRate: v.NumberSchema<undefined>;
873
- readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
874
- readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
884
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
885
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
875
886
  readonly terms: v.OptionalSchema<v.ObjectSchema<{
876
887
  readonly amount: v.StringSchema<undefined>;
877
888
  readonly cap: v.StringSchema<undefined>;
878
- readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
879
- readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
880
- readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
881
- readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
882
- }, undefined>, never>;
889
+ readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
890
+ readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
891
+ readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
892
+ readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
893
+ }, undefined>, undefined>;
883
894
  readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
884
895
  readonly contentType: v.StringSchema<undefined>;
885
896
  readonly contentBase64: v.StringSchema<undefined>;
886
- }, undefined>, never>;
887
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
897
+ }, undefined>, undefined>;
898
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
888
899
  }, undefined>;
889
900
  readonly id: v.StringSchema<undefined>;
890
901
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -893,7 +904,7 @@ type RunesEtchRequestMessage = v.InferOutput<typeof runesEtchRequestMessageSchem
893
904
  type RunesEtch = MethodParamsAndResult<v.InferOutput<typeof runesEtchParamsSchema>, v.InferOutput<typeof runesEtchResultSchema>>;
894
905
 
895
906
  declare const runesGetBalanceMethodName = "runes_getBalance";
896
- declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
907
+ declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
897
908
  type RunesGetBalanceParams = v.InferOutput<typeof runesGetBalanceParamsSchema>;
898
909
  declare const runesGetBalanceResultSchema: v.ObjectSchema<{
899
910
  readonly balances: v.ArraySchema<v.ObjectSchema<{
@@ -901,14 +912,14 @@ declare const runesGetBalanceResultSchema: v.ObjectSchema<{
901
912
  readonly amount: v.StringSchema<undefined>;
902
913
  readonly divisibility: v.NumberSchema<undefined>;
903
914
  readonly symbol: v.StringSchema<undefined>;
904
- readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>, never>;
915
+ readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>, undefined>;
905
916
  readonly spendableBalance: v.StringSchema<undefined>;
906
917
  }, undefined>, undefined>;
907
918
  }, undefined>;
908
919
  type RunesGetBalanceResult = v.InferOutput<typeof runesGetBalanceResultSchema>;
909
920
  declare const runesGetBalanceRequestMessageSchema: v.ObjectSchema<{
910
921
  readonly method: v.LiteralSchema<"runes_getBalance", undefined>;
911
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
922
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
912
923
  readonly id: v.StringSchema<undefined>;
913
924
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
914
925
  }, undefined>;
@@ -922,14 +933,14 @@ type RunesGetOrder = MethodParamsAndResult<RunesGetOrderParams, GetOrderResponse
922
933
 
923
934
  declare const runesMintMethodName = "runes_mint";
924
935
  declare const runesMintParamsSchema: v.ObjectSchema<{
925
- readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
926
- readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
936
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
937
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
927
938
  readonly destinationAddress: v.StringSchema<undefined>;
928
939
  readonly feeRate: v.NumberSchema<undefined>;
929
940
  readonly refundAddress: v.StringSchema<undefined>;
930
941
  readonly repeats: v.NumberSchema<undefined>;
931
942
  readonly runeName: v.StringSchema<undefined>;
932
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
943
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
933
944
  }, undefined>;
934
945
  type RunesMintParams = v.InferOutput<typeof runesMintParamsSchema>;
935
946
  declare const runesMintResultSchema: v.ObjectSchema<{
@@ -941,14 +952,14 @@ type RunesMintResult = v.InferOutput<typeof runesMintResultSchema>;
941
952
  declare const runesMintRequestMessageSchema: v.ObjectSchema<{
942
953
  readonly method: v.LiteralSchema<"runes_mint", undefined>;
943
954
  readonly params: v.ObjectSchema<{
944
- readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
945
- readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
955
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
956
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
946
957
  readonly destinationAddress: v.StringSchema<undefined>;
947
958
  readonly feeRate: v.NumberSchema<undefined>;
948
959
  readonly refundAddress: v.StringSchema<undefined>;
949
960
  readonly repeats: v.NumberSchema<undefined>;
950
961
  readonly runeName: v.StringSchema<undefined>;
951
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
962
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
952
963
  }, undefined>;
953
964
  readonly id: v.StringSchema<undefined>;
954
965
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1012,7 +1023,7 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
1012
1023
  /**
1013
1024
  * @deprecated in favor of `functionArgs` for @stacks/connect compatibility
1014
1025
  */
1015
- readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1026
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1016
1027
  /**
1017
1028
  * The function's arguments. The arguments are expected to be hex-encoded
1018
1029
  * strings of Clarity values.
@@ -1027,15 +1038,15 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
1027
1038
  * const hexArgs = functionArgs.map(cvToHex);
1028
1039
  * ```
1029
1040
  */
1030
- readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1041
+ readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1031
1042
  /**
1032
1043
  * The post conditions to apply to the contract call.
1033
1044
  */
1034
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1045
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1035
1046
  /**
1036
1047
  * The mode to apply to the post conditions.
1037
1048
  */
1038
- readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, never>;
1049
+ readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
1039
1050
  }, undefined>;
1040
1051
  type StxCallContractParams = v.InferOutput<typeof stxCallContractParamsSchema>;
1041
1052
  declare const stxCallContractResultSchema: v.ObjectSchema<{
@@ -1068,7 +1079,7 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
1068
1079
  /**
1069
1080
  * @deprecated in favor of `functionArgs` for @stacks/connect compatibility
1070
1081
  */
1071
- readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1082
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1072
1083
  /**
1073
1084
  * The function's arguments. The arguments are expected to be hex-encoded
1074
1085
  * strings of Clarity values.
@@ -1083,15 +1094,15 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
1083
1094
  * const hexArgs = functionArgs.map(cvToHex);
1084
1095
  * ```
1085
1096
  */
1086
- readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1097
+ readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1087
1098
  /**
1088
1099
  * The post conditions to apply to the contract call.
1089
1100
  */
1090
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1101
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1091
1102
  /**
1092
1103
  * The mode to apply to the post conditions.
1093
1104
  */
1094
- readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, never>;
1105
+ readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
1095
1106
  }, undefined>;
1096
1107
  readonly id: v.StringSchema<undefined>;
1097
1108
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1112,15 +1123,15 @@ declare const stxDeployContractParamsSchema: v.ObjectSchema<{
1112
1123
  /**
1113
1124
  * The version of the Clarity contract.
1114
1125
  */
1115
- readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1126
+ readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1116
1127
  /**
1117
1128
  * The post conditions to apply to the contract call.
1118
1129
  */
1119
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1130
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1120
1131
  /**
1121
1132
  * The mode to apply to the post conditions.
1122
1133
  */
1123
- readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, never>;
1134
+ readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
1124
1135
  }, undefined>;
1125
1136
  type StxDeployContractParams = v.InferOutput<typeof stxDeployContractParamsSchema>;
1126
1137
  declare const stxDeployContractResultSchema: v.ObjectSchema<{
@@ -1148,15 +1159,15 @@ declare const stxDeployContractRequestMessageSchema: v.ObjectSchema<{
1148
1159
  /**
1149
1160
  * The version of the Clarity contract.
1150
1161
  */
1151
- readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1162
+ readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1152
1163
  /**
1153
1164
  * The post conditions to apply to the contract call.
1154
1165
  */
1155
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1166
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1156
1167
  /**
1157
1168
  * The mode to apply to the post conditions.
1158
1169
  */
1159
- readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, never>;
1170
+ readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
1160
1171
  }, undefined>;
1161
1172
  readonly id: v.StringSchema<undefined>;
1162
1173
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1165,7 +1176,7 @@ type StxDeployContractRequestMessage = v.InferOutput<typeof stxDeployContractReq
1165
1176
  type StxDeployContract = MethodParamsAndResult<StxDeployContractParams, StxDeployContractResult>;
1166
1177
 
1167
1178
  declare const stxGetAccountsMethodName = "stx_getAccounts";
1168
- declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1179
+ declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1169
1180
  type StxGetAccountsParams = v.InferOutput<typeof stxGetAccountsParamsSchema>;
1170
1181
  declare const stxGetAccountsResultSchema: v.ObjectSchema<{
1171
1182
  /**
@@ -1189,7 +1200,7 @@ declare const stxGetAccountsResultSchema: v.ObjectSchema<{
1189
1200
  type StxGetAccountsResult = v.InferOutput<typeof stxGetAccountsResultSchema>;
1190
1201
  declare const stxGetAccountsRequestMessageSchema: v.ObjectSchema<{
1191
1202
  readonly method: v.LiteralSchema<"stx_getAccounts", undefined>;
1192
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1203
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1193
1204
  readonly id: v.StringSchema<undefined>;
1194
1205
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1195
1206
  }, undefined>;
@@ -1201,8 +1212,8 @@ declare const stxGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
1201
1212
  /**
1202
1213
  * A message to be displayed to the user in the request prompt.
1203
1214
  */
1204
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
1205
- }, undefined>, never>;
1215
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1216
+ }, undefined>, undefined>;
1206
1217
  type StxGetAddressesParams = v.InferOutput<typeof stxGetAddressesParamsSchema>;
1207
1218
  declare const stxGetAddressesResultSchema: v.ObjectSchema<{
1208
1219
  /**
@@ -1231,8 +1242,8 @@ declare const stxGetAddressesRequestMessageSchema: v.ObjectSchema<{
1231
1242
  /**
1232
1243
  * A message to be displayed to the user in the request prompt.
1233
1244
  */
1234
- readonly message: v.OptionalSchema<v.StringSchema<undefined>, never>;
1235
- }, undefined>, never>;
1245
+ readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1246
+ }, undefined>, undefined>;
1236
1247
  readonly id: v.StringSchema<undefined>;
1237
1248
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1238
1249
  }, undefined>;
@@ -1285,7 +1296,7 @@ declare const stxSignStructuredMessageParamsSchema: v.ObjectSchema<{
1285
1296
  /**
1286
1297
  * The public key to sign the message with.
1287
1298
  */
1288
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1299
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1289
1300
  }, undefined>;
1290
1301
  type StxSignStructuredMessageParams = v.InferOutput<typeof stxSignStructuredMessageParamsSchema>;
1291
1302
  declare const stxSignStructuredMessageResultSchema: v.ObjectSchema<{
@@ -1313,7 +1324,7 @@ declare const stxSignStructuredMessageRequestMessageSchema: v.ObjectSchema<{
1313
1324
  /**
1314
1325
  * The public key to sign the message with.
1315
1326
  */
1316
- readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1327
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1317
1328
  }, undefined>;
1318
1329
  readonly id: v.StringSchema<undefined>;
1319
1330
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1331,11 +1342,11 @@ declare const stxSignTransactionParamsSchema: v.ObjectSchema<{
1331
1342
  * The public key to sign the transaction with. The wallet may use any key
1332
1343
  * when not provided.
1333
1344
  */
1334
- readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1345
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1335
1346
  /**
1336
1347
  * Whether to broadcast the transaction after signing. Defaults to `true`.
1337
1348
  */
1338
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1349
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1339
1350
  }, undefined>;
1340
1351
  type StxSignTransactionParams = v.InferOutput<typeof stxSignTransactionParamsSchema>;
1341
1352
  declare const stxSignTransactionResultSchema: v.ObjectSchema<{
@@ -1356,11 +1367,11 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
1356
1367
  * The public key to sign the transaction with. The wallet may use any key
1357
1368
  * when not provided.
1358
1369
  */
1359
- readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1370
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1360
1371
  /**
1361
1372
  * Whether to broadcast the transaction after signing. Defaults to `true`.
1362
1373
  */
1363
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1374
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1364
1375
  }, undefined>;
1365
1376
  readonly id: v.StringSchema<undefined>;
1366
1377
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1373,12 +1384,12 @@ declare const stxSignTransactionsParamsSchema: v.ObjectSchema<{
1373
1384
  /**
1374
1385
  * The transactions to sign as hex-encoded strings.
1375
1386
  */
1376
- readonly transactions: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1387
+ readonly transactions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1377
1388
  /**
1378
1389
  * Whether the signed transactions should be broadcast after signing. Defaults
1379
1390
  * to `true`.
1380
1391
  */
1381
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1392
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1382
1393
  }, undefined>;
1383
1394
  type StxSignTransactionsParams = v.InferOutput<typeof stxSignTransactionsParamsSchema>;
1384
1395
  declare const stxSignTransactionsResultSchema: v.ObjectSchema<{
@@ -1395,12 +1406,12 @@ declare const stxSignTransactionsRequestMessageSchema: v.ObjectSchema<{
1395
1406
  /**
1396
1407
  * The transactions to sign as hex-encoded strings.
1397
1408
  */
1398
- readonly transactions: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1409
+ readonly transactions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1399
1410
  /**
1400
1411
  * Whether the signed transactions should be broadcast after signing. Defaults
1401
1412
  * to `true`.
1402
1413
  */
1403
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1414
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1404
1415
  }, undefined>;
1405
1416
  readonly id: v.StringSchema<undefined>;
1406
1417
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1430,15 +1441,15 @@ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
1430
1441
  /**
1431
1442
  * A string representing the memo.
1432
1443
  */
1433
- readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1444
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1434
1445
  /**
1435
1446
  * Version of parameter format.
1436
1447
  */
1437
- readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1448
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1438
1449
  /**
1439
1450
  * The mode of the post conditions.
1440
1451
  */
1441
- readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1452
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1442
1453
  /**
1443
1454
  * A hex-encoded string representing the post conditions.
1444
1455
  *
@@ -1451,12 +1462,12 @@ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
1451
1462
  * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1452
1463
  * ```
1453
1464
  */
1454
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1465
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1455
1466
  /**
1456
1467
  * The public key to sign the transaction with. The wallet may use any key
1457
1468
  * when not provided.
1458
1469
  */
1459
- readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1470
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1460
1471
  }, undefined>;
1461
1472
  type StxTransferStxParams = v.InferOutput<typeof stxTransferStxParamsSchema>;
1462
1473
  declare const stxTransferStxResultSchema: v.ObjectSchema<{
@@ -1493,15 +1504,15 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
1493
1504
  /**
1494
1505
  * A string representing the memo.
1495
1506
  */
1496
- readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1507
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1497
1508
  /**
1498
1509
  * Version of parameter format.
1499
1510
  */
1500
- readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1511
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1501
1512
  /**
1502
1513
  * The mode of the post conditions.
1503
1514
  */
1504
- readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1515
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1505
1516
  /**
1506
1517
  * A hex-encoded string representing the post conditions.
1507
1518
  *
@@ -1514,12 +1525,12 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
1514
1525
  * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1515
1526
  * ```
1516
1527
  */
1517
- readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1528
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1518
1529
  /**
1519
1530
  * The public key to sign the transaction with. The wallet may use any key
1520
1531
  * when not provided.
1521
1532
  */
1522
- readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1533
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1523
1534
  }, undefined>;
1524
1535
  readonly id: v.StringSchema<undefined>;
1525
1536
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1528,17 +1539,17 @@ type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMe
1528
1539
  type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
1529
1540
 
1530
1541
  declare const accountActionsSchema: v.ObjectSchema<{
1531
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1542
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1532
1543
  }, undefined>;
1533
1544
  declare const walletActionsSchema: v.ObjectSchema<{
1534
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1545
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1535
1546
  }, undefined>;
1536
1547
  declare const accountPermissionSchema: v.ObjectSchema<{
1537
1548
  readonly type: v.LiteralSchema<"account", undefined>;
1538
1549
  readonly resourceId: v.StringSchema<undefined>;
1539
1550
  readonly clientId: v.StringSchema<undefined>;
1540
1551
  readonly actions: v.ObjectSchema<{
1541
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1552
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1542
1553
  }, undefined>;
1543
1554
  }, undefined>;
1544
1555
  declare const walletPermissionSchema: v.ObjectSchema<{
@@ -1546,7 +1557,7 @@ declare const walletPermissionSchema: v.ObjectSchema<{
1546
1557
  readonly resourceId: v.StringSchema<undefined>;
1547
1558
  readonly clientId: v.StringSchema<undefined>;
1548
1559
  readonly actions: v.ObjectSchema<{
1549
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1560
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1550
1561
  }, undefined>;
1551
1562
  }, undefined>;
1552
1563
  /**
@@ -1559,13 +1570,13 @@ declare const PermissionRequestParams: v.VariantSchema<"type", [v.ObjectSchema<{
1559
1570
  readonly type: v.LiteralSchema<"account", undefined>;
1560
1571
  readonly resourceId: v.StringSchema<undefined>;
1561
1572
  readonly actions: v.ObjectSchema<{
1562
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1573
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1563
1574
  }, undefined>;
1564
1575
  }, undefined>, v.ObjectSchema<{
1565
1576
  readonly type: v.LiteralSchema<"wallet", undefined>;
1566
1577
  readonly resourceId: v.StringSchema<undefined>;
1567
1578
  readonly actions: v.ObjectSchema<{
1568
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1579
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1569
1580
  }, undefined>;
1570
1581
  }, undefined>], undefined>;
1571
1582
  declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
@@ -1573,14 +1584,14 @@ declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
1573
1584
  readonly resourceId: v.StringSchema<undefined>;
1574
1585
  readonly clientId: v.StringSchema<undefined>;
1575
1586
  readonly actions: v.ObjectSchema<{
1576
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1587
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1577
1588
  }, undefined>;
1578
1589
  }, undefined>, v.ObjectSchema<{
1579
1590
  readonly type: v.LiteralSchema<"wallet", undefined>;
1580
1591
  readonly resourceId: v.StringSchema<undefined>;
1581
1592
  readonly clientId: v.StringSchema<undefined>;
1582
1593
  readonly actions: v.ObjectSchema<{
1583
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1594
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1584
1595
  }, undefined>;
1585
1596
  }, undefined>], undefined>;
1586
1597
  type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
@@ -1589,15 +1600,15 @@ declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.Va
1589
1600
  readonly type: v.LiteralSchema<"account", undefined>;
1590
1601
  readonly resourceId: v.StringSchema<undefined>;
1591
1602
  readonly actions: v.ObjectSchema<{
1592
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1603
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1593
1604
  }, undefined>;
1594
1605
  }, undefined>, v.ObjectSchema<{
1595
1606
  readonly type: v.LiteralSchema<"wallet", undefined>;
1596
1607
  readonly resourceId: v.StringSchema<undefined>;
1597
1608
  readonly actions: v.ObjectSchema<{
1598
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1609
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1599
1610
  }, undefined>;
1600
- }, undefined>], undefined>, undefined>, never>;
1611
+ }, undefined>], undefined>, undefined>, undefined>;
1601
1612
  type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
1602
1613
  declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
1603
1614
  type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
@@ -1607,88 +1618,88 @@ declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
1607
1618
  readonly type: v.LiteralSchema<"account", undefined>;
1608
1619
  readonly resourceId: v.StringSchema<undefined>;
1609
1620
  readonly actions: v.ObjectSchema<{
1610
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1621
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1611
1622
  }, undefined>;
1612
1623
  }, undefined>, v.ObjectSchema<{
1613
1624
  readonly type: v.LiteralSchema<"wallet", undefined>;
1614
1625
  readonly resourceId: v.StringSchema<undefined>;
1615
1626
  readonly actions: v.ObjectSchema<{
1616
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1627
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1617
1628
  }, undefined>;
1618
- }, undefined>], undefined>, undefined>, never>;
1629
+ }, undefined>], undefined>, undefined>, undefined>;
1619
1630
  readonly id: v.StringSchema<undefined>;
1620
1631
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1621
1632
  }, undefined>;
1622
1633
  type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
1623
1634
  type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
1624
1635
  declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
1625
- declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1636
+ declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1626
1637
  type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
1627
- declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1638
+ declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1628
1639
  type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
1629
1640
  declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
1630
1641
  readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
1631
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1642
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1632
1643
  readonly id: v.StringSchema<undefined>;
1633
1644
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1634
1645
  }, undefined>;
1635
1646
  type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
1636
1647
  type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
1637
1648
  declare const disconnectMethodName = "wallet_disconnect";
1638
- declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1649
+ declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1639
1650
  type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
1640
- declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1651
+ declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1641
1652
  type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
1642
1653
  declare const disconnectRequestMessageSchema: v.ObjectSchema<{
1643
1654
  readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
1644
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1655
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1645
1656
  readonly id: v.StringSchema<undefined>;
1646
1657
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1647
1658
  }, undefined>;
1648
1659
  type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
1649
1660
  type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
1650
1661
  declare const getWalletTypeMethodName = "wallet_getWalletType";
1651
- declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1662
+ declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1652
1663
  type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
1653
1664
  declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
1654
1665
  type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
1655
1666
  declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
1656
1667
  readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
1657
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1668
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1658
1669
  readonly id: v.StringSchema<undefined>;
1659
1670
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1660
1671
  }, undefined>;
1661
1672
  type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
1662
1673
  type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
1663
1674
  declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
1664
- declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1675
+ declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1665
1676
  type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
1666
1677
  declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1667
1678
  readonly type: v.LiteralSchema<"account", undefined>;
1668
1679
  readonly resourceId: v.StringSchema<undefined>;
1669
1680
  readonly clientId: v.StringSchema<undefined>;
1670
1681
  readonly actions: v.ObjectSchema<{
1671
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1682
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1672
1683
  }, undefined>;
1673
1684
  }, undefined>, v.ObjectSchema<{
1674
1685
  readonly type: v.LiteralSchema<"wallet", undefined>;
1675
1686
  readonly resourceId: v.StringSchema<undefined>;
1676
1687
  readonly clientId: v.StringSchema<undefined>;
1677
1688
  readonly actions: v.ObjectSchema<{
1678
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1689
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1679
1690
  }, undefined>;
1680
1691
  }, undefined>], undefined>, undefined>;
1681
1692
  type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
1682
1693
  declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
1683
1694
  readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
1684
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1695
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1685
1696
  readonly id: v.StringSchema<undefined>;
1686
1697
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1687
1698
  }, undefined>;
1688
1699
  type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
1689
1700
  type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
1690
1701
  declare const getNetworkMethodName = "wallet_getNetwork";
1691
- declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1702
+ declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1692
1703
  type GetNetworkParams = v.InferOutput<typeof getNetworkParamsSchema>;
1693
1704
  declare const getNetworkResultSchema: v.ObjectSchema<{
1694
1705
  readonly bitcoin: v.ObjectSchema<{
@@ -1701,7 +1712,7 @@ declare const getNetworkResultSchema: v.ObjectSchema<{
1701
1712
  type GetNetworkResult = v.InferOutput<typeof getNetworkResultSchema>;
1702
1713
  declare const getNetworkRequestMessageSchema: v.ObjectSchema<{
1703
1714
  readonly method: v.LiteralSchema<"wallet_getNetwork", undefined>;
1704
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1715
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1705
1716
  readonly id: v.StringSchema<undefined>;
1706
1717
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1707
1718
  }, undefined>;
@@ -1712,7 +1723,7 @@ declare const changeNetworkParamsSchema: v.ObjectSchema<{
1712
1723
  readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
1713
1724
  }, undefined>;
1714
1725
  type ChangeNetworkParams = v.InferOutput<typeof changeNetworkParamsSchema>;
1715
- declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1726
+ declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1716
1727
  type ChangeNetworkResult = v.InferOutput<typeof changeNetworkResultSchema>;
1717
1728
  declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
1718
1729
  readonly method: v.LiteralSchema<"wallet_changeNetwork", undefined>;
@@ -1724,8 +1735,25 @@ declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
1724
1735
  }, undefined>;
1725
1736
  type ChangeNetworkRequestMessage = v.InferOutput<typeof changeNetworkRequestMessageSchema>;
1726
1737
  type ChangeNetwork = MethodParamsAndResult<ChangeNetworkParams, ChangeNetworkResult>;
1738
+ declare const changeNetworkByIdMethodName = "wallet_changeNetworkById";
1739
+ declare const changeNetworkByIdParamsSchema: v.ObjectSchema<{
1740
+ readonly id: v.StringSchema<undefined>;
1741
+ }, undefined>;
1742
+ type ChangeNetworkByIdParams = v.InferOutput<typeof changeNetworkByIdParamsSchema>;
1743
+ declare const changeNetworkByIdResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1744
+ type ChangeNetworkByIdResult = v.InferOutput<typeof changeNetworkByIdResultSchema>;
1745
+ declare const changeNetworkByIdRequestMessageSchema: v.ObjectSchema<{
1746
+ readonly method: v.LiteralSchema<"wallet_changeNetworkById", undefined>;
1747
+ readonly params: v.ObjectSchema<{
1748
+ readonly id: v.StringSchema<undefined>;
1749
+ }, undefined>;
1750
+ readonly id: v.StringSchema<undefined>;
1751
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1752
+ }, undefined>;
1753
+ type ChangeNetworkByIdRequestMessage = v.InferOutput<typeof changeNetworkByIdRequestMessageSchema>;
1754
+ type ChangeNetworkById = MethodParamsAndResult<ChangeNetworkByIdParams, ChangeNetworkByIdResult>;
1727
1755
  declare const getAccountMethodName = "wallet_getAccount";
1728
- declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1756
+ declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1729
1757
  type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
1730
1758
  declare const getAccountResultSchema: v.ObjectSchema<{
1731
1759
  readonly id: v.StringSchema<undefined>;
@@ -1749,7 +1777,7 @@ declare const getAccountResultSchema: v.ObjectSchema<{
1749
1777
  type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
1750
1778
  declare const getAccountRequestMessageSchema: v.ObjectSchema<{
1751
1779
  readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
1752
- readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1780
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
1753
1781
  readonly id: v.StringSchema<undefined>;
1754
1782
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1755
1783
  }, undefined>;
@@ -1761,19 +1789,19 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1761
1789
  readonly type: v.LiteralSchema<"account", undefined>;
1762
1790
  readonly resourceId: v.StringSchema<undefined>;
1763
1791
  readonly actions: v.ObjectSchema<{
1764
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1792
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1765
1793
  }, undefined>;
1766
1794
  }, undefined>, v.ObjectSchema<{
1767
1795
  readonly type: v.LiteralSchema<"wallet", undefined>;
1768
1796
  readonly resourceId: v.StringSchema<undefined>;
1769
1797
  readonly actions: v.ObjectSchema<{
1770
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1798
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1771
1799
  }, undefined>;
1772
- }, undefined>], undefined>, undefined>, never>;
1773
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1774
- readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1775
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1776
- }, undefined>, never>;
1800
+ }, undefined>], undefined>, undefined>, undefined>;
1801
+ readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
1802
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
1803
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
1804
+ }, undefined>, undefined>;
1777
1805
  type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
1778
1806
  declare const connectResultSchema: v.ObjectSchema<{
1779
1807
  readonly id: v.StringSchema<undefined>;
@@ -1802,19 +1830,19 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
1802
1830
  readonly type: v.LiteralSchema<"account", undefined>;
1803
1831
  readonly resourceId: v.StringSchema<undefined>;
1804
1832
  readonly actions: v.ObjectSchema<{
1805
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1833
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1806
1834
  }, undefined>;
1807
1835
  }, undefined>, v.ObjectSchema<{
1808
1836
  readonly type: v.LiteralSchema<"wallet", undefined>;
1809
1837
  readonly resourceId: v.StringSchema<undefined>;
1810
1838
  readonly actions: v.ObjectSchema<{
1811
- readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1839
+ readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1812
1840
  }, undefined>;
1813
- }, undefined>], undefined>, undefined>, never>;
1814
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1815
- readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1816
- readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1817
- }, undefined>, never>;
1841
+ }, undefined>], undefined>, undefined>, undefined>;
1842
+ readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
1843
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
1844
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
1845
+ }, undefined>, undefined>;
1818
1846
  readonly id: v.StringSchema<undefined>;
1819
1847
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1820
1848
  }, undefined>;
@@ -1823,54 +1851,62 @@ type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
1823
1851
  declare const addNetworkMethodName = "wallet_addNetwork";
1824
1852
  declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
1825
1853
  readonly chain: v.LiteralSchema<"bitcoin", undefined>;
1826
- readonly networkType: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
1854
+ readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
1827
1855
  readonly name: v.StringSchema<undefined>;
1828
1856
  readonly rpcUrl: v.StringSchema<undefined>;
1829
- readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1830
- readonly indexerUrl: v.StringSchema<undefined>;
1831
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1857
+ readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1858
+ readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1859
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1860
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1832
1861
  }, undefined>, v.ObjectSchema<{
1833
1862
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1834
1863
  readonly name: v.StringSchema<undefined>;
1835
- readonly networkType: v.EnumSchema<typeof StacksNetworkType, undefined>;
1864
+ readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1836
1865
  readonly rpcUrl: v.StringSchema<undefined>;
1837
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1866
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1867
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1838
1868
  }, undefined>, v.ObjectSchema<{
1839
1869
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1840
1870
  readonly name: v.StringSchema<undefined>;
1841
- readonly networkType: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1871
+ readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1842
1872
  readonly rpcUrl: v.StringSchema<undefined>;
1843
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1873
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1874
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1844
1875
  }, undefined>], undefined>;
1845
1876
  type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
1846
1877
  declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
1847
1878
  readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
1848
1879
  readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
1849
1880
  readonly chain: v.LiteralSchema<"bitcoin", undefined>;
1850
- readonly networkType: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
1881
+ readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
1851
1882
  readonly name: v.StringSchema<undefined>;
1852
1883
  readonly rpcUrl: v.StringSchema<undefined>;
1853
- readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1854
- readonly indexerUrl: v.StringSchema<undefined>;
1855
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1884
+ readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1885
+ readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1886
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1887
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1856
1888
  }, undefined>, v.ObjectSchema<{
1857
1889
  readonly chain: v.LiteralSchema<"stacks", undefined>;
1858
1890
  readonly name: v.StringSchema<undefined>;
1859
- readonly networkType: v.EnumSchema<typeof StacksNetworkType, undefined>;
1891
+ readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
1860
1892
  readonly rpcUrl: v.StringSchema<undefined>;
1861
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1893
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1894
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1862
1895
  }, undefined>, v.ObjectSchema<{
1863
1896
  readonly chain: v.LiteralSchema<"starknet", undefined>;
1864
1897
  readonly name: v.StringSchema<undefined>;
1865
- readonly networkType: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1898
+ readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
1866
1899
  readonly rpcUrl: v.StringSchema<undefined>;
1867
- readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, never>;
1900
+ readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1901
+ readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1868
1902
  }, undefined>], undefined>;
1869
1903
  readonly id: v.StringSchema<undefined>;
1870
1904
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1871
1905
  }, undefined>;
1872
1906
  type AddNetworkRequestMessage = v.InferOutput<typeof addNetworkRequestMessageSchema>;
1873
- declare const addNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1907
+ declare const addNetworkResultSchema: v.ObjectSchema<{
1908
+ readonly id: v.StringSchema<undefined>;
1909
+ }, undefined>;
1874
1910
  type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
1875
1911
  type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
1876
1912
 
@@ -1920,6 +1956,7 @@ type OrdinalsRequestMethod = keyof OrdinalsRequests;
1920
1956
  interface WalletRequests {
1921
1957
  wallet_addNetwork: AddNetwork;
1922
1958
  wallet_changeNetwork: ChangeNetwork;
1959
+ wallet_changeNetworkById: ChangeNetworkById;
1923
1960
  wallet_connect: Connect;
1924
1961
  wallet_disconnect: Disconnect;
1925
1962
  wallet_getAccount: GetAccount;
@@ -1934,7 +1971,7 @@ type Return<Method> = Method extends keyof Requests ? Requests[Method]['result']
1934
1971
  type Params<Method> = Method extends keyof Requests ? Requests[Method]['params'] : never;
1935
1972
 
1936
1973
  declare const request: <Method extends keyof BtcRequests | keyof StxRequests | keyof RunesRequests | keyof WalletRequests | keyof OrdinalsRequests>(method: Method, params: Params<Method>, providerId?: string) => Promise<RpcResult<Method>>;
1937
- declare const addListener: (event: Parameters<AddListener>[0], cb: Parameters<AddListener>[1], providerId?: string) => ReturnType<AddListener>;
1974
+ declare const addListener: (listenerInfo: ListenerInfo, providerId?: string) => ReturnType<AddListener>;
1938
1975
 
1939
1976
  declare abstract class SatsConnectAdapter {
1940
1977
  abstract readonly id: string;
@@ -1960,4 +1997,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
1960
1997
  declare const DefaultAdaptersInfo: Record<string, Provider>;
1961
1998
  declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
1962
1999
 
1963
- export { type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
2000
+ export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };