@sats-connect/core 0.4.0-d60f0ef → 0.4.0-dbf2876

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
@@ -42,15 +42,15 @@ type SignMessageOptions = RequestOptions<SignMessagePayload, SignMessageResponse
42
42
 
43
43
  declare const signMessage: (options: SignMessageOptions) => Promise<void>;
44
44
 
45
- interface Recipient$1 {
45
+ interface Recipient {
46
46
  address: string;
47
47
  amountSats: bigint;
48
48
  }
49
- type SerializedRecipient = Omit<Recipient$1, 'amountSats'> & {
49
+ type SerializedRecipient = Omit<Recipient, 'amountSats'> & {
50
50
  amountSats: string;
51
51
  };
52
52
  interface SendBtcTransactionPayload extends RequestPayload {
53
- recipients: Recipient$1[];
53
+ recipients: Recipient[];
54
54
  senderAddress: string;
55
55
  message?: string;
56
56
  }
@@ -313,9 +313,9 @@ declare const addressSchema: v.ObjectSchema<{
313
313
  readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
314
314
  readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
315
315
  }, undefined>;
316
- type Address$1 = v.InferOutput<typeof addressSchema>;
316
+ type Address = v.InferOutput<typeof addressSchema>;
317
317
  interface GetAddressResponse {
318
- addresses: Address$1[];
318
+ addresses: Address[];
319
319
  }
320
320
  type GetAddressOptions = RequestOptions<GetAddressPayload, GetAddressResponse>;
321
321
 
@@ -489,33 +489,60 @@ declare const sendTransferRequestMessageSchema: v.ObjectSchema<{
489
489
  readonly id: v.StringSchema<undefined>;
490
490
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
491
491
  }, undefined>;
492
+ type SendTransferRequestMessage = v.InferOutput<typeof sendTransferRequestMessageSchema>;
492
493
  type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
493
- type SignPsbtParams = {
494
+ declare const signPsbtMethodName = "signPsbt";
495
+ declare const signPsbtParamsSchema: v.ObjectSchema<{
494
496
  /**
495
497
  * The base64 encoded PSBT to sign.
496
498
  */
497
- psbt: string;
499
+ readonly psbt: v.StringSchema<undefined>;
498
500
  /**
499
501
  * The inputs to sign.
500
502
  * The key is the address and the value is an array of indexes of the inputs to sign.
501
503
  */
502
- signInputs: Record<string, number[]>;
504
+ readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
505
+ readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
503
506
  /**
504
507
  * Whether to broadcast the transaction after signing.
505
508
  **/
506
- broadcast?: boolean;
507
- };
508
- type SignPsbtResult = {
509
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
510
+ }, undefined>;
511
+ type SignPsbtParams = v.InferOutput<typeof signPsbtParamsSchema>;
512
+ declare const signPsbtResultSchema: v.ObjectSchema<{
509
513
  /**
510
514
  * The base64 encoded PSBT after signing.
511
515
  */
512
- psbt: string;
516
+ readonly psbt: v.StringSchema<undefined>;
513
517
  /**
514
518
  * The transaction id as a hex-encoded string.
515
519
  * This is only returned if the transaction was broadcast.
516
520
  **/
517
- txid?: string;
518
- };
521
+ readonly txid: v.OptionalSchema<v.StringSchema<undefined>, never>;
522
+ }, undefined>;
523
+ type SignPsbtResult = v.InferOutput<typeof signPsbtResultSchema>;
524
+ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
525
+ readonly method: v.LiteralSchema<"signPsbt", undefined>;
526
+ readonly params: v.ObjectSchema<{
527
+ /**
528
+ * The base64 encoded PSBT to sign.
529
+ */
530
+ readonly psbt: v.StringSchema<undefined>;
531
+ /**
532
+ * The inputs to sign.
533
+ * The key is the address and the value is an array of indexes of the inputs to sign.
534
+ */
535
+ readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
536
+ readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
537
+ /**
538
+ * Whether to broadcast the transaction after signing.
539
+ **/
540
+ readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
541
+ }, undefined>;
542
+ readonly id: v.StringSchema<undefined>;
543
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
544
+ }, undefined>;
545
+ type SignPsbtRequestMessage = v.InferOutput<typeof signPsbtRequestMessageSchema>;
519
546
  type SignPsbt = MethodParamsAndResult<SignPsbtParams, SignPsbtResult>;
520
547
  declare const getAccountsMethodName = "getAccounts";
521
548
  declare const getAccountsParamsSchema: v.ObjectSchema<{
@@ -596,6 +623,7 @@ declare const getInscriptionsParamsSchema: v.ObjectSchema<{
596
623
  readonly offset: v.NumberSchema<undefined>;
597
624
  readonly limit: v.NumberSchema<undefined>;
598
625
  }, undefined>;
626
+ type GetInscriptionsParams = v.InferOutput<typeof getInscriptionsParamsSchema>;
599
627
  declare const getInscriptionsResultSchema: v.ObjectSchema<{
600
628
  readonly total: v.NumberSchema<undefined>;
601
629
  readonly limit: v.NumberSchema<undefined>;
@@ -614,7 +642,8 @@ declare const getInscriptionsResultSchema: v.ObjectSchema<{
614
642
  readonly output: v.StringSchema<undefined>;
615
643
  }, undefined>, undefined>;
616
644
  }, undefined>;
617
- declare const getInscriptionsSchema: v.ObjectSchema<{
645
+ type GetInscriptionsResult = v.InferOutput<typeof getInscriptionsResultSchema>;
646
+ declare const getInscriptionsRequestMessageSchema: v.ObjectSchema<{
618
647
  readonly method: v.LiteralSchema<"ord_getInscriptions", undefined>;
619
648
  readonly params: v.ObjectSchema<{
620
649
  readonly offset: v.NumberSchema<undefined>;
@@ -623,7 +652,8 @@ declare const getInscriptionsSchema: v.ObjectSchema<{
623
652
  readonly id: v.StringSchema<undefined>;
624
653
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
625
654
  }, undefined>;
626
- type GetInscriptions = MethodParamsAndResult<v.InferOutput<typeof getInscriptionsParamsSchema>, v.InferOutput<typeof getInscriptionsResultSchema>>;
655
+ type GetInscriptionsRequestMessage = v.InferOutput<typeof getInscriptionsRequestMessageSchema>;
656
+ type GetInscriptions = MethodParamsAndResult<GetInscriptionsParams, GetInscriptionsResult>;
627
657
  declare const sendInscriptionsMethodName = "ord_sendInscriptions";
628
658
  declare const sendInscriptionsParamsSchema: v.ObjectSchema<{
629
659
  readonly transfers: v.ArraySchema<v.ObjectSchema<{
@@ -631,10 +661,12 @@ declare const sendInscriptionsParamsSchema: v.ObjectSchema<{
631
661
  readonly inscriptionId: v.StringSchema<undefined>;
632
662
  }, undefined>, undefined>;
633
663
  }, undefined>;
664
+ type SendInscriptionsParams = v.InferOutput<typeof sendInscriptionsParamsSchema>;
634
665
  declare const sendInscriptionsResultSchema: v.ObjectSchema<{
635
666
  readonly txid: v.StringSchema<undefined>;
636
667
  }, undefined>;
637
- declare const sendInscriptionsSchema: v.ObjectSchema<{
668
+ type SendInscriptionsResult = v.InferOutput<typeof sendInscriptionsResultSchema>;
669
+ declare const sendInscriptionsRequestMessageSchema: v.ObjectSchema<{
638
670
  readonly method: v.LiteralSchema<"ord_sendInscriptions", undefined>;
639
671
  readonly params: v.ObjectSchema<{
640
672
  readonly transfers: v.ArraySchema<v.ObjectSchema<{
@@ -645,7 +677,8 @@ declare const sendInscriptionsSchema: v.ObjectSchema<{
645
677
  readonly id: v.StringSchema<undefined>;
646
678
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
647
679
  }, undefined>;
648
- type SendInscriptions = MethodParamsAndResult<v.InferOutput<typeof sendInscriptionsParamsSchema>, v.InferOutput<typeof sendInscriptionsResultSchema>>;
680
+ type SendInscriptionsRequestMessage = v.InferOutput<typeof sendInscriptionsRequestMessageSchema>;
681
+ type SendInscriptions = MethodParamsAndResult<SendInscriptionsParams, SendInscriptionsResult>;
649
682
 
650
683
  type CreateMintOrderRequest = {
651
684
  runeName: string;
@@ -713,55 +746,95 @@ type RBFOrderResponse = {
713
746
  fundingAddress: string;
714
747
  };
715
748
 
716
- interface EstimateRunesMintParams extends EstimateMintOrderRequest {
717
- network?: BitcoinNetworkType;
718
- }
719
- type EstimateRunesMintResult = EstimateOrderResponse;
720
- type EstimateRunesMint = MethodParamsAndResult<EstimateRunesMintParams, EstimateRunesMintResult>;
721
- interface MintRunesParams extends CreateMintOrderRequest {
722
- network?: BitcoinNetworkType;
723
- }
724
- type MintRunesResult = {
725
- orderId: string;
726
- fundTransactionId: string;
727
- fundingAddress: string;
728
- };
729
- type MintRunes = MethodParamsAndResult<MintRunesParams, MintRunesResult>;
730
- interface EstimateRunesEtchParams extends EstimateEtchOrderRequest {
749
+ interface RunesEstimateEtchParams extends EstimateEtchOrderRequest {
731
750
  network?: BitcoinNetworkType;
732
751
  }
733
- type EstimateRunesEtchResult = EstimateOrderResponse;
734
- type EstimateRunesEtch = MethodParamsAndResult<EstimateRunesEtchParams, EstimateRunesEtchResult>;
735
- interface EtchRunesParams extends CreateEtchOrderRequest {
736
- network?: BitcoinNetworkType;
737
- }
738
- type EtchRunesResult = {
739
- orderId: string;
740
- fundTransactionId: string;
741
- fundingAddress: string;
742
- };
743
- type EtchRunes = MethodParamsAndResult<EtchRunesParams, EtchRunesResult>;
744
- interface GetOrderParams extends GetOrderRequest {
745
- network?: BitcoinNetworkType;
746
- }
747
- type GetOrder = MethodParamsAndResult<GetOrderParams, GetOrderResponse>;
748
- interface EstimateRbfOrderParams extends RBFOrderRequest {
752
+ type RunesEstimateEtchResult = EstimateOrderResponse;
753
+ type RunesEstimateEtch = MethodParamsAndResult<RunesEstimateEtchParams, RunesEstimateEtchResult>;
754
+
755
+ interface runesEstimateMintParams extends EstimateMintOrderRequest {
749
756
  network?: BitcoinNetworkType;
750
757
  }
751
- type EstimateRbfOrder = MethodParamsAndResult<EstimateRbfOrderParams, RBFOrderResponse>;
752
- interface RbfOrderParams extends RBFOrderRequest {
758
+ type runesEstimateMintResult = EstimateOrderResponse;
759
+ type RunesEstimateMint = MethodParamsAndResult<runesEstimateMintParams, runesEstimateMintResult>;
760
+
761
+ interface RunesEstimateRbfOrderParams extends RBFOrderRequest {
753
762
  network?: BitcoinNetworkType;
754
763
  }
755
- interface RbfOrderResult {
756
- orderId: string;
757
- fundRBFTransactionId: string;
758
- fundingAddress: string;
759
- }
760
- type RbfOrder = MethodParamsAndResult<RbfOrderParams, RbfOrderResult>;
761
- declare const getRunesBalanceMethodName = "runes_getBalance";
762
- declare const getRunesBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
763
- type GetRunesBalanceParams = v.InferOutput<typeof getRunesBalanceParamsSchema>;
764
- declare const getRunesBalanceResultSchema: v.ObjectSchema<{
764
+ type RunesEstimateRbfOrder = MethodParamsAndResult<RunesEstimateRbfOrderParams, RBFOrderResponse>;
765
+
766
+ declare const runesEtchMethodName = "runes_etch";
767
+ declare const runesEtchParamsSchema: v.ObjectSchema<{
768
+ readonly runeName: v.StringSchema<undefined>;
769
+ readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
770
+ readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
771
+ readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
772
+ readonly isMintable: v.BooleanSchema<undefined>;
773
+ readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
774
+ readonly destinationAddress: v.StringSchema<undefined>;
775
+ readonly refundAddress: v.StringSchema<undefined>;
776
+ readonly feeRate: v.NumberSchema<undefined>;
777
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
778
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
779
+ readonly terms: v.OptionalSchema<v.ObjectSchema<{
780
+ readonly amount: v.StringSchema<undefined>;
781
+ readonly cap: v.StringSchema<undefined>;
782
+ readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
783
+ readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
784
+ readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
785
+ readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
786
+ }, undefined>, never>;
787
+ readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
788
+ readonly contentType: v.StringSchema<undefined>;
789
+ readonly contentBase64: v.StringSchema<undefined>;
790
+ }, undefined>, never>;
791
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
792
+ }, undefined>;
793
+ type RunesEtchParams = v.InferOutput<typeof runesEtchParamsSchema>;
794
+ declare const runesEtchResultSchema: v.ObjectSchema<{
795
+ readonly orderId: v.StringSchema<undefined>;
796
+ readonly fundTransactionId: v.StringSchema<undefined>;
797
+ readonly fundingAddress: v.StringSchema<undefined>;
798
+ }, undefined>;
799
+ type RunesEtchResult = v.InferOutput<typeof runesEtchResultSchema>;
800
+ declare const runesEtchRequestMessageSchema: v.ObjectSchema<{
801
+ readonly method: v.LiteralSchema<"runes_etch", undefined>;
802
+ readonly params: v.ObjectSchema<{
803
+ readonly runeName: v.StringSchema<undefined>;
804
+ readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
805
+ readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
806
+ readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
807
+ readonly isMintable: v.BooleanSchema<undefined>;
808
+ readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
809
+ readonly destinationAddress: v.StringSchema<undefined>;
810
+ readonly refundAddress: v.StringSchema<undefined>;
811
+ readonly feeRate: v.NumberSchema<undefined>;
812
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
813
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
814
+ readonly terms: v.OptionalSchema<v.ObjectSchema<{
815
+ readonly amount: v.StringSchema<undefined>;
816
+ readonly cap: v.StringSchema<undefined>;
817
+ readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
818
+ readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
819
+ readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
820
+ readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
821
+ }, undefined>, never>;
822
+ readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
823
+ readonly contentType: v.StringSchema<undefined>;
824
+ readonly contentBase64: v.StringSchema<undefined>;
825
+ }, undefined>, never>;
826
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
827
+ }, undefined>;
828
+ readonly id: v.StringSchema<undefined>;
829
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
830
+ }, undefined>;
831
+ type RunesEtchRequestMessage = v.InferOutput<typeof runesEtchRequestMessageSchema>;
832
+ type RunesEtch = MethodParamsAndResult<v.InferOutput<typeof runesEtchParamsSchema>, v.InferOutput<typeof runesEtchResultSchema>>;
833
+
834
+ declare const runesGetBalanceMethodName = "runes_getBalance";
835
+ declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
836
+ type RunesGetBalanceParams = v.InferOutput<typeof runesGetBalanceParamsSchema>;
837
+ declare const runesGetBalanceResultSchema: v.ObjectSchema<{
765
838
  readonly balances: v.ArraySchema<v.ObjectSchema<{
766
839
  readonly runeName: v.StringSchema<undefined>;
767
840
  readonly amount: v.StringSchema<undefined>;
@@ -770,25 +843,81 @@ declare const getRunesBalanceResultSchema: v.ObjectSchema<{
770
843
  readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>, never>;
771
844
  }, undefined>, undefined>;
772
845
  }, undefined>;
773
- type GetRunesBalanceResult = v.InferOutput<typeof getRunesBalanceResultSchema>;
774
- declare const getRunesBalanceRequestMessageSchema: v.ObjectSchema<{
846
+ type RunesGetBalanceResult = v.InferOutput<typeof runesGetBalanceResultSchema>;
847
+ declare const runesGetBalanceRequestMessageSchema: v.ObjectSchema<{
775
848
  readonly method: v.LiteralSchema<"runes_getBalance", undefined>;
776
849
  readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
777
850
  readonly id: v.StringSchema<undefined>;
778
851
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
779
852
  }, undefined>;
780
- type GetRunesBalanceRequestMessage = v.InferOutput<typeof getRunesBalanceRequestMessageSchema>;
781
- type GetRunesBalance = MethodParamsAndResult<v.InferOutput<typeof getRunesBalanceParamsSchema>, v.InferOutput<typeof getRunesBalanceResultSchema>>;
782
- declare const transferRunesMethodName = "runes_transfer";
783
- declare const transferRunesParamsSchema: v.ObjectSchema<{
853
+ type runesGetBalanceRequestMessage = v.InferOutput<typeof runesGetBalanceRequestMessageSchema>;
854
+ type RunesGetBalance = MethodParamsAndResult<RunesGetBalanceParams, RunesGetBalanceResult>;
855
+
856
+ interface RunesGetOrderParams extends GetOrderRequest {
857
+ network?: BitcoinNetworkType;
858
+ }
859
+ type RunesGetOrder = MethodParamsAndResult<RunesGetOrderParams, GetOrderResponse>;
860
+
861
+ declare const runesMintMethodName = "runes_mint";
862
+ declare const runesMintParamsSchema: v.ObjectSchema<{
863
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
864
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
865
+ readonly destinationAddress: v.StringSchema<undefined>;
866
+ readonly feeRate: v.NumberSchema<undefined>;
867
+ readonly refundAddress: v.StringSchema<undefined>;
868
+ readonly repeats: v.NumberSchema<undefined>;
869
+ readonly runeName: v.StringSchema<undefined>;
870
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
871
+ }, undefined>;
872
+ type RunesMintParams = v.InferOutput<typeof runesMintParamsSchema>;
873
+ declare const runesMintResultSchema: v.ObjectSchema<{
874
+ readonly orderId: v.StringSchema<undefined>;
875
+ readonly fundTransactionId: v.StringSchema<undefined>;
876
+ readonly fundingAddress: v.StringSchema<undefined>;
877
+ }, undefined>;
878
+ type RunesMintResult = v.InferOutput<typeof runesMintResultSchema>;
879
+ declare const runesMintRequestMessageSchema: v.ObjectSchema<{
880
+ readonly method: v.LiteralSchema<"runes_mint", undefined>;
881
+ readonly params: v.ObjectSchema<{
882
+ readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
883
+ readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
884
+ readonly destinationAddress: v.StringSchema<undefined>;
885
+ readonly feeRate: v.NumberSchema<undefined>;
886
+ readonly refundAddress: v.StringSchema<undefined>;
887
+ readonly repeats: v.NumberSchema<undefined>;
888
+ readonly runeName: v.StringSchema<undefined>;
889
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
890
+ }, undefined>;
891
+ readonly id: v.StringSchema<undefined>;
892
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
893
+ }, undefined>;
894
+ type RunesMintRequestMessage = v.InferOutput<typeof runesMintRequestMessageSchema>;
895
+ type RunesMint = MethodParamsAndResult<v.InferOutput<typeof runesMintParamsSchema>, v.InferOutput<typeof runesMintResultSchema>>;
896
+
897
+ interface RunesRbfOrderParams extends RBFOrderRequest {
898
+ network?: BitcoinNetworkType;
899
+ }
900
+ interface RunesRbfOrderResult {
901
+ orderId: string;
902
+ fundRBFTransactionId: string;
903
+ fundingAddress: string;
904
+ }
905
+ type RunesRbfOrder = MethodParamsAndResult<RunesRbfOrderParams, RunesRbfOrderResult>;
906
+
907
+ declare const runesTransferMethodName = "runes_transfer";
908
+ declare const runesTransferParamsSchema: v.ObjectSchema<{
784
909
  readonly recipients: v.ArraySchema<v.ObjectSchema<{
785
910
  readonly runeName: v.StringSchema<undefined>;
786
911
  readonly amount: v.StringSchema<undefined>;
787
912
  readonly address: v.StringSchema<undefined>;
788
913
  }, undefined>, undefined>;
789
914
  }, undefined>;
790
- type TransferRunesParams = v.InferOutput<typeof transferRunesParamsSchema>;
791
- declare const transferRunesRequestSchema: v.ObjectSchema<{
915
+ type TransferRunesParams = v.InferOutput<typeof runesTransferParamsSchema>;
916
+ declare const runesTransferResultSchema: v.ObjectSchema<{
917
+ readonly txid: v.StringSchema<undefined>;
918
+ }, undefined>;
919
+ type RunesTransferResult = v.InferOutput<typeof runesTransferResultSchema>;
920
+ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
792
921
  readonly method: v.LiteralSchema<"runes_transfer", undefined>;
793
922
  readonly params: v.ObjectSchema<{
794
923
  readonly recipients: v.ArraySchema<v.ObjectSchema<{
@@ -800,134 +929,24 @@ declare const transferRunesRequestSchema: v.ObjectSchema<{
800
929
  readonly id: v.StringSchema<undefined>;
801
930
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
802
931
  }, undefined>;
803
- type TransferRunesRequest = v.InferOutput<typeof transferRunesRequestSchema>;
804
- declare const TransferRunesResultSchema: v.ObjectSchema<{
805
- readonly txid: v.StringSchema<undefined>;
806
- }, undefined>;
807
- type TransferRunesResult = v.InferOutput<typeof TransferRunesResultSchema>;
808
- type TransferRunes = MethodParamsAndResult<TransferRunesParams, TransferRunesResult>;
932
+ type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
933
+ type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
809
934
 
810
- interface Pubkey {
811
- /**
812
- * When sending a transfer STX request to a wallet, users can generally
813
- * choose from which accout they want to send the STX tokens from. In
814
- * cases where applications want the transfer to be made from a specific
815
- * account, they can provide the `pubkey` of the address they'd like the
816
- * transfer to be made from. It is up to wallet providers to handle this
817
- * field as they see fit.
818
- */
819
- pubkey: string;
820
- }
821
- interface Address {
822
- /**
823
- * A Crockford base-32 encoded Stacks address.
824
- */
825
- address: string;
826
- }
827
- interface PostConditions {
828
- /**
829
- * A hex-encoded string representing the post conditions.
830
- *
831
- * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
832
- *
833
- * ```js
834
- * import { serializePostCondition } from '@stacks/transactions';
835
- *
836
- * const postCondition = somePostCondition;
837
- * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
838
- * ```
839
- */
840
- postConditions: Array<string>;
841
- }
842
- interface PostConditionMode {
843
- /**
844
- * The mode of the post conditions.
845
- */
846
- postConditionMode: number;
847
- }
848
- interface ParameterFormatVersion {
849
- /**
850
- * Version of parameter format.
851
- */
852
- version: string;
853
- }
854
- interface Recipient {
855
- /**
856
- * The recipeint's Crockford base-32 encoded Stacks address.
857
- */
858
- recipient: string;
859
- }
860
- interface Amount {
861
- /**
862
- * Amount of STX tokens to transfer in microstacks as a string. Anything
863
- * parseable by `BigInt` is acceptable.
864
- *
865
- * Example,
866
- *
867
- * ```js
868
- * const amount1 = 1234;
869
- * const amount2 = 1234n;
870
- * const amount3 = '1234';
871
- * ```
872
- */
873
- amount: number | string;
874
- }
875
- interface Memo {
876
- /**
877
- * A string representing the memo.
878
- */
879
- memo: string;
880
- }
881
- interface TxId {
882
- /**
883
- * The ID of the transaction.
884
- */
885
- txid: string;
886
- }
887
- interface Transaction {
935
+ declare const stxCallContractMethodName = "stx_callContract";
936
+ declare const stxCallContractParamsSchema: v.ObjectSchema<{
888
937
  /**
889
- * A Stacks transaction as a hex-encoded string.
890
- */
891
- transaction: string;
892
- }
893
- interface Message {
894
- /**
895
- * Message payload to be signed.
896
- */
897
- message: string;
898
- }
899
- interface Signature {
900
- /**
901
- * Signature of the message.
902
- */
903
- signature: string;
904
- }
905
- interface PublicKey {
906
- /**
907
- * Public key as hex-encoded string.
908
- */
909
- publicKey: string;
910
- }
911
- interface Domain {
912
- /**
913
- * The domain to be signed.
914
- */
915
- domain: string;
916
- }
917
- interface CallContractParams {
918
- /**
919
- * The contract's Crockford base-32 encoded Stacks address and name.
938
+ * The contract principal.
920
939
  *
921
940
  * E.g. `"SPKE...GD5C.my-contract"`
922
941
  */
923
- contract: string;
942
+ readonly contract: v.StringSchema<undefined>;
924
943
  /**
925
944
  * The name of the function to call.
926
945
  *
927
946
  * Note: spec changes ongoing,
928
947
  * https://github.com/stacksgov/sips/pull/166#pullrequestreview-1914236999
929
948
  */
930
- functionName: string;
949
+ readonly functionName: v.StringSchema<undefined>;
931
950
  /**
932
951
  * The function's arguments. The arguments are expected to be hex-encoded
933
952
  * strings of Clarity values.
@@ -942,42 +961,131 @@ interface CallContractParams {
942
961
  * const hexArgs = functionArgs.map(cvToString);
943
962
  * ```
944
963
  */
945
- arguments?: Array<string>;
946
- }
947
- type CallContractResult = TxId & Transaction;
948
- type StxCallContract = MethodParamsAndResult<CallContractParams, CallContractResult>;
949
- type TransferStxParams = Amount & Recipient & Partial<Memo> & Partial<ParameterFormatVersion> & Partial<PostConditionMode> & Partial<PostConditions> & Partial<Pubkey>;
950
- type TransferStxResult = TxId & Transaction;
951
- type StxTransferStx = MethodParamsAndResult<TransferStxParams, TransferStxResult>;
952
- type SignStxMessageParams = Message & Partial<Pubkey> & Partial<ParameterFormatVersion>;
953
- type SignStxMessageResult = Signature & PublicKey;
954
- type StxSignStxMessage = MethodParamsAndResult<SignStxMessageParams, SignStxMessageResult>;
955
- type SignStructuredMessageParams = Domain & Message & Partial<ParameterFormatVersion> & Partial<Pubkey>;
956
- type SignStructuredMessageResult = Signature & PublicKey;
957
- type StxSignStructuredMessage = MethodParamsAndResult<SignStructuredMessageParams, SignStructuredMessageResult>;
958
- interface DeployContractParams {
964
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
965
+ }, undefined>;
966
+ type StxCallContractParams = v.InferOutput<typeof stxCallContractParamsSchema>;
967
+ declare const stxCallContractResultSchema: v.ObjectSchema<{
968
+ /**
969
+ * The ID of the transaction.
970
+ */
971
+ readonly txid: v.StringSchema<undefined>;
972
+ /**
973
+ * A Stacks transaction as a hex-encoded string.
974
+ */
975
+ readonly transaction: v.StringSchema<undefined>;
976
+ }, undefined>;
977
+ type StxCallContractResult = v.InferOutput<typeof stxCallContractResultSchema>;
978
+ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
979
+ readonly method: v.LiteralSchema<"stx_callContract", undefined>;
980
+ readonly params: v.ObjectSchema<{
981
+ /**
982
+ * The contract principal.
983
+ *
984
+ * E.g. `"SPKE...GD5C.my-contract"`
985
+ */
986
+ readonly contract: v.StringSchema<undefined>;
987
+ /**
988
+ * The name of the function to call.
989
+ *
990
+ * Note: spec changes ongoing,
991
+ * https://github.com/stacksgov/sips/pull/166#pullrequestreview-1914236999
992
+ */
993
+ readonly functionName: v.StringSchema<undefined>;
994
+ /**
995
+ * The function's arguments. The arguments are expected to be hex-encoded
996
+ * strings of Clarity values.
997
+ *
998
+ * To convert Clarity values to their hex representation, the `cvToString`
999
+ * helper from the `@stacks/transactions` package may be helpful.
1000
+ *
1001
+ * ```js
1002
+ * import { cvToString } from '@stacks/transactions';
1003
+ *
1004
+ * const functionArgs = [someClarityValue1, someClarityValue2];
1005
+ * const hexArgs = functionArgs.map(cvToString);
1006
+ * ```
1007
+ */
1008
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1009
+ }, undefined>;
1010
+ readonly id: v.StringSchema<undefined>;
1011
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1012
+ }, undefined>;
1013
+ type StxCallContractRequestMessage = v.InferOutput<typeof stxCallContractRequestMessageSchema>;
1014
+ type StxCallContract = MethodParamsAndResult<StxCallContractParams, StxCallContractResult>;
1015
+
1016
+ declare const stxDeployContractMethodName = "stx_deployContract";
1017
+ declare const stxDeployContractParamsSchema: v.ObjectSchema<{
959
1018
  /**
960
1019
  * Name of the contract.
961
1020
  */
962
- name: string;
1021
+ readonly name: v.StringSchema<undefined>;
963
1022
  /**
964
- * The code of the Clarity contract.
1023
+ * The source code of the Clarity contract.
965
1024
  */
966
- clarityCode: string;
1025
+ readonly clarityCode: v.StringSchema<undefined>;
967
1026
  /**
968
1027
  * The version of the Clarity contract.
969
1028
  */
970
- clarityVersion?: string;
971
- }
972
- type DeployContractResult = TxId & Transaction;
973
- type StxDeployContract = MethodParamsAndResult<DeployContractParams, DeployContractResult>;
974
- type StxGetAccountsResult = {
975
- addresses: Array<Address & PublicKey & {
976
- gaiaHubUrl: string;
977
- gaiaAppKey: string;
978
- }>;
979
- };
980
- type StxGetAccounts = MethodParamsAndResult<{}, StxGetAccountsResult>;
1029
+ readonly clarityVersion: v.OptionalSchema<v.StringSchema<undefined>, never>;
1030
+ }, undefined>;
1031
+ type StxDeployContractParams = v.InferOutput<typeof stxDeployContractParamsSchema>;
1032
+ declare const stxDeployContractResultSchema: v.ObjectSchema<{
1033
+ /**
1034
+ * The ID of the transaction.
1035
+ */
1036
+ readonly txid: v.StringSchema<undefined>;
1037
+ /**
1038
+ * A Stacks transaction as a hex-encoded string.
1039
+ */
1040
+ readonly transaction: v.StringSchema<undefined>;
1041
+ }, undefined>;
1042
+ type StxDeployContractResult = v.InferOutput<typeof stxDeployContractResultSchema>;
1043
+ declare const stxDeployContractRequestMessageSchema: v.ObjectSchema<{
1044
+ readonly method: v.LiteralSchema<"stx_deployContract", undefined>;
1045
+ readonly params: v.ObjectSchema<{
1046
+ /**
1047
+ * Name of the contract.
1048
+ */
1049
+ readonly name: v.StringSchema<undefined>;
1050
+ /**
1051
+ * The source code of the Clarity contract.
1052
+ */
1053
+ readonly clarityCode: v.StringSchema<undefined>;
1054
+ /**
1055
+ * The version of the Clarity contract.
1056
+ */
1057
+ readonly clarityVersion: v.OptionalSchema<v.StringSchema<undefined>, never>;
1058
+ }, undefined>;
1059
+ readonly id: v.StringSchema<undefined>;
1060
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1061
+ }, undefined>;
1062
+ type StxDeployContractRequestMessage = v.InferOutput<typeof stxDeployContractRequestMessageSchema>;
1063
+ type StxDeployContract = MethodParamsAndResult<StxDeployContractParams, StxDeployContractResult>;
1064
+
1065
+ declare const stxGetAccountsMethodName = "stx_getAccounts";
1066
+ declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1067
+ type StxGetAccountsParams = v.InferOutput<typeof stxGetAccountsParamsSchema>;
1068
+ declare const stxGetAccountsResultSchema: v.ObjectSchema<{
1069
+ /**
1070
+ * The addresses generated for the given purposes.
1071
+ */
1072
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
1073
+ readonly address: v.StringSchema<undefined>;
1074
+ readonly publicKey: v.StringSchema<undefined>;
1075
+ readonly gaiaHubUrl: v.StringSchema<undefined>;
1076
+ readonly gaiaAppKey: v.StringSchema<undefined>;
1077
+ }, undefined>, undefined>;
1078
+ }, undefined>;
1079
+ type StxGetAccountsResult = v.InferOutput<typeof stxGetAccountsResultSchema>;
1080
+ declare const stxGetAccountsRequestMessageSchema: v.ObjectSchema<{
1081
+ readonly method: v.LiteralSchema<"stx_getAccounts", undefined>;
1082
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1083
+ readonly id: v.StringSchema<undefined>;
1084
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1085
+ }, undefined>;
1086
+ type StxGetAccountsRequestMessage = v.InferOutput<typeof stxGetAccountsRequestMessageSchema>;
1087
+ type StxGetAccounts = MethodParamsAndResult<StxGetAccountsParams, StxGetAccountsResult>;
1088
+
981
1089
  declare const stxGetAddressesMethodName = "stx_getAddresses";
982
1090
  declare const stxGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
983
1091
  /**
@@ -1011,6 +1119,113 @@ declare const stxGetAddressesRequestMessageSchema: v.ObjectSchema<{
1011
1119
  }, undefined>;
1012
1120
  type StxGetAddressesRequestMessage = v.InferOutput<typeof stxGetAddressesRequestMessageSchema>;
1013
1121
  type StxGetAddresses = MethodParamsAndResult<v.InferOutput<typeof stxGetAddressesParamsSchema>, v.InferOutput<typeof stxGetAddressesResultSchema>>;
1122
+
1123
+ declare const stxSignMessageMethodName = "stx_signMessage";
1124
+ declare const stxSignMessageParamsSchema: v.ObjectSchema<{
1125
+ /**
1126
+ * The message to sign.
1127
+ */
1128
+ readonly message: v.StringSchema<undefined>;
1129
+ /**
1130
+ * The public key to sign the message with.
1131
+ */
1132
+ readonly publicKey: v.StringSchema<undefined>;
1133
+ /**
1134
+ * The format version of the parameter.
1135
+ */
1136
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1137
+ }, undefined>;
1138
+ type StxSignMessageParams = v.InferOutput<typeof stxSignMessageParamsSchema>;
1139
+ declare const stxSignMessageResultSchema: v.ObjectSchema<{
1140
+ /**
1141
+ * The signature of the message.
1142
+ */
1143
+ readonly signature: v.StringSchema<undefined>;
1144
+ /**
1145
+ * The public key used to sign the message.
1146
+ */
1147
+ readonly publicKey: v.StringSchema<undefined>;
1148
+ }, undefined>;
1149
+ type StxSignMessageResult = v.InferOutput<typeof stxSignMessageResultSchema>;
1150
+ declare const stxSignMessageRequestMessageSchema: v.ObjectSchema<{
1151
+ readonly method: v.LiteralSchema<"stx_signMessage", undefined>;
1152
+ readonly params: v.ObjectSchema<{
1153
+ /**
1154
+ * The message to sign.
1155
+ */
1156
+ readonly message: v.StringSchema<undefined>;
1157
+ /**
1158
+ * The public key to sign the message with.
1159
+ */
1160
+ readonly publicKey: v.StringSchema<undefined>;
1161
+ /**
1162
+ * The format version of the parameter.
1163
+ */
1164
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1165
+ }, undefined>;
1166
+ readonly id: v.StringSchema<undefined>;
1167
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1168
+ }, undefined>;
1169
+ type StxSignMessageRequestMessage = v.InferOutput<typeof stxSignMessageRequestMessageSchema>;
1170
+ type StxSignMessage = MethodParamsAndResult<StxSignMessageParams, StxSignMessageResult>;
1171
+
1172
+ declare const stxSignStructuredMessageMethodName = "stx_signStructuredMessage";
1173
+ declare const stxSignStructuredMessageParamsSchema: v.ObjectSchema<{
1174
+ /**
1175
+ * The domain to be signed.
1176
+ */
1177
+ readonly domain: v.StringSchema<undefined>;
1178
+ /**
1179
+ * Message payload to be signed.
1180
+ */
1181
+ readonly message: v.StringSchema<undefined>;
1182
+ /**
1183
+ * The format version of the parameter.
1184
+ */
1185
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1186
+ /**
1187
+ * The public key to sign the message with.
1188
+ */
1189
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1190
+ }, undefined>;
1191
+ type StxSignStructuredMessageParams = v.InferOutput<typeof stxSignStructuredMessageParamsSchema>;
1192
+ declare const stxSignStructuredMessageResultSchema: v.ObjectSchema<{
1193
+ /**
1194
+ * Signature of the message.
1195
+ */
1196
+ readonly signature: v.StringSchema<undefined>;
1197
+ /**
1198
+ * Public key as hex-encoded string.
1199
+ */
1200
+ readonly publicKey: v.StringSchema<undefined>;
1201
+ }, undefined>;
1202
+ type StxSignStructuredMessageResult = v.InferOutput<typeof stxSignStructuredMessageResultSchema>;
1203
+ declare const stxSignStructuredMessageRequestMessageSchema: v.ObjectSchema<{
1204
+ readonly method: v.LiteralSchema<"stx_signStructuredMessage", undefined>;
1205
+ readonly params: v.ObjectSchema<{
1206
+ /**
1207
+ * The domain to be signed.
1208
+ */
1209
+ readonly domain: v.StringSchema<undefined>;
1210
+ /**
1211
+ * Message payload to be signed.
1212
+ */
1213
+ readonly message: v.StringSchema<undefined>;
1214
+ /**
1215
+ * The format version of the parameter.
1216
+ */
1217
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1218
+ /**
1219
+ * The public key to sign the message with.
1220
+ */
1221
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1222
+ }, undefined>;
1223
+ readonly id: v.StringSchema<undefined>;
1224
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1225
+ }, undefined>;
1226
+ type StxSignStructuredMessageRequestMessage = v.InferOutput<typeof stxSignStructuredMessageRequestMessageSchema>;
1227
+ type StxSignStructuredMessage = MethodParamsAndResult<StxSignStructuredMessageParams, StxSignStructuredMessageResult>;
1228
+
1014
1229
  declare const stxSignTransactionMethodName = "stx_signTransaction";
1015
1230
  declare const stxSignTransactionParamsSchema: v.ObjectSchema<{
1016
1231
  /**
@@ -1058,6 +1273,125 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
1058
1273
  type StxSignTransactionRequestMessage = v.InferOutput<typeof stxSignTransactionRequestMessageSchema>;
1059
1274
  type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSignTransactionResult>;
1060
1275
 
1276
+ declare const stxTransferStxMethodName = "stx_transferStx";
1277
+ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
1278
+ /**
1279
+ * Amount of STX tokens to transfer in microstacks as a string. Anything
1280
+ * parseable by `BigInt` is acceptable.
1281
+ *
1282
+ * Example,
1283
+ *
1284
+ * ```js
1285
+ * const amount1 = 1234;
1286
+ * const amount2 = 1234n;
1287
+ * const amount3 = '1234';
1288
+ * ```
1289
+ */
1290
+ readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1291
+ /**
1292
+ * The recipeint's principal.
1293
+ */
1294
+ readonly recipient: v.StringSchema<undefined>;
1295
+ /**
1296
+ * A string representing the memo.
1297
+ */
1298
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1299
+ /**
1300
+ * Version of parameter format.
1301
+ */
1302
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1303
+ /**
1304
+ * The mode of the post conditions.
1305
+ */
1306
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1307
+ /**
1308
+ * A hex-encoded string representing the post conditions.
1309
+ *
1310
+ * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
1311
+ *
1312
+ * ```js
1313
+ * import { serializePostCondition } from '@stacks/transactions';
1314
+ *
1315
+ * const postCondition = somePostCondition;
1316
+ * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1317
+ * ```
1318
+ */
1319
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1320
+ /**
1321
+ * The public key to sign the transaction with. The wallet may use any key
1322
+ * when not provided.
1323
+ */
1324
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1325
+ }, undefined>;
1326
+ type StxTransferStxParams = v.InferOutput<typeof stxTransferStxParamsSchema>;
1327
+ declare const stxTransferStxResultSchema: v.ObjectSchema<{
1328
+ /**
1329
+ * The ID of the transaction.
1330
+ */
1331
+ readonly txid: v.StringSchema<undefined>;
1332
+ /**
1333
+ * A Stacks transaction as a hex-encoded string.
1334
+ */
1335
+ readonly transaction: v.StringSchema<undefined>;
1336
+ }, undefined>;
1337
+ type StxTransferStxResult = v.InferOutput<typeof stxTransferStxResultSchema>;
1338
+ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
1339
+ readonly method: v.LiteralSchema<"stx_transferStx", undefined>;
1340
+ readonly params: v.ObjectSchema<{
1341
+ /**
1342
+ * Amount of STX tokens to transfer in microstacks as a string. Anything
1343
+ * parseable by `BigInt` is acceptable.
1344
+ *
1345
+ * Example,
1346
+ *
1347
+ * ```js
1348
+ * const amount1 = 1234;
1349
+ * const amount2 = 1234n;
1350
+ * const amount3 = '1234';
1351
+ * ```
1352
+ */
1353
+ readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1354
+ /**
1355
+ * The recipeint's principal.
1356
+ */
1357
+ readonly recipient: v.StringSchema<undefined>;
1358
+ /**
1359
+ * A string representing the memo.
1360
+ */
1361
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1362
+ /**
1363
+ * Version of parameter format.
1364
+ */
1365
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1366
+ /**
1367
+ * The mode of the post conditions.
1368
+ */
1369
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1370
+ /**
1371
+ * A hex-encoded string representing the post conditions.
1372
+ *
1373
+ * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
1374
+ *
1375
+ * ```js
1376
+ * import { serializePostCondition } from '@stacks/transactions';
1377
+ *
1378
+ * const postCondition = somePostCondition;
1379
+ * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1380
+ * ```
1381
+ */
1382
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1383
+ /**
1384
+ * The public key to sign the transaction with. The wallet may use any key
1385
+ * when not provided.
1386
+ */
1387
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1388
+ }, undefined>;
1389
+ readonly id: v.StringSchema<undefined>;
1390
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1391
+ }, undefined>;
1392
+ type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
1393
+ type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
1394
+
1061
1395
  /**
1062
1396
  * Permissions with the clientId field omitted and optional actions. Used for
1063
1397
  * permission requests, since the wallet performs authentication based on the
@@ -1065,146 +1399,42 @@ type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSig
1065
1399
  * themselves.
1066
1400
  */
1067
1401
  declare const permissionTemplate: v.VariantSchema<"type", [v.ObjectSchema<{
1068
- readonly actions: Omit<v.ObjectSchema<{
1069
- readonly read: v.BooleanSchema<undefined>;
1070
- readonly autoSign: v.BooleanSchema<undefined>;
1071
- readonly rename: v.BooleanSchema<undefined>;
1072
- }, undefined>, "_types" | "_run" | "entries"> & {
1073
- readonly entries: {
1074
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1075
- readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1076
- readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1077
- };
1078
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1079
- read?: boolean | undefined;
1080
- autoSign?: boolean | undefined;
1081
- rename?: boolean | undefined;
1082
- }, v.ObjectIssue | v.BooleanIssue>;
1083
- readonly _types?: {
1084
- readonly input: {
1085
- read?: boolean | undefined;
1086
- autoSign?: boolean | undefined;
1087
- rename?: boolean | undefined;
1088
- };
1089
- readonly output: {
1090
- read?: boolean | undefined;
1091
- autoSign?: boolean | undefined;
1092
- rename?: boolean | undefined;
1093
- };
1094
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1095
- } | undefined;
1096
- };
1097
1402
  readonly type: v.LiteralSchema<"account", undefined>;
1098
1403
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1404
+ readonly actions: v.ObjectSchema<{
1405
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1406
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1407
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1408
+ }, undefined>;
1099
1409
  }, undefined>, v.ObjectSchema<{
1100
- readonly actions: Omit<v.ObjectSchema<{
1101
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1102
- readonly openPopup: v.BooleanSchema<undefined>;
1103
- readonly openFullPage: v.BooleanSchema<undefined>;
1104
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1105
- }, undefined>, "_types" | "_run" | "entries"> & {
1106
- readonly entries: {
1107
- readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1108
- readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1109
- readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1110
- readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1111
- };
1112
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1113
- addPrivateKey?: boolean | undefined;
1114
- openPopup?: boolean | undefined;
1115
- openFullPage?: boolean | undefined;
1116
- readAllAccounts?: boolean | undefined;
1117
- }, v.ObjectIssue | v.BooleanIssue>;
1118
- readonly _types?: {
1119
- readonly input: {
1120
- addPrivateKey?: boolean | undefined;
1121
- openPopup?: boolean | undefined;
1122
- openFullPage?: boolean | undefined;
1123
- readAllAccounts?: boolean | undefined;
1124
- };
1125
- readonly output: {
1126
- addPrivateKey?: boolean | undefined;
1127
- openPopup?: boolean | undefined;
1128
- openFullPage?: boolean | undefined;
1129
- readAllAccounts?: boolean | undefined;
1130
- };
1131
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1132
- } | undefined;
1133
- };
1134
1410
  readonly type: v.LiteralSchema<"wallet", undefined>;
1135
1411
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1412
+ readonly actions: v.ObjectSchema<{
1413
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1414
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1415
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1416
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1417
+ }, undefined>;
1136
1418
  }, undefined>], undefined>;
1137
1419
  type PermissionWithoutClientId = v.InferOutput<typeof permissionTemplate>;
1138
1420
  declare const requestPermissionsMethodName = "wallet_requestPermissions";
1139
1421
  declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1140
- readonly actions: Omit<v.ObjectSchema<{
1141
- readonly read: v.BooleanSchema<undefined>;
1142
- readonly autoSign: v.BooleanSchema<undefined>;
1143
- readonly rename: v.BooleanSchema<undefined>;
1144
- }, undefined>, "_types" | "_run" | "entries"> & {
1145
- readonly entries: {
1146
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1147
- readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1148
- readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1149
- };
1150
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1151
- read?: boolean | undefined;
1152
- autoSign?: boolean | undefined;
1153
- rename?: boolean | undefined;
1154
- }, v.ObjectIssue | v.BooleanIssue>;
1155
- readonly _types?: {
1156
- readonly input: {
1157
- read?: boolean | undefined;
1158
- autoSign?: boolean | undefined;
1159
- rename?: boolean | undefined;
1160
- };
1161
- readonly output: {
1162
- read?: boolean | undefined;
1163
- autoSign?: boolean | undefined;
1164
- rename?: boolean | undefined;
1165
- };
1166
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1167
- } | undefined;
1168
- };
1169
1422
  readonly type: v.LiteralSchema<"account", undefined>;
1170
1423
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1424
+ readonly actions: v.ObjectSchema<{
1425
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1426
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1427
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1428
+ }, undefined>;
1171
1429
  }, undefined>, v.ObjectSchema<{
1172
- readonly actions: Omit<v.ObjectSchema<{
1173
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1174
- readonly openPopup: v.BooleanSchema<undefined>;
1175
- readonly openFullPage: v.BooleanSchema<undefined>;
1176
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1177
- }, undefined>, "_types" | "_run" | "entries"> & {
1178
- readonly entries: {
1179
- readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1180
- readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1181
- readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1182
- readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1183
- };
1184
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1185
- addPrivateKey?: boolean | undefined;
1186
- openPopup?: boolean | undefined;
1187
- openFullPage?: boolean | undefined;
1188
- readAllAccounts?: boolean | undefined;
1189
- }, v.ObjectIssue | v.BooleanIssue>;
1190
- readonly _types?: {
1191
- readonly input: {
1192
- addPrivateKey?: boolean | undefined;
1193
- openPopup?: boolean | undefined;
1194
- openFullPage?: boolean | undefined;
1195
- readAllAccounts?: boolean | undefined;
1196
- };
1197
- readonly output: {
1198
- addPrivateKey?: boolean | undefined;
1199
- openPopup?: boolean | undefined;
1200
- openFullPage?: boolean | undefined;
1201
- readAllAccounts?: boolean | undefined;
1202
- };
1203
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1204
- } | undefined;
1205
- };
1206
1430
  readonly type: v.LiteralSchema<"wallet", undefined>;
1207
1431
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1432
+ readonly actions: v.ObjectSchema<{
1433
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1434
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1435
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1436
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1437
+ }, undefined>;
1208
1438
  }, undefined>], undefined>, undefined>, never>;
1209
1439
  type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
1210
1440
  declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
@@ -1212,74 +1442,22 @@ type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSch
1212
1442
  declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
1213
1443
  readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
1214
1444
  readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1215
- readonly actions: Omit<v.ObjectSchema<{
1216
- readonly read: v.BooleanSchema<undefined>;
1217
- readonly autoSign: v.BooleanSchema<undefined>;
1218
- readonly rename: v.BooleanSchema<undefined>;
1219
- }, undefined>, "_types" | "_run" | "entries"> & {
1220
- readonly entries: {
1221
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1222
- readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1223
- readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1224
- };
1225
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1226
- read?: boolean | undefined;
1227
- autoSign?: boolean | undefined;
1228
- rename?: boolean | undefined;
1229
- }, v.ObjectIssue | v.BooleanIssue>;
1230
- readonly _types?: {
1231
- readonly input: {
1232
- read?: boolean | undefined;
1233
- autoSign?: boolean | undefined;
1234
- rename?: boolean | undefined;
1235
- };
1236
- readonly output: {
1237
- read?: boolean | undefined;
1238
- autoSign?: boolean | undefined;
1239
- rename?: boolean | undefined;
1240
- };
1241
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1242
- } | undefined;
1243
- };
1244
1445
  readonly type: v.LiteralSchema<"account", undefined>;
1245
1446
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1447
+ readonly actions: v.ObjectSchema<{
1448
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1449
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1450
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1451
+ }, undefined>;
1246
1452
  }, undefined>, v.ObjectSchema<{
1247
- readonly actions: Omit<v.ObjectSchema<{
1248
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1249
- readonly openPopup: v.BooleanSchema<undefined>;
1250
- readonly openFullPage: v.BooleanSchema<undefined>;
1251
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1252
- }, undefined>, "_types" | "_run" | "entries"> & {
1253
- readonly entries: {
1254
- readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1255
- readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1256
- readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1257
- readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1258
- };
1259
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1260
- addPrivateKey?: boolean | undefined;
1261
- openPopup?: boolean | undefined;
1262
- openFullPage?: boolean | undefined;
1263
- readAllAccounts?: boolean | undefined;
1264
- }, v.ObjectIssue | v.BooleanIssue>;
1265
- readonly _types?: {
1266
- readonly input: {
1267
- addPrivateKey?: boolean | undefined;
1268
- openPopup?: boolean | undefined;
1269
- openFullPage?: boolean | undefined;
1270
- readAllAccounts?: boolean | undefined;
1271
- };
1272
- readonly output: {
1273
- addPrivateKey?: boolean | undefined;
1274
- openPopup?: boolean | undefined;
1275
- openFullPage?: boolean | undefined;
1276
- readAllAccounts?: boolean | undefined;
1277
- };
1278
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1279
- } | undefined;
1280
- };
1281
1453
  readonly type: v.LiteralSchema<"wallet", undefined>;
1282
1454
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1455
+ readonly actions: v.ObjectSchema<{
1456
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1457
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1458
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1459
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1460
+ }, undefined>;
1283
1461
  }, undefined>], undefined>, undefined>, never>;
1284
1462
  readonly id: v.StringSchema<undefined>;
1285
1463
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
@@ -1333,19 +1511,19 @@ declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"
1333
1511
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1334
1512
  readonly clientId: v.StringSchema<undefined>;
1335
1513
  readonly actions: v.ObjectSchema<{
1336
- readonly read: v.BooleanSchema<undefined>;
1337
- readonly autoSign: v.BooleanSchema<undefined>;
1338
- readonly rename: v.BooleanSchema<undefined>;
1514
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1515
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1516
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1339
1517
  }, undefined>;
1340
1518
  }, undefined>, v.ObjectSchema<{
1341
1519
  readonly type: v.LiteralSchema<"wallet", undefined>;
1342
1520
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1343
1521
  readonly clientId: v.StringSchema<undefined>;
1344
1522
  readonly actions: v.ObjectSchema<{
1345
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1346
- readonly openPopup: v.BooleanSchema<undefined>;
1347
- readonly openFullPage: v.BooleanSchema<undefined>;
1348
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1523
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1524
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1525
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1526
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1349
1527
  }, undefined>;
1350
1528
  }, undefined>], undefined>, undefined>;
1351
1529
  type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
@@ -1382,74 +1560,22 @@ type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
1382
1560
  declare const connectMethodName = "wallet_connect";
1383
1561
  declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1384
1562
  readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1385
- readonly actions: Omit<v.ObjectSchema<{
1386
- readonly read: v.BooleanSchema<undefined>;
1387
- readonly autoSign: v.BooleanSchema<undefined>;
1388
- readonly rename: v.BooleanSchema<undefined>;
1389
- }, undefined>, "_types" | "_run" | "entries"> & {
1390
- readonly entries: {
1391
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1392
- readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1393
- readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1394
- };
1395
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1396
- read?: boolean | undefined;
1397
- autoSign?: boolean | undefined;
1398
- rename?: boolean | undefined;
1399
- }, v.ObjectIssue | v.BooleanIssue>;
1400
- readonly _types?: {
1401
- readonly input: {
1402
- read?: boolean | undefined;
1403
- autoSign?: boolean | undefined;
1404
- rename?: boolean | undefined;
1405
- };
1406
- readonly output: {
1407
- read?: boolean | undefined;
1408
- autoSign?: boolean | undefined;
1409
- rename?: boolean | undefined;
1410
- };
1411
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1412
- } | undefined;
1413
- };
1414
1563
  readonly type: v.LiteralSchema<"account", undefined>;
1415
1564
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1565
+ readonly actions: v.ObjectSchema<{
1566
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1567
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1568
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1569
+ }, undefined>;
1416
1570
  }, undefined>, v.ObjectSchema<{
1417
- readonly actions: Omit<v.ObjectSchema<{
1418
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1419
- readonly openPopup: v.BooleanSchema<undefined>;
1420
- readonly openFullPage: v.BooleanSchema<undefined>;
1421
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1422
- }, undefined>, "_types" | "_run" | "entries"> & {
1423
- readonly entries: {
1424
- readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1425
- readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1426
- readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1427
- readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1428
- };
1429
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1430
- addPrivateKey?: boolean | undefined;
1431
- openPopup?: boolean | undefined;
1432
- openFullPage?: boolean | undefined;
1433
- readAllAccounts?: boolean | undefined;
1434
- }, v.ObjectIssue | v.BooleanIssue>;
1435
- readonly _types?: {
1436
- readonly input: {
1437
- addPrivateKey?: boolean | undefined;
1438
- openPopup?: boolean | undefined;
1439
- openFullPage?: boolean | undefined;
1440
- readAllAccounts?: boolean | undefined;
1441
- };
1442
- readonly output: {
1443
- addPrivateKey?: boolean | undefined;
1444
- openPopup?: boolean | undefined;
1445
- openFullPage?: boolean | undefined;
1446
- readAllAccounts?: boolean | undefined;
1447
- };
1448
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1449
- } | undefined;
1450
- };
1451
1571
  readonly type: v.LiteralSchema<"wallet", undefined>;
1452
1572
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1573
+ readonly actions: v.ObjectSchema<{
1574
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1575
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1576
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1577
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1578
+ }, undefined>;
1453
1579
  }, undefined>], undefined>, undefined>, never>;
1454
1580
  }, undefined>, never>;
1455
1581
  type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
@@ -1468,74 +1594,22 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
1468
1594
  readonly method: v.LiteralSchema<"wallet_connect", undefined>;
1469
1595
  readonly params: v.NullishSchema<v.ObjectSchema<{
1470
1596
  readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1471
- readonly actions: Omit<v.ObjectSchema<{
1472
- readonly read: v.BooleanSchema<undefined>;
1473
- readonly autoSign: v.BooleanSchema<undefined>;
1474
- readonly rename: v.BooleanSchema<undefined>;
1475
- }, undefined>, "_types" | "_run" | "entries"> & {
1476
- readonly entries: {
1477
- readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1478
- readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1479
- readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1480
- };
1481
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1482
- read?: boolean | undefined;
1483
- autoSign?: boolean | undefined;
1484
- rename?: boolean | undefined;
1485
- }, v.ObjectIssue | v.BooleanIssue>;
1486
- readonly _types?: {
1487
- readonly input: {
1488
- read?: boolean | undefined;
1489
- autoSign?: boolean | undefined;
1490
- rename?: boolean | undefined;
1491
- };
1492
- readonly output: {
1493
- read?: boolean | undefined;
1494
- autoSign?: boolean | undefined;
1495
- rename?: boolean | undefined;
1496
- };
1497
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1498
- } | undefined;
1499
- };
1500
1597
  readonly type: v.LiteralSchema<"account", undefined>;
1501
1598
  readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1599
+ readonly actions: v.ObjectSchema<{
1600
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1601
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1602
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1603
+ }, undefined>;
1502
1604
  }, undefined>, v.ObjectSchema<{
1503
- readonly actions: Omit<v.ObjectSchema<{
1504
- readonly addPrivateKey: v.BooleanSchema<undefined>;
1505
- readonly openPopup: v.BooleanSchema<undefined>;
1506
- readonly openFullPage: v.BooleanSchema<undefined>;
1507
- readonly readAllAccounts: v.BooleanSchema<undefined>;
1508
- }, undefined>, "_types" | "_run" | "entries"> & {
1509
- readonly entries: {
1510
- readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1511
- readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1512
- readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1513
- readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1514
- };
1515
- readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1516
- addPrivateKey?: boolean | undefined;
1517
- openPopup?: boolean | undefined;
1518
- openFullPage?: boolean | undefined;
1519
- readAllAccounts?: boolean | undefined;
1520
- }, v.ObjectIssue | v.BooleanIssue>;
1521
- readonly _types?: {
1522
- readonly input: {
1523
- addPrivateKey?: boolean | undefined;
1524
- openPopup?: boolean | undefined;
1525
- openFullPage?: boolean | undefined;
1526
- readAllAccounts?: boolean | undefined;
1527
- };
1528
- readonly output: {
1529
- addPrivateKey?: boolean | undefined;
1530
- openPopup?: boolean | undefined;
1531
- openFullPage?: boolean | undefined;
1532
- readAllAccounts?: boolean | undefined;
1533
- };
1534
- readonly issue: v.ObjectIssue | v.BooleanIssue;
1535
- } | undefined;
1536
- };
1537
1605
  readonly type: v.LiteralSchema<"wallet", undefined>;
1538
1606
  readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1607
+ readonly actions: v.ObjectSchema<{
1608
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1609
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1610
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1611
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1612
+ }, undefined>;
1539
1613
  }, undefined>], undefined>, undefined>, never>;
1540
1614
  }, undefined>, never>;
1541
1615
  readonly id: v.StringSchema<undefined>;
@@ -1553,7 +1627,7 @@ interface StxRequests {
1553
1627
  stx_deployContract: StxDeployContract;
1554
1628
  stx_getAccounts: StxGetAccounts;
1555
1629
  stx_getAddresses: StxGetAddresses;
1556
- stx_signMessage: StxSignStxMessage;
1630
+ stx_signMessage: StxSignMessage;
1557
1631
  stx_signStructuredMessage: StxSignStructuredMessage;
1558
1632
  stx_signTransaction: StxSignTransaction;
1559
1633
  stx_transferStx: StxTransferStx;
@@ -1570,15 +1644,15 @@ interface BtcRequests {
1570
1644
  }
1571
1645
  type BtcRequestMethod = keyof BtcRequests;
1572
1646
  interface RunesRequests {
1573
- runes_estimateMint: EstimateRunesMint;
1574
- runes_mint: MintRunes;
1575
- runes_estimateEtch: EstimateRunesEtch;
1576
- runes_etch: EtchRunes;
1577
- runes_getOrder: GetOrder;
1578
- runes_estimateRbfOrder: EstimateRbfOrder;
1579
- runes_rbfOrder: RbfOrder;
1580
- runes_getBalance: GetRunesBalance;
1581
- runes_transfer: TransferRunes;
1647
+ runes_estimateEtch: RunesEstimateEtch;
1648
+ runes_estimateMint: RunesEstimateMint;
1649
+ runes_estimateRbfOrder: RunesEstimateRbfOrder;
1650
+ runes_etch: RunesEtch;
1651
+ runes_getBalance: RunesGetBalance;
1652
+ runes_getOrder: RunesGetOrder;
1653
+ runes_mint: RunesMint;
1654
+ runes_rbfOrder: RunesRbfOrder;
1655
+ runes_transfer: RunesTransfer;
1582
1656
  }
1583
1657
  type RunesRequestMethod = keyof RunesRequests;
1584
1658
  interface OrdinalsRequests {
@@ -1623,4 +1697,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
1623
1697
  declare const DefaultAdaptersInfo: Record<string, Provider>;
1624
1698
  declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
1625
1699
 
1626
- export { type AccountChangeEvent, type AddListener, type Address$1 as Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type CallContractParams, type CallContractResult, type Capability, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, 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 GetOrder, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type PermissionWithoutClientId, type Provider, type PsbtPayload, type RbfOrder, type Recipient$1 as 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 RunesRequestMethod, type RunesRequests, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendTransfer, type SendTransferParams, 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 SignPsbtResult, type SignStructuredMessageResult, type SignStxMessageParams, type SignStxMessageResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxDeployContract, type StxGetAccounts, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignStructuredMessage, type StxSignStxMessage, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type SupportedWallet, type TransferRunes, type TransferRunesParams, type TransferRunesRequest, type TransferRunesResult, TransferRunesResultSchema, type TransferStxParams, type TransferStxResult, type WalletEvent, type WalletRequests, type WalletType, accountChangeEventName, accountChangeSchema, addListener, addressSchema, 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, getInscriptionsResultSchema, getInscriptionsSchema, getProviderById, getProviderOrThrow, getProviders, getRunesBalanceMethodName, getRunesBalanceParamsSchema, getRunesBalanceRequestMessageSchema, getRunesBalanceResultSchema, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permissionTemplate, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsResultSchema, sendInscriptionsSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };
1700
+ export { type AccountChangeEvent, type AddListener, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, 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 GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, 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, 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 StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountChangeEventName, accountChangeSchema, addListener, addressSchema, 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, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permissionTemplate, 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, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletEventSchema, walletTypeSchema, walletTypes };