@sats-connect/core 0.15.0-aec2448 → 0.16.0-2dd02aa
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 +406 -414
- package/dist/index.d.ts +406 -414
- package/dist/index.js +867 -895
- package/dist/index.mjs +863 -883
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -394,40 +394,51 @@ declare function getDefaultProvider(): string | null;
|
|
|
394
394
|
declare function removeDefaultProvider(): void;
|
|
395
395
|
declare function getSupportedWallets(): SupportedWallet[];
|
|
396
396
|
|
|
397
|
-
declare enum
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
declare enum MessageSigningProtocols {
|
|
398
|
+
ECDSA = "ECDSA",
|
|
399
|
+
BIP322 = "BIP322"
|
|
400
400
|
}
|
|
401
|
-
|
|
402
|
-
declare const
|
|
403
|
-
|
|
404
|
-
declare const getInfoResultSchema: v.ObjectSchema<{
|
|
405
|
-
/**
|
|
406
|
-
* Version of the wallet.
|
|
407
|
-
*/
|
|
408
|
-
readonly version: v.StringSchema<undefined>;
|
|
409
|
-
/**
|
|
410
|
-
* The platform the wallet is running on (web or mobile).
|
|
411
|
-
*/
|
|
412
|
-
readonly platform: v.OptionalSchema<v.EnumSchema<typeof ProviderPlatform, undefined>, undefined>;
|
|
401
|
+
|
|
402
|
+
declare const getAccountsMethodName = "getAccounts";
|
|
403
|
+
declare const getAccountsParamsSchema: v.ObjectSchema<{
|
|
413
404
|
/**
|
|
414
|
-
*
|
|
405
|
+
* The purposes for which to generate addresses. See
|
|
406
|
+
* {@linkcode AddressPurpose} for available purposes.
|
|
415
407
|
*/
|
|
416
|
-
readonly
|
|
408
|
+
readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
|
|
417
409
|
/**
|
|
418
|
-
*
|
|
410
|
+
* A message to be displayed to the user in the request prompt.
|
|
419
411
|
*/
|
|
420
|
-
readonly
|
|
412
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
421
413
|
}, undefined>;
|
|
422
|
-
type
|
|
423
|
-
declare const
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
414
|
+
type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
|
|
415
|
+
declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
416
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
417
|
+
readonly address: v.StringSchema<undefined>;
|
|
418
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
419
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
420
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
421
|
+
}, undefined>, undefined>;
|
|
422
|
+
type GetAccountsResult = v.InferOutput<typeof getAccountsResultSchema>;
|
|
423
|
+
declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
|
|
424
|
+
readonly method: v.LiteralSchema<"getAccounts", undefined>;
|
|
425
|
+
readonly params: v.ObjectSchema<{
|
|
426
|
+
/**
|
|
427
|
+
* The purposes for which to generate addresses. See
|
|
428
|
+
* {@linkcode AddressPurpose} for available purposes.
|
|
429
|
+
*/
|
|
430
|
+
readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
|
|
431
|
+
/**
|
|
432
|
+
* A message to be displayed to the user in the request prompt.
|
|
433
|
+
*/
|
|
434
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
435
|
+
}, undefined>;
|
|
426
436
|
readonly id: v.StringSchema<undefined>;
|
|
427
437
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
428
438
|
}, undefined>;
|
|
429
|
-
type
|
|
430
|
-
type
|
|
439
|
+
type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageSchema>;
|
|
440
|
+
type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
|
|
441
|
+
|
|
431
442
|
declare const getAddressesMethodName = "getAddresses";
|
|
432
443
|
declare const getAddressesParamsSchema: v.ObjectSchema<{
|
|
433
444
|
/**
|
|
@@ -483,11 +494,113 @@ declare const getAddressesRequestMessageSchema: v.ObjectSchema<{
|
|
|
483
494
|
}, undefined>;
|
|
484
495
|
type GetAddressesRequestMessage = v.InferOutput<typeof getAddressesRequestMessageSchema>;
|
|
485
496
|
type GetAddresses = MethodParamsAndResult<v.InferOutput<typeof getAddressesParamsSchema>, v.InferOutput<typeof getAddressesResultSchema>>;
|
|
486
|
-
|
|
487
|
-
declare
|
|
488
|
-
|
|
489
|
-
|
|
497
|
+
|
|
498
|
+
declare const getBalanceMethodName = "getBalance";
|
|
499
|
+
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
500
|
+
type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
|
|
501
|
+
declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
502
|
+
/**
|
|
503
|
+
* The confirmed balance of the wallet in sats. Using a string due to chrome
|
|
504
|
+
* messages not supporting bigint
|
|
505
|
+
* (https://issues.chromium.org/issues/40116184).
|
|
506
|
+
*/
|
|
507
|
+
readonly confirmed: v.StringSchema<undefined>;
|
|
508
|
+
/**
|
|
509
|
+
* The unconfirmed balance of the wallet in sats. Using a string due to chrome
|
|
510
|
+
* messages not supporting bigint
|
|
511
|
+
* (https://issues.chromium.org/issues/40116184).
|
|
512
|
+
*/
|
|
513
|
+
readonly unconfirmed: v.StringSchema<undefined>;
|
|
514
|
+
/**
|
|
515
|
+
* The total balance (both confirmed and unconfrimed UTXOs) of the wallet in
|
|
516
|
+
* sats. Using a string due to chrome messages not supporting bigint
|
|
517
|
+
* (https://issues.chromium.org/issues/40116184).
|
|
518
|
+
*/
|
|
519
|
+
readonly total: v.StringSchema<undefined>;
|
|
520
|
+
}, undefined>;
|
|
521
|
+
type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
|
|
522
|
+
declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
523
|
+
readonly method: v.LiteralSchema<"getBalance", undefined>;
|
|
524
|
+
readonly id: v.StringSchema<undefined>;
|
|
525
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
526
|
+
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
527
|
+
}, undefined>;
|
|
528
|
+
type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
|
|
529
|
+
type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
|
|
530
|
+
|
|
531
|
+
declare enum ProviderPlatform {
|
|
532
|
+
Web = "web",
|
|
533
|
+
Mobile = "mobile"
|
|
490
534
|
}
|
|
535
|
+
declare const getInfoMethodName = "getInfo";
|
|
536
|
+
declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
537
|
+
type GetInfoParams = v.InferOutput<typeof getInfoParamsSchema>;
|
|
538
|
+
declare const getInfoResultSchema: v.ObjectSchema<{
|
|
539
|
+
/**
|
|
540
|
+
* Version of the wallet.
|
|
541
|
+
*/
|
|
542
|
+
readonly version: v.StringSchema<undefined>;
|
|
543
|
+
/**
|
|
544
|
+
* The platform the wallet is running on (web or mobile).
|
|
545
|
+
*/
|
|
546
|
+
readonly platform: v.OptionalSchema<v.EnumSchema<typeof ProviderPlatform, undefined>, undefined>;
|
|
547
|
+
/**
|
|
548
|
+
* [WBIP](https://wbips.netlify.app/wbips/WBIP002) methods supported by the wallet.
|
|
549
|
+
*/
|
|
550
|
+
readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
551
|
+
/**
|
|
552
|
+
* List of WBIP standards supported by the wallet. Not currently used.
|
|
553
|
+
*/
|
|
554
|
+
readonly supports: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
555
|
+
}, undefined>;
|
|
556
|
+
type GetInfoResult = v.InferOutput<typeof getInfoResultSchema>;
|
|
557
|
+
declare const getInfoRequestMessageSchema: v.ObjectSchema<{
|
|
558
|
+
readonly method: v.LiteralSchema<"getInfo", undefined>;
|
|
559
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
560
|
+
readonly id: v.StringSchema<undefined>;
|
|
561
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
562
|
+
}, undefined>;
|
|
563
|
+
type GetInfoRequestMessage = v.InferOutput<typeof getInfoRequestMessageSchema>;
|
|
564
|
+
type GetInfo = MethodParamsAndResult<v.InferOutput<typeof getInfoParamsSchema>, v.InferOutput<typeof getInfoResultSchema>>;
|
|
565
|
+
|
|
566
|
+
declare const sendTransferMethodName = "sendTransfer";
|
|
567
|
+
declare const sendTransferParamsSchema: v.ObjectSchema<{
|
|
568
|
+
/**
|
|
569
|
+
* Array of recipients to send to.
|
|
570
|
+
* The amount to send to each recipient is in satoshis.
|
|
571
|
+
*/
|
|
572
|
+
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
573
|
+
readonly address: v.StringSchema<undefined>;
|
|
574
|
+
readonly amount: v.NumberSchema<undefined>;
|
|
575
|
+
}, undefined>, undefined>;
|
|
576
|
+
}, undefined>;
|
|
577
|
+
type SendTransferParams = v.InferOutput<typeof sendTransferParamsSchema>;
|
|
578
|
+
declare const sendTransferResultSchema: v.ObjectSchema<{
|
|
579
|
+
/**
|
|
580
|
+
* The transaction id as a hex-encoded string.
|
|
581
|
+
*/
|
|
582
|
+
readonly txid: v.StringSchema<undefined>;
|
|
583
|
+
}, undefined>;
|
|
584
|
+
type SendTransferResult = v.InferOutput<typeof sendTransferResultSchema>;
|
|
585
|
+
declare const sendTransferRequestMessageSchema: v.ObjectSchema<{
|
|
586
|
+
readonly method: v.LiteralSchema<"sendTransfer", undefined>;
|
|
587
|
+
readonly params: v.ObjectSchema<{
|
|
588
|
+
/**
|
|
589
|
+
* Array of recipients to send to.
|
|
590
|
+
* The amount to send to each recipient is in satoshis.
|
|
591
|
+
*/
|
|
592
|
+
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
593
|
+
readonly address: v.StringSchema<undefined>;
|
|
594
|
+
readonly amount: v.NumberSchema<undefined>;
|
|
595
|
+
}, undefined>, undefined>;
|
|
596
|
+
}, undefined>;
|
|
597
|
+
readonly id: v.StringSchema<undefined>;
|
|
598
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
599
|
+
}, undefined>;
|
|
600
|
+
type SendTransferRequestMessage = v.InferOutput<typeof sendTransferRequestMessageSchema>;
|
|
601
|
+
type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
|
|
602
|
+
|
|
603
|
+
declare const signMessageMethodName = "signMessage";
|
|
491
604
|
declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
492
605
|
/**
|
|
493
606
|
* The address used for signing.
|
|
@@ -543,42 +656,68 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
543
656
|
}, undefined>;
|
|
544
657
|
type SignMessageRequestMessage = v.InferOutput<typeof signMessageRequestMessageSchema>;
|
|
545
658
|
type SignMessage = MethodParamsAndResult<v.InferOutput<typeof signMessageParamsSchema>, v.InferOutput<typeof signMessageResultSchema>>;
|
|
546
|
-
|
|
547
|
-
declare const
|
|
659
|
+
|
|
660
|
+
declare const signMultipleMessagesMethodName = "signMultipleMessages";
|
|
661
|
+
declare const signMultipleMessagesParamsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
548
662
|
/**
|
|
549
|
-
*
|
|
550
|
-
|
|
663
|
+
* The address used for signing.
|
|
664
|
+
**/
|
|
665
|
+
readonly address: v.StringSchema<undefined>;
|
|
666
|
+
/**
|
|
667
|
+
* The message to sign.
|
|
668
|
+
**/
|
|
669
|
+
readonly message: v.StringSchema<undefined>;
|
|
670
|
+
/**
|
|
671
|
+
* The protocol to use for signing the message.
|
|
551
672
|
*/
|
|
552
|
-
readonly
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}, undefined>;
|
|
557
|
-
type SendTransferParams = v.InferOutput<typeof sendTransferParamsSchema>;
|
|
558
|
-
declare const sendTransferResultSchema: v.ObjectSchema<{
|
|
673
|
+
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
674
|
+
}, undefined>, undefined>;
|
|
675
|
+
type SignMultipleMessagesParams = v.InferOutput<typeof signMultipleMessagesParamsSchema>;
|
|
676
|
+
declare const signMultipleMessagesResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
559
677
|
/**
|
|
560
|
-
* The
|
|
678
|
+
* The signature of the message.
|
|
561
679
|
*/
|
|
562
|
-
readonly
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
readonly
|
|
567
|
-
|
|
680
|
+
readonly signature: v.StringSchema<undefined>;
|
|
681
|
+
/**
|
|
682
|
+
* The original message which was signed.
|
|
683
|
+
*/
|
|
684
|
+
readonly message: v.StringSchema<undefined>;
|
|
685
|
+
/**
|
|
686
|
+
* Hash of the message.
|
|
687
|
+
*/
|
|
688
|
+
readonly messageHash: v.StringSchema<undefined>;
|
|
689
|
+
/**
|
|
690
|
+
* The address used for signing.
|
|
691
|
+
*/
|
|
692
|
+
readonly address: v.StringSchema<undefined>;
|
|
693
|
+
/**
|
|
694
|
+
* The protocol to use for signing the message.
|
|
695
|
+
*/
|
|
696
|
+
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
697
|
+
}, undefined>, undefined>;
|
|
698
|
+
type SignMultipleMessagesResult = v.InferOutput<typeof signMultipleMessagesResultSchema>;
|
|
699
|
+
declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
700
|
+
readonly method: v.LiteralSchema<"signMultipleMessages", undefined>;
|
|
701
|
+
readonly params: v.ArraySchema<v.ObjectSchema<{
|
|
568
702
|
/**
|
|
569
|
-
*
|
|
570
|
-
|
|
703
|
+
* The address used for signing.
|
|
704
|
+
**/
|
|
705
|
+
readonly address: v.StringSchema<undefined>;
|
|
706
|
+
/**
|
|
707
|
+
* The message to sign.
|
|
708
|
+
**/
|
|
709
|
+
readonly message: v.StringSchema<undefined>;
|
|
710
|
+
/**
|
|
711
|
+
* The protocol to use for signing the message.
|
|
571
712
|
*/
|
|
572
|
-
readonly
|
|
573
|
-
|
|
574
|
-
readonly amount: v.NumberSchema<undefined>;
|
|
575
|
-
}, undefined>, undefined>;
|
|
576
|
-
}, undefined>;
|
|
713
|
+
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
714
|
+
}, undefined>, undefined>;
|
|
577
715
|
readonly id: v.StringSchema<undefined>;
|
|
578
716
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
579
717
|
}, undefined>;
|
|
580
|
-
type
|
|
581
|
-
type
|
|
718
|
+
type SignMultipleMessagesRequestMessage = v.InferOutput<typeof signMultipleMessagesRequestMessageSchema>;
|
|
719
|
+
type SignMultipleMessages = MethodParamsAndResult<v.InferOutput<typeof signMultipleMessagesParamsSchema>, v.InferOutput<typeof signMultipleMessagesResultSchema>>;
|
|
720
|
+
|
|
582
721
|
declare const signPsbtMethodName = "signPsbt";
|
|
583
722
|
declare const signPsbtParamsSchema: v.ObjectSchema<{
|
|
584
723
|
/**
|
|
@@ -630,82 +769,11 @@ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
|
|
|
630
769
|
}, undefined>;
|
|
631
770
|
type SignPsbtRequestMessage = v.InferOutput<typeof signPsbtRequestMessageSchema>;
|
|
632
771
|
type SignPsbt = MethodParamsAndResult<SignPsbtParams, SignPsbtResult>;
|
|
633
|
-
|
|
634
|
-
declare const
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
*/
|
|
639
|
-
readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
|
|
640
|
-
/**
|
|
641
|
-
* A message to be displayed to the user in the request prompt.
|
|
642
|
-
*/
|
|
643
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
644
|
-
}, undefined>;
|
|
645
|
-
type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
|
|
646
|
-
declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
647
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
648
|
-
readonly address: v.StringSchema<undefined>;
|
|
649
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
650
|
-
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
651
|
-
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
652
|
-
}, undefined>, undefined>;
|
|
653
|
-
type GetAccountsResult = v.InferOutput<typeof getAccountsResultSchema>;
|
|
654
|
-
declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
|
|
655
|
-
readonly method: v.LiteralSchema<"getAccounts", undefined>;
|
|
656
|
-
readonly params: v.ObjectSchema<{
|
|
657
|
-
/**
|
|
658
|
-
* The purposes for which to generate addresses. See
|
|
659
|
-
* {@linkcode AddressPurpose} for available purposes.
|
|
660
|
-
*/
|
|
661
|
-
readonly purposes: v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>;
|
|
662
|
-
/**
|
|
663
|
-
* A message to be displayed to the user in the request prompt.
|
|
664
|
-
*/
|
|
665
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
666
|
-
}, undefined>;
|
|
667
|
-
readonly id: v.StringSchema<undefined>;
|
|
668
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
669
|
-
}, undefined>;
|
|
670
|
-
type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageSchema>;
|
|
671
|
-
type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
|
|
672
|
-
declare const getBalanceMethodName = "getBalance";
|
|
673
|
-
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
674
|
-
type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
|
|
675
|
-
declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
676
|
-
/**
|
|
677
|
-
* The confirmed balance of the wallet in sats. Using a string due to chrome
|
|
678
|
-
* messages not supporting bigint
|
|
679
|
-
* (https://issues.chromium.org/issues/40116184).
|
|
680
|
-
*/
|
|
681
|
-
readonly confirmed: v.StringSchema<undefined>;
|
|
682
|
-
/**
|
|
683
|
-
* The unconfirmed balance of the wallet in sats. Using a string due to chrome
|
|
684
|
-
* messages not supporting bigint
|
|
685
|
-
* (https://issues.chromium.org/issues/40116184).
|
|
686
|
-
*/
|
|
687
|
-
readonly unconfirmed: v.StringSchema<undefined>;
|
|
688
|
-
/**
|
|
689
|
-
* The total balance (both confirmed and unconfrimed UTXOs) of the wallet in
|
|
690
|
-
* sats. Using a string due to chrome messages not supporting bigint
|
|
691
|
-
* (https://issues.chromium.org/issues/40116184).
|
|
692
|
-
*/
|
|
693
|
-
readonly total: v.StringSchema<undefined>;
|
|
694
|
-
}, undefined>;
|
|
695
|
-
type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
|
|
696
|
-
declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
697
|
-
readonly method: v.LiteralSchema<"getBalance", undefined>;
|
|
698
|
-
readonly id: v.StringSchema<undefined>;
|
|
699
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
700
|
-
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
701
|
-
}, undefined>;
|
|
702
|
-
type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
|
|
703
|
-
type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
|
|
704
|
-
|
|
705
|
-
declare const getInscriptionsMethodName = "ord_getInscriptions";
|
|
706
|
-
declare const getInscriptionsParamsSchema: v.ObjectSchema<{
|
|
707
|
-
readonly offset: v.NumberSchema<undefined>;
|
|
708
|
-
readonly limit: v.NumberSchema<undefined>;
|
|
772
|
+
|
|
773
|
+
declare const getInscriptionsMethodName = "ord_getInscriptions";
|
|
774
|
+
declare const getInscriptionsParamsSchema: v.ObjectSchema<{
|
|
775
|
+
readonly offset: v.NumberSchema<undefined>;
|
|
776
|
+
readonly limit: v.NumberSchema<undefined>;
|
|
709
777
|
}, undefined>;
|
|
710
778
|
type GetInscriptionsParams = v.InferOutput<typeof getInscriptionsParamsSchema>;
|
|
711
779
|
declare const getInscriptionsResultSchema: v.ObjectSchema<{
|
|
@@ -2232,104 +2300,6 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
2232
2300
|
type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
|
|
2233
2301
|
type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
|
|
2234
2302
|
|
|
2235
|
-
declare const addNetworkMethodName = "wallet_addNetwork";
|
|
2236
|
-
declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2237
|
-
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2238
|
-
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2239
|
-
readonly name: v.StringSchema<undefined>;
|
|
2240
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2241
|
-
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2242
|
-
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2243
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2244
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2245
|
-
}, undefined>, v.ObjectSchema<{
|
|
2246
|
-
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2247
|
-
readonly name: v.StringSchema<undefined>;
|
|
2248
|
-
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2249
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2250
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2251
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2252
|
-
}, undefined>, v.ObjectSchema<{
|
|
2253
|
-
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2254
|
-
readonly name: v.StringSchema<undefined>;
|
|
2255
|
-
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2256
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2257
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2258
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2259
|
-
}, undefined>], undefined>;
|
|
2260
|
-
type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
|
|
2261
|
-
declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2262
|
-
readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
|
|
2263
|
-
readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2264
|
-
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2265
|
-
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2266
|
-
readonly name: v.StringSchema<undefined>;
|
|
2267
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2268
|
-
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2269
|
-
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2270
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2271
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2272
|
-
}, undefined>, v.ObjectSchema<{
|
|
2273
|
-
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2274
|
-
readonly name: v.StringSchema<undefined>;
|
|
2275
|
-
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2276
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2277
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2278
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2279
|
-
}, undefined>, v.ObjectSchema<{
|
|
2280
|
-
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2281
|
-
readonly name: v.StringSchema<undefined>;
|
|
2282
|
-
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2283
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2284
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2285
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2286
|
-
}, undefined>], undefined>;
|
|
2287
|
-
readonly id: v.StringSchema<undefined>;
|
|
2288
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2289
|
-
}, undefined>;
|
|
2290
|
-
type AddNetworkRequestMessage = v.InferOutput<typeof addNetworkRequestMessageSchema>;
|
|
2291
|
-
declare const addNetworkResultSchema: v.ObjectSchema<{
|
|
2292
|
-
readonly id: v.StringSchema<undefined>;
|
|
2293
|
-
}, undefined>;
|
|
2294
|
-
type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
|
|
2295
|
-
type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
|
|
2296
|
-
|
|
2297
|
-
declare const changeNetworkMethodName = "wallet_changeNetwork";
|
|
2298
|
-
declare const changeNetworkParamsSchema: v.ObjectSchema<{
|
|
2299
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2300
|
-
}, undefined>;
|
|
2301
|
-
type ChangeNetworkParams = v.InferOutput<typeof changeNetworkParamsSchema>;
|
|
2302
|
-
declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2303
|
-
type ChangeNetworkResult = v.InferOutput<typeof changeNetworkResultSchema>;
|
|
2304
|
-
declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2305
|
-
readonly method: v.LiteralSchema<"wallet_changeNetwork", undefined>;
|
|
2306
|
-
readonly params: v.ObjectSchema<{
|
|
2307
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2308
|
-
}, undefined>;
|
|
2309
|
-
readonly id: v.StringSchema<undefined>;
|
|
2310
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2311
|
-
}, undefined>;
|
|
2312
|
-
type ChangeNetworkRequestMessage = v.InferOutput<typeof changeNetworkRequestMessageSchema>;
|
|
2313
|
-
type ChangeNetwork = MethodParamsAndResult<ChangeNetworkParams, ChangeNetworkResult>;
|
|
2314
|
-
|
|
2315
|
-
declare const changeNetworkByIdMethodName = "wallet_changeNetworkById";
|
|
2316
|
-
declare const changeNetworkByIdParamsSchema: v.ObjectSchema<{
|
|
2317
|
-
readonly id: v.StringSchema<undefined>;
|
|
2318
|
-
}, undefined>;
|
|
2319
|
-
type ChangeNetworkByIdParams = v.InferOutput<typeof changeNetworkByIdParamsSchema>;
|
|
2320
|
-
declare const changeNetworkByIdResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2321
|
-
type ChangeNetworkByIdResult = v.InferOutput<typeof changeNetworkByIdResultSchema>;
|
|
2322
|
-
declare const changeNetworkByIdRequestMessageSchema: v.ObjectSchema<{
|
|
2323
|
-
readonly method: v.LiteralSchema<"wallet_changeNetworkById", undefined>;
|
|
2324
|
-
readonly params: v.ObjectSchema<{
|
|
2325
|
-
readonly id: v.StringSchema<undefined>;
|
|
2326
|
-
}, undefined>;
|
|
2327
|
-
readonly id: v.StringSchema<undefined>;
|
|
2328
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2329
|
-
}, undefined>;
|
|
2330
|
-
type ChangeNetworkByIdRequestMessage = v.InferOutput<typeof changeNetworkByIdRequestMessageSchema>;
|
|
2331
|
-
type ChangeNetworkById = MethodParamsAndResult<ChangeNetworkByIdParams, ChangeNetworkByIdResult>;
|
|
2332
|
-
|
|
2333
2303
|
declare const accountActionsSchema: v.ObjectSchema<{
|
|
2334
2304
|
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2335
2305
|
}, undefined>;
|
|
@@ -2387,10 +2357,26 @@ declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
2387
2357
|
}, undefined>;
|
|
2388
2358
|
}, undefined>], undefined>;
|
|
2389
2359
|
type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
|
|
2390
|
-
|
|
2391
|
-
declare const
|
|
2392
|
-
|
|
2393
|
-
readonly
|
|
2360
|
+
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
2361
|
+
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2362
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2363
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2364
|
+
readonly actions: v.ObjectSchema<{
|
|
2365
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2366
|
+
}, undefined>;
|
|
2367
|
+
}, undefined>, v.ObjectSchema<{
|
|
2368
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2369
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2370
|
+
readonly actions: v.ObjectSchema<{
|
|
2371
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2372
|
+
}, undefined>;
|
|
2373
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2374
|
+
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
2375
|
+
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
2376
|
+
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
2377
|
+
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2378
|
+
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
2379
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2394
2380
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2395
2381
|
readonly resourceId: v.StringSchema<undefined>;
|
|
2396
2382
|
readonly actions: v.ObjectSchema<{
|
|
@@ -2403,60 +2389,24 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
|
2403
2389
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2404
2390
|
}, undefined>;
|
|
2405
2391
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
2406
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2407
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2408
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2409
|
-
}, undefined>, undefined>;
|
|
2410
|
-
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
2411
|
-
declare const connectResultSchema: v.ObjectSchema<{
|
|
2412
2392
|
readonly id: v.StringSchema<undefined>;
|
|
2413
|
-
readonly
|
|
2414
|
-
readonly address: v.StringSchema<undefined>;
|
|
2415
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
2416
|
-
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2417
|
-
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2418
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2419
|
-
}, undefined>, undefined>;
|
|
2420
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2421
|
-
readonly network: v.ObjectSchema<{
|
|
2422
|
-
readonly bitcoin: v.ObjectSchema<{
|
|
2423
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2424
|
-
}, undefined>;
|
|
2425
|
-
readonly stacks: v.ObjectSchema<{
|
|
2426
|
-
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2427
|
-
}, undefined>;
|
|
2428
|
-
readonly spark: v.ObjectSchema<{
|
|
2429
|
-
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2430
|
-
}, undefined>;
|
|
2431
|
-
}, undefined>;
|
|
2393
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2432
2394
|
}, undefined>;
|
|
2433
|
-
type
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
}, undefined>, v.ObjectSchema<{
|
|
2444
|
-
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2445
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2446
|
-
readonly actions: v.ObjectSchema<{
|
|
2447
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2448
|
-
}, undefined>;
|
|
2449
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
2450
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2451
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2452
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2453
|
-
}, undefined>, undefined>;
|
|
2395
|
+
type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
|
|
2396
|
+
type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
|
|
2397
|
+
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
2398
|
+
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2399
|
+
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
2400
|
+
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2401
|
+
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
2402
|
+
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2403
|
+
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
2404
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2454
2405
|
readonly id: v.StringSchema<undefined>;
|
|
2455
2406
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2456
2407
|
}, undefined>;
|
|
2457
|
-
type
|
|
2458
|
-
type
|
|
2459
|
-
|
|
2408
|
+
type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
|
|
2409
|
+
type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
|
|
2460
2410
|
declare const disconnectMethodName = "wallet_disconnect";
|
|
2461
2411
|
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2462
2412
|
type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
|
|
@@ -2470,42 +2420,19 @@ declare const disconnectRequestMessageSchema: v.ObjectSchema<{
|
|
|
2470
2420
|
}, undefined>;
|
|
2471
2421
|
type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
|
|
2472
2422
|
type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
|
|
2473
|
-
|
|
2474
|
-
declare const
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
readonly
|
|
2480
|
-
readonly address: v.StringSchema<undefined>;
|
|
2481
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
2482
|
-
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2483
|
-
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2484
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2485
|
-
}, undefined>, undefined>;
|
|
2486
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2487
|
-
readonly network: v.ObjectSchema<{
|
|
2488
|
-
readonly bitcoin: v.ObjectSchema<{
|
|
2489
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2490
|
-
}, undefined>;
|
|
2491
|
-
readonly stacks: v.ObjectSchema<{
|
|
2492
|
-
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2493
|
-
}, undefined>;
|
|
2494
|
-
readonly spark: v.ObjectSchema<{
|
|
2495
|
-
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2496
|
-
}, undefined>;
|
|
2497
|
-
}, undefined>;
|
|
2498
|
-
}, undefined>;
|
|
2499
|
-
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
2500
|
-
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
2501
|
-
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
2423
|
+
declare const getWalletTypeMethodName = "wallet_getWalletType";
|
|
2424
|
+
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2425
|
+
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
2426
|
+
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2427
|
+
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
2428
|
+
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
2429
|
+
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
2502
2430
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2503
2431
|
readonly id: v.StringSchema<undefined>;
|
|
2504
2432
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2505
2433
|
}, undefined>;
|
|
2506
|
-
type
|
|
2507
|
-
type
|
|
2508
|
-
|
|
2434
|
+
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
2435
|
+
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
2509
2436
|
declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
|
|
2510
2437
|
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2511
2438
|
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
@@ -2533,7 +2460,6 @@ declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
2533
2460
|
}, undefined>;
|
|
2534
2461
|
type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
|
|
2535
2462
|
type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
|
|
2536
|
-
|
|
2537
2463
|
declare const getNetworkMethodName = "wallet_getNetwork";
|
|
2538
2464
|
declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2539
2465
|
type GetNetworkParams = v.InferOutput<typeof getNetworkParamsSchema>;
|
|
@@ -2557,117 +2483,77 @@ declare const getNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
|
2557
2483
|
}, undefined>;
|
|
2558
2484
|
type GetNetworkRequestMessage = v.InferOutput<typeof getNetworkRequestMessageSchema>;
|
|
2559
2485
|
type GetNetwork = MethodParamsAndResult<GetNetworkParams, GetNetworkResult>;
|
|
2560
|
-
|
|
2561
|
-
declare const
|
|
2562
|
-
|
|
2563
|
-
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
2564
|
-
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2565
|
-
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
2566
|
-
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
2567
|
-
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
2568
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2569
|
-
readonly id: v.StringSchema<undefined>;
|
|
2570
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2571
|
-
}, undefined>;
|
|
2572
|
-
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
2573
|
-
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
2574
|
-
|
|
2575
|
-
declare const openBridgeMethodName = "wallet_openBridge";
|
|
2576
|
-
declare const openBridgeParamsSchema: v.ObjectSchema<{
|
|
2577
|
-
readonly fromAsset: v.StringSchema<undefined>;
|
|
2578
|
-
readonly toAsset: v.StringSchema<undefined>;
|
|
2486
|
+
declare const changeNetworkMethodName = "wallet_changeNetwork";
|
|
2487
|
+
declare const changeNetworkParamsSchema: v.ObjectSchema<{
|
|
2488
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2579
2489
|
}, undefined>;
|
|
2580
|
-
type
|
|
2581
|
-
declare const
|
|
2582
|
-
type
|
|
2583
|
-
declare const
|
|
2584
|
-
readonly method: v.LiteralSchema<"
|
|
2490
|
+
type ChangeNetworkParams = v.InferOutput<typeof changeNetworkParamsSchema>;
|
|
2491
|
+
declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2492
|
+
type ChangeNetworkResult = v.InferOutput<typeof changeNetworkResultSchema>;
|
|
2493
|
+
declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2494
|
+
readonly method: v.LiteralSchema<"wallet_changeNetwork", undefined>;
|
|
2585
2495
|
readonly params: v.ObjectSchema<{
|
|
2586
|
-
readonly
|
|
2587
|
-
readonly toAsset: v.StringSchema<undefined>;
|
|
2496
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2588
2497
|
}, undefined>;
|
|
2589
2498
|
readonly id: v.StringSchema<undefined>;
|
|
2590
2499
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2591
2500
|
}, undefined>;
|
|
2592
|
-
type
|
|
2593
|
-
type
|
|
2594
|
-
|
|
2595
|
-
declare const
|
|
2596
|
-
|
|
2597
|
-
readonly asset: v.StringSchema<undefined>;
|
|
2501
|
+
type ChangeNetworkRequestMessage = v.InferOutput<typeof changeNetworkRequestMessageSchema>;
|
|
2502
|
+
type ChangeNetwork = MethodParamsAndResult<ChangeNetworkParams, ChangeNetworkResult>;
|
|
2503
|
+
declare const changeNetworkByIdMethodName = "wallet_changeNetworkById";
|
|
2504
|
+
declare const changeNetworkByIdParamsSchema: v.ObjectSchema<{
|
|
2505
|
+
readonly id: v.StringSchema<undefined>;
|
|
2598
2506
|
}, undefined>;
|
|
2599
|
-
type
|
|
2600
|
-
declare const
|
|
2601
|
-
type
|
|
2602
|
-
declare const
|
|
2603
|
-
readonly method: v.LiteralSchema<"
|
|
2507
|
+
type ChangeNetworkByIdParams = v.InferOutput<typeof changeNetworkByIdParamsSchema>;
|
|
2508
|
+
declare const changeNetworkByIdResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2509
|
+
type ChangeNetworkByIdResult = v.InferOutput<typeof changeNetworkByIdResultSchema>;
|
|
2510
|
+
declare const changeNetworkByIdRequestMessageSchema: v.ObjectSchema<{
|
|
2511
|
+
readonly method: v.LiteralSchema<"wallet_changeNetworkById", undefined>;
|
|
2604
2512
|
readonly params: v.ObjectSchema<{
|
|
2605
|
-
readonly
|
|
2513
|
+
readonly id: v.StringSchema<undefined>;
|
|
2606
2514
|
}, undefined>;
|
|
2607
2515
|
readonly id: v.StringSchema<undefined>;
|
|
2608
2516
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2609
2517
|
}, undefined>;
|
|
2610
|
-
type
|
|
2611
|
-
type
|
|
2612
|
-
|
|
2613
|
-
declare const
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
declare const openReceiveResultSchema: v.ObjectSchema<{
|
|
2619
|
-
readonly address: v.StringSchema<undefined>;
|
|
2620
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
2621
|
-
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2622
|
-
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2623
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2624
|
-
}, undefined>;
|
|
2625
|
-
type OpenReceiveResult = v.InferOutput<typeof openReceiveResultSchema>;
|
|
2626
|
-
declare const openReceiveRequestMessageSchema: v.ObjectSchema<{
|
|
2627
|
-
readonly method: v.LiteralSchema<"wallet_openReceive", undefined>;
|
|
2628
|
-
readonly params: v.ObjectSchema<{
|
|
2518
|
+
type ChangeNetworkByIdRequestMessage = v.InferOutput<typeof changeNetworkByIdRequestMessageSchema>;
|
|
2519
|
+
type ChangeNetworkById = MethodParamsAndResult<ChangeNetworkByIdParams, ChangeNetworkByIdResult>;
|
|
2520
|
+
declare const getAccountMethodName = "wallet_getAccount";
|
|
2521
|
+
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2522
|
+
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
2523
|
+
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
2524
|
+
readonly id: v.StringSchema<undefined>;
|
|
2525
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
2629
2526
|
readonly address: v.StringSchema<undefined>;
|
|
2527
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
2528
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2529
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2530
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2531
|
+
}, undefined>, undefined>;
|
|
2532
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2533
|
+
readonly network: v.ObjectSchema<{
|
|
2534
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
2535
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2536
|
+
}, undefined>;
|
|
2537
|
+
readonly stacks: v.ObjectSchema<{
|
|
2538
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2539
|
+
}, undefined>;
|
|
2540
|
+
readonly spark: v.ObjectSchema<{
|
|
2541
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2542
|
+
}, undefined>;
|
|
2630
2543
|
}, undefined>;
|
|
2631
|
-
readonly id: v.StringSchema<undefined>;
|
|
2632
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2633
2544
|
}, undefined>;
|
|
2634
|
-
type
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
2638
|
-
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2639
|
-
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
2640
|
-
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2641
|
-
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
2642
|
-
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2643
|
-
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
2545
|
+
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
2546
|
+
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
2547
|
+
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
2644
2548
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2645
2549
|
readonly id: v.StringSchema<undefined>;
|
|
2646
2550
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2647
2551
|
}, undefined>;
|
|
2648
|
-
type
|
|
2649
|
-
type
|
|
2650
|
-
|
|
2651
|
-
declare const
|
|
2652
|
-
|
|
2653
|
-
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2654
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2655
|
-
readonly actions: v.ObjectSchema<{
|
|
2656
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2657
|
-
}, undefined>;
|
|
2658
|
-
}, undefined>, v.ObjectSchema<{
|
|
2659
|
-
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2660
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2661
|
-
readonly actions: v.ObjectSchema<{
|
|
2662
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2663
|
-
}, undefined>;
|
|
2664
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
2665
|
-
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
2666
|
-
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
2667
|
-
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
2668
|
-
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2669
|
-
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
2670
|
-
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2552
|
+
type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
|
|
2553
|
+
type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
2554
|
+
declare const connectMethodName = "wallet_connect";
|
|
2555
|
+
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
2556
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2671
2557
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2672
2558
|
readonly resourceId: v.StringSchema<undefined>;
|
|
2673
2559
|
readonly actions: v.ObjectSchema<{
|
|
@@ -2680,11 +2566,120 @@ declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
2680
2566
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2681
2567
|
}, undefined>;
|
|
2682
2568
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
2569
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2570
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2571
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2572
|
+
}, undefined>, undefined>;
|
|
2573
|
+
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
2574
|
+
declare const connectResultSchema: v.ObjectSchema<{
|
|
2575
|
+
readonly id: v.StringSchema<undefined>;
|
|
2576
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
2577
|
+
readonly address: v.StringSchema<undefined>;
|
|
2578
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
2579
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2580
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2581
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2582
|
+
}, undefined>, undefined>;
|
|
2583
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2584
|
+
readonly network: v.ObjectSchema<{
|
|
2585
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
2586
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2587
|
+
}, undefined>;
|
|
2588
|
+
readonly stacks: v.ObjectSchema<{
|
|
2589
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2590
|
+
}, undefined>;
|
|
2591
|
+
readonly spark: v.ObjectSchema<{
|
|
2592
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2593
|
+
}, undefined>;
|
|
2594
|
+
}, undefined>;
|
|
2595
|
+
}, undefined>;
|
|
2596
|
+
type ConnectResult = v.InferOutput<typeof connectResultSchema>;
|
|
2597
|
+
declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
2598
|
+
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
2599
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
2600
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2601
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2602
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2603
|
+
readonly actions: v.ObjectSchema<{
|
|
2604
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2605
|
+
}, undefined>;
|
|
2606
|
+
}, undefined>, v.ObjectSchema<{
|
|
2607
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2608
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2609
|
+
readonly actions: v.ObjectSchema<{
|
|
2610
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2611
|
+
}, undefined>;
|
|
2612
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2613
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2614
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2615
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2616
|
+
}, undefined>, undefined>;
|
|
2683
2617
|
readonly id: v.StringSchema<undefined>;
|
|
2684
2618
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2685
2619
|
}, undefined>;
|
|
2686
|
-
type
|
|
2687
|
-
type
|
|
2620
|
+
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
2621
|
+
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
2622
|
+
declare const addNetworkMethodName = "wallet_addNetwork";
|
|
2623
|
+
declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2624
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2625
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2626
|
+
readonly name: v.StringSchema<undefined>;
|
|
2627
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2628
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2629
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2630
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2631
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2632
|
+
}, undefined>, v.ObjectSchema<{
|
|
2633
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2634
|
+
readonly name: v.StringSchema<undefined>;
|
|
2635
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2636
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2637
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2638
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2639
|
+
}, undefined>, v.ObjectSchema<{
|
|
2640
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2641
|
+
readonly name: v.StringSchema<undefined>;
|
|
2642
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2643
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2644
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2645
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2646
|
+
}, undefined>], undefined>;
|
|
2647
|
+
type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
|
|
2648
|
+
declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2649
|
+
readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
|
|
2650
|
+
readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2651
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2652
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2653
|
+
readonly name: v.StringSchema<undefined>;
|
|
2654
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2655
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2656
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2657
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2658
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2659
|
+
}, undefined>, v.ObjectSchema<{
|
|
2660
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2661
|
+
readonly name: v.StringSchema<undefined>;
|
|
2662
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2663
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2664
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2665
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2666
|
+
}, undefined>, v.ObjectSchema<{
|
|
2667
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2668
|
+
readonly name: v.StringSchema<undefined>;
|
|
2669
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2670
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2671
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2672
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2673
|
+
}, undefined>], undefined>;
|
|
2674
|
+
readonly id: v.StringSchema<undefined>;
|
|
2675
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2676
|
+
}, undefined>;
|
|
2677
|
+
type AddNetworkRequestMessage = v.InferOutput<typeof addNetworkRequestMessageSchema>;
|
|
2678
|
+
declare const addNetworkResultSchema: v.ObjectSchema<{
|
|
2679
|
+
readonly id: v.StringSchema<undefined>;
|
|
2680
|
+
}, undefined>;
|
|
2681
|
+
type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
|
|
2682
|
+
type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
|
|
2688
2683
|
|
|
2689
2684
|
declare const walletTypes: readonly ["software", "ledger", "keystone"];
|
|
2690
2685
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -2756,9 +2751,6 @@ type WalletRequests = {
|
|
|
2756
2751
|
wallet_getWalletType: GetWalletType;
|
|
2757
2752
|
wallet_renouncePermissions: RenouncePermissions;
|
|
2758
2753
|
wallet_requestPermissions: RequestPermissions;
|
|
2759
|
-
wallet_openReceive: OpenReceive;
|
|
2760
|
-
wallet_openBridge: OpenBridge;
|
|
2761
|
-
wallet_openBuy: OpenBuy;
|
|
2762
2754
|
};
|
|
2763
2755
|
type Requests = BtcRequests & StxRequests & SparkRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
2764
2756
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -2807,4 +2799,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2807
2799
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2808
2800
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2809
2801
|
|
|
2810
|
-
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 OpenBridge, type OpenBridgeParams, type OpenBridgeRequestMessage, type OpenBridgeResult, type OpenBuy, type OpenBuyParams, type OpenBuyRequestMessage, type OpenBuyResult, type OpenReceive, type OpenReceiveParams, type OpenReceiveRequestMessage, type OpenReceiveResult, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, ProviderPlatform, 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, type SparkFlashnetClawbackFunds, type SparkFlashnetClawbackFundsParams, type SparkFlashnetClawbackFundsRequestMessage, type SparkFlashnetClawbackFundsResult, type SparkFlashnetExecuteRouteSwap, type SparkFlashnetExecuteRouteSwapParams, type SparkFlashnetExecuteRouteSwapRequestMessage, type SparkFlashnetExecuteRouteSwapResult, type SparkFlashnetExecuteSwap, type SparkFlashnetExecuteSwapParams, type SparkFlashnetExecuteSwapRequestMessage, type SparkFlashnetExecuteSwapResult, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkFlashnetSignStructuredMessage, type SparkFlashnetSignStructuredMessageParams, type SparkFlashnetSignStructuredMessageRequestMessage, type SparkFlashnetSignStructuredMessageResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, type SparkGetClawbackEligibleTransfers, type SparkGetClawbackEligibleTransfersParams, type SparkGetClawbackEligibleTransfersRequestMessage, type SparkGetClawbackEligibleTransfersResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkSignMessage, type SparkSignMessageParams, type SparkSignMessageRequestMessage, type SparkSignMessageResult, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, 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, openBridgeMethodName, openBridgeParamsSchema, openBridgeRequestMessageSchema, openBridgeResultSchema, openBuyMethodName, openBuyParamsSchema, openBuyRequestMessageSchema, openBuyResultSchema, openReceiveMethodName, openReceiveParamsSchema, openReceiveRequestMessageSchema, openReceiveResultSchema, 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, sparkFlashnetAddLiquidityIntentSchema, sparkFlashnetClawbackFundsMethodName, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestMessageSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackIntentSchema, sparkFlashnetConfirmInitialDepositIntentSchema, sparkFlashnetCreateConstantProductPoolIntentSchema, sparkFlashnetCreateSingleSidedPoolIntentSchema, sparkFlashnetExecuteRouteSwapMethodName, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestMessageSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteSwapMethodName, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestMessageSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRemoveLiquidityIntentSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignStructuredMessageMethodName, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestMessageSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkGetClawbackEligibleTransfersMethodName, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestMessageSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkSignMessageMethodName, sparkSignMessageParamsSchema, sparkSignMessageRequestMessageSchema, sparkSignMessageResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, 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 };
|
|
2802
|
+
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, ProviderPlatform, 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 SignMultipleMessages, type SignMultipleMessagesParams, type SignMultipleMessagesRequestMessage, type SignMultipleMessagesResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkFlashnetClawbackFunds, type SparkFlashnetClawbackFundsParams, type SparkFlashnetClawbackFundsRequestMessage, type SparkFlashnetClawbackFundsResult, type SparkFlashnetExecuteRouteSwap, type SparkFlashnetExecuteRouteSwapParams, type SparkFlashnetExecuteRouteSwapRequestMessage, type SparkFlashnetExecuteRouteSwapResult, type SparkFlashnetExecuteSwap, type SparkFlashnetExecuteSwapParams, type SparkFlashnetExecuteSwapRequestMessage, type SparkFlashnetExecuteSwapResult, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkFlashnetSignStructuredMessage, type SparkFlashnetSignStructuredMessageParams, type SparkFlashnetSignStructuredMessageRequestMessage, type SparkFlashnetSignStructuredMessageResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, type SparkGetClawbackEligibleTransfers, type SparkGetClawbackEligibleTransfersParams, type SparkGetClawbackEligibleTransfersRequestMessage, type SparkGetClawbackEligibleTransfersResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkSignMessage, type SparkSignMessageParams, type SparkSignMessageRequestMessage, type SparkSignMessageResult, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, 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, signMultipleMessagesMethodName, signMultipleMessagesParamsSchema, signMultipleMessagesRequestMessageSchema, signMultipleMessagesResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkFlashnetAddLiquidityIntentSchema, sparkFlashnetClawbackFundsMethodName, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestMessageSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackIntentSchema, sparkFlashnetConfirmInitialDepositIntentSchema, sparkFlashnetCreateConstantProductPoolIntentSchema, sparkFlashnetCreateSingleSidedPoolIntentSchema, sparkFlashnetExecuteRouteSwapMethodName, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestMessageSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteSwapMethodName, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestMessageSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRemoveLiquidityIntentSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignStructuredMessageMethodName, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestMessageSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkGetClawbackEligibleTransfersMethodName, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestMessageSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkSignMessageMethodName, sparkSignMessageParamsSchema, sparkSignMessageRequestMessageSchema, sparkSignMessageResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, 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 };
|