@sats-connect/core 0.7.1-2a549f3 → 0.7.1-77a9de6
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 +231 -33
- package/dist/index.d.ts +231 -33
- package/dist/index.js +893 -728
- package/dist/index.mjs +876 -728
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -15,6 +15,10 @@ declare enum StarknetNetworkType {
|
|
|
15
15
|
Mainnet = "mainnet",
|
|
16
16
|
Sepolia = "sepolia"
|
|
17
17
|
}
|
|
18
|
+
declare enum SparkNetworkType {
|
|
19
|
+
Mainnet = "mainnet",
|
|
20
|
+
Regtest = "regtest"
|
|
21
|
+
}
|
|
18
22
|
interface BitcoinNetwork {
|
|
19
23
|
type: BitcoinNetworkType;
|
|
20
24
|
address?: string;
|
|
@@ -134,7 +138,9 @@ type RpcResult<Method extends keyof Requests> = {
|
|
|
134
138
|
declare enum AddressPurpose {
|
|
135
139
|
Ordinals = "ordinals",
|
|
136
140
|
Payment = "payment",
|
|
137
|
-
Stacks = "stacks"
|
|
141
|
+
Stacks = "stacks",
|
|
142
|
+
Starknet = "starknet",
|
|
143
|
+
Spark = "spark"
|
|
138
144
|
}
|
|
139
145
|
interface GetAddressPayload extends RequestPayload {
|
|
140
146
|
purposes: AddressPurpose[];
|
|
@@ -146,16 +152,26 @@ declare enum AddressType {
|
|
|
146
152
|
p2wpkh = "p2wpkh",
|
|
147
153
|
p2wsh = "p2wsh",
|
|
148
154
|
p2tr = "p2tr",
|
|
149
|
-
stacks = "stacks"
|
|
155
|
+
stacks = "stacks",
|
|
156
|
+
starknet = "starknet",
|
|
157
|
+
spark = "spark"
|
|
150
158
|
}
|
|
159
|
+
type AddressWithPublicKey = AddressPurpose.Payment | AddressPurpose.Ordinals | AddressPurpose.Stacks;
|
|
160
|
+
type AddressWithoutPublicKey = Exclude<AddressPurpose, AddressWithPublicKey>;
|
|
151
161
|
declare const addressSchema: v.ObjectSchema<{
|
|
152
162
|
readonly address: v.StringSchema<undefined>;
|
|
153
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
163
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
154
164
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
155
165
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
156
166
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
157
167
|
}, undefined>;
|
|
158
|
-
type Address = v.InferOutput<typeof addressSchema
|
|
168
|
+
type Address = v.InferOutput<typeof addressSchema> & ({
|
|
169
|
+
purpose: AddressWithPublicKey;
|
|
170
|
+
publicKey: string;
|
|
171
|
+
} | {
|
|
172
|
+
purpose: AddressWithoutPublicKey;
|
|
173
|
+
publicKey?: undefined;
|
|
174
|
+
});
|
|
159
175
|
interface GetAddressResponse {
|
|
160
176
|
addresses: Address[];
|
|
161
177
|
}
|
|
@@ -265,7 +281,7 @@ declare const accountChangeSchema: v.ObjectSchema<{
|
|
|
265
281
|
readonly type: v.LiteralSchema<"accountChange", undefined>;
|
|
266
282
|
readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
267
283
|
readonly address: v.StringSchema<undefined>;
|
|
268
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
284
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
269
285
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
270
286
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
271
287
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -283,7 +299,7 @@ declare const networkChangeSchema: v.ObjectSchema<{
|
|
|
283
299
|
}, undefined>;
|
|
284
300
|
readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
285
301
|
readonly address: v.StringSchema<undefined>;
|
|
286
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
302
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
287
303
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
288
304
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
289
305
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -299,7 +315,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
299
315
|
readonly type: v.LiteralSchema<"accountChange", undefined>;
|
|
300
316
|
readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
301
317
|
readonly address: v.StringSchema<undefined>;
|
|
302
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
318
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
303
319
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
304
320
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
305
321
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -314,7 +330,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
314
330
|
}, undefined>;
|
|
315
331
|
readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
316
332
|
readonly address: v.StringSchema<undefined>;
|
|
317
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
333
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
318
334
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
319
335
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
320
336
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -431,7 +447,7 @@ declare const getAddressesResultSchema: v.ObjectSchema<{
|
|
|
431
447
|
*/
|
|
432
448
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
433
449
|
readonly address: v.StringSchema<undefined>;
|
|
434
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
450
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
435
451
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
436
452
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
437
453
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -441,7 +457,10 @@ declare const getAddressesResultSchema: v.ObjectSchema<{
|
|
|
441
457
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
442
458
|
}, undefined>;
|
|
443
459
|
readonly stacks: v.ObjectSchema<{
|
|
444
|
-
readonly name: v.
|
|
460
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
461
|
+
}, undefined>;
|
|
462
|
+
readonly spark: v.ObjectSchema<{
|
|
463
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
445
464
|
}, undefined>;
|
|
446
465
|
}, undefined>;
|
|
447
466
|
}, undefined>;
|
|
@@ -627,7 +646,7 @@ type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
|
|
|
627
646
|
declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
628
647
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
629
648
|
readonly address: v.StringSchema<undefined>;
|
|
630
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
649
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
631
650
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
632
651
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
633
652
|
}, undefined>, undefined>;
|
|
@@ -998,6 +1017,163 @@ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
|
998
1017
|
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
999
1018
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1000
1019
|
|
|
1020
|
+
declare const sparkGetAddressesMethodName = "spark_getAddresses";
|
|
1021
|
+
declare const sparkGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1022
|
+
/**
|
|
1023
|
+
* A message to be displayed to the user in the request prompt.
|
|
1024
|
+
*/
|
|
1025
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1026
|
+
}, undefined>, undefined>;
|
|
1027
|
+
type SparkGetAddressesParams = v.InferOutput<typeof sparkGetAddressesParamsSchema>;
|
|
1028
|
+
declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
|
|
1029
|
+
/**
|
|
1030
|
+
* The addresses generated for the given purposes.
|
|
1031
|
+
*/
|
|
1032
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1033
|
+
readonly address: v.StringSchema<undefined>;
|
|
1034
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1035
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1036
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1037
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
1038
|
+
}, undefined>, undefined>;
|
|
1039
|
+
readonly network: v.ObjectSchema<{
|
|
1040
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
1041
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1042
|
+
}, undefined>;
|
|
1043
|
+
readonly stacks: v.ObjectSchema<{
|
|
1044
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1045
|
+
}, undefined>;
|
|
1046
|
+
readonly spark: v.ObjectSchema<{
|
|
1047
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1048
|
+
}, undefined>;
|
|
1049
|
+
}, undefined>;
|
|
1050
|
+
}, undefined>;
|
|
1051
|
+
type SparkGetAddressesResult = v.InferOutput<typeof sparkGetAddressesResultSchema>;
|
|
1052
|
+
declare const sparkGetAddressesRequestMessageSchema: v.ObjectSchema<{
|
|
1053
|
+
readonly method: v.LiteralSchema<"spark_getAddresses", undefined>;
|
|
1054
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1055
|
+
/**
|
|
1056
|
+
* A message to be displayed to the user in the request prompt.
|
|
1057
|
+
*/
|
|
1058
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1059
|
+
}, undefined>, undefined>;
|
|
1060
|
+
readonly id: v.StringSchema<undefined>;
|
|
1061
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1062
|
+
}, undefined>;
|
|
1063
|
+
type SparkGetAddressesRequestMessage = v.InferOutput<typeof sparkGetAddressesRequestMessageSchema>;
|
|
1064
|
+
type SparkGetAddresses = MethodParamsAndResult<v.InferOutput<typeof sparkGetAddressesParamsSchema>, v.InferOutput<typeof sparkGetAddressesResultSchema>>;
|
|
1065
|
+
|
|
1066
|
+
declare const sparkGetBalanceMethodName = "spark_getBalance";
|
|
1067
|
+
declare const sparkGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1068
|
+
type SparkGetBalanceParams = v.InferOutput<typeof sparkGetBalanceParamsSchema>;
|
|
1069
|
+
declare const sparkGetBalanceResultSchema: v.ObjectSchema<{
|
|
1070
|
+
/**
|
|
1071
|
+
* The Spark Bitcoin address balance in sats in string form.
|
|
1072
|
+
*/
|
|
1073
|
+
readonly balance: v.StringSchema<undefined>;
|
|
1074
|
+
readonly tokenBalances: v.ArraySchema<v.ObjectSchema<{
|
|
1075
|
+
readonly balance: v.StringSchema<undefined>;
|
|
1076
|
+
readonly tokenMetadata: v.ObjectSchema<{
|
|
1077
|
+
readonly tokenPublicKey: v.StringSchema<undefined>;
|
|
1078
|
+
readonly tokenName: v.StringSchema<undefined>;
|
|
1079
|
+
readonly tokenTicker: v.StringSchema<undefined>;
|
|
1080
|
+
readonly decimals: v.NumberSchema<undefined>;
|
|
1081
|
+
readonly maxSupply: v.StringSchema<undefined>;
|
|
1082
|
+
}, undefined>;
|
|
1083
|
+
}, undefined>, undefined>;
|
|
1084
|
+
}, undefined>;
|
|
1085
|
+
type SparkGetBalanceResult = v.InferOutput<typeof sparkGetBalanceResultSchema>;
|
|
1086
|
+
declare const sparkGetBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
1087
|
+
readonly method: v.LiteralSchema<"spark_getBalance", undefined>;
|
|
1088
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1089
|
+
readonly id: v.StringSchema<undefined>;
|
|
1090
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1091
|
+
}, undefined>;
|
|
1092
|
+
type SparkGetBalanceRequestMessage = v.InferOutput<typeof sparkGetBalanceRequestMessageSchema>;
|
|
1093
|
+
type SparkGetBalance = MethodParamsAndResult<SparkGetBalanceParams, SparkGetBalanceResult>;
|
|
1094
|
+
|
|
1095
|
+
declare const sparkTransferMethodName = "spark_transfer";
|
|
1096
|
+
declare const sparkTransferParamsSchema: v.ObjectSchema<{
|
|
1097
|
+
/**
|
|
1098
|
+
* Amount of SATS to transfer as a string or number.
|
|
1099
|
+
*/
|
|
1100
|
+
readonly amountSats: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1101
|
+
/**
|
|
1102
|
+
* The recipient's spark address.
|
|
1103
|
+
*/
|
|
1104
|
+
readonly receiverSparkAddress: v.StringSchema<undefined>;
|
|
1105
|
+
}, undefined>;
|
|
1106
|
+
type SparkTransferParams = v.InferOutput<typeof sparkTransferParamsSchema>;
|
|
1107
|
+
declare const sparkTransferResultSchema: v.ObjectSchema<{
|
|
1108
|
+
/**
|
|
1109
|
+
* The ID of the transaction.
|
|
1110
|
+
*/
|
|
1111
|
+
readonly id: v.StringSchema<undefined>;
|
|
1112
|
+
}, undefined>;
|
|
1113
|
+
type SparkTransferResult = v.InferOutput<typeof sparkTransferResultSchema>;
|
|
1114
|
+
declare const sparkTransferRequestMessageSchema: v.ObjectSchema<{
|
|
1115
|
+
readonly method: v.LiteralSchema<"spark_transfer", undefined>;
|
|
1116
|
+
readonly params: v.ObjectSchema<{
|
|
1117
|
+
/**
|
|
1118
|
+
* Amount of SATS to transfer as a string or number.
|
|
1119
|
+
*/
|
|
1120
|
+
readonly amountSats: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1121
|
+
/**
|
|
1122
|
+
* The recipient's spark address.
|
|
1123
|
+
*/
|
|
1124
|
+
readonly receiverSparkAddress: v.StringSchema<undefined>;
|
|
1125
|
+
}, undefined>;
|
|
1126
|
+
readonly id: v.StringSchema<undefined>;
|
|
1127
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1128
|
+
}, undefined>;
|
|
1129
|
+
type SparkTransferRequestMessage = v.InferOutput<typeof sparkTransferRequestMessageSchema>;
|
|
1130
|
+
type SparkTransfer = MethodParamsAndResult<SparkTransferParams, SparkTransferResult>;
|
|
1131
|
+
|
|
1132
|
+
declare const sparkTransferTokenMethodName = "spark_transferToken";
|
|
1133
|
+
declare const sparkTransferTokenParamsSchema: v.ObjectSchema<{
|
|
1134
|
+
/**
|
|
1135
|
+
* Amount of units of the token to transfer as a string or number.
|
|
1136
|
+
*/
|
|
1137
|
+
readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1138
|
+
/**
|
|
1139
|
+
* The token identifier.
|
|
1140
|
+
*/
|
|
1141
|
+
readonly tokenIdentifier: v.StringSchema<undefined>;
|
|
1142
|
+
/**
|
|
1143
|
+
* The recipient's spark address.
|
|
1144
|
+
*/
|
|
1145
|
+
readonly receiverSparkAddress: v.StringSchema<undefined>;
|
|
1146
|
+
}, undefined>;
|
|
1147
|
+
type SparkTransferTokenParams = v.InferOutput<typeof sparkTransferTokenParamsSchema>;
|
|
1148
|
+
declare const sparkTransferTokenResultSchema: v.ObjectSchema<{
|
|
1149
|
+
/**
|
|
1150
|
+
* The ID of the transaction.
|
|
1151
|
+
*/
|
|
1152
|
+
readonly id: v.StringSchema<undefined>;
|
|
1153
|
+
}, undefined>;
|
|
1154
|
+
type SparkTransferTokenResult = v.InferOutput<typeof sparkTransferTokenResultSchema>;
|
|
1155
|
+
declare const sparkTransferTokenRequestMessageSchema: v.ObjectSchema<{
|
|
1156
|
+
readonly method: v.LiteralSchema<"spark_transferToken", undefined>;
|
|
1157
|
+
readonly params: v.ObjectSchema<{
|
|
1158
|
+
/**
|
|
1159
|
+
* Amount of units of the token to transfer as a string or number.
|
|
1160
|
+
*/
|
|
1161
|
+
readonly tokenAmount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1162
|
+
/**
|
|
1163
|
+
* The token identifier.
|
|
1164
|
+
*/
|
|
1165
|
+
readonly tokenIdentifier: v.StringSchema<undefined>;
|
|
1166
|
+
/**
|
|
1167
|
+
* The recipient's spark address.
|
|
1168
|
+
*/
|
|
1169
|
+
readonly receiverSparkAddress: v.StringSchema<undefined>;
|
|
1170
|
+
}, undefined>;
|
|
1171
|
+
readonly id: v.StringSchema<undefined>;
|
|
1172
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1173
|
+
}, undefined>;
|
|
1174
|
+
type SparkTransferTokenRequestMessage = v.InferOutput<typeof sparkTransferTokenRequestMessageSchema>;
|
|
1175
|
+
type SparkTransferToken = MethodParamsAndResult<SparkTransferTokenParams, SparkTransferTokenResult>;
|
|
1176
|
+
|
|
1001
1177
|
declare const stxCallContractMethodName = "stx_callContract";
|
|
1002
1178
|
declare const stxCallContractParamsSchema: v.ObjectSchema<{
|
|
1003
1179
|
/**
|
|
@@ -1186,7 +1362,10 @@ declare const stxGetAccountsResultSchema: v.ObjectSchema<{
|
|
|
1186
1362
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1187
1363
|
}, undefined>;
|
|
1188
1364
|
readonly stacks: v.ObjectSchema<{
|
|
1189
|
-
readonly name: v.
|
|
1365
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1366
|
+
}, undefined>;
|
|
1367
|
+
readonly spark: v.ObjectSchema<{
|
|
1368
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1190
1369
|
}, undefined>;
|
|
1191
1370
|
}, undefined>;
|
|
1192
1371
|
}, undefined>;
|
|
@@ -1214,7 +1393,7 @@ declare const stxGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
1214
1393
|
*/
|
|
1215
1394
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1216
1395
|
readonly address: v.StringSchema<undefined>;
|
|
1217
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
1396
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1218
1397
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1219
1398
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1220
1399
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -1224,7 +1403,10 @@ declare const stxGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
1224
1403
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1225
1404
|
}, undefined>;
|
|
1226
1405
|
readonly stacks: v.ObjectSchema<{
|
|
1227
|
-
readonly name: v.
|
|
1406
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1407
|
+
}, undefined>;
|
|
1408
|
+
readonly spark: v.ObjectSchema<{
|
|
1409
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1228
1410
|
}, undefined>;
|
|
1229
1411
|
}, undefined>;
|
|
1230
1412
|
}, undefined>;
|
|
@@ -1428,7 +1610,7 @@ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
|
|
|
1428
1610
|
*/
|
|
1429
1611
|
readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1430
1612
|
/**
|
|
1431
|
-
* The
|
|
1613
|
+
* The recipient's principal.
|
|
1432
1614
|
*/
|
|
1433
1615
|
readonly recipient: v.StringSchema<undefined>;
|
|
1434
1616
|
/**
|
|
@@ -1491,7 +1673,7 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
1491
1673
|
*/
|
|
1492
1674
|
readonly amount: v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>;
|
|
1493
1675
|
/**
|
|
1494
|
-
* The
|
|
1676
|
+
* The recipient's principal.
|
|
1495
1677
|
*/
|
|
1496
1678
|
readonly recipient: v.StringSchema<undefined>;
|
|
1497
1679
|
/**
|
|
@@ -1699,7 +1881,10 @@ declare const getNetworkResultSchema: v.ObjectSchema<{
|
|
|
1699
1881
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1700
1882
|
}, undefined>;
|
|
1701
1883
|
readonly stacks: v.ObjectSchema<{
|
|
1702
|
-
readonly name: v.
|
|
1884
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1885
|
+
}, undefined>;
|
|
1886
|
+
readonly spark: v.ObjectSchema<{
|
|
1887
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1703
1888
|
}, undefined>;
|
|
1704
1889
|
}, undefined>;
|
|
1705
1890
|
type GetNetworkResult = v.InferOutput<typeof getNetworkResultSchema>;
|
|
@@ -1752,7 +1937,7 @@ declare const getAccountResultSchema: v.ObjectSchema<{
|
|
|
1752
1937
|
readonly id: v.StringSchema<undefined>;
|
|
1753
1938
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1754
1939
|
readonly address: v.StringSchema<undefined>;
|
|
1755
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
1940
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1756
1941
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1757
1942
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1758
1943
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -1763,7 +1948,10 @@ declare const getAccountResultSchema: v.ObjectSchema<{
|
|
|
1763
1948
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1764
1949
|
}, undefined>;
|
|
1765
1950
|
readonly stacks: v.ObjectSchema<{
|
|
1766
|
-
readonly name: v.
|
|
1951
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1952
|
+
}, undefined>;
|
|
1953
|
+
readonly spark: v.ObjectSchema<{
|
|
1954
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1767
1955
|
}, undefined>;
|
|
1768
1956
|
}, undefined>;
|
|
1769
1957
|
}, undefined>;
|
|
@@ -1800,7 +1988,7 @@ declare const connectResultSchema: v.ObjectSchema<{
|
|
|
1800
1988
|
readonly id: v.StringSchema<undefined>;
|
|
1801
1989
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1802
1990
|
readonly address: v.StringSchema<undefined>;
|
|
1803
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
1991
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1804
1992
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1805
1993
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1806
1994
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -1811,7 +1999,10 @@ declare const connectResultSchema: v.ObjectSchema<{
|
|
|
1811
1999
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1812
2000
|
}, undefined>;
|
|
1813
2001
|
readonly stacks: v.ObjectSchema<{
|
|
1814
|
-
readonly name: v.
|
|
2002
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2003
|
+
}, undefined>;
|
|
2004
|
+
readonly spark: v.ObjectSchema<{
|
|
2005
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
1815
2006
|
}, undefined>;
|
|
1816
2007
|
}, undefined>;
|
|
1817
2008
|
}, undefined>;
|
|
@@ -1907,7 +2098,7 @@ declare const walletTypes: readonly ["software", "ledger", "keystone"];
|
|
|
1907
2098
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
1908
2099
|
type WalletType = v.InferOutput<typeof walletTypeSchema>;
|
|
1909
2100
|
|
|
1910
|
-
|
|
2101
|
+
type StxRequests = {
|
|
1911
2102
|
stx_callContract: StxCallContract;
|
|
1912
2103
|
stx_deployContract: StxDeployContract;
|
|
1913
2104
|
stx_getAccounts: StxGetAccounts;
|
|
@@ -1917,9 +2108,16 @@ interface StxRequests {
|
|
|
1917
2108
|
stx_signTransaction: StxSignTransaction;
|
|
1918
2109
|
stx_transferStx: StxTransferStx;
|
|
1919
2110
|
stx_signTransactions: StxSignTransactions;
|
|
1920
|
-
}
|
|
2111
|
+
};
|
|
1921
2112
|
type StxRequestMethod = keyof StxRequests;
|
|
1922
|
-
|
|
2113
|
+
type SparkRequests = {
|
|
2114
|
+
[sparkGetAddressesMethodName]: SparkGetAddresses;
|
|
2115
|
+
[sparkGetBalanceMethodName]: SparkGetBalance;
|
|
2116
|
+
[sparkTransferMethodName]: SparkGetBalance;
|
|
2117
|
+
[sparkTransferTokenMethodName]: SparkTransferToken;
|
|
2118
|
+
};
|
|
2119
|
+
type SparkRequestMethod = keyof SparkRequests;
|
|
2120
|
+
type BtcRequests = {
|
|
1923
2121
|
getInfo: GetInfo;
|
|
1924
2122
|
getAddresses: GetAddresses;
|
|
1925
2123
|
getAccounts: GetAccounts;
|
|
@@ -1927,9 +2125,9 @@ interface BtcRequests {
|
|
|
1927
2125
|
signMessage: SignMessage;
|
|
1928
2126
|
sendTransfer: SendTransfer;
|
|
1929
2127
|
signPsbt: SignPsbt;
|
|
1930
|
-
}
|
|
2128
|
+
};
|
|
1931
2129
|
type BtcRequestMethod = keyof BtcRequests;
|
|
1932
|
-
|
|
2130
|
+
type RunesRequests = {
|
|
1933
2131
|
runes_estimateEtch: RunesEstimateEtch;
|
|
1934
2132
|
runes_estimateMint: RunesEstimateMint;
|
|
1935
2133
|
runes_estimateRbfOrder: RunesEstimateRbfOrder;
|
|
@@ -1939,14 +2137,14 @@ interface RunesRequests {
|
|
|
1939
2137
|
runes_mint: RunesMint;
|
|
1940
2138
|
runes_rbfOrder: RunesRbfOrder;
|
|
1941
2139
|
runes_transfer: RunesTransfer;
|
|
1942
|
-
}
|
|
2140
|
+
};
|
|
1943
2141
|
type RunesRequestMethod = keyof RunesRequests;
|
|
1944
|
-
|
|
2142
|
+
type OrdinalsRequests = {
|
|
1945
2143
|
ord_getInscriptions: GetInscriptions;
|
|
1946
2144
|
ord_sendInscriptions: SendInscriptions;
|
|
1947
|
-
}
|
|
2145
|
+
};
|
|
1948
2146
|
type OrdinalsRequestMethod = keyof OrdinalsRequests;
|
|
1949
|
-
|
|
2147
|
+
type WalletRequests = {
|
|
1950
2148
|
wallet_addNetwork: AddNetwork;
|
|
1951
2149
|
wallet_changeNetwork: ChangeNetwork;
|
|
1952
2150
|
wallet_changeNetworkById: ChangeNetworkById;
|
|
@@ -1958,8 +2156,8 @@ interface WalletRequests {
|
|
|
1958
2156
|
wallet_getWalletType: GetWalletType;
|
|
1959
2157
|
wallet_renouncePermissions: RenouncePermissions;
|
|
1960
2158
|
wallet_requestPermissions: RequestPermissions;
|
|
1961
|
-
}
|
|
1962
|
-
type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
2159
|
+
};
|
|
2160
|
+
type Requests = BtcRequests & StxRequests & SparkRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
1963
2161
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
1964
2162
|
type Params<Method> = Method extends keyof Requests ? Requests[Method]['params'] : never;
|
|
1965
2163
|
|
|
@@ -2006,4 +2204,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2006
2204
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2007
2205
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2008
2206
|
|
|
2009
|
-
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|
|
2207
|
+
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|