@sats-connect/core 0.6.8 → 0.7.0-a8a072f
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 +216 -151
- package/dist/index.d.ts +216 -151
- package/dist/index.js +57 -0
- package/dist/index.mjs +51 -0
- package/package.json +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -138,7 +138,7 @@ declare const accountChangeSchema: v.ObjectSchema<{
|
|
|
138
138
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
139
139
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
140
140
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
141
|
-
}, undefined>, undefined>,
|
|
141
|
+
}, undefined>, undefined>, undefined>;
|
|
142
142
|
}, undefined>;
|
|
143
143
|
type AccountChangeEvent = v.InferOutput<typeof accountChangeSchema>;
|
|
144
144
|
declare const networkChangeEventName = "networkChange";
|
|
@@ -156,7 +156,7 @@ declare const networkChangeSchema: v.ObjectSchema<{
|
|
|
156
156
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
157
157
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
158
158
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
159
|
-
}, undefined>, undefined>,
|
|
159
|
+
}, undefined>, undefined>, undefined>;
|
|
160
160
|
}, undefined>;
|
|
161
161
|
type NetworkChangeEvent = v.InferOutput<typeof networkChangeSchema>;
|
|
162
162
|
declare const disconnectEventName = "disconnect";
|
|
@@ -172,7 +172,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
172
172
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
173
173
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
174
174
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
175
|
-
}, undefined>, undefined>,
|
|
175
|
+
}, undefined>, undefined>, undefined>;
|
|
176
176
|
}, undefined>, v.ObjectSchema<{
|
|
177
177
|
readonly type: v.LiteralSchema<"networkChange", undefined>;
|
|
178
178
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -187,7 +187,7 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
187
187
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
188
188
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
189
189
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
190
|
-
}, undefined>, undefined>,
|
|
190
|
+
}, undefined>, undefined>, undefined>;
|
|
191
191
|
}, undefined>, v.ObjectSchema<{
|
|
192
192
|
readonly type: v.LiteralSchema<"disconnect", undefined>;
|
|
193
193
|
}, undefined>], undefined>;
|
|
@@ -251,6 +251,14 @@ declare enum BitcoinNetworkType {
|
|
|
251
251
|
Signet = "Signet",
|
|
252
252
|
Regtest = "Regtest"
|
|
253
253
|
}
|
|
254
|
+
declare enum StacksNetworkType {
|
|
255
|
+
Mainnet = "mainnet",
|
|
256
|
+
Testnet = "testnet"
|
|
257
|
+
}
|
|
258
|
+
declare enum StarknetNetworkType {
|
|
259
|
+
Mainnet = "mainnet",
|
|
260
|
+
Sepolia = "sepolia"
|
|
261
|
+
}
|
|
254
262
|
interface BitcoinNetwork {
|
|
255
263
|
type: BitcoinNetworkType;
|
|
256
264
|
address?: string;
|
|
@@ -264,12 +272,12 @@ interface RequestOptions<Payload extends RequestPayload, Response> {
|
|
|
264
272
|
payload: Payload;
|
|
265
273
|
getProvider?: () => Promise<BitcoinProvider | undefined>;
|
|
266
274
|
}
|
|
267
|
-
declare const RpcIdSchema: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>,
|
|
275
|
+
declare const RpcIdSchema: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
268
276
|
type RpcId = v.InferOutput<typeof RpcIdSchema>;
|
|
269
277
|
declare const rpcRequestMessageSchema: v.ObjectSchema<{
|
|
270
278
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
271
279
|
readonly method: v.StringSchema<undefined>;
|
|
272
|
-
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>,
|
|
280
|
+
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
273
281
|
readonly id: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
274
282
|
}, undefined>;
|
|
275
283
|
type RpcRequestMessage = v.InferOutput<typeof rpcRequestMessageSchema>;
|
|
@@ -328,23 +336,23 @@ declare enum RpcErrorCode {
|
|
|
328
336
|
declare const rpcSuccessResponseMessageSchema: v.ObjectSchema<{
|
|
329
337
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
330
338
|
readonly result: v.NonOptionalSchema<v.UnknownSchema, undefined>;
|
|
331
|
-
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>,
|
|
339
|
+
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
332
340
|
}, undefined>;
|
|
333
341
|
type RpcSuccessResponseMessage = v.InferOutput<typeof rpcSuccessResponseMessageSchema>;
|
|
334
342
|
declare const rpcErrorResponseMessageSchema: v.ObjectSchema<{
|
|
335
343
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
336
344
|
readonly error: v.NonOptionalSchema<v.UnknownSchema, undefined>;
|
|
337
|
-
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>,
|
|
345
|
+
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
338
346
|
}, undefined>;
|
|
339
347
|
type RpcErrorResponseMessage = v.InferOutput<typeof rpcErrorResponseMessageSchema>;
|
|
340
348
|
declare const rpcResponseMessageSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
341
349
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
342
350
|
readonly result: v.NonOptionalSchema<v.UnknownSchema, undefined>;
|
|
343
|
-
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>,
|
|
351
|
+
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
344
352
|
}, undefined>, v.ObjectSchema<{
|
|
345
353
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
346
354
|
readonly error: v.NonOptionalSchema<v.UnknownSchema, undefined>;
|
|
347
|
-
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>,
|
|
355
|
+
readonly id: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
348
356
|
}, undefined>], undefined>;
|
|
349
357
|
type RpcResponseMessage = v.InferOutput<typeof rpcResponseMessageSchema>;
|
|
350
358
|
interface RpcError {
|
|
@@ -368,7 +376,7 @@ type RpcResult<Method extends keyof Requests> = {
|
|
|
368
376
|
};
|
|
369
377
|
|
|
370
378
|
declare const getInfoMethodName = "getInfo";
|
|
371
|
-
declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
379
|
+
declare const getInfoParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
372
380
|
type GetInfoParams = v.InferOutput<typeof getInfoParamsSchema>;
|
|
373
381
|
declare const getInfoResultSchema: v.ObjectSchema<{
|
|
374
382
|
/**
|
|
@@ -378,7 +386,7 @@ declare const getInfoResultSchema: v.ObjectSchema<{
|
|
|
378
386
|
/**
|
|
379
387
|
* [WBIP](https://wbips.netlify.app/wbips/WBIP002) methods supported by the wallet.
|
|
380
388
|
*/
|
|
381
|
-
readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
389
|
+
readonly methods: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
382
390
|
/**
|
|
383
391
|
* List of WBIP standards supported by the wallet. Not currently used.
|
|
384
392
|
*/
|
|
@@ -387,7 +395,7 @@ declare const getInfoResultSchema: v.ObjectSchema<{
|
|
|
387
395
|
type GetInfoResult = v.InferOutput<typeof getInfoResultSchema>;
|
|
388
396
|
declare const getInfoRequestMessageSchema: v.ObjectSchema<{
|
|
389
397
|
readonly method: v.LiteralSchema<"getInfo", undefined>;
|
|
390
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
398
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
391
399
|
readonly id: v.StringSchema<undefined>;
|
|
392
400
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
393
401
|
}, undefined>;
|
|
@@ -403,7 +411,7 @@ declare const getAddressesParamsSchema: v.ObjectSchema<{
|
|
|
403
411
|
/**
|
|
404
412
|
* A message to be displayed to the user in the request prompt.
|
|
405
413
|
*/
|
|
406
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
414
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
407
415
|
}, undefined>;
|
|
408
416
|
type GetAddressesParams = v.InferOutput<typeof getAddressesParamsSchema>;
|
|
409
417
|
declare const getAddressesResultSchema: v.ObjectSchema<{
|
|
@@ -421,7 +429,10 @@ declare const getAddressesResultSchema: v.ObjectSchema<{
|
|
|
421
429
|
}, undefined>, undefined>;
|
|
422
430
|
readonly network: v.ObjectSchema<{
|
|
423
431
|
readonly bitcoin: v.ObjectSchema<{
|
|
424
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
432
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>; /**
|
|
433
|
+
* The purposes for which to generate addresses. See
|
|
434
|
+
* {@linkcode AddressPurpose} for available purposes.
|
|
435
|
+
*/
|
|
425
436
|
}, undefined>;
|
|
426
437
|
readonly stacks: v.ObjectSchema<{
|
|
427
438
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -440,7 +451,7 @@ declare const getAddressesRequestMessageSchema: v.ObjectSchema<{
|
|
|
440
451
|
/**
|
|
441
452
|
* A message to be displayed to the user in the request prompt.
|
|
442
453
|
*/
|
|
443
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
454
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
444
455
|
}, undefined>;
|
|
445
456
|
readonly id: v.StringSchema<undefined>;
|
|
446
457
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -464,7 +475,7 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
464
475
|
/**
|
|
465
476
|
* The protocol to use for signing the message.
|
|
466
477
|
*/
|
|
467
|
-
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>,
|
|
478
|
+
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
468
479
|
}, undefined>;
|
|
469
480
|
type SignMessageParams = v.InferOutput<typeof signMessageParamsSchema>;
|
|
470
481
|
declare const signMessageResultSchema: v.ObjectSchema<{
|
|
@@ -500,7 +511,7 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
500
511
|
/**
|
|
501
512
|
* The protocol to use for signing the message.
|
|
502
513
|
*/
|
|
503
|
-
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>,
|
|
514
|
+
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
504
515
|
}, undefined>;
|
|
505
516
|
readonly id: v.StringSchema<undefined>;
|
|
506
517
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -553,11 +564,11 @@ declare const signPsbtParamsSchema: v.ObjectSchema<{
|
|
|
553
564
|
* The inputs to sign.
|
|
554
565
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
555
566
|
*/
|
|
556
|
-
readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>,
|
|
567
|
+
readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, undefined>;
|
|
557
568
|
/**
|
|
558
569
|
* Whether to broadcast the transaction after signing.
|
|
559
570
|
**/
|
|
560
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
571
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
561
572
|
}, undefined>;
|
|
562
573
|
type SignPsbtParams = v.InferOutput<typeof signPsbtParamsSchema>;
|
|
563
574
|
declare const signPsbtResultSchema: v.ObjectSchema<{
|
|
@@ -569,7 +580,7 @@ declare const signPsbtResultSchema: v.ObjectSchema<{
|
|
|
569
580
|
* The transaction id as a hex-encoded string.
|
|
570
581
|
* This is only returned if the transaction was broadcast.
|
|
571
582
|
**/
|
|
572
|
-
readonly txid: v.OptionalSchema<v.StringSchema<undefined>,
|
|
583
|
+
readonly txid: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
573
584
|
}, undefined>;
|
|
574
585
|
type SignPsbtResult = v.InferOutput<typeof signPsbtResultSchema>;
|
|
575
586
|
declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
|
|
@@ -583,11 +594,11 @@ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
|
|
|
583
594
|
* The inputs to sign.
|
|
584
595
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
585
596
|
*/
|
|
586
|
-
readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>,
|
|
597
|
+
readonly signInputs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>, undefined>;
|
|
587
598
|
/**
|
|
588
599
|
* Whether to broadcast the transaction after signing.
|
|
589
600
|
**/
|
|
590
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
601
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
591
602
|
}, undefined>;
|
|
592
603
|
readonly id: v.StringSchema<undefined>;
|
|
593
604
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -604,7 +615,7 @@ declare const getAccountsParamsSchema: v.ObjectSchema<{
|
|
|
604
615
|
/**
|
|
605
616
|
* A message to be displayed to the user in the request prompt.
|
|
606
617
|
*/
|
|
607
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
618
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
608
619
|
}, undefined>;
|
|
609
620
|
type GetAccountsParams = v.InferOutput<typeof getAccountsParamsSchema>;
|
|
610
621
|
declare const getAccountsResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -628,7 +639,7 @@ declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
|
|
|
628
639
|
/**
|
|
629
640
|
* A message to be displayed to the user in the request prompt.
|
|
630
641
|
*/
|
|
631
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
642
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
632
643
|
}, undefined>;
|
|
633
644
|
readonly id: v.StringSchema<undefined>;
|
|
634
645
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -636,7 +647,7 @@ declare const getAccountsRequestMessageSchema: v.ObjectSchema<{
|
|
|
636
647
|
type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageSchema>;
|
|
637
648
|
type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
|
|
638
649
|
declare const getBalanceMethodName = "getBalance";
|
|
639
|
-
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
650
|
+
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
640
651
|
type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
|
|
641
652
|
declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
642
653
|
/**
|
|
@@ -663,7 +674,7 @@ declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
|
663
674
|
readonly method: v.LiteralSchema<"getBalance", undefined>;
|
|
664
675
|
readonly id: v.StringSchema<undefined>;
|
|
665
676
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
666
|
-
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>,
|
|
677
|
+
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
667
678
|
}, undefined>;
|
|
668
679
|
type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
|
|
669
680
|
type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
|
|
@@ -682,7 +693,7 @@ declare const getInscriptionsResultSchema: v.ObjectSchema<{
|
|
|
682
693
|
readonly inscriptionId: v.StringSchema<undefined>;
|
|
683
694
|
readonly inscriptionNumber: v.StringSchema<undefined>;
|
|
684
695
|
readonly address: v.StringSchema<undefined>;
|
|
685
|
-
readonly collectionName: v.OptionalSchema<v.StringSchema<undefined>,
|
|
696
|
+
readonly collectionName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
686
697
|
readonly postage: v.StringSchema<undefined>;
|
|
687
698
|
readonly contentLength: v.StringSchema<undefined>;
|
|
688
699
|
readonly contentType: v.StringSchema<undefined>;
|
|
@@ -816,29 +827,29 @@ type RunesEstimateRbfOrder = MethodParamsAndResult<RunesEstimateRbfOrderParams,
|
|
|
816
827
|
declare const runesEtchMethodName = "runes_etch";
|
|
817
828
|
declare const runesEtchParamsSchema: v.ObjectSchema<{
|
|
818
829
|
readonly runeName: v.StringSchema<undefined>;
|
|
819
|
-
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
820
|
-
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>,
|
|
821
|
-
readonly premine: v.OptionalSchema<v.StringSchema<undefined>,
|
|
830
|
+
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
831
|
+
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
832
|
+
readonly premine: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
822
833
|
readonly isMintable: v.BooleanSchema<undefined>;
|
|
823
|
-
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>,
|
|
834
|
+
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
824
835
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
825
836
|
readonly refundAddress: v.StringSchema<undefined>;
|
|
826
837
|
readonly feeRate: v.NumberSchema<undefined>;
|
|
827
|
-
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
828
|
-
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>,
|
|
838
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
839
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
829
840
|
readonly terms: v.OptionalSchema<v.ObjectSchema<{
|
|
830
841
|
readonly amount: v.StringSchema<undefined>;
|
|
831
842
|
readonly cap: v.StringSchema<undefined>;
|
|
832
|
-
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>,
|
|
833
|
-
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>,
|
|
834
|
-
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>,
|
|
835
|
-
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>,
|
|
836
|
-
}, undefined>,
|
|
843
|
+
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
844
|
+
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
845
|
+
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
846
|
+
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
847
|
+
}, undefined>, undefined>;
|
|
837
848
|
readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
|
|
838
849
|
readonly contentType: v.StringSchema<undefined>;
|
|
839
850
|
readonly contentBase64: v.StringSchema<undefined>;
|
|
840
|
-
}, undefined>,
|
|
841
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
851
|
+
}, undefined>, undefined>;
|
|
852
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
842
853
|
}, undefined>;
|
|
843
854
|
type RunesEtchParams = v.InferOutput<typeof runesEtchParamsSchema>;
|
|
844
855
|
declare const runesEtchResultSchema: v.ObjectSchema<{
|
|
@@ -851,29 +862,29 @@ declare const runesEtchRequestMessageSchema: v.ObjectSchema<{
|
|
|
851
862
|
readonly method: v.LiteralSchema<"runes_etch", undefined>;
|
|
852
863
|
readonly params: v.ObjectSchema<{
|
|
853
864
|
readonly runeName: v.StringSchema<undefined>;
|
|
854
|
-
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
855
|
-
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>,
|
|
856
|
-
readonly premine: v.OptionalSchema<v.StringSchema<undefined>,
|
|
865
|
+
readonly divisibility: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
866
|
+
readonly symbol: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
867
|
+
readonly premine: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
857
868
|
readonly isMintable: v.BooleanSchema<undefined>;
|
|
858
|
-
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>,
|
|
869
|
+
readonly delegateInscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
859
870
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
860
871
|
readonly refundAddress: v.StringSchema<undefined>;
|
|
861
872
|
readonly feeRate: v.NumberSchema<undefined>;
|
|
862
|
-
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
863
|
-
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>,
|
|
873
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
874
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
864
875
|
readonly terms: v.OptionalSchema<v.ObjectSchema<{
|
|
865
876
|
readonly amount: v.StringSchema<undefined>;
|
|
866
877
|
readonly cap: v.StringSchema<undefined>;
|
|
867
|
-
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>,
|
|
868
|
-
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>,
|
|
869
|
-
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>,
|
|
870
|
-
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>,
|
|
871
|
-
}, undefined>,
|
|
878
|
+
readonly heightStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
879
|
+
readonly heightEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
880
|
+
readonly offsetStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
881
|
+
readonly offsetEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
882
|
+
}, undefined>, undefined>;
|
|
872
883
|
readonly inscriptionDetails: v.OptionalSchema<v.ObjectSchema<{
|
|
873
884
|
readonly contentType: v.StringSchema<undefined>;
|
|
874
885
|
readonly contentBase64: v.StringSchema<undefined>;
|
|
875
|
-
}, undefined>,
|
|
876
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
886
|
+
}, undefined>, undefined>;
|
|
887
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
877
888
|
}, undefined>;
|
|
878
889
|
readonly id: v.StringSchema<undefined>;
|
|
879
890
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -882,7 +893,7 @@ type RunesEtchRequestMessage = v.InferOutput<typeof runesEtchRequestMessageSchem
|
|
|
882
893
|
type RunesEtch = MethodParamsAndResult<v.InferOutput<typeof runesEtchParamsSchema>, v.InferOutput<typeof runesEtchResultSchema>>;
|
|
883
894
|
|
|
884
895
|
declare const runesGetBalanceMethodName = "runes_getBalance";
|
|
885
|
-
declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
896
|
+
declare const runesGetBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
886
897
|
type RunesGetBalanceParams = v.InferOutput<typeof runesGetBalanceParamsSchema>;
|
|
887
898
|
declare const runesGetBalanceResultSchema: v.ObjectSchema<{
|
|
888
899
|
readonly balances: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -890,14 +901,14 @@ declare const runesGetBalanceResultSchema: v.ObjectSchema<{
|
|
|
890
901
|
readonly amount: v.StringSchema<undefined>;
|
|
891
902
|
readonly divisibility: v.NumberSchema<undefined>;
|
|
892
903
|
readonly symbol: v.StringSchema<undefined>;
|
|
893
|
-
readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>,
|
|
904
|
+
readonly inscriptionId: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
894
905
|
readonly spendableBalance: v.StringSchema<undefined>;
|
|
895
906
|
}, undefined>, undefined>;
|
|
896
907
|
}, undefined>;
|
|
897
908
|
type RunesGetBalanceResult = v.InferOutput<typeof runesGetBalanceResultSchema>;
|
|
898
909
|
declare const runesGetBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
899
910
|
readonly method: v.LiteralSchema<"runes_getBalance", undefined>;
|
|
900
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
911
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
901
912
|
readonly id: v.StringSchema<undefined>;
|
|
902
913
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
903
914
|
}, undefined>;
|
|
@@ -911,14 +922,14 @@ type RunesGetOrder = MethodParamsAndResult<RunesGetOrderParams, GetOrderResponse
|
|
|
911
922
|
|
|
912
923
|
declare const runesMintMethodName = "runes_mint";
|
|
913
924
|
declare const runesMintParamsSchema: v.ObjectSchema<{
|
|
914
|
-
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
915
|
-
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>,
|
|
925
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
926
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
916
927
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
917
928
|
readonly feeRate: v.NumberSchema<undefined>;
|
|
918
929
|
readonly refundAddress: v.StringSchema<undefined>;
|
|
919
930
|
readonly repeats: v.NumberSchema<undefined>;
|
|
920
931
|
readonly runeName: v.StringSchema<undefined>;
|
|
921
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
932
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
922
933
|
}, undefined>;
|
|
923
934
|
type RunesMintParams = v.InferOutput<typeof runesMintParamsSchema>;
|
|
924
935
|
declare const runesMintResultSchema: v.ObjectSchema<{
|
|
@@ -930,14 +941,14 @@ type RunesMintResult = v.InferOutput<typeof runesMintResultSchema>;
|
|
|
930
941
|
declare const runesMintRequestMessageSchema: v.ObjectSchema<{
|
|
931
942
|
readonly method: v.LiteralSchema<"runes_mint", undefined>;
|
|
932
943
|
readonly params: v.ObjectSchema<{
|
|
933
|
-
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
934
|
-
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>,
|
|
944
|
+
readonly appServiceFee: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
945
|
+
readonly appServiceFeeAddress: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
935
946
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
936
947
|
readonly feeRate: v.NumberSchema<undefined>;
|
|
937
948
|
readonly refundAddress: v.StringSchema<undefined>;
|
|
938
949
|
readonly repeats: v.NumberSchema<undefined>;
|
|
939
950
|
readonly runeName: v.StringSchema<undefined>;
|
|
940
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
951
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
941
952
|
}, undefined>;
|
|
942
953
|
readonly id: v.StringSchema<undefined>;
|
|
943
954
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1001,7 +1012,7 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
|
|
|
1001
1012
|
/**
|
|
1002
1013
|
* @deprecated in favor of `functionArgs` for @stacks/connect compatibility
|
|
1003
1014
|
*/
|
|
1004
|
-
readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1015
|
+
readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1005
1016
|
/**
|
|
1006
1017
|
* The function's arguments. The arguments are expected to be hex-encoded
|
|
1007
1018
|
* strings of Clarity values.
|
|
@@ -1016,15 +1027,15 @@ declare const stxCallContractParamsSchema: v.ObjectSchema<{
|
|
|
1016
1027
|
* const hexArgs = functionArgs.map(cvToHex);
|
|
1017
1028
|
* ```
|
|
1018
1029
|
*/
|
|
1019
|
-
readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1030
|
+
readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1020
1031
|
/**
|
|
1021
1032
|
* The post conditions to apply to the contract call.
|
|
1022
1033
|
*/
|
|
1023
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1034
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1024
1035
|
/**
|
|
1025
1036
|
* The mode to apply to the post conditions.
|
|
1026
1037
|
*/
|
|
1027
|
-
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>,
|
|
1038
|
+
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
|
|
1028
1039
|
}, undefined>;
|
|
1029
1040
|
type StxCallContractParams = v.InferOutput<typeof stxCallContractParamsSchema>;
|
|
1030
1041
|
declare const stxCallContractResultSchema: v.ObjectSchema<{
|
|
@@ -1057,7 +1068,7 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
|
|
|
1057
1068
|
/**
|
|
1058
1069
|
* @deprecated in favor of `functionArgs` for @stacks/connect compatibility
|
|
1059
1070
|
*/
|
|
1060
|
-
readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1071
|
+
readonly arguments: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1061
1072
|
/**
|
|
1062
1073
|
* The function's arguments. The arguments are expected to be hex-encoded
|
|
1063
1074
|
* strings of Clarity values.
|
|
@@ -1072,15 +1083,15 @@ declare const stxCallContractRequestMessageSchema: v.ObjectSchema<{
|
|
|
1072
1083
|
* const hexArgs = functionArgs.map(cvToHex);
|
|
1073
1084
|
* ```
|
|
1074
1085
|
*/
|
|
1075
|
-
readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1086
|
+
readonly functionArgs: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1076
1087
|
/**
|
|
1077
1088
|
* The post conditions to apply to the contract call.
|
|
1078
1089
|
*/
|
|
1079
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1090
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1080
1091
|
/**
|
|
1081
1092
|
* The mode to apply to the post conditions.
|
|
1082
1093
|
*/
|
|
1083
|
-
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>,
|
|
1094
|
+
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
|
|
1084
1095
|
}, undefined>;
|
|
1085
1096
|
readonly id: v.StringSchema<undefined>;
|
|
1086
1097
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1101,15 +1112,15 @@ declare const stxDeployContractParamsSchema: v.ObjectSchema<{
|
|
|
1101
1112
|
/**
|
|
1102
1113
|
* The version of the Clarity contract.
|
|
1103
1114
|
*/
|
|
1104
|
-
readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
1115
|
+
readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1105
1116
|
/**
|
|
1106
1117
|
* The post conditions to apply to the contract call.
|
|
1107
1118
|
*/
|
|
1108
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1119
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1109
1120
|
/**
|
|
1110
1121
|
* The mode to apply to the post conditions.
|
|
1111
1122
|
*/
|
|
1112
|
-
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>,
|
|
1123
|
+
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
|
|
1113
1124
|
}, undefined>;
|
|
1114
1125
|
type StxDeployContractParams = v.InferOutput<typeof stxDeployContractParamsSchema>;
|
|
1115
1126
|
declare const stxDeployContractResultSchema: v.ObjectSchema<{
|
|
@@ -1137,15 +1148,15 @@ declare const stxDeployContractRequestMessageSchema: v.ObjectSchema<{
|
|
|
1137
1148
|
/**
|
|
1138
1149
|
* The version of the Clarity contract.
|
|
1139
1150
|
*/
|
|
1140
|
-
readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
1151
|
+
readonly clarityVersion: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1141
1152
|
/**
|
|
1142
1153
|
* The post conditions to apply to the contract call.
|
|
1143
1154
|
*/
|
|
1144
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1155
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1145
1156
|
/**
|
|
1146
1157
|
* The mode to apply to the post conditions.
|
|
1147
1158
|
*/
|
|
1148
|
-
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>,
|
|
1159
|
+
readonly postConditionMode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"allow", undefined>, v.LiteralSchema<"deny", undefined>], undefined>, undefined>;
|
|
1149
1160
|
}, undefined>;
|
|
1150
1161
|
readonly id: v.StringSchema<undefined>;
|
|
1151
1162
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1154,7 +1165,7 @@ type StxDeployContractRequestMessage = v.InferOutput<typeof stxDeployContractReq
|
|
|
1154
1165
|
type StxDeployContract = MethodParamsAndResult<StxDeployContractParams, StxDeployContractResult>;
|
|
1155
1166
|
|
|
1156
1167
|
declare const stxGetAccountsMethodName = "stx_getAccounts";
|
|
1157
|
-
declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1168
|
+
declare const stxGetAccountsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1158
1169
|
type StxGetAccountsParams = v.InferOutput<typeof stxGetAccountsParamsSchema>;
|
|
1159
1170
|
declare const stxGetAccountsResultSchema: v.ObjectSchema<{
|
|
1160
1171
|
/**
|
|
@@ -1178,7 +1189,7 @@ declare const stxGetAccountsResultSchema: v.ObjectSchema<{
|
|
|
1178
1189
|
type StxGetAccountsResult = v.InferOutput<typeof stxGetAccountsResultSchema>;
|
|
1179
1190
|
declare const stxGetAccountsRequestMessageSchema: v.ObjectSchema<{
|
|
1180
1191
|
readonly method: v.LiteralSchema<"stx_getAccounts", undefined>;
|
|
1181
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1192
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1182
1193
|
readonly id: v.StringSchema<undefined>;
|
|
1183
1194
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1184
1195
|
}, undefined>;
|
|
@@ -1190,8 +1201,8 @@ declare const stxGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
|
1190
1201
|
/**
|
|
1191
1202
|
* A message to be displayed to the user in the request prompt.
|
|
1192
1203
|
*/
|
|
1193
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1194
|
-
}, undefined>,
|
|
1204
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1205
|
+
}, undefined>, undefined>;
|
|
1195
1206
|
type StxGetAddressesParams = v.InferOutput<typeof stxGetAddressesParamsSchema>;
|
|
1196
1207
|
declare const stxGetAddressesResultSchema: v.ObjectSchema<{
|
|
1197
1208
|
/**
|
|
@@ -1220,8 +1231,8 @@ declare const stxGetAddressesRequestMessageSchema: v.ObjectSchema<{
|
|
|
1220
1231
|
/**
|
|
1221
1232
|
* A message to be displayed to the user in the request prompt.
|
|
1222
1233
|
*/
|
|
1223
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1224
|
-
}, undefined>,
|
|
1234
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1235
|
+
}, undefined>, undefined>;
|
|
1225
1236
|
readonly id: v.StringSchema<undefined>;
|
|
1226
1237
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1227
1238
|
}, undefined>;
|
|
@@ -1274,7 +1285,7 @@ declare const stxSignStructuredMessageParamsSchema: v.ObjectSchema<{
|
|
|
1274
1285
|
/**
|
|
1275
1286
|
* The public key to sign the message with.
|
|
1276
1287
|
*/
|
|
1277
|
-
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1288
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1278
1289
|
}, undefined>;
|
|
1279
1290
|
type StxSignStructuredMessageParams = v.InferOutput<typeof stxSignStructuredMessageParamsSchema>;
|
|
1280
1291
|
declare const stxSignStructuredMessageResultSchema: v.ObjectSchema<{
|
|
@@ -1302,7 +1313,7 @@ declare const stxSignStructuredMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
1302
1313
|
/**
|
|
1303
1314
|
* The public key to sign the message with.
|
|
1304
1315
|
*/
|
|
1305
|
-
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1316
|
+
readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1306
1317
|
}, undefined>;
|
|
1307
1318
|
readonly id: v.StringSchema<undefined>;
|
|
1308
1319
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1320,11 +1331,11 @@ declare const stxSignTransactionParamsSchema: v.ObjectSchema<{
|
|
|
1320
1331
|
* The public key to sign the transaction with. The wallet may use any key
|
|
1321
1332
|
* when not provided.
|
|
1322
1333
|
*/
|
|
1323
|
-
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1334
|
+
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1324
1335
|
/**
|
|
1325
1336
|
* Whether to broadcast the transaction after signing. Defaults to `true`.
|
|
1326
1337
|
*/
|
|
1327
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1338
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1328
1339
|
}, undefined>;
|
|
1329
1340
|
type StxSignTransactionParams = v.InferOutput<typeof stxSignTransactionParamsSchema>;
|
|
1330
1341
|
declare const stxSignTransactionResultSchema: v.ObjectSchema<{
|
|
@@ -1345,11 +1356,11 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
|
|
|
1345
1356
|
* The public key to sign the transaction with. The wallet may use any key
|
|
1346
1357
|
* when not provided.
|
|
1347
1358
|
*/
|
|
1348
|
-
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1359
|
+
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1349
1360
|
/**
|
|
1350
1361
|
* Whether to broadcast the transaction after signing. Defaults to `true`.
|
|
1351
1362
|
*/
|
|
1352
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1363
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1353
1364
|
}, undefined>;
|
|
1354
1365
|
readonly id: v.StringSchema<undefined>;
|
|
1355
1366
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1362,12 +1373,12 @@ declare const stxSignTransactionsParamsSchema: v.ObjectSchema<{
|
|
|
1362
1373
|
/**
|
|
1363
1374
|
* The transactions to sign as hex-encoded strings.
|
|
1364
1375
|
*/
|
|
1365
|
-
readonly transactions: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1376
|
+
readonly transactions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1366
1377
|
/**
|
|
1367
1378
|
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1368
1379
|
* to `true`.
|
|
1369
1380
|
*/
|
|
1370
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1381
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1371
1382
|
}, undefined>;
|
|
1372
1383
|
type StxSignTransactionsParams = v.InferOutput<typeof stxSignTransactionsParamsSchema>;
|
|
1373
1384
|
declare const stxSignTransactionsResultSchema: v.ObjectSchema<{
|
|
@@ -1384,12 +1395,12 @@ declare const stxSignTransactionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
1384
1395
|
/**
|
|
1385
1396
|
* The transactions to sign as hex-encoded strings.
|
|
1386
1397
|
*/
|
|
1387
|
-
readonly transactions: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1398
|
+
readonly transactions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid hex-encoded Stacks transaction.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1388
1399
|
/**
|
|
1389
1400
|
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1390
1401
|
* to `true`.
|
|
1391
1402
|
*/
|
|
1392
|
-
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1403
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1393
1404
|
}, undefined>;
|
|
1394
1405
|
readonly id: v.StringSchema<undefined>;
|
|
1395
1406
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1419,15 +1430,15 @@ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
|
|
|
1419
1430
|
/**
|
|
1420
1431
|
* A string representing the memo.
|
|
1421
1432
|
*/
|
|
1422
|
-
readonly memo: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1433
|
+
readonly memo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1423
1434
|
/**
|
|
1424
1435
|
* Version of parameter format.
|
|
1425
1436
|
*/
|
|
1426
|
-
readonly version: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1437
|
+
readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1427
1438
|
/**
|
|
1428
1439
|
* The mode of the post conditions.
|
|
1429
1440
|
*/
|
|
1430
|
-
readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
1441
|
+
readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1431
1442
|
/**
|
|
1432
1443
|
* A hex-encoded string representing the post conditions.
|
|
1433
1444
|
*
|
|
@@ -1440,12 +1451,12 @@ declare const stxTransferStxParamsSchema: v.ObjectSchema<{
|
|
|
1440
1451
|
* const hexPostCondition = serializePostCondition(postCondition).toString('hex');
|
|
1441
1452
|
* ```
|
|
1442
1453
|
*/
|
|
1443
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1454
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1444
1455
|
/**
|
|
1445
1456
|
* The public key to sign the transaction with. The wallet may use any key
|
|
1446
1457
|
* when not provided.
|
|
1447
1458
|
*/
|
|
1448
|
-
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1459
|
+
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1449
1460
|
}, undefined>;
|
|
1450
1461
|
type StxTransferStxParams = v.InferOutput<typeof stxTransferStxParamsSchema>;
|
|
1451
1462
|
declare const stxTransferStxResultSchema: v.ObjectSchema<{
|
|
@@ -1482,15 +1493,15 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
1482
1493
|
/**
|
|
1483
1494
|
* A string representing the memo.
|
|
1484
1495
|
*/
|
|
1485
|
-
readonly memo: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1496
|
+
readonly memo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1486
1497
|
/**
|
|
1487
1498
|
* Version of parameter format.
|
|
1488
1499
|
*/
|
|
1489
|
-
readonly version: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1500
|
+
readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1490
1501
|
/**
|
|
1491
1502
|
* The mode of the post conditions.
|
|
1492
1503
|
*/
|
|
1493
|
-
readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>,
|
|
1504
|
+
readonly postConditionMode: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1494
1505
|
/**
|
|
1495
1506
|
* A hex-encoded string representing the post conditions.
|
|
1496
1507
|
*
|
|
@@ -1503,12 +1514,12 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
1503
1514
|
* const hexPostCondition = serializePostCondition(postCondition).toString('hex');
|
|
1504
1515
|
* ```
|
|
1505
1516
|
*/
|
|
1506
|
-
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>,
|
|
1517
|
+
readonly postConditions: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1507
1518
|
/**
|
|
1508
1519
|
* The public key to sign the transaction with. The wallet may use any key
|
|
1509
1520
|
* when not provided.
|
|
1510
1521
|
*/
|
|
1511
|
-
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>,
|
|
1522
|
+
readonly pubkey: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1512
1523
|
}, undefined>;
|
|
1513
1524
|
readonly id: v.StringSchema<undefined>;
|
|
1514
1525
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1517,17 +1528,17 @@ type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMe
|
|
|
1517
1528
|
type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
|
|
1518
1529
|
|
|
1519
1530
|
declare const accountActionsSchema: v.ObjectSchema<{
|
|
1520
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1531
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1521
1532
|
}, undefined>;
|
|
1522
1533
|
declare const walletActionsSchema: v.ObjectSchema<{
|
|
1523
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1534
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1524
1535
|
}, undefined>;
|
|
1525
1536
|
declare const accountPermissionSchema: v.ObjectSchema<{
|
|
1526
1537
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1527
1538
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1528
1539
|
readonly clientId: v.StringSchema<undefined>;
|
|
1529
1540
|
readonly actions: v.ObjectSchema<{
|
|
1530
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1541
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1531
1542
|
}, undefined>;
|
|
1532
1543
|
}, undefined>;
|
|
1533
1544
|
declare const walletPermissionSchema: v.ObjectSchema<{
|
|
@@ -1535,7 +1546,7 @@ declare const walletPermissionSchema: v.ObjectSchema<{
|
|
|
1535
1546
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1536
1547
|
readonly clientId: v.StringSchema<undefined>;
|
|
1537
1548
|
readonly actions: v.ObjectSchema<{
|
|
1538
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1549
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1539
1550
|
}, undefined>;
|
|
1540
1551
|
}, undefined>;
|
|
1541
1552
|
/**
|
|
@@ -1548,13 +1559,13 @@ declare const PermissionRequestParams: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
1548
1559
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1549
1560
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1550
1561
|
readonly actions: v.ObjectSchema<{
|
|
1551
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1562
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1552
1563
|
}, undefined>;
|
|
1553
1564
|
}, undefined>, v.ObjectSchema<{
|
|
1554
1565
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1555
1566
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1556
1567
|
readonly actions: v.ObjectSchema<{
|
|
1557
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1568
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1558
1569
|
}, undefined>;
|
|
1559
1570
|
}, undefined>], undefined>;
|
|
1560
1571
|
declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
@@ -1562,14 +1573,14 @@ declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
1562
1573
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1563
1574
|
readonly clientId: v.StringSchema<undefined>;
|
|
1564
1575
|
readonly actions: v.ObjectSchema<{
|
|
1565
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1576
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1566
1577
|
}, undefined>;
|
|
1567
1578
|
}, undefined>, v.ObjectSchema<{
|
|
1568
1579
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1569
1580
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1570
1581
|
readonly clientId: v.StringSchema<undefined>;
|
|
1571
1582
|
readonly actions: v.ObjectSchema<{
|
|
1572
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1583
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1573
1584
|
}, undefined>;
|
|
1574
1585
|
}, undefined>], undefined>;
|
|
1575
1586
|
type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
|
|
@@ -1578,15 +1589,15 @@ declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.Va
|
|
|
1578
1589
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1579
1590
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1580
1591
|
readonly actions: v.ObjectSchema<{
|
|
1581
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1592
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1582
1593
|
}, undefined>;
|
|
1583
1594
|
}, undefined>, v.ObjectSchema<{
|
|
1584
1595
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1585
1596
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1586
1597
|
readonly actions: v.ObjectSchema<{
|
|
1587
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1598
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1588
1599
|
}, undefined>;
|
|
1589
|
-
}, undefined>], undefined>, undefined>,
|
|
1600
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1590
1601
|
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
1591
1602
|
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
1592
1603
|
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
@@ -1596,88 +1607,88 @@ declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
1596
1607
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1597
1608
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1598
1609
|
readonly actions: v.ObjectSchema<{
|
|
1599
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1610
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1600
1611
|
}, undefined>;
|
|
1601
1612
|
}, undefined>, v.ObjectSchema<{
|
|
1602
1613
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1603
1614
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1604
1615
|
readonly actions: v.ObjectSchema<{
|
|
1605
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1616
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1606
1617
|
}, undefined>;
|
|
1607
|
-
}, undefined>], undefined>, undefined>,
|
|
1618
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1608
1619
|
readonly id: v.StringSchema<undefined>;
|
|
1609
1620
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1610
1621
|
}, undefined>;
|
|
1611
1622
|
type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
|
|
1612
1623
|
type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
|
|
1613
1624
|
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
1614
|
-
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1625
|
+
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1615
1626
|
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
1616
|
-
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1627
|
+
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1617
1628
|
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
1618
1629
|
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1619
1630
|
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
1620
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1631
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1621
1632
|
readonly id: v.StringSchema<undefined>;
|
|
1622
1633
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1623
1634
|
}, undefined>;
|
|
1624
1635
|
type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
|
|
1625
1636
|
type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
|
|
1626
1637
|
declare const disconnectMethodName = "wallet_disconnect";
|
|
1627
|
-
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1638
|
+
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1628
1639
|
type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
|
|
1629
|
-
declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1640
|
+
declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1630
1641
|
type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
|
|
1631
1642
|
declare const disconnectRequestMessageSchema: v.ObjectSchema<{
|
|
1632
1643
|
readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
|
|
1633
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1644
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1634
1645
|
readonly id: v.StringSchema<undefined>;
|
|
1635
1646
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1636
1647
|
}, undefined>;
|
|
1637
1648
|
type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
|
|
1638
1649
|
type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
|
|
1639
1650
|
declare const getWalletTypeMethodName = "wallet_getWalletType";
|
|
1640
|
-
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1651
|
+
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1641
1652
|
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
1642
1653
|
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
1643
1654
|
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
1644
1655
|
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
1645
1656
|
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
1646
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1657
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1647
1658
|
readonly id: v.StringSchema<undefined>;
|
|
1648
1659
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1649
1660
|
}, undefined>;
|
|
1650
1661
|
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
1651
1662
|
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
1652
1663
|
declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
|
|
1653
|
-
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1664
|
+
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1654
1665
|
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
1655
1666
|
declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1656
1667
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1657
1668
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1658
1669
|
readonly clientId: v.StringSchema<undefined>;
|
|
1659
1670
|
readonly actions: v.ObjectSchema<{
|
|
1660
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1671
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1661
1672
|
}, undefined>;
|
|
1662
1673
|
}, undefined>, v.ObjectSchema<{
|
|
1663
1674
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1664
1675
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1665
1676
|
readonly clientId: v.StringSchema<undefined>;
|
|
1666
1677
|
readonly actions: v.ObjectSchema<{
|
|
1667
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1678
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1668
1679
|
}, undefined>;
|
|
1669
1680
|
}, undefined>], undefined>, undefined>;
|
|
1670
1681
|
type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
|
|
1671
1682
|
declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1672
1683
|
readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
1673
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1684
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1674
1685
|
readonly id: v.StringSchema<undefined>;
|
|
1675
1686
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1676
1687
|
}, undefined>;
|
|
1677
1688
|
type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
|
|
1678
1689
|
type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
|
|
1679
1690
|
declare const getNetworkMethodName = "wallet_getNetwork";
|
|
1680
|
-
declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1691
|
+
declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1681
1692
|
type GetNetworkParams = v.InferOutput<typeof getNetworkParamsSchema>;
|
|
1682
1693
|
declare const getNetworkResultSchema: v.ObjectSchema<{
|
|
1683
1694
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -1690,7 +1701,7 @@ declare const getNetworkResultSchema: v.ObjectSchema<{
|
|
|
1690
1701
|
type GetNetworkResult = v.InferOutput<typeof getNetworkResultSchema>;
|
|
1691
1702
|
declare const getNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
1692
1703
|
readonly method: v.LiteralSchema<"wallet_getNetwork", undefined>;
|
|
1693
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1704
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1694
1705
|
readonly id: v.StringSchema<undefined>;
|
|
1695
1706
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1696
1707
|
}, undefined>;
|
|
@@ -1701,7 +1712,7 @@ declare const changeNetworkParamsSchema: v.ObjectSchema<{
|
|
|
1701
1712
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1702
1713
|
}, undefined>;
|
|
1703
1714
|
type ChangeNetworkParams = v.InferOutput<typeof changeNetworkParamsSchema>;
|
|
1704
|
-
declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1715
|
+
declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1705
1716
|
type ChangeNetworkResult = v.InferOutput<typeof changeNetworkResultSchema>;
|
|
1706
1717
|
declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
1707
1718
|
readonly method: v.LiteralSchema<"wallet_changeNetwork", undefined>;
|
|
@@ -1714,7 +1725,7 @@ declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
|
1714
1725
|
type ChangeNetworkRequestMessage = v.InferOutput<typeof changeNetworkRequestMessageSchema>;
|
|
1715
1726
|
type ChangeNetwork = MethodParamsAndResult<ChangeNetworkParams, ChangeNetworkResult>;
|
|
1716
1727
|
declare const getAccountMethodName = "wallet_getAccount";
|
|
1717
|
-
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>,
|
|
1728
|
+
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1718
1729
|
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
1719
1730
|
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
1720
1731
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1738,7 +1749,7 @@ declare const getAccountResultSchema: v.ObjectSchema<{
|
|
|
1738
1749
|
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
1739
1750
|
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
1740
1751
|
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
1741
|
-
readonly params: v.NullishSchema<v.NullSchema<undefined>,
|
|
1752
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1742
1753
|
readonly id: v.StringSchema<undefined>;
|
|
1743
1754
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1744
1755
|
}, undefined>;
|
|
@@ -1750,19 +1761,19 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
|
1750
1761
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1751
1762
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1752
1763
|
readonly actions: v.ObjectSchema<{
|
|
1753
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1764
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1754
1765
|
}, undefined>;
|
|
1755
1766
|
}, undefined>, v.ObjectSchema<{
|
|
1756
1767
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1757
1768
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1758
1769
|
readonly actions: v.ObjectSchema<{
|
|
1759
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1770
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1760
1771
|
}, undefined>;
|
|
1761
|
-
}, undefined>], undefined>, undefined>,
|
|
1762
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>,
|
|
1763
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>,
|
|
1764
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
1765
|
-
}, undefined>,
|
|
1772
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1773
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
1774
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
1775
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
1776
|
+
}, undefined>, undefined>;
|
|
1766
1777
|
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
1767
1778
|
declare const connectResultSchema: v.ObjectSchema<{
|
|
1768
1779
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1791,24 +1802,77 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
|
1791
1802
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1792
1803
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1793
1804
|
readonly actions: v.ObjectSchema<{
|
|
1794
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1805
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1795
1806
|
}, undefined>;
|
|
1796
1807
|
}, undefined>, v.ObjectSchema<{
|
|
1797
1808
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1798
1809
|
readonly resourceId: v.StringSchema<undefined>;
|
|
1799
1810
|
readonly actions: v.ObjectSchema<{
|
|
1800
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>,
|
|
1811
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1801
1812
|
}, undefined>;
|
|
1802
|
-
}, undefined>], undefined>, undefined>,
|
|
1803
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>,
|
|
1804
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>,
|
|
1805
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>,
|
|
1806
|
-
}, undefined>,
|
|
1813
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1814
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
1815
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
1816
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
1817
|
+
}, undefined>, undefined>;
|
|
1807
1818
|
readonly id: v.StringSchema<undefined>;
|
|
1808
1819
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1809
1820
|
}, undefined>;
|
|
1810
1821
|
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
1811
1822
|
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
1823
|
+
declare const addNetworkMethodName = "wallet_addNetwork";
|
|
1824
|
+
declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
1825
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
1826
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1827
|
+
readonly name: v.StringSchema<undefined>;
|
|
1828
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1829
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1830
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1831
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1832
|
+
}, undefined>, v.ObjectSchema<{
|
|
1833
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
1834
|
+
readonly name: v.StringSchema<undefined>;
|
|
1835
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1836
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1837
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1838
|
+
}, undefined>, v.ObjectSchema<{
|
|
1839
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
1840
|
+
readonly name: v.StringSchema<undefined>;
|
|
1841
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
1842
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1843
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1844
|
+
}, undefined>], undefined>;
|
|
1845
|
+
type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
|
|
1846
|
+
declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
1847
|
+
readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
|
|
1848
|
+
readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
1849
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
1850
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
1851
|
+
readonly name: v.StringSchema<undefined>;
|
|
1852
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1853
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1854
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1855
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1856
|
+
}, undefined>, v.ObjectSchema<{
|
|
1857
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
1858
|
+
readonly name: v.StringSchema<undefined>;
|
|
1859
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
1860
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1861
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1862
|
+
}, undefined>, v.ObjectSchema<{
|
|
1863
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
1864
|
+
readonly name: v.StringSchema<undefined>;
|
|
1865
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
1866
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
1867
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1868
|
+
}, undefined>], undefined>;
|
|
1869
|
+
readonly id: v.StringSchema<undefined>;
|
|
1870
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1871
|
+
}, undefined>;
|
|
1872
|
+
type AddNetworkRequestMessage = v.InferOutput<typeof addNetworkRequestMessageSchema>;
|
|
1873
|
+
declare const addNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
1874
|
+
type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
|
|
1875
|
+
type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
|
|
1812
1876
|
|
|
1813
1877
|
declare const walletTypes: readonly ["software", "ledger", "keystone"];
|
|
1814
1878
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -1854,15 +1918,16 @@ interface OrdinalsRequests {
|
|
|
1854
1918
|
}
|
|
1855
1919
|
type OrdinalsRequestMethod = keyof OrdinalsRequests;
|
|
1856
1920
|
interface WalletRequests {
|
|
1921
|
+
wallet_addNetwork: AddNetwork;
|
|
1922
|
+
wallet_changeNetwork: ChangeNetwork;
|
|
1857
1923
|
wallet_connect: Connect;
|
|
1858
1924
|
wallet_disconnect: Disconnect;
|
|
1859
1925
|
wallet_getAccount: GetAccount;
|
|
1860
1926
|
wallet_getCurrentPermissions: GetCurrentPermissions;
|
|
1927
|
+
wallet_getNetwork: GetNetwork;
|
|
1861
1928
|
wallet_getWalletType: GetWalletType;
|
|
1862
1929
|
wallet_renouncePermissions: RenouncePermissions;
|
|
1863
1930
|
wallet_requestPermissions: RequestPermissions;
|
|
1864
|
-
wallet_getNetwork: GetNetwork;
|
|
1865
|
-
wallet_changeNetwork: ChangeNetwork;
|
|
1866
1931
|
}
|
|
1867
1932
|
type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
1868
1933
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -1895,4 +1960,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1895
1960
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1896
1961
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1897
1962
|
|
|
1898
|
-
export { type AccountChangeEvent, type AddListener, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, 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 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, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type 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, addressSchema, 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 };
|
|
1963
|
+
export { 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 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 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, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, 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, 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 };
|