@sats-connect/core 0.4.0-68f1213 → 0.4.0-6eb2eb5
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 +255 -423
- package/dist/index.d.ts +255 -423
- package/dist/index.js +234 -121
- package/dist/index.mjs +210 -110
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -193,7 +193,7 @@ declare const rpcRequestMessageSchema: v.ObjectSchema<{
|
|
|
193
193
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
194
194
|
readonly method: v.StringSchema<undefined>;
|
|
195
195
|
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
196
|
-
readonly id: v.
|
|
196
|
+
readonly id: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
197
197
|
}, undefined>;
|
|
198
198
|
type RpcRequestMessage = v.InferOutput<typeof rpcRequestMessageSchema>;
|
|
199
199
|
interface RpcBase {
|
|
@@ -502,7 +502,6 @@ declare const signPsbtParamsSchema: v.ObjectSchema<{
|
|
|
502
502
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
503
503
|
*/
|
|
504
504
|
readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
505
|
-
readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
506
505
|
/**
|
|
507
506
|
* Whether to broadcast the transaction after signing.
|
|
508
507
|
**/
|
|
@@ -533,7 +532,6 @@ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
|
|
|
533
532
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
534
533
|
*/
|
|
535
534
|
readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
536
|
-
readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
537
535
|
/**
|
|
538
536
|
* Whether to broadcast the transaction after signing.
|
|
539
537
|
**/
|
|
@@ -623,6 +621,7 @@ declare const getInscriptionsParamsSchema: v.ObjectSchema<{
|
|
|
623
621
|
readonly offset: v.NumberSchema<undefined>;
|
|
624
622
|
readonly limit: v.NumberSchema<undefined>;
|
|
625
623
|
}, undefined>;
|
|
624
|
+
type GetInscriptionsParams = v.InferOutput<typeof getInscriptionsParamsSchema>;
|
|
626
625
|
declare const getInscriptionsResultSchema: v.ObjectSchema<{
|
|
627
626
|
readonly total: v.NumberSchema<undefined>;
|
|
628
627
|
readonly limit: v.NumberSchema<undefined>;
|
|
@@ -641,7 +640,8 @@ declare const getInscriptionsResultSchema: v.ObjectSchema<{
|
|
|
641
640
|
readonly output: v.StringSchema<undefined>;
|
|
642
641
|
}, undefined>, undefined>;
|
|
643
642
|
}, undefined>;
|
|
644
|
-
|
|
643
|
+
type GetInscriptionsResult = v.InferOutput<typeof getInscriptionsResultSchema>;
|
|
644
|
+
declare const getInscriptionsRequestMessageSchema: v.ObjectSchema<{
|
|
645
645
|
readonly method: v.LiteralSchema<"ord_getInscriptions", undefined>;
|
|
646
646
|
readonly params: v.ObjectSchema<{
|
|
647
647
|
readonly offset: v.NumberSchema<undefined>;
|
|
@@ -650,7 +650,8 @@ declare const getInscriptionsSchema: v.ObjectSchema<{
|
|
|
650
650
|
readonly id: v.StringSchema<undefined>;
|
|
651
651
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
652
652
|
}, undefined>;
|
|
653
|
-
type
|
|
653
|
+
type GetInscriptionsRequestMessage = v.InferOutput<typeof getInscriptionsRequestMessageSchema>;
|
|
654
|
+
type GetInscriptions = MethodParamsAndResult<GetInscriptionsParams, GetInscriptionsResult>;
|
|
654
655
|
declare const sendInscriptionsMethodName = "ord_sendInscriptions";
|
|
655
656
|
declare const sendInscriptionsParamsSchema: v.ObjectSchema<{
|
|
656
657
|
readonly transfers: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -658,10 +659,12 @@ declare const sendInscriptionsParamsSchema: v.ObjectSchema<{
|
|
|
658
659
|
readonly inscriptionId: v.StringSchema<undefined>;
|
|
659
660
|
}, undefined>, undefined>;
|
|
660
661
|
}, undefined>;
|
|
662
|
+
type SendInscriptionsParams = v.InferOutput<typeof sendInscriptionsParamsSchema>;
|
|
661
663
|
declare const sendInscriptionsResultSchema: v.ObjectSchema<{
|
|
662
664
|
readonly txid: v.StringSchema<undefined>;
|
|
663
665
|
}, undefined>;
|
|
664
|
-
|
|
666
|
+
type SendInscriptionsResult = v.InferOutput<typeof sendInscriptionsResultSchema>;
|
|
667
|
+
declare const sendInscriptionsRequestMessageSchema: v.ObjectSchema<{
|
|
665
668
|
readonly method: v.LiteralSchema<"ord_sendInscriptions", undefined>;
|
|
666
669
|
readonly params: v.ObjectSchema<{
|
|
667
670
|
readonly transfers: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -672,7 +675,8 @@ declare const sendInscriptionsSchema: v.ObjectSchema<{
|
|
|
672
675
|
readonly id: v.StringSchema<undefined>;
|
|
673
676
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
674
677
|
}, undefined>;
|
|
675
|
-
type
|
|
678
|
+
type SendInscriptionsRequestMessage = v.InferOutput<typeof sendInscriptionsRequestMessageSchema>;
|
|
679
|
+
type SendInscriptions = MethodParamsAndResult<SendInscriptionsParams, SendInscriptionsResult>;
|
|
676
680
|
|
|
677
681
|
type CreateMintOrderRequest = {
|
|
678
682
|
runeName: string;
|
|
@@ -740,55 +744,95 @@ type RBFOrderResponse = {
|
|
|
740
744
|
fundingAddress: string;
|
|
741
745
|
};
|
|
742
746
|
|
|
743
|
-
interface
|
|
744
|
-
network?: BitcoinNetworkType;
|
|
745
|
-
}
|
|
746
|
-
type EstimateRunesMintResult = EstimateOrderResponse;
|
|
747
|
-
type EstimateRunesMint = MethodParamsAndResult<EstimateRunesMintParams, EstimateRunesMintResult>;
|
|
748
|
-
interface MintRunesParams extends CreateMintOrderRequest {
|
|
749
|
-
network?: BitcoinNetworkType;
|
|
750
|
-
}
|
|
751
|
-
type MintRunesResult = {
|
|
752
|
-
orderId: string;
|
|
753
|
-
fundTransactionId: string;
|
|
754
|
-
fundingAddress: string;
|
|
755
|
-
};
|
|
756
|
-
type MintRunes = MethodParamsAndResult<MintRunesParams, MintRunesResult>;
|
|
757
|
-
interface EstimateRunesEtchParams extends EstimateEtchOrderRequest {
|
|
758
|
-
network?: BitcoinNetworkType;
|
|
759
|
-
}
|
|
760
|
-
type EstimateRunesEtchResult = EstimateOrderResponse;
|
|
761
|
-
type EstimateRunesEtch = MethodParamsAndResult<EstimateRunesEtchParams, EstimateRunesEtchResult>;
|
|
762
|
-
interface EtchRunesParams extends CreateEtchOrderRequest {
|
|
763
|
-
network?: BitcoinNetworkType;
|
|
764
|
-
}
|
|
765
|
-
type EtchRunesResult = {
|
|
766
|
-
orderId: string;
|
|
767
|
-
fundTransactionId: string;
|
|
768
|
-
fundingAddress: string;
|
|
769
|
-
};
|
|
770
|
-
type EtchRunes = MethodParamsAndResult<EtchRunesParams, EtchRunesResult>;
|
|
771
|
-
interface GetOrderParams extends GetOrderRequest {
|
|
747
|
+
interface RunesEstimateEtchParams extends EstimateEtchOrderRequest {
|
|
772
748
|
network?: BitcoinNetworkType;
|
|
773
749
|
}
|
|
774
|
-
type
|
|
775
|
-
|
|
750
|
+
type RunesEstimateEtchResult = EstimateOrderResponse;
|
|
751
|
+
type RunesEstimateEtch = MethodParamsAndResult<RunesEstimateEtchParams, RunesEstimateEtchResult>;
|
|
752
|
+
|
|
753
|
+
interface runesEstimateMintParams extends EstimateMintOrderRequest {
|
|
776
754
|
network?: BitcoinNetworkType;
|
|
777
755
|
}
|
|
778
|
-
type
|
|
779
|
-
|
|
756
|
+
type runesEstimateMintResult = EstimateOrderResponse;
|
|
757
|
+
type RunesEstimateMint = MethodParamsAndResult<runesEstimateMintParams, runesEstimateMintResult>;
|
|
758
|
+
|
|
759
|
+
interface RunesEstimateRbfOrderParams extends RBFOrderRequest {
|
|
780
760
|
network?: BitcoinNetworkType;
|
|
781
761
|
}
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
762
|
+
type RunesEstimateRbfOrder = MethodParamsAndResult<RunesEstimateRbfOrderParams, RBFOrderResponse>;
|
|
763
|
+
|
|
764
|
+
declare const runesEtchMethodName = "runes_etch";
|
|
765
|
+
declare const runesEtchParamsSchema: v.ObjectSchema<{
|
|
766
|
+
readonly runeName: v.StringSchema<undefined>;
|
|
767
|
+
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
768
|
+
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
769
|
+
readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
770
|
+
readonly isMintable: v.BooleanSchema<undefined>;
|
|
771
|
+
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
772
|
+
readonly destinationAddress: v.StringSchema<undefined>;
|
|
773
|
+
readonly refundAddress: v.StringSchema<undefined>;
|
|
774
|
+
readonly feeRate: v.NumberSchema<undefined>;
|
|
775
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
776
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
777
|
+
readonly terms: v.OptionalSchema<v.ObjectSchema<{
|
|
778
|
+
readonly amount: v.StringSchema<undefined>;
|
|
779
|
+
readonly cap: v.StringSchema<undefined>;
|
|
780
|
+
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
781
|
+
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
782
|
+
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
783
|
+
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
784
|
+
}, undefined>, never>;
|
|
785
|
+
readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
|
|
786
|
+
readonly contentType: v.StringSchema<undefined>;
|
|
787
|
+
readonly contentBase64: v.StringSchema<undefined>;
|
|
788
|
+
}, undefined>, never>;
|
|
789
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
|
|
790
|
+
}, undefined>;
|
|
791
|
+
type RunesEtchParams = v.InferOutput<typeof runesEtchParamsSchema>;
|
|
792
|
+
declare const runesEtchResultSchema: v.ObjectSchema<{
|
|
793
|
+
readonly orderId: v.StringSchema<undefined>;
|
|
794
|
+
readonly fundTransactionId: v.StringSchema<undefined>;
|
|
795
|
+
readonly fundingAddress: v.StringSchema<undefined>;
|
|
796
|
+
}, undefined>;
|
|
797
|
+
type RunesEtchResult = v.InferOutput<typeof runesEtchResultSchema>;
|
|
798
|
+
declare const runesEtchRequestMessageSchema: v.ObjectSchema<{
|
|
799
|
+
readonly method: v.LiteralSchema<"runes_etch", undefined>;
|
|
800
|
+
readonly params: v.ObjectSchema<{
|
|
801
|
+
readonly runeName: v.StringSchema<undefined>;
|
|
802
|
+
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
803
|
+
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
804
|
+
readonly premine: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
805
|
+
readonly isMintable: v.BooleanSchema<undefined>;
|
|
806
|
+
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
807
|
+
readonly destinationAddress: v.StringSchema<undefined>;
|
|
808
|
+
readonly refundAddress: v.StringSchema<undefined>;
|
|
809
|
+
readonly feeRate: v.NumberSchema<undefined>;
|
|
810
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
811
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
812
|
+
readonly terms: v.OptionalSchema<v.ObjectSchema<{
|
|
813
|
+
readonly amount: v.StringSchema<undefined>;
|
|
814
|
+
readonly cap: v.StringSchema<undefined>;
|
|
815
|
+
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
816
|
+
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
817
|
+
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
818
|
+
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
819
|
+
}, undefined>, never>;
|
|
820
|
+
readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
|
|
821
|
+
readonly contentType: v.StringSchema<undefined>;
|
|
822
|
+
readonly contentBase64: v.StringSchema<undefined>;
|
|
823
|
+
}, undefined>, never>;
|
|
824
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
|
|
825
|
+
}, undefined>;
|
|
826
|
+
readonly id: v.StringSchema<undefined>;
|
|
827
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
828
|
+
}, undefined>;
|
|
829
|
+
type RunesEtchRequestMessage = v.InferOutput<typeof runesEtchRequestMessageSchema>;
|
|
830
|
+
type RunesEtch = MethodParamsAndResult<v.InferOutput<typeof runesEtchParamsSchema>, v.InferOutput<typeof runesEtchResultSchema>>;
|
|
831
|
+
|
|
832
|
+
declare const runesGetBalanceMethodName = "runes_getBalance";
|
|
833
|
+
declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
834
|
+
type RunesGetBalanceParams = v.InferOutput<typeof runesGetBalanceParamsSchema>;
|
|
835
|
+
declare const runesGetBalanceResultSchema: v.ObjectSchema<{
|
|
792
836
|
readonly balances: v.ArraySchema<v.ObjectSchema<{
|
|
793
837
|
readonly runeName: v.StringSchema<undefined>;
|
|
794
838
|
readonly amount: v.StringSchema<undefined>;
|
|
@@ -797,25 +841,81 @@ declare const getRunesBalanceResultSchema: v.ObjectSchema<{
|
|
|
797
841
|
readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>, never>;
|
|
798
842
|
}, undefined>, undefined>;
|
|
799
843
|
}, undefined>;
|
|
800
|
-
type
|
|
801
|
-
declare const
|
|
844
|
+
type RunesGetBalanceResult = v.InferOutput<typeof runesGetBalanceResultSchema>;
|
|
845
|
+
declare const runesGetBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
802
846
|
readonly method: v.LiteralSchema<"runes_getBalance", undefined>;
|
|
803
847
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
804
848
|
readonly id: v.StringSchema<undefined>;
|
|
805
849
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
806
850
|
}, undefined>;
|
|
807
|
-
type
|
|
808
|
-
type
|
|
809
|
-
|
|
810
|
-
|
|
851
|
+
type runesGetBalanceRequestMessage = v.InferOutput<typeof runesGetBalanceRequestMessageSchema>;
|
|
852
|
+
type RunesGetBalance = MethodParamsAndResult<RunesGetBalanceParams, RunesGetBalanceResult>;
|
|
853
|
+
|
|
854
|
+
interface RunesGetOrderParams extends GetOrderRequest {
|
|
855
|
+
network?: BitcoinNetworkType;
|
|
856
|
+
}
|
|
857
|
+
type RunesGetOrder = MethodParamsAndResult<RunesGetOrderParams, GetOrderResponse>;
|
|
858
|
+
|
|
859
|
+
declare const runesMintMethodName = "runes_mint";
|
|
860
|
+
declare const runesMintParamsSchema: v.ObjectSchema<{
|
|
861
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
862
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
863
|
+
readonly destinationAddress: v.StringSchema<undefined>;
|
|
864
|
+
readonly feeRate: v.NumberSchema<undefined>;
|
|
865
|
+
readonly refundAddress: v.StringSchema<undefined>;
|
|
866
|
+
readonly repeats: v.NumberSchema<undefined>;
|
|
867
|
+
readonly runeName: v.StringSchema<undefined>;
|
|
868
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
|
|
869
|
+
}, undefined>;
|
|
870
|
+
type RunesMintParams = v.InferOutput<typeof runesMintParamsSchema>;
|
|
871
|
+
declare const runesMintResultSchema: v.ObjectSchema<{
|
|
872
|
+
readonly orderId: v.StringSchema<undefined>;
|
|
873
|
+
readonly fundTransactionId: v.StringSchema<undefined>;
|
|
874
|
+
readonly fundingAddress: v.StringSchema<undefined>;
|
|
875
|
+
}, undefined>;
|
|
876
|
+
type RunesMintResult = v.InferOutput<typeof runesMintResultSchema>;
|
|
877
|
+
declare const runesMintRequestMessageSchema: v.ObjectSchema<{
|
|
878
|
+
readonly method: v.LiteralSchema<"runes_mint", undefined>;
|
|
879
|
+
readonly params: v.ObjectSchema<{
|
|
880
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
881
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
882
|
+
readonly destinationAddress: v.StringSchema<undefined>;
|
|
883
|
+
readonly feeRate: v.NumberSchema<undefined>;
|
|
884
|
+
readonly refundAddress: v.StringSchema<undefined>;
|
|
885
|
+
readonly repeats: v.NumberSchema<undefined>;
|
|
886
|
+
readonly runeName: v.StringSchema<undefined>;
|
|
887
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
|
|
888
|
+
}, undefined>;
|
|
889
|
+
readonly id: v.StringSchema<undefined>;
|
|
890
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
891
|
+
}, undefined>;
|
|
892
|
+
type RunesMintRequestMessage = v.InferOutput<typeof runesMintRequestMessageSchema>;
|
|
893
|
+
type RunesMint = MethodParamsAndResult<v.InferOutput<typeof runesMintParamsSchema>, v.InferOutput<typeof runesMintResultSchema>>;
|
|
894
|
+
|
|
895
|
+
interface RunesRbfOrderParams extends RBFOrderRequest {
|
|
896
|
+
network?: BitcoinNetworkType;
|
|
897
|
+
}
|
|
898
|
+
interface RunesRbfOrderResult {
|
|
899
|
+
orderId: string;
|
|
900
|
+
fundRBFTransactionId: string;
|
|
901
|
+
fundingAddress: string;
|
|
902
|
+
}
|
|
903
|
+
type RunesRbfOrder = MethodParamsAndResult<RunesRbfOrderParams, RunesRbfOrderResult>;
|
|
904
|
+
|
|
905
|
+
declare const runesTransferMethodName = "runes_transfer";
|
|
906
|
+
declare const runesTransferParamsSchema: v.ObjectSchema<{
|
|
811
907
|
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
812
908
|
readonly runeName: v.StringSchema<undefined>;
|
|
813
909
|
readonly amount: v.StringSchema<undefined>;
|
|
814
910
|
readonly address: v.StringSchema<undefined>;
|
|
815
911
|
}, undefined>, undefined>;
|
|
816
912
|
}, undefined>;
|
|
817
|
-
type TransferRunesParams = v.InferOutput<typeof
|
|
818
|
-
declare const
|
|
913
|
+
type TransferRunesParams = v.InferOutput<typeof runesTransferParamsSchema>;
|
|
914
|
+
declare const runesTransferResultSchema: v.ObjectSchema<{
|
|
915
|
+
readonly txid: v.StringSchema<undefined>;
|
|
916
|
+
}, undefined>;
|
|
917
|
+
type RunesTransferResult = v.InferOutput<typeof runesTransferResultSchema>;
|
|
918
|
+
declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
819
919
|
readonly method: v.LiteralSchema<"runes_transfer", undefined>;
|
|
820
920
|
readonly params: v.ObjectSchema<{
|
|
821
921
|
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -827,12 +927,8 @@ declare const transferRunesRequestSchema: v.ObjectSchema<{
|
|
|
827
927
|
readonly id: v.StringSchema<undefined>;
|
|
828
928
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
829
929
|
}, undefined>;
|
|
830
|
-
type
|
|
831
|
-
|
|
832
|
-
readonly txid: v.StringSchema<undefined>;
|
|
833
|
-
}, undefined>;
|
|
834
|
-
type TransferRunesResult = v.InferOutput<typeof TransferRunesResultSchema>;
|
|
835
|
-
type TransferRunes = MethodParamsAndResult<TransferRunesParams, TransferRunesResult>;
|
|
930
|
+
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
931
|
+
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
836
932
|
|
|
837
933
|
declare const stxCallContractMethodName = "stx_callContract";
|
|
838
934
|
declare const stxCallContractParamsSchema: v.ObjectSchema<{
|
|
@@ -922,13 +1018,13 @@ declare const stxDeployContractParamsSchema: v.ObjectSchema<{
|
|
|
922
1018
|
*/
|
|
923
1019
|
readonly name: v.StringSchema<undefined>;
|
|
924
1020
|
/**
|
|
925
|
-
* The code of the Clarity contract.
|
|
1021
|
+
* The source code of the Clarity contract.
|
|
926
1022
|
*/
|
|
927
|
-
readonly
|
|
1023
|
+
readonly clarityCode: v.StringSchema<undefined>;
|
|
928
1024
|
/**
|
|
929
1025
|
* The version of the Clarity contract.
|
|
930
1026
|
*/
|
|
931
|
-
readonly
|
|
1027
|
+
readonly clarityVersion: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
932
1028
|
}, undefined>;
|
|
933
1029
|
type StxDeployContractParams = v.InferOutput<typeof stxDeployContractParamsSchema>;
|
|
934
1030
|
declare const stxDeployContractResultSchema: v.ObjectSchema<{
|
|
@@ -950,13 +1046,13 @@ declare const stxDeployContractRequestMessageSchema: v.ObjectSchema<{
|
|
|
950
1046
|
*/
|
|
951
1047
|
readonly name: v.StringSchema<undefined>;
|
|
952
1048
|
/**
|
|
953
|
-
* The code of the Clarity contract.
|
|
1049
|
+
* The source code of the Clarity contract.
|
|
954
1050
|
*/
|
|
955
|
-
readonly
|
|
1051
|
+
readonly clarityCode: v.StringSchema<undefined>;
|
|
956
1052
|
/**
|
|
957
1053
|
* The version of the Clarity contract.
|
|
958
1054
|
*/
|
|
959
|
-
readonly
|
|
1055
|
+
readonly clarityVersion: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
960
1056
|
}, undefined>;
|
|
961
1057
|
readonly id: v.StringSchema<undefined>;
|
|
962
1058
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1294,153 +1390,66 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
1294
1390
|
type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
|
|
1295
1391
|
type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
|
|
1296
1392
|
|
|
1393
|
+
declare const accountActionsSchema: v.ObjectSchema<{
|
|
1394
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1395
|
+
}, undefined>;
|
|
1396
|
+
declare const walletActionsSchema: v.ObjectSchema<{}, undefined>;
|
|
1397
|
+
declare const accountPermissionSchema: v.ObjectSchema<{
|
|
1398
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1399
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1400
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1401
|
+
readonly actions: v.ObjectSchema<{
|
|
1402
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1403
|
+
}, undefined>;
|
|
1404
|
+
}, undefined>;
|
|
1405
|
+
declare const walletPermissionSchema: v.ObjectSchema<{
|
|
1406
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1407
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1408
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1409
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1410
|
+
}, undefined>;
|
|
1297
1411
|
/**
|
|
1298
1412
|
* Permissions with the clientId field omitted and optional actions. Used for
|
|
1299
1413
|
* permission requests, since the wallet performs authentication based on the
|
|
1300
1414
|
* client's tab origin and should not rely on the client authenticating
|
|
1301
1415
|
* themselves.
|
|
1302
1416
|
*/
|
|
1303
|
-
declare const
|
|
1304
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1305
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1306
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1307
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1308
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1309
|
-
readonly entries: {
|
|
1310
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1311
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1312
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1313
|
-
};
|
|
1314
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1315
|
-
read?: boolean | undefined;
|
|
1316
|
-
autoSign?: boolean | undefined;
|
|
1317
|
-
rename?: boolean | undefined;
|
|
1318
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1319
|
-
readonly _types?: {
|
|
1320
|
-
readonly input: {
|
|
1321
|
-
read?: boolean | undefined;
|
|
1322
|
-
autoSign?: boolean | undefined;
|
|
1323
|
-
rename?: boolean | undefined;
|
|
1324
|
-
};
|
|
1325
|
-
readonly output: {
|
|
1326
|
-
read?: boolean | undefined;
|
|
1327
|
-
autoSign?: boolean | undefined;
|
|
1328
|
-
rename?: boolean | undefined;
|
|
1329
|
-
};
|
|
1330
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1331
|
-
} | undefined;
|
|
1332
|
-
};
|
|
1417
|
+
declare const PermissionRequestParams: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1333
1418
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1334
|
-
readonly resourceId: v.
|
|
1419
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1420
|
+
readonly actions: v.ObjectSchema<{
|
|
1421
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1422
|
+
}, undefined>;
|
|
1335
1423
|
}, undefined>, v.ObjectSchema<{
|
|
1336
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1337
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1338
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1339
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1340
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1341
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1342
|
-
readonly entries: {
|
|
1343
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1344
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1345
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1346
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1347
|
-
};
|
|
1348
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1349
|
-
addPrivateKey?: boolean | undefined;
|
|
1350
|
-
openPopup?: boolean | undefined;
|
|
1351
|
-
openFullPage?: boolean | undefined;
|
|
1352
|
-
readAllAccounts?: boolean | undefined;
|
|
1353
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1354
|
-
readonly _types?: {
|
|
1355
|
-
readonly input: {
|
|
1356
|
-
addPrivateKey?: boolean | undefined;
|
|
1357
|
-
openPopup?: boolean | undefined;
|
|
1358
|
-
openFullPage?: boolean | undefined;
|
|
1359
|
-
readAllAccounts?: boolean | undefined;
|
|
1360
|
-
};
|
|
1361
|
-
readonly output: {
|
|
1362
|
-
addPrivateKey?: boolean | undefined;
|
|
1363
|
-
openPopup?: boolean | undefined;
|
|
1364
|
-
openFullPage?: boolean | undefined;
|
|
1365
|
-
readAllAccounts?: boolean | undefined;
|
|
1366
|
-
};
|
|
1367
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1368
|
-
} | undefined;
|
|
1369
|
-
};
|
|
1370
1424
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1371
|
-
readonly resourceId: v.
|
|
1425
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1426
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1372
1427
|
}, undefined>], undefined>;
|
|
1373
|
-
|
|
1428
|
+
declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1429
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1430
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1431
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1432
|
+
readonly actions: v.ObjectSchema<{
|
|
1433
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1434
|
+
}, undefined>;
|
|
1435
|
+
}, undefined>, v.ObjectSchema<{
|
|
1436
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1437
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1438
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1439
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1440
|
+
}, undefined>], undefined>;
|
|
1441
|
+
type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
|
|
1374
1442
|
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
1375
1443
|
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1376
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1377
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1378
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1379
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1380
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1381
|
-
readonly entries: {
|
|
1382
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1383
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1384
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1385
|
-
};
|
|
1386
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1387
|
-
read?: boolean | undefined;
|
|
1388
|
-
autoSign?: boolean | undefined;
|
|
1389
|
-
rename?: boolean | undefined;
|
|
1390
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1391
|
-
readonly _types?: {
|
|
1392
|
-
readonly input: {
|
|
1393
|
-
read?: boolean | undefined;
|
|
1394
|
-
autoSign?: boolean | undefined;
|
|
1395
|
-
rename?: boolean | undefined;
|
|
1396
|
-
};
|
|
1397
|
-
readonly output: {
|
|
1398
|
-
read?: boolean | undefined;
|
|
1399
|
-
autoSign?: boolean | undefined;
|
|
1400
|
-
rename?: boolean | undefined;
|
|
1401
|
-
};
|
|
1402
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1403
|
-
} | undefined;
|
|
1404
|
-
};
|
|
1405
1444
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1406
|
-
readonly resourceId: v.
|
|
1445
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1446
|
+
readonly actions: v.ObjectSchema<{
|
|
1447
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1448
|
+
}, undefined>;
|
|
1407
1449
|
}, undefined>, v.ObjectSchema<{
|
|
1408
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1409
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1410
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1411
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1412
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1413
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1414
|
-
readonly entries: {
|
|
1415
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1416
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1417
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1418
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1419
|
-
};
|
|
1420
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1421
|
-
addPrivateKey?: boolean | undefined;
|
|
1422
|
-
openPopup?: boolean | undefined;
|
|
1423
|
-
openFullPage?: boolean | undefined;
|
|
1424
|
-
readAllAccounts?: boolean | undefined;
|
|
1425
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1426
|
-
readonly _types?: {
|
|
1427
|
-
readonly input: {
|
|
1428
|
-
addPrivateKey?: boolean | undefined;
|
|
1429
|
-
openPopup?: boolean | undefined;
|
|
1430
|
-
openFullPage?: boolean | undefined;
|
|
1431
|
-
readAllAccounts?: boolean | undefined;
|
|
1432
|
-
};
|
|
1433
|
-
readonly output: {
|
|
1434
|
-
addPrivateKey?: boolean | undefined;
|
|
1435
|
-
openPopup?: boolean | undefined;
|
|
1436
|
-
openFullPage?: boolean | undefined;
|
|
1437
|
-
readAllAccounts?: boolean | undefined;
|
|
1438
|
-
};
|
|
1439
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1440
|
-
} | undefined;
|
|
1441
|
-
};
|
|
1442
1450
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1443
|
-
readonly resourceId: v.
|
|
1451
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1452
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1444
1453
|
}, undefined>], undefined>, undefined>, never>;
|
|
1445
1454
|
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
1446
1455
|
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
@@ -1448,74 +1457,15 @@ type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSch
|
|
|
1448
1457
|
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1449
1458
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
1450
1459
|
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1451
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1452
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1453
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1454
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1455
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1456
|
-
readonly entries: {
|
|
1457
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1458
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1459
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1460
|
-
};
|
|
1461
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1462
|
-
read?: boolean | undefined;
|
|
1463
|
-
autoSign?: boolean | undefined;
|
|
1464
|
-
rename?: boolean | undefined;
|
|
1465
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1466
|
-
readonly _types?: {
|
|
1467
|
-
readonly input: {
|
|
1468
|
-
read?: boolean | undefined;
|
|
1469
|
-
autoSign?: boolean | undefined;
|
|
1470
|
-
rename?: boolean | undefined;
|
|
1471
|
-
};
|
|
1472
|
-
readonly output: {
|
|
1473
|
-
read?: boolean | undefined;
|
|
1474
|
-
autoSign?: boolean | undefined;
|
|
1475
|
-
rename?: boolean | undefined;
|
|
1476
|
-
};
|
|
1477
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1478
|
-
} | undefined;
|
|
1479
|
-
};
|
|
1480
1460
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1481
|
-
readonly resourceId: v.
|
|
1461
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1462
|
+
readonly actions: v.ObjectSchema<{
|
|
1463
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1464
|
+
}, undefined>;
|
|
1482
1465
|
}, undefined>, v.ObjectSchema<{
|
|
1483
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1484
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1485
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1486
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1487
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1488
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1489
|
-
readonly entries: {
|
|
1490
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1491
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1492
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1493
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1494
|
-
};
|
|
1495
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1496
|
-
addPrivateKey?: boolean | undefined;
|
|
1497
|
-
openPopup?: boolean | undefined;
|
|
1498
|
-
openFullPage?: boolean | undefined;
|
|
1499
|
-
readAllAccounts?: boolean | undefined;
|
|
1500
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1501
|
-
readonly _types?: {
|
|
1502
|
-
readonly input: {
|
|
1503
|
-
addPrivateKey?: boolean | undefined;
|
|
1504
|
-
openPopup?: boolean | undefined;
|
|
1505
|
-
openFullPage?: boolean | undefined;
|
|
1506
|
-
readAllAccounts?: boolean | undefined;
|
|
1507
|
-
};
|
|
1508
|
-
readonly output: {
|
|
1509
|
-
addPrivateKey?: boolean | undefined;
|
|
1510
|
-
openPopup?: boolean | undefined;
|
|
1511
|
-
openFullPage?: boolean | undefined;
|
|
1512
|
-
readAllAccounts?: boolean | undefined;
|
|
1513
|
-
};
|
|
1514
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1515
|
-
} | undefined;
|
|
1516
|
-
};
|
|
1517
1466
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1518
|
-
readonly resourceId: v.
|
|
1467
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1468
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1519
1469
|
}, undefined>], undefined>, undefined>, never>;
|
|
1520
1470
|
readonly id: v.StringSchema<undefined>;
|
|
1521
1471
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1566,23 +1516,16 @@ declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<un
|
|
|
1566
1516
|
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
1567
1517
|
declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1568
1518
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1569
|
-
readonly resourceId: v.
|
|
1519
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1570
1520
|
readonly clientId: v.StringSchema<undefined>;
|
|
1571
1521
|
readonly actions: v.ObjectSchema<{
|
|
1572
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1573
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1574
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1522
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1575
1523
|
}, undefined>;
|
|
1576
1524
|
}, undefined>, v.ObjectSchema<{
|
|
1577
1525
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1578
|
-
readonly resourceId: v.
|
|
1526
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1579
1527
|
readonly clientId: v.StringSchema<undefined>;
|
|
1580
|
-
readonly actions: v.ObjectSchema<{
|
|
1581
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1582
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1583
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1584
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1585
|
-
}, undefined>;
|
|
1528
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1586
1529
|
}, undefined>], undefined>, undefined>;
|
|
1587
1530
|
type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
|
|
1588
1531
|
declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
@@ -1597,7 +1540,7 @@ declare const getAccountMethodName = "wallet_getAccount";
|
|
|
1597
1540
|
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1598
1541
|
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
1599
1542
|
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
1600
|
-
readonly id: v.
|
|
1543
|
+
readonly id: v.StringSchema<undefined>;
|
|
1601
1544
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1602
1545
|
readonly address: v.StringSchema<undefined>;
|
|
1603
1546
|
readonly publicKey: v.StringSchema<undefined>;
|
|
@@ -1618,79 +1561,22 @@ type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
|
1618
1561
|
declare const connectMethodName = "wallet_connect";
|
|
1619
1562
|
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1620
1563
|
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1621
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1622
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1623
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1624
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1625
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1626
|
-
readonly entries: {
|
|
1627
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1628
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1629
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1630
|
-
};
|
|
1631
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1632
|
-
read?: boolean | undefined;
|
|
1633
|
-
autoSign?: boolean | undefined;
|
|
1634
|
-
rename?: boolean | undefined;
|
|
1635
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1636
|
-
readonly _types?: {
|
|
1637
|
-
readonly input: {
|
|
1638
|
-
read?: boolean | undefined;
|
|
1639
|
-
autoSign?: boolean | undefined;
|
|
1640
|
-
rename?: boolean | undefined;
|
|
1641
|
-
};
|
|
1642
|
-
readonly output: {
|
|
1643
|
-
read?: boolean | undefined;
|
|
1644
|
-
autoSign?: boolean | undefined;
|
|
1645
|
-
rename?: boolean | undefined;
|
|
1646
|
-
};
|
|
1647
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1648
|
-
} | undefined;
|
|
1649
|
-
};
|
|
1650
1564
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1651
|
-
readonly resourceId: v.
|
|
1565
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1566
|
+
readonly actions: v.ObjectSchema<{
|
|
1567
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1568
|
+
}, undefined>;
|
|
1652
1569
|
}, undefined>, v.ObjectSchema<{
|
|
1653
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1654
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1655
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1656
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1657
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1658
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1659
|
-
readonly entries: {
|
|
1660
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1661
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1662
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1663
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1664
|
-
};
|
|
1665
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1666
|
-
addPrivateKey?: boolean | undefined;
|
|
1667
|
-
openPopup?: boolean | undefined;
|
|
1668
|
-
openFullPage?: boolean | undefined;
|
|
1669
|
-
readAllAccounts?: boolean | undefined;
|
|
1670
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1671
|
-
readonly _types?: {
|
|
1672
|
-
readonly input: {
|
|
1673
|
-
addPrivateKey?: boolean | undefined;
|
|
1674
|
-
openPopup?: boolean | undefined;
|
|
1675
|
-
openFullPage?: boolean | undefined;
|
|
1676
|
-
readAllAccounts?: boolean | undefined;
|
|
1677
|
-
};
|
|
1678
|
-
readonly output: {
|
|
1679
|
-
addPrivateKey?: boolean | undefined;
|
|
1680
|
-
openPopup?: boolean | undefined;
|
|
1681
|
-
openFullPage?: boolean | undefined;
|
|
1682
|
-
readAllAccounts?: boolean | undefined;
|
|
1683
|
-
};
|
|
1684
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1685
|
-
} | undefined;
|
|
1686
|
-
};
|
|
1687
1570
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1688
|
-
readonly resourceId: v.
|
|
1571
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1572
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1689
1573
|
}, undefined>], undefined>, undefined>, never>;
|
|
1574
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
|
|
1575
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
|
|
1690
1576
|
}, undefined>, never>;
|
|
1691
1577
|
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
1692
1578
|
declare const connectResultSchema: v.ObjectSchema<{
|
|
1693
|
-
readonly id: v.
|
|
1579
|
+
readonly id: v.StringSchema<undefined>;
|
|
1694
1580
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1695
1581
|
readonly address: v.StringSchema<undefined>;
|
|
1696
1582
|
readonly publicKey: v.StringSchema<undefined>;
|
|
@@ -1704,75 +1590,18 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
|
1704
1590
|
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
1705
1591
|
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1706
1592
|
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1707
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1708
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1709
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1710
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1711
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1712
|
-
readonly entries: {
|
|
1713
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1714
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1715
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1716
|
-
};
|
|
1717
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1718
|
-
read?: boolean | undefined;
|
|
1719
|
-
autoSign?: boolean | undefined;
|
|
1720
|
-
rename?: boolean | undefined;
|
|
1721
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1722
|
-
readonly _types?: {
|
|
1723
|
-
readonly input: {
|
|
1724
|
-
read?: boolean | undefined;
|
|
1725
|
-
autoSign?: boolean | undefined;
|
|
1726
|
-
rename?: boolean | undefined;
|
|
1727
|
-
};
|
|
1728
|
-
readonly output: {
|
|
1729
|
-
read?: boolean | undefined;
|
|
1730
|
-
autoSign?: boolean | undefined;
|
|
1731
|
-
rename?: boolean | undefined;
|
|
1732
|
-
};
|
|
1733
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1734
|
-
} | undefined;
|
|
1735
|
-
};
|
|
1736
1593
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1737
|
-
readonly resourceId: v.
|
|
1594
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1595
|
+
readonly actions: v.ObjectSchema<{
|
|
1596
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1597
|
+
}, undefined>;
|
|
1738
1598
|
}, undefined>, v.ObjectSchema<{
|
|
1739
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1740
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1741
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1742
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1743
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1744
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1745
|
-
readonly entries: {
|
|
1746
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1747
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1748
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1749
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1750
|
-
};
|
|
1751
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1752
|
-
addPrivateKey?: boolean | undefined;
|
|
1753
|
-
openPopup?: boolean | undefined;
|
|
1754
|
-
openFullPage?: boolean | undefined;
|
|
1755
|
-
readAllAccounts?: boolean | undefined;
|
|
1756
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1757
|
-
readonly _types?: {
|
|
1758
|
-
readonly input: {
|
|
1759
|
-
addPrivateKey?: boolean | undefined;
|
|
1760
|
-
openPopup?: boolean | undefined;
|
|
1761
|
-
openFullPage?: boolean | undefined;
|
|
1762
|
-
readAllAccounts?: boolean | undefined;
|
|
1763
|
-
};
|
|
1764
|
-
readonly output: {
|
|
1765
|
-
addPrivateKey?: boolean | undefined;
|
|
1766
|
-
openPopup?: boolean | undefined;
|
|
1767
|
-
openFullPage?: boolean | undefined;
|
|
1768
|
-
readAllAccounts?: boolean | undefined;
|
|
1769
|
-
};
|
|
1770
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1771
|
-
} | undefined;
|
|
1772
|
-
};
|
|
1773
1599
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1774
|
-
readonly resourceId: v.
|
|
1600
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1601
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1775
1602
|
}, undefined>], undefined>, undefined>, never>;
|
|
1603
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
|
|
1604
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
|
|
1776
1605
|
}, undefined>, never>;
|
|
1777
1606
|
readonly id: v.StringSchema<undefined>;
|
|
1778
1607
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1806,15 +1635,15 @@ interface BtcRequests {
|
|
|
1806
1635
|
}
|
|
1807
1636
|
type BtcRequestMethod = keyof BtcRequests;
|
|
1808
1637
|
interface RunesRequests {
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
runes_etch:
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
runes_transfer:
|
|
1638
|
+
runes_estimateEtch: RunesEstimateEtch;
|
|
1639
|
+
runes_estimateMint: RunesEstimateMint;
|
|
1640
|
+
runes_estimateRbfOrder: RunesEstimateRbfOrder;
|
|
1641
|
+
runes_etch: RunesEtch;
|
|
1642
|
+
runes_getBalance: RunesGetBalance;
|
|
1643
|
+
runes_getOrder: RunesGetOrder;
|
|
1644
|
+
runes_mint: RunesMint;
|
|
1645
|
+
runes_rbfOrder: RunesRbfOrder;
|
|
1646
|
+
runes_transfer: RunesTransfer;
|
|
1818
1647
|
}
|
|
1819
1648
|
type RunesRequestMethod = keyof RunesRequests;
|
|
1820
1649
|
interface OrdinalsRequests {
|
|
@@ -1823,10 +1652,13 @@ interface OrdinalsRequests {
|
|
|
1823
1652
|
}
|
|
1824
1653
|
type OrdinalsRequestMethod = keyof OrdinalsRequests;
|
|
1825
1654
|
interface WalletRequests {
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1655
|
+
wallet_connect: Connect;
|
|
1656
|
+
wallet_disconnect: Disconnect;
|
|
1657
|
+
wallet_getAccount: GetAccount;
|
|
1829
1658
|
wallet_getCurrentPermissions: GetCurrentPermissions;
|
|
1659
|
+
wallet_getWalletType: GetWalletType;
|
|
1660
|
+
wallet_renouncePermissions: RenouncePermissions;
|
|
1661
|
+
wallet_requestPermissions: RequestPermissions;
|
|
1830
1662
|
}
|
|
1831
1663
|
type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
1832
1664
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -1859,4 +1691,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1859
1691
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1860
1692
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1861
1693
|
|
|
1862
|
-
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
|
|
1694
|
+
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, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, 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, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, 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, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|