@sats-connect/core 0.4.0-1187a26 → 0.4.0-20feed3

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$2 {
45
+ interface Recipient {
46
46
  address: string;
47
47
  amountSats: bigint;
48
48
  }
49
- type SerializedRecipient = Omit<Recipient$2, 'amountSats'> & {
49
+ type SerializedRecipient = Omit<Recipient, 'amountSats'> & {
50
50
  amountSats: string;
51
51
  };
52
52
  interface SendBtcTransactionPayload extends RequestPayload {
53
- recipients: Recipient$2[];
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
 
@@ -455,61 +455,94 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
455
455
  }, undefined>;
456
456
  type SignMessageRequestMessage = v.InferOutput<typeof signMessageRequestMessageSchema>;
457
457
  type SignMessage = MethodParamsAndResult<v.InferOutput<typeof signMessageParamsSchema>, v.InferOutput<typeof signMessageResultSchema>>;
458
- type Recipient$1 = {
459
- /**
460
- * The recipient's address.
461
- **/
462
- address: string;
463
- /**
464
- * The amount to send to the recipient in satoshis.
465
- */
466
- amount: number;
467
- };
468
- type SendTransferParams = {
458
+ declare const sendTransferMethodName = "sendTransfer";
459
+ declare const sendTransferParamsSchema: v.ObjectSchema<{
469
460
  /**
470
461
  * Array of recipients to send to.
471
462
  * The amount to send to each recipient is in satoshis.
472
463
  */
473
- recipients: Array<Recipient$1>;
474
- };
475
- type SendTransferResult = {
464
+ readonly recipients: v.ArraySchema<v.ObjectSchema<{
465
+ readonly address: v.StringSchema<undefined>;
466
+ readonly amount: v.NumberSchema<undefined>;
467
+ }, undefined>, undefined>;
468
+ }, undefined>;
469
+ type SendTransferParams = v.InferOutput<typeof sendTransferParamsSchema>;
470
+ declare const sendTransferResultSchema: v.ObjectSchema<{
476
471
  /**
477
472
  * The transaction id as a hex-encoded string.
478
473
  */
479
- txid: string;
480
- };
474
+ readonly txid: v.StringSchema<undefined>;
475
+ }, undefined>;
476
+ type SendTransferResult = v.InferOutput<typeof sendTransferResultSchema>;
477
+ declare const sendTransferRequestMessageSchema: v.ObjectSchema<{
478
+ readonly method: v.LiteralSchema<"sendTransfer", undefined>;
479
+ readonly params: v.ObjectSchema<{
480
+ /**
481
+ * Array of recipients to send to.
482
+ * The amount to send to each recipient is in satoshis.
483
+ */
484
+ readonly recipients: v.ArraySchema<v.ObjectSchema<{
485
+ readonly address: v.StringSchema<undefined>;
486
+ readonly amount: v.NumberSchema<undefined>;
487
+ }, undefined>, undefined>;
488
+ }, undefined>;
489
+ readonly id: v.StringSchema<undefined>;
490
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
491
+ }, undefined>;
492
+ type SendTransferRequestMessage = v.InferOutput<typeof sendTransferRequestMessageSchema>;
481
493
  type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
482
- type SignPsbtParams = {
494
+ declare const signPsbtMethodName = "signPsbt";
495
+ declare const signPsbtParamsSchema: v.ObjectSchema<{
483
496
  /**
484
497
  * The base64 encoded PSBT to sign.
485
498
  */
486
- psbt: string;
499
+ readonly psbt: v.StringSchema<undefined>;
487
500
  /**
488
501
  * The inputs to sign.
489
502
  * The key is the address and the value is an array of indexes of the inputs to sign.
490
503
  */
491
- signInputs: Record<string, number[]>;
492
- /**
493
- * the sigHash type to use for signing.
494
- * will default to the sighash type of the input if not provided.
495
- **/
496
- allowedSignHash?: 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>;
497
506
  /**
498
507
  * Whether to broadcast the transaction after signing.
499
508
  **/
500
- broadcast?: boolean;
501
- };
502
- 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<{
503
513
  /**
504
514
  * The base64 encoded PSBT after signing.
505
515
  */
506
- psbt: string;
516
+ readonly psbt: v.StringSchema<undefined>;
507
517
  /**
508
518
  * The transaction id as a hex-encoded string.
509
519
  * This is only returned if the transaction was broadcast.
510
520
  **/
511
- txid?: string;
512
- };
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>;
513
546
  type SignPsbt = MethodParamsAndResult<SignPsbtParams, SignPsbtResult>;
514
547
  declare const getAccountsMethodName = "getAccounts";
515
548
  declare const getAccountsParamsSchema: v.ObjectSchema<{
@@ -554,6 +587,7 @@ type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageS
554
587
  type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
555
588
  declare const getBalanceMethodName = "getBalance";
556
589
  declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
590
+ type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
557
591
  declare const getBalanceResultSchema: v.ObjectSchema<{
558
592
  /**
559
593
  * The confirmed balance of the wallet in sats. Using a string due to chrome
@@ -574,13 +608,15 @@ declare const getBalanceResultSchema: v.ObjectSchema<{
574
608
  */
575
609
  readonly total: v.StringSchema<undefined>;
576
610
  }, undefined>;
611
+ type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
577
612
  declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
578
613
  readonly method: v.LiteralSchema<"getBalance", undefined>;
579
614
  readonly id: v.StringSchema<undefined>;
580
615
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
581
616
  readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
582
617
  }, undefined>;
583
- type GetBalance = MethodParamsAndResult<v.InferOutput<typeof getBalanceParamsSchema>, v.InferOutput<typeof getBalanceResultSchema>>;
618
+ type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
619
+ type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
584
620
 
585
621
  declare const getInscriptionsMethodName = "ord_getInscriptions";
586
622
  declare const getInscriptionsParamsSchema: v.ObjectSchema<{
@@ -798,127 +834,21 @@ declare const TransferRunesResultSchema: v.ObjectSchema<{
798
834
  type TransferRunesResult = v.InferOutput<typeof TransferRunesResultSchema>;
799
835
  type TransferRunes = MethodParamsAndResult<TransferRunesParams, TransferRunesResult>;
800
836
 
801
- interface Pubkey {
802
- /**
803
- * When sending a transfer STX request to a wallet, users can generally
804
- * choose from which accout they want to send the STX tokens from. In
805
- * cases where applications want the transfer to be made from a specific
806
- * account, they can provide the `pubkey` of the address they'd like the
807
- * transfer to be made from. It is up to wallet providers to handle this
808
- * field as they see fit.
809
- */
810
- pubkey: string;
811
- }
812
- interface Address {
837
+ declare const stxCallContractMethodName = "stx_callContract";
838
+ declare const stxCallContractParamsSchema: v.ObjectSchema<{
813
839
  /**
814
- * A Crockford base-32 encoded Stacks address.
815
- */
816
- address: string;
817
- }
818
- interface PostConditions {
819
- /**
820
- * A hex-encoded string representing the post conditions.
821
- *
822
- * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
823
- *
824
- * ```js
825
- * import { serializePostCondition } from '@stacks/transactions';
826
- *
827
- * const postCondition = somePostCondition;
828
- * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
829
- * ```
830
- */
831
- postConditions: Array<string>;
832
- }
833
- interface PostConditionMode {
834
- /**
835
- * The mode of the post conditions.
836
- */
837
- postConditionMode: number;
838
- }
839
- interface ParameterFormatVersion {
840
- /**
841
- * Version of parameter format.
842
- */
843
- version: string;
844
- }
845
- interface Recipient {
846
- /**
847
- * The recipeint's Crockford base-32 encoded Stacks address.
848
- */
849
- recipient: string;
850
- }
851
- interface Amount {
852
- /**
853
- * Amount of STX tokens to transfer in microstacks as a string. Anything
854
- * parseable by `BigInt` is acceptable.
855
- *
856
- * Example,
857
- *
858
- * ```js
859
- * const amount1 = 1234;
860
- * const amount2 = 1234n;
861
- * const amount3 = '1234';
862
- * ```
863
- */
864
- amount: number | string;
865
- }
866
- interface Memo {
867
- /**
868
- * A string representing the memo.
869
- */
870
- memo: string;
871
- }
872
- interface TxId {
873
- /**
874
- * The ID of the transaction.
875
- */
876
- txid: string;
877
- }
878
- interface Transaction {
879
- /**
880
- * A Stacks transaction as a hex-encoded string.
881
- */
882
- transaction: string;
883
- }
884
- interface Message {
885
- /**
886
- * Message payload to be signed.
887
- */
888
- message: string;
889
- }
890
- interface Signature {
891
- /**
892
- * Signature of the message.
893
- */
894
- signature: string;
895
- }
896
- interface PublicKey {
897
- /**
898
- * Public key as hex-encoded string.
899
- */
900
- publicKey: string;
901
- }
902
- interface Domain {
903
- /**
904
- * The domain to be signed.
905
- */
906
- domain: string;
907
- }
908
- interface CallContractParams {
909
- /**
910
- * The contract's Crockford base-32 encoded Stacks address and name.
840
+ * The contract principal.
911
841
  *
912
842
  * E.g. `"SPKE...GD5C.my-contract"`
913
843
  */
914
- contract: string;
844
+ readonly contract: v.StringSchema<undefined>;
915
845
  /**
916
846
  * The name of the function to call.
917
847
  *
918
848
  * Note: spec changes ongoing,
919
849
  * https://github.com/stacksgov/sips/pull/166#pullrequestreview-1914236999
920
850
  */
921
- functionName: string;
851
+ readonly functionName: v.StringSchema<undefined>;
922
852
  /**
923
853
  * The function's arguments. The arguments are expected to be hex-encoded
924
854
  * strings of Clarity values.
@@ -933,42 +863,130 @@ interface CallContractParams {
933
863
  * const hexArgs = functionArgs.map(cvToString);
934
864
  * ```
935
865
  */
936
- arguments?: Array<string>;
937
- }
938
- type CallContractResult = TxId & Transaction;
939
- type StxCallContract = MethodParamsAndResult<CallContractParams, CallContractResult>;
940
- type TransferStxParams = Amount & Recipient & Partial<Memo> & Partial<ParameterFormatVersion> & Partial<PostConditionMode> & Partial<PostConditions> & Partial<Pubkey>;
941
- type TransferStxResult = TxId & Transaction;
942
- type StxTransferStx = MethodParamsAndResult<TransferStxParams, TransferStxResult>;
943
- type SignStxMessageParams = Message & Partial<Pubkey> & Partial<ParameterFormatVersion>;
944
- type SignStxMessageResult = Signature & PublicKey;
945
- type StxSignStxMessage = MethodParamsAndResult<SignStxMessageParams, SignStxMessageResult>;
946
- type SignStructuredMessageParams = Domain & Message & Partial<ParameterFormatVersion> & Partial<Pubkey>;
947
- type SignStructuredMessageResult = Signature & PublicKey;
948
- type StxSignStructuredMessage = MethodParamsAndResult<SignStructuredMessageParams, SignStructuredMessageResult>;
949
- interface DeployContractParams {
866
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
867
+ }, undefined>;
868
+ type StxCallContractParams = v.InferOutput<typeof stxCallContractParamsSchema>;
869
+ declare const stxCallContractResultSchema: v.ObjectSchema<{
870
+ /**
871
+ * The ID of the transaction.
872
+ */
873
+ readonly txid: v.StringSchema<undefined>;
874
+ /**
875
+ * A Stacks transaction as a hex-encoded string.
876
+ */
877
+ readonly transaction: v.StringSchema<undefined>;
878
+ }, undefined>;
879
+ type StxCallContractResult = v.InferOutput<typeof stxCallContractResultSchema>;
880
+ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
881
+ readonly method: v.LiteralSchema<"stx_callContract", undefined>;
882
+ readonly params: v.ObjectSchema<{
883
+ /**
884
+ * The contract principal.
885
+ *
886
+ * E.g. `"SPKE...GD5C.my-contract"`
887
+ */
888
+ readonly contract: v.StringSchema<undefined>;
889
+ /**
890
+ * The name of the function to call.
891
+ *
892
+ * Note: spec changes ongoing,
893
+ * https://github.com/stacksgov/sips/pull/166#pullrequestreview-1914236999
894
+ */
895
+ readonly functionName: v.StringSchema<undefined>;
896
+ /**
897
+ * The function's arguments. The arguments are expected to be hex-encoded
898
+ * strings of Clarity values.
899
+ *
900
+ * To convert Clarity values to their hex representation, the `cvToString`
901
+ * helper from the `@stacks/transactions` package may be helpful.
902
+ *
903
+ * ```js
904
+ * import { cvToString } from '@stacks/transactions';
905
+ *
906
+ * const functionArgs = [someClarityValue1, someClarityValue2];
907
+ * const hexArgs = functionArgs.map(cvToString);
908
+ * ```
909
+ */
910
+ readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
911
+ }, undefined>;
912
+ readonly id: v.StringSchema<undefined>;
913
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
914
+ }, undefined>;
915
+ type StxCallContractRequestMessage = v.InferOutput<typeof stxCallContractRequestMessageSchema>;
916
+ type StxCallContract = MethodParamsAndResult<StxCallContractParams, StxCallContractResult>;
917
+
918
+ declare const stxDeployContractParamsSchema: v.ObjectSchema<{
950
919
  /**
951
920
  * Name of the contract.
952
921
  */
953
- name: string;
922
+ readonly name: v.StringSchema<undefined>;
954
923
  /**
955
924
  * The code of the Clarity contract.
956
925
  */
957
- clarityCode: string;
926
+ readonly codeBody: v.StringSchema<undefined>;
958
927
  /**
959
928
  * The version of the Clarity contract.
960
929
  */
961
- clarityVersion?: string;
962
- }
963
- type DeployContractResult = TxId & Transaction;
964
- type StxDeployContract = MethodParamsAndResult<DeployContractParams, DeployContractResult>;
965
- type StxGetAccountsResult = {
966
- addresses: Array<Address & PublicKey & {
967
- gaiaHubUrl: string;
968
- gaiaAppKey: string;
969
- }>;
970
- };
971
- type StxGetAccounts = MethodParamsAndResult<{}, StxGetAccountsResult>;
930
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
931
+ }, undefined>;
932
+ type StxDeployContractParams = v.InferOutput<typeof stxDeployContractParamsSchema>;
933
+ declare const stxDeployContractResultSchema: v.ObjectSchema<{
934
+ /**
935
+ * The ID of the transaction.
936
+ */
937
+ readonly txid: v.StringSchema<undefined>;
938
+ /**
939
+ * A Stacks transaction as a hex-encoded string.
940
+ */
941
+ readonly transaction: v.StringSchema<undefined>;
942
+ }, undefined>;
943
+ type StxDeployContractResult = v.InferOutput<typeof stxDeployContractResultSchema>;
944
+ declare const stxDeployContractRequestMessageSchema: v.ObjectSchema<{
945
+ readonly method: v.LiteralSchema<"stx_deployContract", undefined>;
946
+ readonly params: v.ObjectSchema<{
947
+ /**
948
+ * Name of the contract.
949
+ */
950
+ readonly name: v.StringSchema<undefined>;
951
+ /**
952
+ * The code of the Clarity contract.
953
+ */
954
+ readonly codeBody: v.StringSchema<undefined>;
955
+ /**
956
+ * The version of the Clarity contract.
957
+ */
958
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
959
+ }, undefined>;
960
+ readonly id: v.StringSchema<undefined>;
961
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
962
+ }, undefined>;
963
+ type StxDeployContractRequestMessage = v.InferOutput<typeof stxDeployContractRequestMessageSchema>;
964
+ type StxDeployContract = MethodParamsAndResult<StxDeployContractParams, StxDeployContractResult>;
965
+
966
+ declare const stxGetAccountsMethodName = "stx_getAccounts";
967
+ declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
968
+ type StxGetAccountsParams = v.InferOutput<typeof stxGetAccountsParamsSchema>;
969
+ declare const stxGetAccountsResultSchema: v.ObjectSchema<{
970
+ /**
971
+ * The addresses generated for the given purposes.
972
+ */
973
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
974
+ readonly address: v.StringSchema<undefined>;
975
+ readonly publicKey: v.StringSchema<undefined>;
976
+ readonly gaiaHubUrl: v.StringSchema<undefined>;
977
+ readonly gaiaAppKey: v.StringSchema<undefined>;
978
+ }, undefined>, undefined>;
979
+ }, undefined>;
980
+ type StxGetAccountsResult = v.InferOutput<typeof stxGetAccountsResultSchema>;
981
+ declare const stxGetAccountsRequestMessageSchema: v.ObjectSchema<{
982
+ readonly method: v.LiteralSchema<"stx_getAccounts", undefined>;
983
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
984
+ readonly id: v.StringSchema<undefined>;
985
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
986
+ }, undefined>;
987
+ type StxGetAccountsRequestMessage = v.InferOutput<typeof stxGetAccountsRequestMessageSchema>;
988
+ type StxGetAccounts = MethodParamsAndResult<StxGetAccountsParams, StxGetAccountsResult>;
989
+
972
990
  declare const stxGetAddressesMethodName = "stx_getAddresses";
973
991
  declare const stxGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
974
992
  /**
@@ -1002,6 +1020,113 @@ declare const stxGetAddressesRequestMessageSchema: v.ObjectSchema<{
1002
1020
  }, undefined>;
1003
1021
  type StxGetAddressesRequestMessage = v.InferOutput<typeof stxGetAddressesRequestMessageSchema>;
1004
1022
  type StxGetAddresses = MethodParamsAndResult<v.InferOutput<typeof stxGetAddressesParamsSchema>, v.InferOutput<typeof stxGetAddressesResultSchema>>;
1023
+
1024
+ declare const stxSignMessageMethodName = "stx_signMessage";
1025
+ declare const stxSignMessageParamsSchema: v.ObjectSchema<{
1026
+ /**
1027
+ * The message to sign.
1028
+ */
1029
+ readonly message: v.StringSchema<undefined>;
1030
+ /**
1031
+ * The public key to sign the message with.
1032
+ */
1033
+ readonly publicKey: v.StringSchema<undefined>;
1034
+ /**
1035
+ * The format version of the parameter.
1036
+ */
1037
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1038
+ }, undefined>;
1039
+ type StxSignMessageParams = v.InferOutput<typeof stxSignMessageParamsSchema>;
1040
+ declare const stxSignMessageResultSchema: v.ObjectSchema<{
1041
+ /**
1042
+ * The signature of the message.
1043
+ */
1044
+ readonly signature: v.StringSchema<undefined>;
1045
+ /**
1046
+ * The public key used to sign the message.
1047
+ */
1048
+ readonly publicKey: v.StringSchema<undefined>;
1049
+ }, undefined>;
1050
+ type StxSignMessageResult = v.InferOutput<typeof stxSignMessageResultSchema>;
1051
+ declare const stxSignMessageRequestMessageSchema: v.ObjectSchema<{
1052
+ readonly method: v.LiteralSchema<"stx_signMessage", undefined>;
1053
+ readonly params: v.ObjectSchema<{
1054
+ /**
1055
+ * The message to sign.
1056
+ */
1057
+ readonly message: v.StringSchema<undefined>;
1058
+ /**
1059
+ * The public key to sign the message with.
1060
+ */
1061
+ readonly publicKey: v.StringSchema<undefined>;
1062
+ /**
1063
+ * The format version of the parameter.
1064
+ */
1065
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1066
+ }, undefined>;
1067
+ readonly id: v.StringSchema<undefined>;
1068
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1069
+ }, undefined>;
1070
+ type StxSignMessageRequestMessage = v.InferOutput<typeof stxSignMessageRequestMessageSchema>;
1071
+ type StxSignMessage = MethodParamsAndResult<StxSignMessageParams, StxSignMessageResult>;
1072
+
1073
+ declare const stxSignStructuredMessageMethodName = "stx_signStructuredMessage";
1074
+ declare const stxSignStructuredMessageParamsSchema: v.ObjectSchema<{
1075
+ /**
1076
+ * The domain to be signed.
1077
+ */
1078
+ readonly domain: v.StringSchema<undefined>;
1079
+ /**
1080
+ * Message payload to be signed.
1081
+ */
1082
+ readonly message: v.StringSchema<undefined>;
1083
+ /**
1084
+ * The format version of the parameter.
1085
+ */
1086
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1087
+ /**
1088
+ * The public key to sign the message with.
1089
+ */
1090
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1091
+ }, undefined>;
1092
+ type StxSignStructuredMessageParams = v.InferOutput<typeof stxSignStructuredMessageParamsSchema>;
1093
+ declare const stxSignStructuredMessageResultSchema: v.ObjectSchema<{
1094
+ /**
1095
+ * Signature of the message.
1096
+ */
1097
+ readonly signature: v.StringSchema<undefined>;
1098
+ /**
1099
+ * Public key as hex-encoded string.
1100
+ */
1101
+ readonly publicKey: v.StringSchema<undefined>;
1102
+ }, undefined>;
1103
+ type StxSignStructuredMessageResult = v.InferOutput<typeof stxSignStructuredMessageResultSchema>;
1104
+ declare const stxSignStructuredMessageRequestMessageSchema: v.ObjectSchema<{
1105
+ readonly method: v.LiteralSchema<"stx_signStructuredMessage", undefined>;
1106
+ readonly params: v.ObjectSchema<{
1107
+ /**
1108
+ * The domain to be signed.
1109
+ */
1110
+ readonly domain: v.StringSchema<undefined>;
1111
+ /**
1112
+ * Message payload to be signed.
1113
+ */
1114
+ readonly message: v.StringSchema<undefined>;
1115
+ /**
1116
+ * The format version of the parameter.
1117
+ */
1118
+ readonly parameterFormatVersion: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1119
+ /**
1120
+ * The public key to sign the message with.
1121
+ */
1122
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1123
+ }, undefined>;
1124
+ readonly id: v.StringSchema<undefined>;
1125
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1126
+ }, undefined>;
1127
+ type StxSignStructuredMessageRequestMessage = v.InferOutput<typeof stxSignStructuredMessageRequestMessageSchema>;
1128
+ type StxSignStructuredMessage = MethodParamsAndResult<StxSignStructuredMessageParams, StxSignStructuredMessageResult>;
1129
+
1005
1130
  declare const stxSignTransactionMethodName = "stx_signTransaction";
1006
1131
  declare const stxSignTransactionParamsSchema: v.ObjectSchema<{
1007
1132
  /**
@@ -1049,50 +1174,610 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
1049
1174
  type StxSignTransactionRequestMessage = v.InferOutput<typeof stxSignTransactionRequestMessageSchema>;
1050
1175
  type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSignTransactionResult>;
1051
1176
 
1177
+ declare const stxTransferStxMethodName = "stx_transferStx";
1178
+ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
1179
+ /**
1180
+ * Amount of STX tokens to transfer in microstacks as a string. Anything
1181
+ * parseable by `BigInt` is acceptable.
1182
+ *
1183
+ * Example,
1184
+ *
1185
+ * ```js
1186
+ * const amount1 = 1234;
1187
+ * const amount2 = 1234n;
1188
+ * const amount3 = '1234';
1189
+ * ```
1190
+ */
1191
+ readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1192
+ /**
1193
+ * The recipeint's principal.
1194
+ */
1195
+ readonly recipient: v.StringSchema<undefined>;
1196
+ /**
1197
+ * A string representing the memo.
1198
+ */
1199
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1200
+ /**
1201
+ * Version of parameter format.
1202
+ */
1203
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1204
+ /**
1205
+ * The mode of the post conditions.
1206
+ */
1207
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1208
+ /**
1209
+ * A hex-encoded string representing the post conditions.
1210
+ *
1211
+ * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
1212
+ *
1213
+ * ```js
1214
+ * import { serializePostCondition } from '@stacks/transactions';
1215
+ *
1216
+ * const postCondition = somePostCondition;
1217
+ * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1218
+ * ```
1219
+ */
1220
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1221
+ /**
1222
+ * The public key to sign the transaction with. The wallet may use any key
1223
+ * when not provided.
1224
+ */
1225
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1226
+ }, undefined>;
1227
+ type StxTransferStxParams = v.InferOutput<typeof stxTransferStxParamsSchema>;
1228
+ declare const stxTransferStxResultSchema: v.ObjectSchema<{
1229
+ /**
1230
+ * The ID of the transaction.
1231
+ */
1232
+ readonly txid: v.StringSchema<undefined>;
1233
+ /**
1234
+ * A Stacks transaction as a hex-encoded string.
1235
+ */
1236
+ readonly transaction: v.StringSchema<undefined>;
1237
+ }, undefined>;
1238
+ type StxTransferStxResult = v.InferOutput<typeof stxTransferStxResultSchema>;
1239
+ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
1240
+ readonly method: v.LiteralSchema<"stx_transferStx", undefined>;
1241
+ readonly params: v.ObjectSchema<{
1242
+ /**
1243
+ * Amount of STX tokens to transfer in microstacks as a string. Anything
1244
+ * parseable by `BigInt` is acceptable.
1245
+ *
1246
+ * Example,
1247
+ *
1248
+ * ```js
1249
+ * const amount1 = 1234;
1250
+ * const amount2 = 1234n;
1251
+ * const amount3 = '1234';
1252
+ * ```
1253
+ */
1254
+ readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
1255
+ /**
1256
+ * The recipeint's principal.
1257
+ */
1258
+ readonly recipient: v.StringSchema<undefined>;
1259
+ /**
1260
+ * A string representing the memo.
1261
+ */
1262
+ readonly memo: v.OptionalSchema<v.StringSchema<undefined>, never>;
1263
+ /**
1264
+ * Version of parameter format.
1265
+ */
1266
+ readonly version: v.OptionalSchema<v.StringSchema<undefined>, never>;
1267
+ /**
1268
+ * The mode of the post conditions.
1269
+ */
1270
+ readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, never>;
1271
+ /**
1272
+ * A hex-encoded string representing the post conditions.
1273
+ *
1274
+ * A post condition may be converted to it's hex representation using the `serializePostCondition` helper from the `@stacks/transactions` package,
1275
+ *
1276
+ * ```js
1277
+ * import { serializePostCondition } from '@stacks/transactions';
1278
+ *
1279
+ * const postCondition = somePostCondition;
1280
+ * const hexPostCondition = serializePostCondition(postCondition).toString('hex');
1281
+ * ```
1282
+ */
1283
+ readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
1284
+ /**
1285
+ * The public key to sign the transaction with. The wallet may use any key
1286
+ * when not provided.
1287
+ */
1288
+ readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1289
+ }, undefined>;
1290
+ readonly id: v.StringSchema<undefined>;
1291
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1292
+ }, undefined>;
1293
+ type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
1294
+ type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
1295
+
1296
+ /**
1297
+ * Permissions with the clientId field omitted and optional actions. Used for
1298
+ * permission requests, since the wallet performs authentication based on the
1299
+ * client's tab origin and should not rely on the client authenticating
1300
+ * themselves.
1301
+ */
1302
+ declare const permissionTemplate: v.VariantSchema<"type", [v.ObjectSchema<{
1303
+ readonly actions: Omit<v.ObjectSchema<{
1304
+ readonly read: v.BooleanSchema<undefined>;
1305
+ readonly autoSign: v.BooleanSchema<undefined>;
1306
+ readonly rename: v.BooleanSchema<undefined>;
1307
+ }, undefined>, "_types" | "_run" | "entries"> & {
1308
+ readonly entries: {
1309
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1310
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1311
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1312
+ };
1313
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1314
+ read?: boolean | undefined;
1315
+ autoSign?: boolean | undefined;
1316
+ rename?: boolean | undefined;
1317
+ }, v.ObjectIssue | v.BooleanIssue>;
1318
+ readonly _types?: {
1319
+ readonly input: {
1320
+ read?: boolean | undefined;
1321
+ autoSign?: boolean | undefined;
1322
+ rename?: boolean | undefined;
1323
+ };
1324
+ readonly output: {
1325
+ read?: boolean | undefined;
1326
+ autoSign?: boolean | undefined;
1327
+ rename?: boolean | undefined;
1328
+ };
1329
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1330
+ } | undefined;
1331
+ };
1332
+ readonly type: v.LiteralSchema<"account", undefined>;
1333
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1334
+ }, undefined>, v.ObjectSchema<{
1335
+ readonly actions: Omit<v.ObjectSchema<{
1336
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1337
+ readonly openPopup: v.BooleanSchema<undefined>;
1338
+ readonly openFullPage: v.BooleanSchema<undefined>;
1339
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1340
+ }, undefined>, "_types" | "_run" | "entries"> & {
1341
+ readonly entries: {
1342
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1343
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1344
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1345
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1346
+ };
1347
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1348
+ addPrivateKey?: boolean | undefined;
1349
+ openPopup?: boolean | undefined;
1350
+ openFullPage?: boolean | undefined;
1351
+ readAllAccounts?: boolean | undefined;
1352
+ }, v.ObjectIssue | v.BooleanIssue>;
1353
+ readonly _types?: {
1354
+ readonly input: {
1355
+ addPrivateKey?: boolean | undefined;
1356
+ openPopup?: boolean | undefined;
1357
+ openFullPage?: boolean | undefined;
1358
+ readAllAccounts?: boolean | undefined;
1359
+ };
1360
+ readonly output: {
1361
+ addPrivateKey?: boolean | undefined;
1362
+ openPopup?: boolean | undefined;
1363
+ openFullPage?: boolean | undefined;
1364
+ readAllAccounts?: boolean | undefined;
1365
+ };
1366
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1367
+ } | undefined;
1368
+ };
1369
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1370
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1371
+ }, undefined>], undefined>;
1372
+ type PermissionWithoutClientId = v.InferOutput<typeof permissionTemplate>;
1052
1373
  declare const requestPermissionsMethodName = "wallet_requestPermissions";
1053
- declare const requestPermissionsParamsSchema: v.UndefinedSchema<undefined>;
1374
+ declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1375
+ readonly actions: Omit<v.ObjectSchema<{
1376
+ readonly read: v.BooleanSchema<undefined>;
1377
+ readonly autoSign: v.BooleanSchema<undefined>;
1378
+ readonly rename: v.BooleanSchema<undefined>;
1379
+ }, undefined>, "_types" | "_run" | "entries"> & {
1380
+ readonly entries: {
1381
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1382
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1383
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1384
+ };
1385
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1386
+ read?: boolean | undefined;
1387
+ autoSign?: boolean | undefined;
1388
+ rename?: boolean | undefined;
1389
+ }, v.ObjectIssue | v.BooleanIssue>;
1390
+ readonly _types?: {
1391
+ readonly input: {
1392
+ read?: boolean | undefined;
1393
+ autoSign?: boolean | undefined;
1394
+ rename?: boolean | undefined;
1395
+ };
1396
+ readonly output: {
1397
+ read?: boolean | undefined;
1398
+ autoSign?: boolean | undefined;
1399
+ rename?: boolean | undefined;
1400
+ };
1401
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1402
+ } | undefined;
1403
+ };
1404
+ readonly type: v.LiteralSchema<"account", undefined>;
1405
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1406
+ }, undefined>, v.ObjectSchema<{
1407
+ readonly actions: Omit<v.ObjectSchema<{
1408
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1409
+ readonly openPopup: v.BooleanSchema<undefined>;
1410
+ readonly openFullPage: v.BooleanSchema<undefined>;
1411
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1412
+ }, undefined>, "_types" | "_run" | "entries"> & {
1413
+ readonly entries: {
1414
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1415
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1416
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1417
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1418
+ };
1419
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1420
+ addPrivateKey?: boolean | undefined;
1421
+ openPopup?: boolean | undefined;
1422
+ openFullPage?: boolean | undefined;
1423
+ readAllAccounts?: boolean | undefined;
1424
+ }, v.ObjectIssue | v.BooleanIssue>;
1425
+ readonly _types?: {
1426
+ readonly input: {
1427
+ addPrivateKey?: boolean | undefined;
1428
+ openPopup?: boolean | undefined;
1429
+ openFullPage?: boolean | undefined;
1430
+ readAllAccounts?: boolean | undefined;
1431
+ };
1432
+ readonly output: {
1433
+ addPrivateKey?: boolean | undefined;
1434
+ openPopup?: boolean | undefined;
1435
+ openFullPage?: boolean | undefined;
1436
+ readAllAccounts?: boolean | undefined;
1437
+ };
1438
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1439
+ } | undefined;
1440
+ };
1441
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1442
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1443
+ }, undefined>], undefined>, undefined>, never>;
1444
+ type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
1054
1445
  declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
1446
+ type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
1055
1447
  declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
1056
1448
  readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
1057
- readonly params: v.UndefinedSchema<undefined>;
1449
+ readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1450
+ readonly actions: Omit<v.ObjectSchema<{
1451
+ readonly read: v.BooleanSchema<undefined>;
1452
+ readonly autoSign: v.BooleanSchema<undefined>;
1453
+ readonly rename: v.BooleanSchema<undefined>;
1454
+ }, undefined>, "_types" | "_run" | "entries"> & {
1455
+ readonly entries: {
1456
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1457
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1458
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1459
+ };
1460
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1461
+ read?: boolean | undefined;
1462
+ autoSign?: boolean | undefined;
1463
+ rename?: boolean | undefined;
1464
+ }, v.ObjectIssue | v.BooleanIssue>;
1465
+ readonly _types?: {
1466
+ readonly input: {
1467
+ read?: boolean | undefined;
1468
+ autoSign?: boolean | undefined;
1469
+ rename?: boolean | undefined;
1470
+ };
1471
+ readonly output: {
1472
+ read?: boolean | undefined;
1473
+ autoSign?: boolean | undefined;
1474
+ rename?: boolean | undefined;
1475
+ };
1476
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1477
+ } | undefined;
1478
+ };
1479
+ readonly type: v.LiteralSchema<"account", undefined>;
1480
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1481
+ }, undefined>, v.ObjectSchema<{
1482
+ readonly actions: Omit<v.ObjectSchema<{
1483
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1484
+ readonly openPopup: v.BooleanSchema<undefined>;
1485
+ readonly openFullPage: v.BooleanSchema<undefined>;
1486
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1487
+ }, undefined>, "_types" | "_run" | "entries"> & {
1488
+ readonly entries: {
1489
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1490
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1491
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1492
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1493
+ };
1494
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1495
+ addPrivateKey?: boolean | undefined;
1496
+ openPopup?: boolean | undefined;
1497
+ openFullPage?: boolean | undefined;
1498
+ readAllAccounts?: boolean | undefined;
1499
+ }, v.ObjectIssue | v.BooleanIssue>;
1500
+ readonly _types?: {
1501
+ readonly input: {
1502
+ addPrivateKey?: boolean | undefined;
1503
+ openPopup?: boolean | undefined;
1504
+ openFullPage?: boolean | undefined;
1505
+ readAllAccounts?: boolean | undefined;
1506
+ };
1507
+ readonly output: {
1508
+ addPrivateKey?: boolean | undefined;
1509
+ openPopup?: boolean | undefined;
1510
+ openFullPage?: boolean | undefined;
1511
+ readAllAccounts?: boolean | undefined;
1512
+ };
1513
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1514
+ } | undefined;
1515
+ };
1516
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1517
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1518
+ }, undefined>], undefined>, undefined>, never>;
1058
1519
  readonly id: v.StringSchema<undefined>;
1059
1520
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1060
1521
  }, undefined>;
1061
- type RequestPermissions = MethodParamsAndResult<v.InferOutput<typeof requestPermissionsParamsSchema>, v.InferOutput<typeof requestPermissionsResultSchema>>;
1522
+ type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
1523
+ type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
1062
1524
  declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
1063
- declare const renouncePermissionsParamsSchema: v.UndefinedSchema<undefined>;
1064
- declare const renouncePermissionsResultSchema: v.LiteralSchema<true, undefined>;
1525
+ declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1526
+ type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
1527
+ declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1528
+ type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
1065
1529
  declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
1066
1530
  readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
1067
- readonly params: v.UndefinedSchema<undefined>;
1531
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1532
+ readonly id: v.StringSchema<undefined>;
1533
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1534
+ }, undefined>;
1535
+ type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
1536
+ type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
1537
+ declare const disconnectMethodName = "wallet_disconnect";
1538
+ declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1539
+ type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
1540
+ declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1541
+ type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
1542
+ declare const disconnectRequestMessageSchema: v.ObjectSchema<{
1543
+ readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
1544
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1068
1545
  readonly id: v.StringSchema<undefined>;
1069
1546
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1070
1547
  }, undefined>;
1071
- type RenouncePermissions = MethodParamsAndResult<v.InferOutput<typeof renouncePermissionsParamsSchema>, v.InferOutput<typeof renouncePermissionsResultSchema>>;
1548
+ type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
1549
+ type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
1072
1550
  declare const getWalletTypeMethodName = "wallet_getWalletType";
1073
1551
  declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1552
+ type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
1074
1553
  declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1554
+ type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
1075
1555
  declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
1076
1556
  readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
1557
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1077
1558
  readonly id: v.StringSchema<undefined>;
1078
1559
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1079
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
1080
1560
  }, undefined>;
1081
- type GetWalletType = MethodParamsAndResult<v.InferOutput<typeof getWalletTypeParamsSchema>, v.InferOutput<typeof getWalletTypeResultSchema>>;
1561
+ type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
1562
+ type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
1082
1563
  declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
1083
1564
  declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1084
- declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.ObjectSchema<{
1085
- readonly clientId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.BrandAction<string, "ClientId">]>;
1086
- readonly resourceId: v.UnionSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountResourceId">]>], undefined>;
1087
- readonly actions: v.SetSchema<v.PicklistSchema<["create", "read", "update", "delete"], undefined>, undefined>;
1088
- }, undefined>, undefined>;
1565
+ type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
1566
+ declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1567
+ readonly type: v.LiteralSchema<"account", undefined>;
1568
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1569
+ readonly clientId: v.StringSchema<undefined>;
1570
+ readonly actions: v.ObjectSchema<{
1571
+ readonly read: v.BooleanSchema<undefined>;
1572
+ readonly autoSign: v.BooleanSchema<undefined>;
1573
+ readonly rename: v.BooleanSchema<undefined>;
1574
+ }, undefined>;
1575
+ }, undefined>, v.ObjectSchema<{
1576
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1577
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1578
+ readonly clientId: v.StringSchema<undefined>;
1579
+ readonly actions: v.ObjectSchema<{
1580
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1581
+ readonly openPopup: v.BooleanSchema<undefined>;
1582
+ readonly openFullPage: v.BooleanSchema<undefined>;
1583
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1584
+ }, undefined>;
1585
+ }, undefined>], undefined>, undefined>;
1586
+ type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
1089
1587
  declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
1090
1588
  readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
1589
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1590
+ readonly id: v.StringSchema<undefined>;
1591
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1592
+ }, undefined>;
1593
+ type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
1594
+ type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
1595
+ declare const getAccountMethodName = "wallet_getAccount";
1596
+ declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1597
+ type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
1598
+ declare const getAccountResultSchema: v.ObjectSchema<{
1599
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
1600
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
1601
+ readonly address: v.StringSchema<undefined>;
1602
+ readonly publicKey: v.StringSchema<undefined>;
1603
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1604
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1605
+ }, undefined>, undefined>;
1606
+ readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1607
+ }, undefined>;
1608
+ type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
1609
+ declare const getAccountRequestMessageSchema: v.ObjectSchema<{
1610
+ readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
1611
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1612
+ readonly id: v.StringSchema<undefined>;
1613
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1614
+ }, undefined>;
1615
+ type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
1616
+ type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
1617
+ declare const connectMethodName = "wallet_connect";
1618
+ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1619
+ readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1620
+ readonly actions: Omit<v.ObjectSchema<{
1621
+ readonly read: v.BooleanSchema<undefined>;
1622
+ readonly autoSign: v.BooleanSchema<undefined>;
1623
+ readonly rename: v.BooleanSchema<undefined>;
1624
+ }, undefined>, "_types" | "_run" | "entries"> & {
1625
+ readonly entries: {
1626
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1627
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1628
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1629
+ };
1630
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1631
+ read?: boolean | undefined;
1632
+ autoSign?: boolean | undefined;
1633
+ rename?: boolean | undefined;
1634
+ }, v.ObjectIssue | v.BooleanIssue>;
1635
+ readonly _types?: {
1636
+ readonly input: {
1637
+ read?: boolean | undefined;
1638
+ autoSign?: boolean | undefined;
1639
+ rename?: boolean | undefined;
1640
+ };
1641
+ readonly output: {
1642
+ read?: boolean | undefined;
1643
+ autoSign?: boolean | undefined;
1644
+ rename?: boolean | undefined;
1645
+ };
1646
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1647
+ } | undefined;
1648
+ };
1649
+ readonly type: v.LiteralSchema<"account", undefined>;
1650
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1651
+ }, undefined>, v.ObjectSchema<{
1652
+ readonly actions: Omit<v.ObjectSchema<{
1653
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1654
+ readonly openPopup: v.BooleanSchema<undefined>;
1655
+ readonly openFullPage: v.BooleanSchema<undefined>;
1656
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1657
+ }, undefined>, "_types" | "_run" | "entries"> & {
1658
+ readonly entries: {
1659
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1660
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1661
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1662
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1663
+ };
1664
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1665
+ addPrivateKey?: boolean | undefined;
1666
+ openPopup?: boolean | undefined;
1667
+ openFullPage?: boolean | undefined;
1668
+ readAllAccounts?: boolean | undefined;
1669
+ }, v.ObjectIssue | v.BooleanIssue>;
1670
+ readonly _types?: {
1671
+ readonly input: {
1672
+ addPrivateKey?: boolean | undefined;
1673
+ openPopup?: boolean | undefined;
1674
+ openFullPage?: boolean | undefined;
1675
+ readAllAccounts?: boolean | undefined;
1676
+ };
1677
+ readonly output: {
1678
+ addPrivateKey?: boolean | undefined;
1679
+ openPopup?: boolean | undefined;
1680
+ openFullPage?: boolean | undefined;
1681
+ readAllAccounts?: boolean | undefined;
1682
+ };
1683
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1684
+ } | undefined;
1685
+ };
1686
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1687
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1688
+ }, undefined>], undefined>, undefined>, never>;
1689
+ }, undefined>, never>;
1690
+ type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
1691
+ declare const connectResultSchema: v.ObjectSchema<{
1692
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
1693
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
1694
+ readonly address: v.StringSchema<undefined>;
1695
+ readonly publicKey: v.StringSchema<undefined>;
1696
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1697
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1698
+ }, undefined>, undefined>;
1699
+ readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1700
+ }, undefined>;
1701
+ type ConnectResult = v.InferOutput<typeof connectResultSchema>;
1702
+ declare const connectRequestMessageSchema: v.ObjectSchema<{
1703
+ readonly method: v.LiteralSchema<"wallet_connect", undefined>;
1704
+ readonly params: v.NullishSchema<v.ObjectSchema<{
1705
+ readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1706
+ readonly actions: Omit<v.ObjectSchema<{
1707
+ readonly read: v.BooleanSchema<undefined>;
1708
+ readonly autoSign: v.BooleanSchema<undefined>;
1709
+ readonly rename: v.BooleanSchema<undefined>;
1710
+ }, undefined>, "_types" | "_run" | "entries"> & {
1711
+ readonly entries: {
1712
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1713
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1714
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1715
+ };
1716
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1717
+ read?: boolean | undefined;
1718
+ autoSign?: boolean | undefined;
1719
+ rename?: boolean | undefined;
1720
+ }, v.ObjectIssue | v.BooleanIssue>;
1721
+ readonly _types?: {
1722
+ readonly input: {
1723
+ read?: boolean | undefined;
1724
+ autoSign?: boolean | undefined;
1725
+ rename?: boolean | undefined;
1726
+ };
1727
+ readonly output: {
1728
+ read?: boolean | undefined;
1729
+ autoSign?: boolean | undefined;
1730
+ rename?: boolean | undefined;
1731
+ };
1732
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1733
+ } | undefined;
1734
+ };
1735
+ readonly type: v.LiteralSchema<"account", undefined>;
1736
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1737
+ }, undefined>, v.ObjectSchema<{
1738
+ readonly actions: Omit<v.ObjectSchema<{
1739
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1740
+ readonly openPopup: v.BooleanSchema<undefined>;
1741
+ readonly openFullPage: v.BooleanSchema<undefined>;
1742
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1743
+ }, undefined>, "_types" | "_run" | "entries"> & {
1744
+ readonly entries: {
1745
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1746
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1747
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1748
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1749
+ };
1750
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1751
+ addPrivateKey?: boolean | undefined;
1752
+ openPopup?: boolean | undefined;
1753
+ openFullPage?: boolean | undefined;
1754
+ readAllAccounts?: boolean | undefined;
1755
+ }, v.ObjectIssue | v.BooleanIssue>;
1756
+ readonly _types?: {
1757
+ readonly input: {
1758
+ addPrivateKey?: boolean | undefined;
1759
+ openPopup?: boolean | undefined;
1760
+ openFullPage?: boolean | undefined;
1761
+ readAllAccounts?: boolean | undefined;
1762
+ };
1763
+ readonly output: {
1764
+ addPrivateKey?: boolean | undefined;
1765
+ openPopup?: boolean | undefined;
1766
+ openFullPage?: boolean | undefined;
1767
+ readAllAccounts?: boolean | undefined;
1768
+ };
1769
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1770
+ } | undefined;
1771
+ };
1772
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1773
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1774
+ }, undefined>], undefined>, undefined>, never>;
1775
+ }, undefined>, never>;
1091
1776
  readonly id: v.StringSchema<undefined>;
1092
1777
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1093
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
1094
1778
  }, undefined>;
1095
- type GetCurrentPermissions = MethodParamsAndResult<v.InferOutput<typeof getCurrentPermissionsParamsSchema>, v.InferOutput<typeof getCurrentPermissionsResultSchema>>;
1779
+ type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
1780
+ type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
1096
1781
 
1097
1782
  declare const walletTypes: readonly ["software", "ledger"];
1098
1783
  declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
@@ -1103,7 +1788,7 @@ interface StxRequests {
1103
1788
  stx_deployContract: StxDeployContract;
1104
1789
  stx_getAccounts: StxGetAccounts;
1105
1790
  stx_getAddresses: StxGetAddresses;
1106
- stx_signMessage: StxSignStxMessage;
1791
+ stx_signMessage: StxSignMessage;
1107
1792
  stx_signStructuredMessage: StxSignStructuredMessage;
1108
1793
  stx_signTransaction: StxSignTransaction;
1109
1794
  stx_transferStx: StxTransferStx;
@@ -1173,4 +1858,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
1173
1858
  declare const DefaultAdaptersInfo: Record<string, Provider>;
1174
1859
  declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
1175
1860
 
1176
- 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 CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type DisconnectEvent, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, 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 GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type Provider, type PsbtPayload, type RbfOrder, type Recipient$2 as Recipient, type RenouncePermissions, type RequestOptions, type RequestPayload, type RequestPermissions, 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 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, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectSchema, 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, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsResultSchema, sendInscriptionsSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };
1861
+ 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 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, 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 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 TransferRunes, type TransferRunesParams, type TransferRunesRequest, type TransferRunesResult, TransferRunesResultSchema, 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, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, 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, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };