@sats-connect/core 0.18.1-2baa4e8 → 0.18.2-05c6f1b
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 +2448 -76
- package/dist/index.mjs +56 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -312,6 +312,9 @@ declare const unlockDefinitionSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
312
312
|
type UnlockDefinition = v.InferOutput<typeof unlockDefinitionSchema>;
|
|
313
313
|
declare const addressSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
314
314
|
readonly address: v.StringSchema<undefined>;
|
|
315
|
+
/**
|
|
316
|
+
* Empty string for multisig (vault) Stacks addresses, which have no single public key.
|
|
317
|
+
*/
|
|
315
318
|
readonly publicKey: v.StringSchema<undefined>;
|
|
316
319
|
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
317
320
|
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
@@ -341,6 +344,15 @@ declare const addressSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
341
344
|
controlBlock: string;
|
|
342
345
|
}[], 1, undefined>]>;
|
|
343
346
|
}, undefined>], undefined>, undefined>;
|
|
347
|
+
/**
|
|
348
|
+
* Signer set of a multisig Stacks address. Only present on Stacks-purpose entries from
|
|
349
|
+
* wallets that support it; older wallets omit it, so fall back to `stx_getAccounts`.
|
|
350
|
+
*/
|
|
351
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
352
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
353
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
354
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
355
|
+
}, undefined>, undefined>;
|
|
344
356
|
}, undefined>, v.CheckAction<{
|
|
345
357
|
address: string;
|
|
346
358
|
publicKey: string;
|
|
@@ -366,6 +378,11 @@ declare const addressSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
366
378
|
controlBlock: string;
|
|
367
379
|
}[];
|
|
368
380
|
} | undefined;
|
|
381
|
+
stacksMultisig?: {
|
|
382
|
+
hashMode: "P2SHNonSequential";
|
|
383
|
+
threshold: number;
|
|
384
|
+
publicKeys: string[];
|
|
385
|
+
} | undefined;
|
|
369
386
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
370
387
|
address: string;
|
|
371
388
|
publicKey: string;
|
|
@@ -391,7 +408,42 @@ declare const addressSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
391
408
|
controlBlock: string;
|
|
392
409
|
}[];
|
|
393
410
|
} | undefined;
|
|
394
|
-
|
|
411
|
+
stacksMultisig?: {
|
|
412
|
+
hashMode: "P2SHNonSequential";
|
|
413
|
+
threshold: number;
|
|
414
|
+
publicKeys: string[];
|
|
415
|
+
} | undefined;
|
|
416
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
417
|
+
address: string;
|
|
418
|
+
publicKey: string;
|
|
419
|
+
purpose: AddressPurpose;
|
|
420
|
+
addressType: AddressType;
|
|
421
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
422
|
+
scriptPubKey?: string | undefined;
|
|
423
|
+
unlockDefinition?: {
|
|
424
|
+
type: "p2wpkh";
|
|
425
|
+
} | {
|
|
426
|
+
type: "p2sh-p2wpkh";
|
|
427
|
+
redeemScript: string;
|
|
428
|
+
} | {
|
|
429
|
+
type: "p2tr-key-path";
|
|
430
|
+
tapInternalKey: string;
|
|
431
|
+
} | {
|
|
432
|
+
type: "p2wsh";
|
|
433
|
+
witnessScript: string;
|
|
434
|
+
} | {
|
|
435
|
+
type: "p2tr-script-path";
|
|
436
|
+
tapLeafScript: {
|
|
437
|
+
script: string;
|
|
438
|
+
controlBlock: string;
|
|
439
|
+
}[];
|
|
440
|
+
} | undefined;
|
|
441
|
+
stacksMultisig?: {
|
|
442
|
+
hashMode: "P2SHNonSequential";
|
|
443
|
+
threshold: number;
|
|
444
|
+
publicKeys: string[];
|
|
445
|
+
} | undefined;
|
|
446
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>;
|
|
395
447
|
type Address = v.InferOutput<typeof addressSchema>;
|
|
396
448
|
interface GetAddressResponse {
|
|
397
449
|
addresses: Address[];
|
|
@@ -467,6 +519,11 @@ declare const bitcoinGetAccountsResultSchema: v.ArraySchema<v.SchemaWithPipe<rea
|
|
|
467
519
|
controlBlock: string;
|
|
468
520
|
}[], 1, undefined>]>;
|
|
469
521
|
}, undefined>], undefined>, undefined>;
|
|
522
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
523
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
524
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
525
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
526
|
+
}, undefined>, undefined>;
|
|
470
527
|
}, undefined>, v.CheckAction<{
|
|
471
528
|
address: string;
|
|
472
529
|
publicKey: string;
|
|
@@ -492,6 +549,11 @@ declare const bitcoinGetAccountsResultSchema: v.ArraySchema<v.SchemaWithPipe<rea
|
|
|
492
549
|
controlBlock: string;
|
|
493
550
|
}[];
|
|
494
551
|
} | undefined;
|
|
552
|
+
stacksMultisig?: {
|
|
553
|
+
hashMode: "P2SHNonSequential";
|
|
554
|
+
threshold: number;
|
|
555
|
+
publicKeys: string[];
|
|
556
|
+
} | undefined;
|
|
495
557
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
496
558
|
address: string;
|
|
497
559
|
publicKey: string;
|
|
@@ -517,7 +579,42 @@ declare const bitcoinGetAccountsResultSchema: v.ArraySchema<v.SchemaWithPipe<rea
|
|
|
517
579
|
controlBlock: string;
|
|
518
580
|
}[];
|
|
519
581
|
} | undefined;
|
|
520
|
-
|
|
582
|
+
stacksMultisig?: {
|
|
583
|
+
hashMode: "P2SHNonSequential";
|
|
584
|
+
threshold: number;
|
|
585
|
+
publicKeys: string[];
|
|
586
|
+
} | undefined;
|
|
587
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
588
|
+
address: string;
|
|
589
|
+
publicKey: string;
|
|
590
|
+
purpose: AddressPurpose;
|
|
591
|
+
addressType: AddressType;
|
|
592
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
593
|
+
scriptPubKey?: string | undefined;
|
|
594
|
+
unlockDefinition?: {
|
|
595
|
+
type: "p2wpkh";
|
|
596
|
+
} | {
|
|
597
|
+
type: "p2sh-p2wpkh";
|
|
598
|
+
redeemScript: string;
|
|
599
|
+
} | {
|
|
600
|
+
type: "p2tr-key-path";
|
|
601
|
+
tapInternalKey: string;
|
|
602
|
+
} | {
|
|
603
|
+
type: "p2wsh";
|
|
604
|
+
witnessScript: string;
|
|
605
|
+
} | {
|
|
606
|
+
type: "p2tr-script-path";
|
|
607
|
+
tapLeafScript: {
|
|
608
|
+
script: string;
|
|
609
|
+
controlBlock: string;
|
|
610
|
+
}[];
|
|
611
|
+
} | undefined;
|
|
612
|
+
stacksMultisig?: {
|
|
613
|
+
hashMode: "P2SHNonSequential";
|
|
614
|
+
threshold: number;
|
|
615
|
+
publicKeys: string[];
|
|
616
|
+
} | undefined;
|
|
617
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
521
618
|
type BitcoinGetAccountsResult = v.InferOutput<typeof bitcoinGetAccountsResultSchema>;
|
|
522
619
|
declare const bitcoinGetAccountsSuccessResponseSchema: v.ObjectSchema<{
|
|
523
620
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -552,6 +649,11 @@ declare const bitcoinGetAccountsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
552
649
|
controlBlock: string;
|
|
553
650
|
}[], 1, undefined>]>;
|
|
554
651
|
}, undefined>], undefined>, undefined>;
|
|
652
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
653
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
654
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
655
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
656
|
+
}, undefined>, undefined>;
|
|
555
657
|
}, undefined>, v.CheckAction<{
|
|
556
658
|
address: string;
|
|
557
659
|
publicKey: string;
|
|
@@ -577,6 +679,11 @@ declare const bitcoinGetAccountsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
577
679
|
controlBlock: string;
|
|
578
680
|
}[];
|
|
579
681
|
} | undefined;
|
|
682
|
+
stacksMultisig?: {
|
|
683
|
+
hashMode: "P2SHNonSequential";
|
|
684
|
+
threshold: number;
|
|
685
|
+
publicKeys: string[];
|
|
686
|
+
} | undefined;
|
|
580
687
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
581
688
|
address: string;
|
|
582
689
|
publicKey: string;
|
|
@@ -602,7 +709,42 @@ declare const bitcoinGetAccountsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
602
709
|
controlBlock: string;
|
|
603
710
|
}[];
|
|
604
711
|
} | undefined;
|
|
605
|
-
|
|
712
|
+
stacksMultisig?: {
|
|
713
|
+
hashMode: "P2SHNonSequential";
|
|
714
|
+
threshold: number;
|
|
715
|
+
publicKeys: string[];
|
|
716
|
+
} | undefined;
|
|
717
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
718
|
+
address: string;
|
|
719
|
+
publicKey: string;
|
|
720
|
+
purpose: AddressPurpose;
|
|
721
|
+
addressType: AddressType;
|
|
722
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
723
|
+
scriptPubKey?: string | undefined;
|
|
724
|
+
unlockDefinition?: {
|
|
725
|
+
type: "p2wpkh";
|
|
726
|
+
} | {
|
|
727
|
+
type: "p2sh-p2wpkh";
|
|
728
|
+
redeemScript: string;
|
|
729
|
+
} | {
|
|
730
|
+
type: "p2tr-key-path";
|
|
731
|
+
tapInternalKey: string;
|
|
732
|
+
} | {
|
|
733
|
+
type: "p2wsh";
|
|
734
|
+
witnessScript: string;
|
|
735
|
+
} | {
|
|
736
|
+
type: "p2tr-script-path";
|
|
737
|
+
tapLeafScript: {
|
|
738
|
+
script: string;
|
|
739
|
+
controlBlock: string;
|
|
740
|
+
}[];
|
|
741
|
+
} | undefined;
|
|
742
|
+
stacksMultisig?: {
|
|
743
|
+
hashMode: "P2SHNonSequential";
|
|
744
|
+
threshold: number;
|
|
745
|
+
publicKeys: string[];
|
|
746
|
+
} | undefined;
|
|
747
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
606
748
|
readonly '~sats-connect-method': v.LiteralSchema<"getAccounts", undefined>;
|
|
607
749
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
608
750
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -682,6 +824,11 @@ declare const bitcoinGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
682
824
|
controlBlock: string;
|
|
683
825
|
}[], 1, undefined>]>;
|
|
684
826
|
}, undefined>], undefined>, undefined>;
|
|
827
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
828
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
829
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
830
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
831
|
+
}, undefined>, undefined>;
|
|
685
832
|
}, undefined>, v.CheckAction<{
|
|
686
833
|
address: string;
|
|
687
834
|
publicKey: string;
|
|
@@ -707,6 +854,11 @@ declare const bitcoinGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
707
854
|
controlBlock: string;
|
|
708
855
|
}[];
|
|
709
856
|
} | undefined;
|
|
857
|
+
stacksMultisig?: {
|
|
858
|
+
hashMode: "P2SHNonSequential";
|
|
859
|
+
threshold: number;
|
|
860
|
+
publicKeys: string[];
|
|
861
|
+
} | undefined;
|
|
710
862
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
711
863
|
address: string;
|
|
712
864
|
publicKey: string;
|
|
@@ -732,7 +884,42 @@ declare const bitcoinGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
732
884
|
controlBlock: string;
|
|
733
885
|
}[];
|
|
734
886
|
} | undefined;
|
|
735
|
-
|
|
887
|
+
stacksMultisig?: {
|
|
888
|
+
hashMode: "P2SHNonSequential";
|
|
889
|
+
threshold: number;
|
|
890
|
+
publicKeys: string[];
|
|
891
|
+
} | undefined;
|
|
892
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
893
|
+
address: string;
|
|
894
|
+
publicKey: string;
|
|
895
|
+
purpose: AddressPurpose;
|
|
896
|
+
addressType: AddressType;
|
|
897
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
898
|
+
scriptPubKey?: string | undefined;
|
|
899
|
+
unlockDefinition?: {
|
|
900
|
+
type: "p2wpkh";
|
|
901
|
+
} | {
|
|
902
|
+
type: "p2sh-p2wpkh";
|
|
903
|
+
redeemScript: string;
|
|
904
|
+
} | {
|
|
905
|
+
type: "p2tr-key-path";
|
|
906
|
+
tapInternalKey: string;
|
|
907
|
+
} | {
|
|
908
|
+
type: "p2wsh";
|
|
909
|
+
witnessScript: string;
|
|
910
|
+
} | {
|
|
911
|
+
type: "p2tr-script-path";
|
|
912
|
+
tapLeafScript: {
|
|
913
|
+
script: string;
|
|
914
|
+
controlBlock: string;
|
|
915
|
+
}[];
|
|
916
|
+
} | undefined;
|
|
917
|
+
stacksMultisig?: {
|
|
918
|
+
hashMode: "P2SHNonSequential";
|
|
919
|
+
threshold: number;
|
|
920
|
+
publicKeys: string[];
|
|
921
|
+
} | undefined;
|
|
922
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
736
923
|
readonly network: v.ObjectSchema<{
|
|
737
924
|
readonly bitcoin: v.ObjectSchema<{
|
|
738
925
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -783,6 +970,11 @@ declare const bitcoinGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
783
970
|
controlBlock: string;
|
|
784
971
|
}[], 1, undefined>]>;
|
|
785
972
|
}, undefined>], undefined>, undefined>;
|
|
973
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
974
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
975
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
976
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
977
|
+
}, undefined>, undefined>;
|
|
786
978
|
}, undefined>, v.CheckAction<{
|
|
787
979
|
address: string;
|
|
788
980
|
publicKey: string;
|
|
@@ -808,6 +1000,11 @@ declare const bitcoinGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
808
1000
|
controlBlock: string;
|
|
809
1001
|
}[];
|
|
810
1002
|
} | undefined;
|
|
1003
|
+
stacksMultisig?: {
|
|
1004
|
+
hashMode: "P2SHNonSequential";
|
|
1005
|
+
threshold: number;
|
|
1006
|
+
publicKeys: string[];
|
|
1007
|
+
} | undefined;
|
|
811
1008
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
812
1009
|
address: string;
|
|
813
1010
|
publicKey: string;
|
|
@@ -833,7 +1030,42 @@ declare const bitcoinGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
833
1030
|
controlBlock: string;
|
|
834
1031
|
}[];
|
|
835
1032
|
} | undefined;
|
|
836
|
-
|
|
1033
|
+
stacksMultisig?: {
|
|
1034
|
+
hashMode: "P2SHNonSequential";
|
|
1035
|
+
threshold: number;
|
|
1036
|
+
publicKeys: string[];
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
1039
|
+
address: string;
|
|
1040
|
+
publicKey: string;
|
|
1041
|
+
purpose: AddressPurpose;
|
|
1042
|
+
addressType: AddressType;
|
|
1043
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
1044
|
+
scriptPubKey?: string | undefined;
|
|
1045
|
+
unlockDefinition?: {
|
|
1046
|
+
type: "p2wpkh";
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "p2sh-p2wpkh";
|
|
1049
|
+
redeemScript: string;
|
|
1050
|
+
} | {
|
|
1051
|
+
type: "p2tr-key-path";
|
|
1052
|
+
tapInternalKey: string;
|
|
1053
|
+
} | {
|
|
1054
|
+
type: "p2wsh";
|
|
1055
|
+
witnessScript: string;
|
|
1056
|
+
} | {
|
|
1057
|
+
type: "p2tr-script-path";
|
|
1058
|
+
tapLeafScript: {
|
|
1059
|
+
script: string;
|
|
1060
|
+
controlBlock: string;
|
|
1061
|
+
}[];
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
stacksMultisig?: {
|
|
1064
|
+
hashMode: "P2SHNonSequential";
|
|
1065
|
+
threshold: number;
|
|
1066
|
+
publicKeys: string[];
|
|
1067
|
+
} | undefined;
|
|
1068
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
837
1069
|
readonly network: v.ObjectSchema<{
|
|
838
1070
|
readonly bitcoin: v.ObjectSchema<{
|
|
839
1071
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -925,6 +1157,11 @@ declare const bitcoinGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
925
1157
|
controlBlock: string;
|
|
926
1158
|
}[], 1, undefined>]>;
|
|
927
1159
|
}, undefined>], undefined>, undefined>;
|
|
1160
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
1161
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
1162
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1163
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1164
|
+
}, undefined>, undefined>;
|
|
928
1165
|
}, undefined>, v.CheckAction<{
|
|
929
1166
|
address: string;
|
|
930
1167
|
publicKey: string;
|
|
@@ -950,6 +1187,11 @@ declare const bitcoinGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
950
1187
|
controlBlock: string;
|
|
951
1188
|
}[];
|
|
952
1189
|
} | undefined;
|
|
1190
|
+
stacksMultisig?: {
|
|
1191
|
+
hashMode: "P2SHNonSequential";
|
|
1192
|
+
threshold: number;
|
|
1193
|
+
publicKeys: string[];
|
|
1194
|
+
} | undefined;
|
|
953
1195
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
954
1196
|
address: string;
|
|
955
1197
|
publicKey: string;
|
|
@@ -975,7 +1217,42 @@ declare const bitcoinGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
975
1217
|
controlBlock: string;
|
|
976
1218
|
}[];
|
|
977
1219
|
} | undefined;
|
|
978
|
-
|
|
1220
|
+
stacksMultisig?: {
|
|
1221
|
+
hashMode: "P2SHNonSequential";
|
|
1222
|
+
threshold: number;
|
|
1223
|
+
publicKeys: string[];
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
1226
|
+
address: string;
|
|
1227
|
+
publicKey: string;
|
|
1228
|
+
purpose: AddressPurpose;
|
|
1229
|
+
addressType: AddressType;
|
|
1230
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
1231
|
+
scriptPubKey?: string | undefined;
|
|
1232
|
+
unlockDefinition?: {
|
|
1233
|
+
type: "p2wpkh";
|
|
1234
|
+
} | {
|
|
1235
|
+
type: "p2sh-p2wpkh";
|
|
1236
|
+
redeemScript: string;
|
|
1237
|
+
} | {
|
|
1238
|
+
type: "p2tr-key-path";
|
|
1239
|
+
tapInternalKey: string;
|
|
1240
|
+
} | {
|
|
1241
|
+
type: "p2wsh";
|
|
1242
|
+
witnessScript: string;
|
|
1243
|
+
} | {
|
|
1244
|
+
type: "p2tr-script-path";
|
|
1245
|
+
tapLeafScript: {
|
|
1246
|
+
script: string;
|
|
1247
|
+
controlBlock: string;
|
|
1248
|
+
}[];
|
|
1249
|
+
} | undefined;
|
|
1250
|
+
stacksMultisig?: {
|
|
1251
|
+
hashMode: "P2SHNonSequential";
|
|
1252
|
+
threshold: number;
|
|
1253
|
+
publicKeys: string[];
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
979
1256
|
readonly networks: v.ObjectSchema<{
|
|
980
1257
|
readonly active: v.ObjectSchema<{
|
|
981
1258
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -1152,6 +1429,11 @@ declare const bitcoinGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
1152
1429
|
controlBlock: string;
|
|
1153
1430
|
}[], 1, undefined>]>;
|
|
1154
1431
|
}, undefined>], undefined>, undefined>;
|
|
1432
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
1433
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
1434
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1435
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1436
|
+
}, undefined>, undefined>;
|
|
1155
1437
|
}, undefined>, v.CheckAction<{
|
|
1156
1438
|
address: string;
|
|
1157
1439
|
publicKey: string;
|
|
@@ -1177,6 +1459,11 @@ declare const bitcoinGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
1177
1459
|
controlBlock: string;
|
|
1178
1460
|
}[];
|
|
1179
1461
|
} | undefined;
|
|
1462
|
+
stacksMultisig?: {
|
|
1463
|
+
hashMode: "P2SHNonSequential";
|
|
1464
|
+
threshold: number;
|
|
1465
|
+
publicKeys: string[];
|
|
1466
|
+
} | undefined;
|
|
1180
1467
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
1181
1468
|
address: string;
|
|
1182
1469
|
publicKey: string;
|
|
@@ -1202,7 +1489,42 @@ declare const bitcoinGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
1202
1489
|
controlBlock: string;
|
|
1203
1490
|
}[];
|
|
1204
1491
|
} | undefined;
|
|
1205
|
-
|
|
1492
|
+
stacksMultisig?: {
|
|
1493
|
+
hashMode: "P2SHNonSequential";
|
|
1494
|
+
threshold: number;
|
|
1495
|
+
publicKeys: string[];
|
|
1496
|
+
} | undefined;
|
|
1497
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
1498
|
+
address: string;
|
|
1499
|
+
publicKey: string;
|
|
1500
|
+
purpose: AddressPurpose;
|
|
1501
|
+
addressType: AddressType;
|
|
1502
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
1503
|
+
scriptPubKey?: string | undefined;
|
|
1504
|
+
unlockDefinition?: {
|
|
1505
|
+
type: "p2wpkh";
|
|
1506
|
+
} | {
|
|
1507
|
+
type: "p2sh-p2wpkh";
|
|
1508
|
+
redeemScript: string;
|
|
1509
|
+
} | {
|
|
1510
|
+
type: "p2tr-key-path";
|
|
1511
|
+
tapInternalKey: string;
|
|
1512
|
+
} | {
|
|
1513
|
+
type: "p2wsh";
|
|
1514
|
+
witnessScript: string;
|
|
1515
|
+
} | {
|
|
1516
|
+
type: "p2tr-script-path";
|
|
1517
|
+
tapLeafScript: {
|
|
1518
|
+
script: string;
|
|
1519
|
+
controlBlock: string;
|
|
1520
|
+
}[];
|
|
1521
|
+
} | undefined;
|
|
1522
|
+
stacksMultisig?: {
|
|
1523
|
+
hashMode: "P2SHNonSequential";
|
|
1524
|
+
threshold: number;
|
|
1525
|
+
publicKeys: string[];
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
1206
1528
|
readonly networks: v.ObjectSchema<{
|
|
1207
1529
|
readonly active: v.ObjectSchema<{
|
|
1208
1530
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -2044,6 +2366,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2044
2366
|
controlBlock: string;
|
|
2045
2367
|
}[], 1, undefined>]>;
|
|
2046
2368
|
}, undefined>], undefined>, undefined>;
|
|
2369
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
2370
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
2371
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2372
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2373
|
+
}, undefined>, undefined>;
|
|
2047
2374
|
}, undefined>, v.CheckAction<{
|
|
2048
2375
|
address: string;
|
|
2049
2376
|
publicKey: string;
|
|
@@ -2069,6 +2396,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2069
2396
|
controlBlock: string;
|
|
2070
2397
|
}[];
|
|
2071
2398
|
} | undefined;
|
|
2399
|
+
stacksMultisig?: {
|
|
2400
|
+
hashMode: "P2SHNonSequential";
|
|
2401
|
+
threshold: number;
|
|
2402
|
+
publicKeys: string[];
|
|
2403
|
+
} | undefined;
|
|
2072
2404
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
2073
2405
|
address: string;
|
|
2074
2406
|
publicKey: string;
|
|
@@ -2094,7 +2426,42 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2094
2426
|
controlBlock: string;
|
|
2095
2427
|
}[];
|
|
2096
2428
|
} | undefined;
|
|
2097
|
-
|
|
2429
|
+
stacksMultisig?: {
|
|
2430
|
+
hashMode: "P2SHNonSequential";
|
|
2431
|
+
threshold: number;
|
|
2432
|
+
publicKeys: string[];
|
|
2433
|
+
} | undefined;
|
|
2434
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
2435
|
+
address: string;
|
|
2436
|
+
publicKey: string;
|
|
2437
|
+
purpose: AddressPurpose;
|
|
2438
|
+
addressType: AddressType;
|
|
2439
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
2440
|
+
scriptPubKey?: string | undefined;
|
|
2441
|
+
unlockDefinition?: {
|
|
2442
|
+
type: "p2wpkh";
|
|
2443
|
+
} | {
|
|
2444
|
+
type: "p2sh-p2wpkh";
|
|
2445
|
+
redeemScript: string;
|
|
2446
|
+
} | {
|
|
2447
|
+
type: "p2tr-key-path";
|
|
2448
|
+
tapInternalKey: string;
|
|
2449
|
+
} | {
|
|
2450
|
+
type: "p2wsh";
|
|
2451
|
+
witnessScript: string;
|
|
2452
|
+
} | {
|
|
2453
|
+
type: "p2tr-script-path";
|
|
2454
|
+
tapLeafScript: {
|
|
2455
|
+
script: string;
|
|
2456
|
+
controlBlock: string;
|
|
2457
|
+
}[];
|
|
2458
|
+
} | undefined;
|
|
2459
|
+
stacksMultisig?: {
|
|
2460
|
+
hashMode: "P2SHNonSequential";
|
|
2461
|
+
threshold: number;
|
|
2462
|
+
publicKeys: string[];
|
|
2463
|
+
} | undefined;
|
|
2464
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
2098
2465
|
readonly '~sats-connect-method': v.LiteralSchema<"getAccounts", undefined>;
|
|
2099
2466
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
2100
2467
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -2138,6 +2505,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2138
2505
|
controlBlock: string;
|
|
2139
2506
|
}[], 1, undefined>]>;
|
|
2140
2507
|
}, undefined>], undefined>, undefined>;
|
|
2508
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
2509
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
2510
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2511
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2512
|
+
}, undefined>, undefined>;
|
|
2141
2513
|
}, undefined>, v.CheckAction<{
|
|
2142
2514
|
address: string;
|
|
2143
2515
|
publicKey: string;
|
|
@@ -2163,6 +2535,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2163
2535
|
controlBlock: string;
|
|
2164
2536
|
}[];
|
|
2165
2537
|
} | undefined;
|
|
2538
|
+
stacksMultisig?: {
|
|
2539
|
+
hashMode: "P2SHNonSequential";
|
|
2540
|
+
threshold: number;
|
|
2541
|
+
publicKeys: string[];
|
|
2542
|
+
} | undefined;
|
|
2166
2543
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
2167
2544
|
address: string;
|
|
2168
2545
|
publicKey: string;
|
|
@@ -2188,7 +2565,42 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2188
2565
|
controlBlock: string;
|
|
2189
2566
|
}[];
|
|
2190
2567
|
} | undefined;
|
|
2191
|
-
|
|
2568
|
+
stacksMultisig?: {
|
|
2569
|
+
hashMode: "P2SHNonSequential";
|
|
2570
|
+
threshold: number;
|
|
2571
|
+
publicKeys: string[];
|
|
2572
|
+
} | undefined;
|
|
2573
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
2574
|
+
address: string;
|
|
2575
|
+
publicKey: string;
|
|
2576
|
+
purpose: AddressPurpose;
|
|
2577
|
+
addressType: AddressType;
|
|
2578
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
2579
|
+
scriptPubKey?: string | undefined;
|
|
2580
|
+
unlockDefinition?: {
|
|
2581
|
+
type: "p2wpkh";
|
|
2582
|
+
} | {
|
|
2583
|
+
type: "p2sh-p2wpkh";
|
|
2584
|
+
redeemScript: string;
|
|
2585
|
+
} | {
|
|
2586
|
+
type: "p2tr-key-path";
|
|
2587
|
+
tapInternalKey: string;
|
|
2588
|
+
} | {
|
|
2589
|
+
type: "p2wsh";
|
|
2590
|
+
witnessScript: string;
|
|
2591
|
+
} | {
|
|
2592
|
+
type: "p2tr-script-path";
|
|
2593
|
+
tapLeafScript: {
|
|
2594
|
+
script: string;
|
|
2595
|
+
controlBlock: string;
|
|
2596
|
+
}[];
|
|
2597
|
+
} | undefined;
|
|
2598
|
+
stacksMultisig?: {
|
|
2599
|
+
hashMode: "P2SHNonSequential";
|
|
2600
|
+
threshold: number;
|
|
2601
|
+
publicKeys: string[];
|
|
2602
|
+
} | undefined;
|
|
2603
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
2192
2604
|
readonly network: v.ObjectSchema<{
|
|
2193
2605
|
readonly bitcoin: v.ObjectSchema<{
|
|
2194
2606
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -2244,6 +2656,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2244
2656
|
controlBlock: string;
|
|
2245
2657
|
}[], 1, undefined>]>;
|
|
2246
2658
|
}, undefined>], undefined>, undefined>;
|
|
2659
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
2660
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
2661
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2662
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2663
|
+
}, undefined>, undefined>;
|
|
2247
2664
|
}, undefined>, v.CheckAction<{
|
|
2248
2665
|
address: string;
|
|
2249
2666
|
publicKey: string;
|
|
@@ -2269,6 +2686,11 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2269
2686
|
controlBlock: string;
|
|
2270
2687
|
}[];
|
|
2271
2688
|
} | undefined;
|
|
2689
|
+
stacksMultisig?: {
|
|
2690
|
+
hashMode: "P2SHNonSequential";
|
|
2691
|
+
threshold: number;
|
|
2692
|
+
publicKeys: string[];
|
|
2693
|
+
} | undefined;
|
|
2272
2694
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
2273
2695
|
address: string;
|
|
2274
2696
|
publicKey: string;
|
|
@@ -2294,7 +2716,42 @@ declare const bitcoinSuccessResponseSchema: v.VariantSchema<"~sats-connect-metho
|
|
|
2294
2716
|
controlBlock: string;
|
|
2295
2717
|
}[];
|
|
2296
2718
|
} | undefined;
|
|
2297
|
-
|
|
2719
|
+
stacksMultisig?: {
|
|
2720
|
+
hashMode: "P2SHNonSequential";
|
|
2721
|
+
threshold: number;
|
|
2722
|
+
publicKeys: string[];
|
|
2723
|
+
} | undefined;
|
|
2724
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
2725
|
+
address: string;
|
|
2726
|
+
publicKey: string;
|
|
2727
|
+
purpose: AddressPurpose;
|
|
2728
|
+
addressType: AddressType;
|
|
2729
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
2730
|
+
scriptPubKey?: string | undefined;
|
|
2731
|
+
unlockDefinition?: {
|
|
2732
|
+
type: "p2wpkh";
|
|
2733
|
+
} | {
|
|
2734
|
+
type: "p2sh-p2wpkh";
|
|
2735
|
+
redeemScript: string;
|
|
2736
|
+
} | {
|
|
2737
|
+
type: "p2tr-key-path";
|
|
2738
|
+
tapInternalKey: string;
|
|
2739
|
+
} | {
|
|
2740
|
+
type: "p2wsh";
|
|
2741
|
+
witnessScript: string;
|
|
2742
|
+
} | {
|
|
2743
|
+
type: "p2tr-script-path";
|
|
2744
|
+
tapLeafScript: {
|
|
2745
|
+
script: string;
|
|
2746
|
+
controlBlock: string;
|
|
2747
|
+
}[];
|
|
2748
|
+
} | undefined;
|
|
2749
|
+
stacksMultisig?: {
|
|
2750
|
+
hashMode: "P2SHNonSequential";
|
|
2751
|
+
threshold: number;
|
|
2752
|
+
publicKeys: string[];
|
|
2753
|
+
} | undefined;
|
|
2754
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
2298
2755
|
readonly networks: v.ObjectSchema<{
|
|
2299
2756
|
readonly active: v.ObjectSchema<{
|
|
2300
2757
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -4241,6 +4698,11 @@ declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
4241
4698
|
controlBlock: string;
|
|
4242
4699
|
}[], 1, undefined>]>;
|
|
4243
4700
|
}, undefined>], undefined>, undefined>;
|
|
4701
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
4702
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
4703
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4704
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4705
|
+
}, undefined>, undefined>;
|
|
4244
4706
|
}, undefined>, v.CheckAction<{
|
|
4245
4707
|
address: string;
|
|
4246
4708
|
publicKey: string;
|
|
@@ -4266,6 +4728,11 @@ declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
4266
4728
|
controlBlock: string;
|
|
4267
4729
|
}[];
|
|
4268
4730
|
} | undefined;
|
|
4731
|
+
stacksMultisig?: {
|
|
4732
|
+
hashMode: "P2SHNonSequential";
|
|
4733
|
+
threshold: number;
|
|
4734
|
+
publicKeys: string[];
|
|
4735
|
+
} | undefined;
|
|
4269
4736
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
4270
4737
|
address: string;
|
|
4271
4738
|
publicKey: string;
|
|
@@ -4291,7 +4758,42 @@ declare const sparkGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
4291
4758
|
controlBlock: string;
|
|
4292
4759
|
}[];
|
|
4293
4760
|
} | undefined;
|
|
4294
|
-
|
|
4761
|
+
stacksMultisig?: {
|
|
4762
|
+
hashMode: "P2SHNonSequential";
|
|
4763
|
+
threshold: number;
|
|
4764
|
+
publicKeys: string[];
|
|
4765
|
+
} | undefined;
|
|
4766
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
4767
|
+
address: string;
|
|
4768
|
+
publicKey: string;
|
|
4769
|
+
purpose: AddressPurpose;
|
|
4770
|
+
addressType: AddressType;
|
|
4771
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
4772
|
+
scriptPubKey?: string | undefined;
|
|
4773
|
+
unlockDefinition?: {
|
|
4774
|
+
type: "p2wpkh";
|
|
4775
|
+
} | {
|
|
4776
|
+
type: "p2sh-p2wpkh";
|
|
4777
|
+
redeemScript: string;
|
|
4778
|
+
} | {
|
|
4779
|
+
type: "p2tr-key-path";
|
|
4780
|
+
tapInternalKey: string;
|
|
4781
|
+
} | {
|
|
4782
|
+
type: "p2wsh";
|
|
4783
|
+
witnessScript: string;
|
|
4784
|
+
} | {
|
|
4785
|
+
type: "p2tr-script-path";
|
|
4786
|
+
tapLeafScript: {
|
|
4787
|
+
script: string;
|
|
4788
|
+
controlBlock: string;
|
|
4789
|
+
}[];
|
|
4790
|
+
} | undefined;
|
|
4791
|
+
stacksMultisig?: {
|
|
4792
|
+
hashMode: "P2SHNonSequential";
|
|
4793
|
+
threshold: number;
|
|
4794
|
+
publicKeys: string[];
|
|
4795
|
+
} | undefined;
|
|
4796
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
4295
4797
|
readonly network: v.ObjectSchema<{
|
|
4296
4798
|
readonly bitcoin: v.ObjectSchema<{
|
|
4297
4799
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -4342,6 +4844,11 @@ declare const sparkGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
4342
4844
|
controlBlock: string;
|
|
4343
4845
|
}[], 1, undefined>]>;
|
|
4344
4846
|
}, undefined>], undefined>, undefined>;
|
|
4847
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
4848
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
4849
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4850
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4851
|
+
}, undefined>, undefined>;
|
|
4345
4852
|
}, undefined>, v.CheckAction<{
|
|
4346
4853
|
address: string;
|
|
4347
4854
|
publicKey: string;
|
|
@@ -4367,6 +4874,11 @@ declare const sparkGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
4367
4874
|
controlBlock: string;
|
|
4368
4875
|
}[];
|
|
4369
4876
|
} | undefined;
|
|
4877
|
+
stacksMultisig?: {
|
|
4878
|
+
hashMode: "P2SHNonSequential";
|
|
4879
|
+
threshold: number;
|
|
4880
|
+
publicKeys: string[];
|
|
4881
|
+
} | undefined;
|
|
4370
4882
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
4371
4883
|
address: string;
|
|
4372
4884
|
publicKey: string;
|
|
@@ -4392,7 +4904,42 @@ declare const sparkGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
4392
4904
|
controlBlock: string;
|
|
4393
4905
|
}[];
|
|
4394
4906
|
} | undefined;
|
|
4395
|
-
|
|
4907
|
+
stacksMultisig?: {
|
|
4908
|
+
hashMode: "P2SHNonSequential";
|
|
4909
|
+
threshold: number;
|
|
4910
|
+
publicKeys: string[];
|
|
4911
|
+
} | undefined;
|
|
4912
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
4913
|
+
address: string;
|
|
4914
|
+
publicKey: string;
|
|
4915
|
+
purpose: AddressPurpose;
|
|
4916
|
+
addressType: AddressType;
|
|
4917
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
4918
|
+
scriptPubKey?: string | undefined;
|
|
4919
|
+
unlockDefinition?: {
|
|
4920
|
+
type: "p2wpkh";
|
|
4921
|
+
} | {
|
|
4922
|
+
type: "p2sh-p2wpkh";
|
|
4923
|
+
redeemScript: string;
|
|
4924
|
+
} | {
|
|
4925
|
+
type: "p2tr-key-path";
|
|
4926
|
+
tapInternalKey: string;
|
|
4927
|
+
} | {
|
|
4928
|
+
type: "p2wsh";
|
|
4929
|
+
witnessScript: string;
|
|
4930
|
+
} | {
|
|
4931
|
+
type: "p2tr-script-path";
|
|
4932
|
+
tapLeafScript: {
|
|
4933
|
+
script: string;
|
|
4934
|
+
controlBlock: string;
|
|
4935
|
+
}[];
|
|
4936
|
+
} | undefined;
|
|
4937
|
+
stacksMultisig?: {
|
|
4938
|
+
hashMode: "P2SHNonSequential";
|
|
4939
|
+
threshold: number;
|
|
4940
|
+
publicKeys: string[];
|
|
4941
|
+
} | undefined;
|
|
4942
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
4396
4943
|
readonly network: v.ObjectSchema<{
|
|
4397
4944
|
readonly bitcoin: v.ObjectSchema<{
|
|
4398
4945
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -4474,6 +5021,11 @@ declare const sparkGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
4474
5021
|
controlBlock: string;
|
|
4475
5022
|
}[], 1, undefined>]>;
|
|
4476
5023
|
}, undefined>], undefined>, undefined>;
|
|
5024
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
5025
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
5026
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5027
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
5028
|
+
}, undefined>, undefined>;
|
|
4477
5029
|
}, undefined>, v.CheckAction<{
|
|
4478
5030
|
address: string;
|
|
4479
5031
|
publicKey: string;
|
|
@@ -4499,6 +5051,11 @@ declare const sparkGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
4499
5051
|
controlBlock: string;
|
|
4500
5052
|
}[];
|
|
4501
5053
|
} | undefined;
|
|
5054
|
+
stacksMultisig?: {
|
|
5055
|
+
hashMode: "P2SHNonSequential";
|
|
5056
|
+
threshold: number;
|
|
5057
|
+
publicKeys: string[];
|
|
5058
|
+
} | undefined;
|
|
4502
5059
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
4503
5060
|
address: string;
|
|
4504
5061
|
publicKey: string;
|
|
@@ -4524,7 +5081,42 @@ declare const sparkGetAddressesV2ResultSchema: v.ObjectSchema<{
|
|
|
4524
5081
|
controlBlock: string;
|
|
4525
5082
|
}[];
|
|
4526
5083
|
} | undefined;
|
|
4527
|
-
|
|
5084
|
+
stacksMultisig?: {
|
|
5085
|
+
hashMode: "P2SHNonSequential";
|
|
5086
|
+
threshold: number;
|
|
5087
|
+
publicKeys: string[];
|
|
5088
|
+
} | undefined;
|
|
5089
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
5090
|
+
address: string;
|
|
5091
|
+
publicKey: string;
|
|
5092
|
+
purpose: AddressPurpose;
|
|
5093
|
+
addressType: AddressType;
|
|
5094
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
5095
|
+
scriptPubKey?: string | undefined;
|
|
5096
|
+
unlockDefinition?: {
|
|
5097
|
+
type: "p2wpkh";
|
|
5098
|
+
} | {
|
|
5099
|
+
type: "p2sh-p2wpkh";
|
|
5100
|
+
redeemScript: string;
|
|
5101
|
+
} | {
|
|
5102
|
+
type: "p2tr-key-path";
|
|
5103
|
+
tapInternalKey: string;
|
|
5104
|
+
} | {
|
|
5105
|
+
type: "p2wsh";
|
|
5106
|
+
witnessScript: string;
|
|
5107
|
+
} | {
|
|
5108
|
+
type: "p2tr-script-path";
|
|
5109
|
+
tapLeafScript: {
|
|
5110
|
+
script: string;
|
|
5111
|
+
controlBlock: string;
|
|
5112
|
+
}[];
|
|
5113
|
+
} | undefined;
|
|
5114
|
+
stacksMultisig?: {
|
|
5115
|
+
hashMode: "P2SHNonSequential";
|
|
5116
|
+
threshold: number;
|
|
5117
|
+
publicKeys: string[];
|
|
5118
|
+
} | undefined;
|
|
5119
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
4528
5120
|
readonly network: v.ObjectSchema<{
|
|
4529
5121
|
readonly chain: v.LiteralSchema<"spark", undefined>;
|
|
4530
5122
|
readonly mode: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<{
|
|
@@ -4579,6 +5171,11 @@ declare const sparkGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
4579
5171
|
controlBlock: string;
|
|
4580
5172
|
}[], 1, undefined>]>;
|
|
4581
5173
|
}, undefined>], undefined>, undefined>;
|
|
5174
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
5175
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
5176
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5177
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
5178
|
+
}, undefined>, undefined>;
|
|
4582
5179
|
}, undefined>, v.CheckAction<{
|
|
4583
5180
|
address: string;
|
|
4584
5181
|
publicKey: string;
|
|
@@ -4604,6 +5201,11 @@ declare const sparkGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
4604
5201
|
controlBlock: string;
|
|
4605
5202
|
}[];
|
|
4606
5203
|
} | undefined;
|
|
5204
|
+
stacksMultisig?: {
|
|
5205
|
+
hashMode: "P2SHNonSequential";
|
|
5206
|
+
threshold: number;
|
|
5207
|
+
publicKeys: string[];
|
|
5208
|
+
} | undefined;
|
|
4607
5209
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
4608
5210
|
address: string;
|
|
4609
5211
|
publicKey: string;
|
|
@@ -4629,7 +5231,42 @@ declare const sparkGetAddressesV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
4629
5231
|
controlBlock: string;
|
|
4630
5232
|
}[];
|
|
4631
5233
|
} | undefined;
|
|
4632
|
-
|
|
5234
|
+
stacksMultisig?: {
|
|
5235
|
+
hashMode: "P2SHNonSequential";
|
|
5236
|
+
threshold: number;
|
|
5237
|
+
publicKeys: string[];
|
|
5238
|
+
} | undefined;
|
|
5239
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
5240
|
+
address: string;
|
|
5241
|
+
publicKey: string;
|
|
5242
|
+
purpose: AddressPurpose;
|
|
5243
|
+
addressType: AddressType;
|
|
5244
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
5245
|
+
scriptPubKey?: string | undefined;
|
|
5246
|
+
unlockDefinition?: {
|
|
5247
|
+
type: "p2wpkh";
|
|
5248
|
+
} | {
|
|
5249
|
+
type: "p2sh-p2wpkh";
|
|
5250
|
+
redeemScript: string;
|
|
5251
|
+
} | {
|
|
5252
|
+
type: "p2tr-key-path";
|
|
5253
|
+
tapInternalKey: string;
|
|
5254
|
+
} | {
|
|
5255
|
+
type: "p2wsh";
|
|
5256
|
+
witnessScript: string;
|
|
5257
|
+
} | {
|
|
5258
|
+
type: "p2tr-script-path";
|
|
5259
|
+
tapLeafScript: {
|
|
5260
|
+
script: string;
|
|
5261
|
+
controlBlock: string;
|
|
5262
|
+
}[];
|
|
5263
|
+
} | undefined;
|
|
5264
|
+
stacksMultisig?: {
|
|
5265
|
+
hashMode: "P2SHNonSequential";
|
|
5266
|
+
threshold: number;
|
|
5267
|
+
publicKeys: string[];
|
|
5268
|
+
} | undefined;
|
|
5269
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
4633
5270
|
readonly network: v.ObjectSchema<{
|
|
4634
5271
|
readonly chain: v.LiteralSchema<"spark", undefined>;
|
|
4635
5272
|
readonly mode: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<{
|
|
@@ -5159,6 +5796,11 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5159
5796
|
controlBlock: string;
|
|
5160
5797
|
}[], 1, undefined>]>;
|
|
5161
5798
|
}, undefined>], undefined>, undefined>;
|
|
5799
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
5800
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
5801
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5802
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
5803
|
+
}, undefined>, undefined>;
|
|
5162
5804
|
}, undefined>, v.CheckAction<{
|
|
5163
5805
|
address: string;
|
|
5164
5806
|
publicKey: string;
|
|
@@ -5184,6 +5826,11 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5184
5826
|
controlBlock: string;
|
|
5185
5827
|
}[];
|
|
5186
5828
|
} | undefined;
|
|
5829
|
+
stacksMultisig?: {
|
|
5830
|
+
hashMode: "P2SHNonSequential";
|
|
5831
|
+
threshold: number;
|
|
5832
|
+
publicKeys: string[];
|
|
5833
|
+
} | undefined;
|
|
5187
5834
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
5188
5835
|
address: string;
|
|
5189
5836
|
publicKey: string;
|
|
@@ -5209,7 +5856,42 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5209
5856
|
controlBlock: string;
|
|
5210
5857
|
}[];
|
|
5211
5858
|
} | undefined;
|
|
5212
|
-
|
|
5859
|
+
stacksMultisig?: {
|
|
5860
|
+
hashMode: "P2SHNonSequential";
|
|
5861
|
+
threshold: number;
|
|
5862
|
+
publicKeys: string[];
|
|
5863
|
+
} | undefined;
|
|
5864
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
5865
|
+
address: string;
|
|
5866
|
+
publicKey: string;
|
|
5867
|
+
purpose: AddressPurpose;
|
|
5868
|
+
addressType: AddressType;
|
|
5869
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
5870
|
+
scriptPubKey?: string | undefined;
|
|
5871
|
+
unlockDefinition?: {
|
|
5872
|
+
type: "p2wpkh";
|
|
5873
|
+
} | {
|
|
5874
|
+
type: "p2sh-p2wpkh";
|
|
5875
|
+
redeemScript: string;
|
|
5876
|
+
} | {
|
|
5877
|
+
type: "p2tr-key-path";
|
|
5878
|
+
tapInternalKey: string;
|
|
5879
|
+
} | {
|
|
5880
|
+
type: "p2wsh";
|
|
5881
|
+
witnessScript: string;
|
|
5882
|
+
} | {
|
|
5883
|
+
type: "p2tr-script-path";
|
|
5884
|
+
tapLeafScript: {
|
|
5885
|
+
script: string;
|
|
5886
|
+
controlBlock: string;
|
|
5887
|
+
}[];
|
|
5888
|
+
} | undefined;
|
|
5889
|
+
stacksMultisig?: {
|
|
5890
|
+
hashMode: "P2SHNonSequential";
|
|
5891
|
+
threshold: number;
|
|
5892
|
+
publicKeys: string[];
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
5213
5895
|
readonly network: v.ObjectSchema<{
|
|
5214
5896
|
readonly bitcoin: v.ObjectSchema<{
|
|
5215
5897
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -5265,6 +5947,11 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5265
5947
|
controlBlock: string;
|
|
5266
5948
|
}[], 1, undefined>]>;
|
|
5267
5949
|
}, undefined>], undefined>, undefined>;
|
|
5950
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
5951
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
5952
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
5953
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
5954
|
+
}, undefined>, undefined>;
|
|
5268
5955
|
}, undefined>, v.CheckAction<{
|
|
5269
5956
|
address: string;
|
|
5270
5957
|
publicKey: string;
|
|
@@ -5290,6 +5977,11 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5290
5977
|
controlBlock: string;
|
|
5291
5978
|
}[];
|
|
5292
5979
|
} | undefined;
|
|
5980
|
+
stacksMultisig?: {
|
|
5981
|
+
hashMode: "P2SHNonSequential";
|
|
5982
|
+
threshold: number;
|
|
5983
|
+
publicKeys: string[];
|
|
5984
|
+
} | undefined;
|
|
5293
5985
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
5294
5986
|
address: string;
|
|
5295
5987
|
publicKey: string;
|
|
@@ -5315,7 +6007,42 @@ declare const sparkSuccessResponseSchema: v.VariantSchema<"~sats-connect-method"
|
|
|
5315
6007
|
controlBlock: string;
|
|
5316
6008
|
}[];
|
|
5317
6009
|
} | undefined;
|
|
5318
|
-
|
|
6010
|
+
stacksMultisig?: {
|
|
6011
|
+
hashMode: "P2SHNonSequential";
|
|
6012
|
+
threshold: number;
|
|
6013
|
+
publicKeys: string[];
|
|
6014
|
+
} | undefined;
|
|
6015
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
6016
|
+
address: string;
|
|
6017
|
+
publicKey: string;
|
|
6018
|
+
purpose: AddressPurpose;
|
|
6019
|
+
addressType: AddressType;
|
|
6020
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
6021
|
+
scriptPubKey?: string | undefined;
|
|
6022
|
+
unlockDefinition?: {
|
|
6023
|
+
type: "p2wpkh";
|
|
6024
|
+
} | {
|
|
6025
|
+
type: "p2sh-p2wpkh";
|
|
6026
|
+
redeemScript: string;
|
|
6027
|
+
} | {
|
|
6028
|
+
type: "p2tr-key-path";
|
|
6029
|
+
tapInternalKey: string;
|
|
6030
|
+
} | {
|
|
6031
|
+
type: "p2wsh";
|
|
6032
|
+
witnessScript: string;
|
|
6033
|
+
} | {
|
|
6034
|
+
type: "p2tr-script-path";
|
|
6035
|
+
tapLeafScript: {
|
|
6036
|
+
script: string;
|
|
6037
|
+
controlBlock: string;
|
|
6038
|
+
}[];
|
|
6039
|
+
} | undefined;
|
|
6040
|
+
stacksMultisig?: {
|
|
6041
|
+
hashMode: "P2SHNonSequential";
|
|
6042
|
+
threshold: number;
|
|
6043
|
+
publicKeys: string[];
|
|
6044
|
+
} | undefined;
|
|
6045
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
5319
6046
|
readonly network: v.ObjectSchema<{
|
|
5320
6047
|
readonly chain: v.LiteralSchema<"spark", undefined>;
|
|
5321
6048
|
readonly mode: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<{
|
|
@@ -5759,16 +6486,59 @@ declare const stacksGetAccountsRequestSchema: v.ObjectSchema<{
|
|
|
5759
6486
|
type StacksGetAccountsRequest = v.InferOutput<typeof stacksGetAccountsRequestSchema>;
|
|
5760
6487
|
//#endregion
|
|
5761
6488
|
//#region src/request/rpc/objects/namespaces/stacks/methods/getAccounts/response.d.ts
|
|
6489
|
+
declare const stacksLegacyAccountSchema: v.ObjectSchema<{
|
|
6490
|
+
readonly address: v.StringSchema<undefined>;
|
|
6491
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
6492
|
+
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
6493
|
+
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
6494
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
6495
|
+
}, undefined>;
|
|
6496
|
+
type StacksLegacyAccount = v.InferOutput<typeof stacksLegacyAccountSchema>;
|
|
6497
|
+
declare const stacksMultisigAccountSchema: v.StrictObjectSchema<{
|
|
6498
|
+
readonly address: v.StringSchema<undefined>;
|
|
6499
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
6500
|
+
readonly multisig: v.ObjectSchema<{
|
|
6501
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6502
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6503
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6504
|
+
}, undefined>;
|
|
6505
|
+
}, undefined>;
|
|
6506
|
+
type StacksMultisigAccount = v.InferOutput<typeof stacksMultisigAccountSchema>;
|
|
6507
|
+
declare const stacksAccountSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
6508
|
+
readonly address: v.StringSchema<undefined>;
|
|
6509
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
6510
|
+
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
6511
|
+
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
6512
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
6513
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6514
|
+
readonly address: v.StringSchema<undefined>;
|
|
6515
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
6516
|
+
readonly multisig: v.ObjectSchema<{
|
|
6517
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6518
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6519
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6520
|
+
}, undefined>;
|
|
6521
|
+
}, undefined>], undefined>;
|
|
6522
|
+
type StacksAccount = v.InferOutput<typeof stacksAccountSchema>;
|
|
5762
6523
|
declare const stacksGetAccountsResultSchema: v.ObjectSchema<{
|
|
5763
6524
|
/**
|
|
5764
6525
|
* The addresses generated for the given purposes.
|
|
5765
6526
|
*/
|
|
5766
|
-
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
6527
|
+
readonly addresses: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
5767
6528
|
readonly address: v.StringSchema<undefined>;
|
|
5768
6529
|
readonly publicKey: v.StringSchema<undefined>;
|
|
5769
6530
|
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
5770
6531
|
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
5771
|
-
|
|
6532
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
6533
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6534
|
+
readonly address: v.StringSchema<undefined>;
|
|
6535
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
6536
|
+
readonly multisig: v.ObjectSchema<{
|
|
6537
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6538
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6539
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6540
|
+
}, undefined>;
|
|
6541
|
+
}, undefined>], undefined>, undefined>;
|
|
5772
6542
|
readonly network: v.ObjectSchema<{
|
|
5773
6543
|
readonly bitcoin: v.ObjectSchema<{
|
|
5774
6544
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -5788,12 +6558,21 @@ declare const stacksGetAccountsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
5788
6558
|
/**
|
|
5789
6559
|
* The addresses generated for the given purposes.
|
|
5790
6560
|
*/
|
|
5791
|
-
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
6561
|
+
readonly addresses: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
5792
6562
|
readonly address: v.StringSchema<undefined>;
|
|
5793
6563
|
readonly publicKey: v.StringSchema<undefined>;
|
|
5794
6564
|
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
5795
6565
|
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
5796
|
-
|
|
6566
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
6567
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
6568
|
+
readonly address: v.StringSchema<undefined>;
|
|
6569
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
6570
|
+
readonly multisig: v.ObjectSchema<{
|
|
6571
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6572
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6573
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6574
|
+
}, undefined>;
|
|
6575
|
+
}, undefined>], undefined>, undefined>;
|
|
5797
6576
|
readonly network: v.ObjectSchema<{
|
|
5798
6577
|
readonly bitcoin: v.ObjectSchema<{
|
|
5799
6578
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -5875,6 +6654,11 @@ declare const stacksGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
5875
6654
|
controlBlock: string;
|
|
5876
6655
|
}[], 1, undefined>]>;
|
|
5877
6656
|
}, undefined>], undefined>, undefined>;
|
|
6657
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
6658
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6659
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6660
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6661
|
+
}, undefined>, undefined>;
|
|
5878
6662
|
}, undefined>, v.CheckAction<{
|
|
5879
6663
|
address: string;
|
|
5880
6664
|
publicKey: string;
|
|
@@ -5900,6 +6684,11 @@ declare const stacksGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
5900
6684
|
controlBlock: string;
|
|
5901
6685
|
}[];
|
|
5902
6686
|
} | undefined;
|
|
6687
|
+
stacksMultisig?: {
|
|
6688
|
+
hashMode: "P2SHNonSequential";
|
|
6689
|
+
threshold: number;
|
|
6690
|
+
publicKeys: string[];
|
|
6691
|
+
} | undefined;
|
|
5903
6692
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
5904
6693
|
address: string;
|
|
5905
6694
|
publicKey: string;
|
|
@@ -5925,7 +6714,42 @@ declare const stacksGetAddressesResultSchema: v.ObjectSchema<{
|
|
|
5925
6714
|
controlBlock: string;
|
|
5926
6715
|
}[];
|
|
5927
6716
|
} | undefined;
|
|
5928
|
-
|
|
6717
|
+
stacksMultisig?: {
|
|
6718
|
+
hashMode: "P2SHNonSequential";
|
|
6719
|
+
threshold: number;
|
|
6720
|
+
publicKeys: string[];
|
|
6721
|
+
} | undefined;
|
|
6722
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
6723
|
+
address: string;
|
|
6724
|
+
publicKey: string;
|
|
6725
|
+
purpose: AddressPurpose;
|
|
6726
|
+
addressType: AddressType;
|
|
6727
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
6728
|
+
scriptPubKey?: string | undefined;
|
|
6729
|
+
unlockDefinition?: {
|
|
6730
|
+
type: "p2wpkh";
|
|
6731
|
+
} | {
|
|
6732
|
+
type: "p2sh-p2wpkh";
|
|
6733
|
+
redeemScript: string;
|
|
6734
|
+
} | {
|
|
6735
|
+
type: "p2tr-key-path";
|
|
6736
|
+
tapInternalKey: string;
|
|
6737
|
+
} | {
|
|
6738
|
+
type: "p2wsh";
|
|
6739
|
+
witnessScript: string;
|
|
6740
|
+
} | {
|
|
6741
|
+
type: "p2tr-script-path";
|
|
6742
|
+
tapLeafScript: {
|
|
6743
|
+
script: string;
|
|
6744
|
+
controlBlock: string;
|
|
6745
|
+
}[];
|
|
6746
|
+
} | undefined;
|
|
6747
|
+
stacksMultisig?: {
|
|
6748
|
+
hashMode: "P2SHNonSequential";
|
|
6749
|
+
threshold: number;
|
|
6750
|
+
publicKeys: string[];
|
|
6751
|
+
} | undefined;
|
|
6752
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
5929
6753
|
readonly network: v.ObjectSchema<{
|
|
5930
6754
|
readonly bitcoin: v.ObjectSchema<{
|
|
5931
6755
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -5976,6 +6800,11 @@ declare const stacksGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
5976
6800
|
controlBlock: string;
|
|
5977
6801
|
}[], 1, undefined>]>;
|
|
5978
6802
|
}, undefined>], undefined>, undefined>;
|
|
6803
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
6804
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
6805
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6806
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
6807
|
+
}, undefined>, undefined>;
|
|
5979
6808
|
}, undefined>, v.CheckAction<{
|
|
5980
6809
|
address: string;
|
|
5981
6810
|
publicKey: string;
|
|
@@ -6001,6 +6830,11 @@ declare const stacksGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
6001
6830
|
controlBlock: string;
|
|
6002
6831
|
}[];
|
|
6003
6832
|
} | undefined;
|
|
6833
|
+
stacksMultisig?: {
|
|
6834
|
+
hashMode: "P2SHNonSequential";
|
|
6835
|
+
threshold: number;
|
|
6836
|
+
publicKeys: string[];
|
|
6837
|
+
} | undefined;
|
|
6004
6838
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
6005
6839
|
address: string;
|
|
6006
6840
|
publicKey: string;
|
|
@@ -6026,18 +6860,53 @@ declare const stacksGetAddressesSuccessResponseSchema: v.ObjectSchema<{
|
|
|
6026
6860
|
controlBlock: string;
|
|
6027
6861
|
}[];
|
|
6028
6862
|
} | undefined;
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
}
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6863
|
+
stacksMultisig?: {
|
|
6864
|
+
hashMode: "P2SHNonSequential";
|
|
6865
|
+
threshold: number;
|
|
6866
|
+
publicKeys: string[];
|
|
6867
|
+
} | undefined;
|
|
6868
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
6869
|
+
address: string;
|
|
6870
|
+
publicKey: string;
|
|
6871
|
+
purpose: AddressPurpose;
|
|
6872
|
+
addressType: AddressType;
|
|
6873
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
6874
|
+
scriptPubKey?: string | undefined;
|
|
6875
|
+
unlockDefinition?: {
|
|
6876
|
+
type: "p2wpkh";
|
|
6877
|
+
} | {
|
|
6878
|
+
type: "p2sh-p2wpkh";
|
|
6879
|
+
redeemScript: string;
|
|
6880
|
+
} | {
|
|
6881
|
+
type: "p2tr-key-path";
|
|
6882
|
+
tapInternalKey: string;
|
|
6883
|
+
} | {
|
|
6884
|
+
type: "p2wsh";
|
|
6885
|
+
witnessScript: string;
|
|
6886
|
+
} | {
|
|
6887
|
+
type: "p2tr-script-path";
|
|
6888
|
+
tapLeafScript: {
|
|
6889
|
+
script: string;
|
|
6890
|
+
controlBlock: string;
|
|
6891
|
+
}[];
|
|
6892
|
+
} | undefined;
|
|
6893
|
+
stacksMultisig?: {
|
|
6894
|
+
hashMode: "P2SHNonSequential";
|
|
6895
|
+
threshold: number;
|
|
6896
|
+
publicKeys: string[];
|
|
6897
|
+
} | undefined;
|
|
6898
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
6899
|
+
readonly network: v.ObjectSchema<{
|
|
6900
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
6901
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
6902
|
+
}, undefined>;
|
|
6903
|
+
readonly stacks: v.ObjectSchema<{
|
|
6904
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
6905
|
+
}, undefined>;
|
|
6906
|
+
readonly spark: v.ObjectSchema<{
|
|
6907
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
6908
|
+
}, undefined>;
|
|
6909
|
+
}, undefined>;
|
|
6041
6910
|
}, undefined>;
|
|
6042
6911
|
readonly '~sats-connect-method': v.LiteralSchema<"stx_getAddresses", undefined>;
|
|
6043
6912
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -6248,6 +7117,22 @@ declare const stacksSignTransactionSuccessResponseSchema: v.ObjectSchema<{
|
|
|
6248
7117
|
}, undefined>;
|
|
6249
7118
|
type StacksSignTransactionSuccessResponse = v.InferOutput<typeof stacksSignTransactionSuccessResponseSchema>;
|
|
6250
7119
|
//#endregion
|
|
7120
|
+
//#region src/request/rpc/objects/namespaces/stacks/methods/signTransactions/errorData.d.ts
|
|
7121
|
+
/**
|
|
7122
|
+
* The `data` of the error response when a wallet stops broadcasting a batch
|
|
7123
|
+
* partway through. Lists every transaction of the request, in request order.
|
|
7124
|
+
*/
|
|
7125
|
+
declare const stacksSignTransactionsBroadcastErrorDataSchema: v.ObjectSchema<{
|
|
7126
|
+
readonly transactions: v.ArraySchema<v.ObjectSchema<{
|
|
7127
|
+
readonly index: v.NumberSchema<undefined>;
|
|
7128
|
+
readonly transaction: v.StringSchema<undefined>;
|
|
7129
|
+
readonly status: v.PicklistSchema<["broadcast", "failed", "not_broadcast"], undefined>;
|
|
7130
|
+
readonly txid: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7131
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7132
|
+
}, undefined>, undefined>;
|
|
7133
|
+
}, undefined>;
|
|
7134
|
+
type StacksSignTransactionsBroadcastErrorData = v.InferOutput<typeof stacksSignTransactionsBroadcastErrorDataSchema>;
|
|
7135
|
+
//#endregion
|
|
6251
7136
|
//#region src/request/rpc/objects/namespaces/stacks/methods/signTransactions/request.d.ts
|
|
6252
7137
|
declare const stacksSignTransactionsParamsSchema: v.ObjectSchema<{
|
|
6253
7138
|
/**
|
|
@@ -6286,6 +7171,11 @@ declare const stacksSignTransactionsResultSchema: v.ObjectSchema<{
|
|
|
6286
7171
|
* sign request.
|
|
6287
7172
|
*/
|
|
6288
7173
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7174
|
+
/**
|
|
7175
|
+
* The txids of the broadcast transactions, in the same order as
|
|
7176
|
+
* `transactions`. Only present when the wallet broadcast the batch.
|
|
7177
|
+
*/
|
|
7178
|
+
readonly txids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6289
7179
|
}, undefined>;
|
|
6290
7180
|
type StacksSignTransactionsResult = v.InferOutput<typeof stacksSignTransactionsResultSchema>;
|
|
6291
7181
|
declare const stacksSignTransactionsSuccessResponseSchema: v.ObjectSchema<{
|
|
@@ -6296,6 +7186,11 @@ declare const stacksSignTransactionsSuccessResponseSchema: v.ObjectSchema<{
|
|
|
6296
7186
|
* sign request.
|
|
6297
7187
|
*/
|
|
6298
7188
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7189
|
+
/**
|
|
7190
|
+
* The txids of the broadcast transactions, in the same order as
|
|
7191
|
+
* `transactions`. Only present when the wallet broadcast the batch.
|
|
7192
|
+
*/
|
|
7193
|
+
readonly txids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6299
7194
|
}, undefined>;
|
|
6300
7195
|
readonly '~sats-connect-method': v.LiteralSchema<"stx_signTransactions", undefined>;
|
|
6301
7196
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -6592,12 +7487,21 @@ declare const stacksSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
6592
7487
|
}, undefined>, v.ObjectSchema<{
|
|
6593
7488
|
readonly id: v.StringSchema<undefined>;
|
|
6594
7489
|
readonly result: v.ObjectSchema<{
|
|
6595
|
-
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
7490
|
+
readonly addresses: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
6596
7491
|
readonly address: v.StringSchema<undefined>;
|
|
6597
7492
|
readonly publicKey: v.StringSchema<undefined>;
|
|
6598
7493
|
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
6599
7494
|
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
6600
|
-
|
|
7495
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
7496
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
7497
|
+
readonly address: v.StringSchema<undefined>;
|
|
7498
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
7499
|
+
readonly multisig: v.ObjectSchema<{
|
|
7500
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
7501
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
7502
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
7503
|
+
}, undefined>;
|
|
7504
|
+
}, undefined>], undefined>, undefined>;
|
|
6601
7505
|
readonly network: v.ObjectSchema<{
|
|
6602
7506
|
readonly bitcoin: v.ObjectSchema<{
|
|
6603
7507
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -6653,6 +7557,11 @@ declare const stacksSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
6653
7557
|
controlBlock: string;
|
|
6654
7558
|
}[], 1, undefined>]>;
|
|
6655
7559
|
}, undefined>], undefined>, undefined>;
|
|
7560
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
7561
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
7562
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
7563
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
7564
|
+
}, undefined>, undefined>;
|
|
6656
7565
|
}, undefined>, v.CheckAction<{
|
|
6657
7566
|
address: string;
|
|
6658
7567
|
publicKey: string;
|
|
@@ -6678,6 +7587,11 @@ declare const stacksSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
6678
7587
|
controlBlock: string;
|
|
6679
7588
|
}[];
|
|
6680
7589
|
} | undefined;
|
|
7590
|
+
stacksMultisig?: {
|
|
7591
|
+
hashMode: "P2SHNonSequential";
|
|
7592
|
+
threshold: number;
|
|
7593
|
+
publicKeys: string[];
|
|
7594
|
+
} | undefined;
|
|
6681
7595
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
6682
7596
|
address: string;
|
|
6683
7597
|
publicKey: string;
|
|
@@ -6703,7 +7617,42 @@ declare const stacksSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
6703
7617
|
controlBlock: string;
|
|
6704
7618
|
}[];
|
|
6705
7619
|
} | undefined;
|
|
6706
|
-
|
|
7620
|
+
stacksMultisig?: {
|
|
7621
|
+
hashMode: "P2SHNonSequential";
|
|
7622
|
+
threshold: number;
|
|
7623
|
+
publicKeys: string[];
|
|
7624
|
+
} | undefined;
|
|
7625
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
7626
|
+
address: string;
|
|
7627
|
+
publicKey: string;
|
|
7628
|
+
purpose: AddressPurpose;
|
|
7629
|
+
addressType: AddressType;
|
|
7630
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
7631
|
+
scriptPubKey?: string | undefined;
|
|
7632
|
+
unlockDefinition?: {
|
|
7633
|
+
type: "p2wpkh";
|
|
7634
|
+
} | {
|
|
7635
|
+
type: "p2sh-p2wpkh";
|
|
7636
|
+
redeemScript: string;
|
|
7637
|
+
} | {
|
|
7638
|
+
type: "p2tr-key-path";
|
|
7639
|
+
tapInternalKey: string;
|
|
7640
|
+
} | {
|
|
7641
|
+
type: "p2wsh";
|
|
7642
|
+
witnessScript: string;
|
|
7643
|
+
} | {
|
|
7644
|
+
type: "p2tr-script-path";
|
|
7645
|
+
tapLeafScript: {
|
|
7646
|
+
script: string;
|
|
7647
|
+
controlBlock: string;
|
|
7648
|
+
}[];
|
|
7649
|
+
} | undefined;
|
|
7650
|
+
stacksMultisig?: {
|
|
7651
|
+
hashMode: "P2SHNonSequential";
|
|
7652
|
+
threshold: number;
|
|
7653
|
+
publicKeys: string[];
|
|
7654
|
+
} | undefined;
|
|
7655
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
6707
7656
|
readonly network: v.ObjectSchema<{
|
|
6708
7657
|
readonly bitcoin: v.ObjectSchema<{
|
|
6709
7658
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -6773,6 +7722,7 @@ declare const stacksSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
6773
7722
|
readonly id: v.StringSchema<undefined>;
|
|
6774
7723
|
readonly result: v.ObjectSchema<{
|
|
6775
7724
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7725
|
+
readonly txids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6776
7726
|
}, undefined>;
|
|
6777
7727
|
readonly '~sats-connect-method': v.LiteralSchema<"stx_signTransactions", undefined>;
|
|
6778
7728
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -7862,6 +8812,11 @@ declare const walletConnectResultSchema: v.ObjectSchema<{
|
|
|
7862
8812
|
controlBlock: string;
|
|
7863
8813
|
}[], 1, undefined>]>;
|
|
7864
8814
|
}, undefined>], undefined>, undefined>;
|
|
8815
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
8816
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
8817
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
8818
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
8819
|
+
}, undefined>, undefined>;
|
|
7865
8820
|
}, undefined>, v.CheckAction<{
|
|
7866
8821
|
address: string;
|
|
7867
8822
|
publicKey: string;
|
|
@@ -7887,6 +8842,11 @@ declare const walletConnectResultSchema: v.ObjectSchema<{
|
|
|
7887
8842
|
controlBlock: string;
|
|
7888
8843
|
}[];
|
|
7889
8844
|
} | undefined;
|
|
8845
|
+
stacksMultisig?: {
|
|
8846
|
+
hashMode: "P2SHNonSequential";
|
|
8847
|
+
threshold: number;
|
|
8848
|
+
publicKeys: string[];
|
|
8849
|
+
} | undefined;
|
|
7890
8850
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
7891
8851
|
address: string;
|
|
7892
8852
|
publicKey: string;
|
|
@@ -7912,7 +8872,42 @@ declare const walletConnectResultSchema: v.ObjectSchema<{
|
|
|
7912
8872
|
controlBlock: string;
|
|
7913
8873
|
}[];
|
|
7914
8874
|
} | undefined;
|
|
7915
|
-
|
|
8875
|
+
stacksMultisig?: {
|
|
8876
|
+
hashMode: "P2SHNonSequential";
|
|
8877
|
+
threshold: number;
|
|
8878
|
+
publicKeys: string[];
|
|
8879
|
+
} | undefined;
|
|
8880
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
8881
|
+
address: string;
|
|
8882
|
+
publicKey: string;
|
|
8883
|
+
purpose: AddressPurpose;
|
|
8884
|
+
addressType: AddressType;
|
|
8885
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
8886
|
+
scriptPubKey?: string | undefined;
|
|
8887
|
+
unlockDefinition?: {
|
|
8888
|
+
type: "p2wpkh";
|
|
8889
|
+
} | {
|
|
8890
|
+
type: "p2sh-p2wpkh";
|
|
8891
|
+
redeemScript: string;
|
|
8892
|
+
} | {
|
|
8893
|
+
type: "p2tr-key-path";
|
|
8894
|
+
tapInternalKey: string;
|
|
8895
|
+
} | {
|
|
8896
|
+
type: "p2wsh";
|
|
8897
|
+
witnessScript: string;
|
|
8898
|
+
} | {
|
|
8899
|
+
type: "p2tr-script-path";
|
|
8900
|
+
tapLeafScript: {
|
|
8901
|
+
script: string;
|
|
8902
|
+
controlBlock: string;
|
|
8903
|
+
}[];
|
|
8904
|
+
} | undefined;
|
|
8905
|
+
stacksMultisig?: {
|
|
8906
|
+
hashMode: "P2SHNonSequential";
|
|
8907
|
+
threshold: number;
|
|
8908
|
+
publicKeys: string[];
|
|
8909
|
+
} | undefined;
|
|
8910
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
7916
8911
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
7917
8912
|
readonly network: v.ObjectSchema<{
|
|
7918
8913
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -7962,6 +8957,11 @@ declare const walletConnectSuccessResponseSchema: v.ObjectSchema<{
|
|
|
7962
8957
|
controlBlock: string;
|
|
7963
8958
|
}[], 1, undefined>]>;
|
|
7964
8959
|
}, undefined>], undefined>, undefined>;
|
|
8960
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
8961
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
8962
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
8963
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
8964
|
+
}, undefined>, undefined>;
|
|
7965
8965
|
}, undefined>, v.CheckAction<{
|
|
7966
8966
|
address: string;
|
|
7967
8967
|
publicKey: string;
|
|
@@ -7987,6 +8987,11 @@ declare const walletConnectSuccessResponseSchema: v.ObjectSchema<{
|
|
|
7987
8987
|
controlBlock: string;
|
|
7988
8988
|
}[];
|
|
7989
8989
|
} | undefined;
|
|
8990
|
+
stacksMultisig?: {
|
|
8991
|
+
hashMode: "P2SHNonSequential";
|
|
8992
|
+
threshold: number;
|
|
8993
|
+
publicKeys: string[];
|
|
8994
|
+
} | undefined;
|
|
7990
8995
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
7991
8996
|
address: string;
|
|
7992
8997
|
publicKey: string;
|
|
@@ -8012,7 +9017,42 @@ declare const walletConnectSuccessResponseSchema: v.ObjectSchema<{
|
|
|
8012
9017
|
controlBlock: string;
|
|
8013
9018
|
}[];
|
|
8014
9019
|
} | undefined;
|
|
8015
|
-
|
|
9020
|
+
stacksMultisig?: {
|
|
9021
|
+
hashMode: "P2SHNonSequential";
|
|
9022
|
+
threshold: number;
|
|
9023
|
+
publicKeys: string[];
|
|
9024
|
+
} | undefined;
|
|
9025
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
9026
|
+
address: string;
|
|
9027
|
+
publicKey: string;
|
|
9028
|
+
purpose: AddressPurpose;
|
|
9029
|
+
addressType: AddressType;
|
|
9030
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
9031
|
+
scriptPubKey?: string | undefined;
|
|
9032
|
+
unlockDefinition?: {
|
|
9033
|
+
type: "p2wpkh";
|
|
9034
|
+
} | {
|
|
9035
|
+
type: "p2sh-p2wpkh";
|
|
9036
|
+
redeemScript: string;
|
|
9037
|
+
} | {
|
|
9038
|
+
type: "p2tr-key-path";
|
|
9039
|
+
tapInternalKey: string;
|
|
9040
|
+
} | {
|
|
9041
|
+
type: "p2wsh";
|
|
9042
|
+
witnessScript: string;
|
|
9043
|
+
} | {
|
|
9044
|
+
type: "p2tr-script-path";
|
|
9045
|
+
tapLeafScript: {
|
|
9046
|
+
script: string;
|
|
9047
|
+
controlBlock: string;
|
|
9048
|
+
}[];
|
|
9049
|
+
} | undefined;
|
|
9050
|
+
stacksMultisig?: {
|
|
9051
|
+
hashMode: "P2SHNonSequential";
|
|
9052
|
+
threshold: number;
|
|
9053
|
+
publicKeys: string[];
|
|
9054
|
+
} | undefined;
|
|
9055
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
8016
9056
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
8017
9057
|
readonly network: v.ObjectSchema<{
|
|
8018
9058
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -8117,6 +9157,11 @@ declare const walletConnectV2ResultSchema: v.ObjectSchema<{
|
|
|
8117
9157
|
controlBlock: string;
|
|
8118
9158
|
}[], 1, undefined>]>;
|
|
8119
9159
|
}, undefined>], undefined>, undefined>;
|
|
9160
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
9161
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
9162
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
9163
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
9164
|
+
}, undefined>, undefined>;
|
|
8120
9165
|
}, undefined>, v.CheckAction<{
|
|
8121
9166
|
address: string;
|
|
8122
9167
|
publicKey: string;
|
|
@@ -8142,6 +9187,11 @@ declare const walletConnectV2ResultSchema: v.ObjectSchema<{
|
|
|
8142
9187
|
controlBlock: string;
|
|
8143
9188
|
}[];
|
|
8144
9189
|
} | undefined;
|
|
9190
|
+
stacksMultisig?: {
|
|
9191
|
+
hashMode: "P2SHNonSequential";
|
|
9192
|
+
threshold: number;
|
|
9193
|
+
publicKeys: string[];
|
|
9194
|
+
} | undefined;
|
|
8145
9195
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
8146
9196
|
address: string;
|
|
8147
9197
|
publicKey: string;
|
|
@@ -8167,7 +9217,42 @@ declare const walletConnectV2ResultSchema: v.ObjectSchema<{
|
|
|
8167
9217
|
controlBlock: string;
|
|
8168
9218
|
}[];
|
|
8169
9219
|
} | undefined;
|
|
8170
|
-
|
|
9220
|
+
stacksMultisig?: {
|
|
9221
|
+
hashMode: "P2SHNonSequential";
|
|
9222
|
+
threshold: number;
|
|
9223
|
+
publicKeys: string[];
|
|
9224
|
+
} | undefined;
|
|
9225
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
9226
|
+
address: string;
|
|
9227
|
+
publicKey: string;
|
|
9228
|
+
purpose: AddressPurpose;
|
|
9229
|
+
addressType: AddressType;
|
|
9230
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
9231
|
+
scriptPubKey?: string | undefined;
|
|
9232
|
+
unlockDefinition?: {
|
|
9233
|
+
type: "p2wpkh";
|
|
9234
|
+
} | {
|
|
9235
|
+
type: "p2sh-p2wpkh";
|
|
9236
|
+
redeemScript: string;
|
|
9237
|
+
} | {
|
|
9238
|
+
type: "p2tr-key-path";
|
|
9239
|
+
tapInternalKey: string;
|
|
9240
|
+
} | {
|
|
9241
|
+
type: "p2wsh";
|
|
9242
|
+
witnessScript: string;
|
|
9243
|
+
} | {
|
|
9244
|
+
type: "p2tr-script-path";
|
|
9245
|
+
tapLeafScript: {
|
|
9246
|
+
script: string;
|
|
9247
|
+
controlBlock: string;
|
|
9248
|
+
}[];
|
|
9249
|
+
} | undefined;
|
|
9250
|
+
stacksMultisig?: {
|
|
9251
|
+
hashMode: "P2SHNonSequential";
|
|
9252
|
+
threshold: number;
|
|
9253
|
+
publicKeys: string[];
|
|
9254
|
+
} | undefined;
|
|
9255
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
8171
9256
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
8172
9257
|
readonly networks: v.ObjectSchema<{
|
|
8173
9258
|
readonly active: v.ObjectSchema<{
|
|
@@ -8343,6 +9428,11 @@ declare const walletConnectV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
8343
9428
|
controlBlock: string;
|
|
8344
9429
|
}[], 1, undefined>]>;
|
|
8345
9430
|
}, undefined>], undefined>, undefined>;
|
|
9431
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
9432
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
9433
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
9434
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
9435
|
+
}, undefined>, undefined>;
|
|
8346
9436
|
}, undefined>, v.CheckAction<{
|
|
8347
9437
|
address: string;
|
|
8348
9438
|
publicKey: string;
|
|
@@ -8368,6 +9458,11 @@ declare const walletConnectV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
8368
9458
|
controlBlock: string;
|
|
8369
9459
|
}[];
|
|
8370
9460
|
} | undefined;
|
|
9461
|
+
stacksMultisig?: {
|
|
9462
|
+
hashMode: "P2SHNonSequential";
|
|
9463
|
+
threshold: number;
|
|
9464
|
+
publicKeys: string[];
|
|
9465
|
+
} | undefined;
|
|
8371
9466
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
8372
9467
|
address: string;
|
|
8373
9468
|
publicKey: string;
|
|
@@ -8393,7 +9488,42 @@ declare const walletConnectV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
8393
9488
|
controlBlock: string;
|
|
8394
9489
|
}[];
|
|
8395
9490
|
} | undefined;
|
|
8396
|
-
|
|
9491
|
+
stacksMultisig?: {
|
|
9492
|
+
hashMode: "P2SHNonSequential";
|
|
9493
|
+
threshold: number;
|
|
9494
|
+
publicKeys: string[];
|
|
9495
|
+
} | undefined;
|
|
9496
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
9497
|
+
address: string;
|
|
9498
|
+
publicKey: string;
|
|
9499
|
+
purpose: AddressPurpose;
|
|
9500
|
+
addressType: AddressType;
|
|
9501
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
9502
|
+
scriptPubKey?: string | undefined;
|
|
9503
|
+
unlockDefinition?: {
|
|
9504
|
+
type: "p2wpkh";
|
|
9505
|
+
} | {
|
|
9506
|
+
type: "p2sh-p2wpkh";
|
|
9507
|
+
redeemScript: string;
|
|
9508
|
+
} | {
|
|
9509
|
+
type: "p2tr-key-path";
|
|
9510
|
+
tapInternalKey: string;
|
|
9511
|
+
} | {
|
|
9512
|
+
type: "p2wsh";
|
|
9513
|
+
witnessScript: string;
|
|
9514
|
+
} | {
|
|
9515
|
+
type: "p2tr-script-path";
|
|
9516
|
+
tapLeafScript: {
|
|
9517
|
+
script: string;
|
|
9518
|
+
controlBlock: string;
|
|
9519
|
+
}[];
|
|
9520
|
+
} | undefined;
|
|
9521
|
+
stacksMultisig?: {
|
|
9522
|
+
hashMode: "P2SHNonSequential";
|
|
9523
|
+
threshold: number;
|
|
9524
|
+
publicKeys: string[];
|
|
9525
|
+
} | undefined;
|
|
9526
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
8397
9527
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
8398
9528
|
readonly networks: v.ObjectSchema<{
|
|
8399
9529
|
readonly active: v.ObjectSchema<{
|
|
@@ -8619,6 +9749,11 @@ declare const walletGetAccountResultSchema: v.ObjectSchema<{
|
|
|
8619
9749
|
controlBlock: string;
|
|
8620
9750
|
}[], 1, undefined>]>;
|
|
8621
9751
|
}, undefined>], undefined>, undefined>;
|
|
9752
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
9753
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
9754
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
9755
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
9756
|
+
}, undefined>, undefined>;
|
|
8622
9757
|
}, undefined>, v.CheckAction<{
|
|
8623
9758
|
address: string;
|
|
8624
9759
|
publicKey: string;
|
|
@@ -8644,6 +9779,11 @@ declare const walletGetAccountResultSchema: v.ObjectSchema<{
|
|
|
8644
9779
|
controlBlock: string;
|
|
8645
9780
|
}[];
|
|
8646
9781
|
} | undefined;
|
|
9782
|
+
stacksMultisig?: {
|
|
9783
|
+
hashMode: "P2SHNonSequential";
|
|
9784
|
+
threshold: number;
|
|
9785
|
+
publicKeys: string[];
|
|
9786
|
+
} | undefined;
|
|
8647
9787
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
8648
9788
|
address: string;
|
|
8649
9789
|
publicKey: string;
|
|
@@ -8669,7 +9809,42 @@ declare const walletGetAccountResultSchema: v.ObjectSchema<{
|
|
|
8669
9809
|
controlBlock: string;
|
|
8670
9810
|
}[];
|
|
8671
9811
|
} | undefined;
|
|
8672
|
-
|
|
9812
|
+
stacksMultisig?: {
|
|
9813
|
+
hashMode: "P2SHNonSequential";
|
|
9814
|
+
threshold: number;
|
|
9815
|
+
publicKeys: string[];
|
|
9816
|
+
} | undefined;
|
|
9817
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
9818
|
+
address: string;
|
|
9819
|
+
publicKey: string;
|
|
9820
|
+
purpose: AddressPurpose;
|
|
9821
|
+
addressType: AddressType;
|
|
9822
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
9823
|
+
scriptPubKey?: string | undefined;
|
|
9824
|
+
unlockDefinition?: {
|
|
9825
|
+
type: "p2wpkh";
|
|
9826
|
+
} | {
|
|
9827
|
+
type: "p2sh-p2wpkh";
|
|
9828
|
+
redeemScript: string;
|
|
9829
|
+
} | {
|
|
9830
|
+
type: "p2tr-key-path";
|
|
9831
|
+
tapInternalKey: string;
|
|
9832
|
+
} | {
|
|
9833
|
+
type: "p2wsh";
|
|
9834
|
+
witnessScript: string;
|
|
9835
|
+
} | {
|
|
9836
|
+
type: "p2tr-script-path";
|
|
9837
|
+
tapLeafScript: {
|
|
9838
|
+
script: string;
|
|
9839
|
+
controlBlock: string;
|
|
9840
|
+
}[];
|
|
9841
|
+
} | undefined;
|
|
9842
|
+
stacksMultisig?: {
|
|
9843
|
+
hashMode: "P2SHNonSequential";
|
|
9844
|
+
threshold: number;
|
|
9845
|
+
publicKeys: string[];
|
|
9846
|
+
} | undefined;
|
|
9847
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
8673
9848
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
8674
9849
|
readonly network: v.ObjectSchema<{
|
|
8675
9850
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -8719,6 +9894,11 @@ declare const walletGetAccountSuccessResponseSchema: v.ObjectSchema<{
|
|
|
8719
9894
|
controlBlock: string;
|
|
8720
9895
|
}[], 1, undefined>]>;
|
|
8721
9896
|
}, undefined>], undefined>, undefined>;
|
|
9897
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
9898
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
9899
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
9900
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
9901
|
+
}, undefined>, undefined>;
|
|
8722
9902
|
}, undefined>, v.CheckAction<{
|
|
8723
9903
|
address: string;
|
|
8724
9904
|
publicKey: string;
|
|
@@ -8744,6 +9924,11 @@ declare const walletGetAccountSuccessResponseSchema: v.ObjectSchema<{
|
|
|
8744
9924
|
controlBlock: string;
|
|
8745
9925
|
}[];
|
|
8746
9926
|
} | undefined;
|
|
9927
|
+
stacksMultisig?: {
|
|
9928
|
+
hashMode: "P2SHNonSequential";
|
|
9929
|
+
threshold: number;
|
|
9930
|
+
publicKeys: string[];
|
|
9931
|
+
} | undefined;
|
|
8747
9932
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
8748
9933
|
address: string;
|
|
8749
9934
|
publicKey: string;
|
|
@@ -8769,7 +9954,42 @@ declare const walletGetAccountSuccessResponseSchema: v.ObjectSchema<{
|
|
|
8769
9954
|
controlBlock: string;
|
|
8770
9955
|
}[];
|
|
8771
9956
|
} | undefined;
|
|
8772
|
-
|
|
9957
|
+
stacksMultisig?: {
|
|
9958
|
+
hashMode: "P2SHNonSequential";
|
|
9959
|
+
threshold: number;
|
|
9960
|
+
publicKeys: string[];
|
|
9961
|
+
} | undefined;
|
|
9962
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
9963
|
+
address: string;
|
|
9964
|
+
publicKey: string;
|
|
9965
|
+
purpose: AddressPurpose;
|
|
9966
|
+
addressType: AddressType;
|
|
9967
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
9968
|
+
scriptPubKey?: string | undefined;
|
|
9969
|
+
unlockDefinition?: {
|
|
9970
|
+
type: "p2wpkh";
|
|
9971
|
+
} | {
|
|
9972
|
+
type: "p2sh-p2wpkh";
|
|
9973
|
+
redeemScript: string;
|
|
9974
|
+
} | {
|
|
9975
|
+
type: "p2tr-key-path";
|
|
9976
|
+
tapInternalKey: string;
|
|
9977
|
+
} | {
|
|
9978
|
+
type: "p2wsh";
|
|
9979
|
+
witnessScript: string;
|
|
9980
|
+
} | {
|
|
9981
|
+
type: "p2tr-script-path";
|
|
9982
|
+
tapLeafScript: {
|
|
9983
|
+
script: string;
|
|
9984
|
+
controlBlock: string;
|
|
9985
|
+
}[];
|
|
9986
|
+
} | undefined;
|
|
9987
|
+
stacksMultisig?: {
|
|
9988
|
+
hashMode: "P2SHNonSequential";
|
|
9989
|
+
threshold: number;
|
|
9990
|
+
publicKeys: string[];
|
|
9991
|
+
} | undefined;
|
|
9992
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
8773
9993
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
8774
9994
|
readonly network: v.ObjectSchema<{
|
|
8775
9995
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -8840,6 +10060,11 @@ declare const walletGetAccountV2ResultSchema: v.ObjectSchema<{
|
|
|
8840
10060
|
controlBlock: string;
|
|
8841
10061
|
}[], 1, undefined>]>;
|
|
8842
10062
|
}, undefined>], undefined>, undefined>;
|
|
10063
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
10064
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
10065
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
10066
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
10067
|
+
}, undefined>, undefined>;
|
|
8843
10068
|
}, undefined>, v.CheckAction<{
|
|
8844
10069
|
address: string;
|
|
8845
10070
|
publicKey: string;
|
|
@@ -8865,6 +10090,11 @@ declare const walletGetAccountV2ResultSchema: v.ObjectSchema<{
|
|
|
8865
10090
|
controlBlock: string;
|
|
8866
10091
|
}[];
|
|
8867
10092
|
} | undefined;
|
|
10093
|
+
stacksMultisig?: {
|
|
10094
|
+
hashMode: "P2SHNonSequential";
|
|
10095
|
+
threshold: number;
|
|
10096
|
+
publicKeys: string[];
|
|
10097
|
+
} | undefined;
|
|
8868
10098
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
8869
10099
|
address: string;
|
|
8870
10100
|
publicKey: string;
|
|
@@ -8890,12 +10120,47 @@ declare const walletGetAccountV2ResultSchema: v.ObjectSchema<{
|
|
|
8890
10120
|
controlBlock: string;
|
|
8891
10121
|
}[];
|
|
8892
10122
|
} | undefined;
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
10123
|
+
stacksMultisig?: {
|
|
10124
|
+
hashMode: "P2SHNonSequential";
|
|
10125
|
+
threshold: number;
|
|
10126
|
+
publicKeys: string[];
|
|
10127
|
+
} | undefined;
|
|
10128
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
10129
|
+
address: string;
|
|
10130
|
+
publicKey: string;
|
|
10131
|
+
purpose: AddressPurpose;
|
|
10132
|
+
addressType: AddressType;
|
|
10133
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
10134
|
+
scriptPubKey?: string | undefined;
|
|
10135
|
+
unlockDefinition?: {
|
|
10136
|
+
type: "p2wpkh";
|
|
10137
|
+
} | {
|
|
10138
|
+
type: "p2sh-p2wpkh";
|
|
10139
|
+
redeemScript: string;
|
|
10140
|
+
} | {
|
|
10141
|
+
type: "p2tr-key-path";
|
|
10142
|
+
tapInternalKey: string;
|
|
10143
|
+
} | {
|
|
10144
|
+
type: "p2wsh";
|
|
10145
|
+
witnessScript: string;
|
|
10146
|
+
} | {
|
|
10147
|
+
type: "p2tr-script-path";
|
|
10148
|
+
tapLeafScript: {
|
|
10149
|
+
script: string;
|
|
10150
|
+
controlBlock: string;
|
|
10151
|
+
}[];
|
|
10152
|
+
} | undefined;
|
|
10153
|
+
stacksMultisig?: {
|
|
10154
|
+
hashMode: "P2SHNonSequential";
|
|
10155
|
+
threshold: number;
|
|
10156
|
+
publicKeys: string[];
|
|
10157
|
+
} | undefined;
|
|
10158
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
10159
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
10160
|
+
readonly networks: v.ObjectSchema<{
|
|
10161
|
+
readonly active: v.ObjectSchema<{
|
|
10162
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
10163
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
8899
10164
|
readonly mode: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<{
|
|
8900
10165
|
readonly mainnet: "mainnet";
|
|
8901
10166
|
readonly testnet: "testnet";
|
|
@@ -9066,6 +10331,11 @@ declare const walletGetAccountV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
9066
10331
|
controlBlock: string;
|
|
9067
10332
|
}[], 1, undefined>]>;
|
|
9068
10333
|
}, undefined>], undefined>, undefined>;
|
|
10334
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
10335
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
10336
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
10337
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
10338
|
+
}, undefined>, undefined>;
|
|
9069
10339
|
}, undefined>, v.CheckAction<{
|
|
9070
10340
|
address: string;
|
|
9071
10341
|
publicKey: string;
|
|
@@ -9091,6 +10361,11 @@ declare const walletGetAccountV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
9091
10361
|
controlBlock: string;
|
|
9092
10362
|
}[];
|
|
9093
10363
|
} | undefined;
|
|
10364
|
+
stacksMultisig?: {
|
|
10365
|
+
hashMode: "P2SHNonSequential";
|
|
10366
|
+
threshold: number;
|
|
10367
|
+
publicKeys: string[];
|
|
10368
|
+
} | undefined;
|
|
9094
10369
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
9095
10370
|
address: string;
|
|
9096
10371
|
publicKey: string;
|
|
@@ -9116,7 +10391,42 @@ declare const walletGetAccountV2SuccessResponseSchema: v.ObjectSchema<{
|
|
|
9116
10391
|
controlBlock: string;
|
|
9117
10392
|
}[];
|
|
9118
10393
|
} | undefined;
|
|
9119
|
-
|
|
10394
|
+
stacksMultisig?: {
|
|
10395
|
+
hashMode: "P2SHNonSequential";
|
|
10396
|
+
threshold: number;
|
|
10397
|
+
publicKeys: string[];
|
|
10398
|
+
} | undefined;
|
|
10399
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
10400
|
+
address: string;
|
|
10401
|
+
publicKey: string;
|
|
10402
|
+
purpose: AddressPurpose;
|
|
10403
|
+
addressType: AddressType;
|
|
10404
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
10405
|
+
scriptPubKey?: string | undefined;
|
|
10406
|
+
unlockDefinition?: {
|
|
10407
|
+
type: "p2wpkh";
|
|
10408
|
+
} | {
|
|
10409
|
+
type: "p2sh-p2wpkh";
|
|
10410
|
+
redeemScript: string;
|
|
10411
|
+
} | {
|
|
10412
|
+
type: "p2tr-key-path";
|
|
10413
|
+
tapInternalKey: string;
|
|
10414
|
+
} | {
|
|
10415
|
+
type: "p2wsh";
|
|
10416
|
+
witnessScript: string;
|
|
10417
|
+
} | {
|
|
10418
|
+
type: "p2tr-script-path";
|
|
10419
|
+
tapLeafScript: {
|
|
10420
|
+
script: string;
|
|
10421
|
+
controlBlock: string;
|
|
10422
|
+
}[];
|
|
10423
|
+
} | undefined;
|
|
10424
|
+
stacksMultisig?: {
|
|
10425
|
+
hashMode: "P2SHNonSequential";
|
|
10426
|
+
threshold: number;
|
|
10427
|
+
publicKeys: string[];
|
|
10428
|
+
} | undefined;
|
|
10429
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
9120
10430
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
9121
10431
|
readonly networks: v.ObjectSchema<{
|
|
9122
10432
|
readonly active: v.ObjectSchema<{
|
|
@@ -9852,6 +11162,11 @@ declare const walletOpenReceiveResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
9852
11162
|
controlBlock: string;
|
|
9853
11163
|
}[], 1, undefined>]>;
|
|
9854
11164
|
}, undefined>], undefined>, undefined>;
|
|
11165
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
11166
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
11167
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
11168
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
11169
|
+
}, undefined>, undefined>;
|
|
9855
11170
|
}, undefined>, v.CheckAction<{
|
|
9856
11171
|
address: string;
|
|
9857
11172
|
publicKey: string;
|
|
@@ -9877,6 +11192,11 @@ declare const walletOpenReceiveResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
9877
11192
|
controlBlock: string;
|
|
9878
11193
|
}[];
|
|
9879
11194
|
} | undefined;
|
|
11195
|
+
stacksMultisig?: {
|
|
11196
|
+
hashMode: "P2SHNonSequential";
|
|
11197
|
+
threshold: number;
|
|
11198
|
+
publicKeys: string[];
|
|
11199
|
+
} | undefined;
|
|
9880
11200
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
9881
11201
|
address: string;
|
|
9882
11202
|
publicKey: string;
|
|
@@ -9902,7 +11222,42 @@ declare const walletOpenReceiveResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
9902
11222
|
controlBlock: string;
|
|
9903
11223
|
}[];
|
|
9904
11224
|
} | undefined;
|
|
9905
|
-
|
|
11225
|
+
stacksMultisig?: {
|
|
11226
|
+
hashMode: "P2SHNonSequential";
|
|
11227
|
+
threshold: number;
|
|
11228
|
+
publicKeys: string[];
|
|
11229
|
+
} | undefined;
|
|
11230
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
11231
|
+
address: string;
|
|
11232
|
+
publicKey: string;
|
|
11233
|
+
purpose: AddressPurpose;
|
|
11234
|
+
addressType: AddressType;
|
|
11235
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
11236
|
+
scriptPubKey?: string | undefined;
|
|
11237
|
+
unlockDefinition?: {
|
|
11238
|
+
type: "p2wpkh";
|
|
11239
|
+
} | {
|
|
11240
|
+
type: "p2sh-p2wpkh";
|
|
11241
|
+
redeemScript: string;
|
|
11242
|
+
} | {
|
|
11243
|
+
type: "p2tr-key-path";
|
|
11244
|
+
tapInternalKey: string;
|
|
11245
|
+
} | {
|
|
11246
|
+
type: "p2wsh";
|
|
11247
|
+
witnessScript: string;
|
|
11248
|
+
} | {
|
|
11249
|
+
type: "p2tr-script-path";
|
|
11250
|
+
tapLeafScript: {
|
|
11251
|
+
script: string;
|
|
11252
|
+
controlBlock: string;
|
|
11253
|
+
}[];
|
|
11254
|
+
} | undefined;
|
|
11255
|
+
stacksMultisig?: {
|
|
11256
|
+
hashMode: "P2SHNonSequential";
|
|
11257
|
+
threshold: number;
|
|
11258
|
+
publicKeys: string[];
|
|
11259
|
+
} | undefined;
|
|
11260
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>;
|
|
9906
11261
|
type WalletOpenReceiveResult = v.InferOutput<typeof walletOpenReceiveResultSchema>;
|
|
9907
11262
|
declare const walletOpenReceiveSuccessResponseSchema: v.ObjectSchema<{
|
|
9908
11263
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -9937,6 +11292,11 @@ declare const walletOpenReceiveSuccessResponseSchema: v.ObjectSchema<{
|
|
|
9937
11292
|
controlBlock: string;
|
|
9938
11293
|
}[], 1, undefined>]>;
|
|
9939
11294
|
}, undefined>], undefined>, undefined>;
|
|
11295
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
11296
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
11297
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
11298
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
11299
|
+
}, undefined>, undefined>;
|
|
9940
11300
|
}, undefined>, v.CheckAction<{
|
|
9941
11301
|
address: string;
|
|
9942
11302
|
publicKey: string;
|
|
@@ -9962,6 +11322,11 @@ declare const walletOpenReceiveSuccessResponseSchema: v.ObjectSchema<{
|
|
|
9962
11322
|
controlBlock: string;
|
|
9963
11323
|
}[];
|
|
9964
11324
|
} | undefined;
|
|
11325
|
+
stacksMultisig?: {
|
|
11326
|
+
hashMode: "P2SHNonSequential";
|
|
11327
|
+
threshold: number;
|
|
11328
|
+
publicKeys: string[];
|
|
11329
|
+
} | undefined;
|
|
9965
11330
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
9966
11331
|
address: string;
|
|
9967
11332
|
publicKey: string;
|
|
@@ -9987,7 +11352,42 @@ declare const walletOpenReceiveSuccessResponseSchema: v.ObjectSchema<{
|
|
|
9987
11352
|
controlBlock: string;
|
|
9988
11353
|
}[];
|
|
9989
11354
|
} | undefined;
|
|
9990
|
-
|
|
11355
|
+
stacksMultisig?: {
|
|
11356
|
+
hashMode: "P2SHNonSequential";
|
|
11357
|
+
threshold: number;
|
|
11358
|
+
publicKeys: string[];
|
|
11359
|
+
} | undefined;
|
|
11360
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
11361
|
+
address: string;
|
|
11362
|
+
publicKey: string;
|
|
11363
|
+
purpose: AddressPurpose;
|
|
11364
|
+
addressType: AddressType;
|
|
11365
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
11366
|
+
scriptPubKey?: string | undefined;
|
|
11367
|
+
unlockDefinition?: {
|
|
11368
|
+
type: "p2wpkh";
|
|
11369
|
+
} | {
|
|
11370
|
+
type: "p2sh-p2wpkh";
|
|
11371
|
+
redeemScript: string;
|
|
11372
|
+
} | {
|
|
11373
|
+
type: "p2tr-key-path";
|
|
11374
|
+
tapInternalKey: string;
|
|
11375
|
+
} | {
|
|
11376
|
+
type: "p2wsh";
|
|
11377
|
+
witnessScript: string;
|
|
11378
|
+
} | {
|
|
11379
|
+
type: "p2tr-script-path";
|
|
11380
|
+
tapLeafScript: {
|
|
11381
|
+
script: string;
|
|
11382
|
+
controlBlock: string;
|
|
11383
|
+
}[];
|
|
11384
|
+
} | undefined;
|
|
11385
|
+
stacksMultisig?: {
|
|
11386
|
+
hashMode: "P2SHNonSequential";
|
|
11387
|
+
threshold: number;
|
|
11388
|
+
publicKeys: string[];
|
|
11389
|
+
} | undefined;
|
|
11390
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>;
|
|
9991
11391
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_openReceive", undefined>;
|
|
9992
11392
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
9993
11393
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -12118,6 +13518,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12118
13518
|
controlBlock: string;
|
|
12119
13519
|
}[], 1, undefined>]>;
|
|
12120
13520
|
}, undefined>], undefined>, undefined>;
|
|
13521
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
13522
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
13523
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
13524
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
13525
|
+
}, undefined>, undefined>;
|
|
12121
13526
|
}, undefined>, v.CheckAction<{
|
|
12122
13527
|
address: string;
|
|
12123
13528
|
publicKey: string;
|
|
@@ -12143,6 +13548,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12143
13548
|
controlBlock: string;
|
|
12144
13549
|
}[];
|
|
12145
13550
|
} | undefined;
|
|
13551
|
+
stacksMultisig?: {
|
|
13552
|
+
hashMode: "P2SHNonSequential";
|
|
13553
|
+
threshold: number;
|
|
13554
|
+
publicKeys: string[];
|
|
13555
|
+
} | undefined;
|
|
12146
13556
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
12147
13557
|
address: string;
|
|
12148
13558
|
publicKey: string;
|
|
@@ -12168,7 +13578,42 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12168
13578
|
controlBlock: string;
|
|
12169
13579
|
}[];
|
|
12170
13580
|
} | undefined;
|
|
12171
|
-
|
|
13581
|
+
stacksMultisig?: {
|
|
13582
|
+
hashMode: "P2SHNonSequential";
|
|
13583
|
+
threshold: number;
|
|
13584
|
+
publicKeys: string[];
|
|
13585
|
+
} | undefined;
|
|
13586
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
13587
|
+
address: string;
|
|
13588
|
+
publicKey: string;
|
|
13589
|
+
purpose: AddressPurpose;
|
|
13590
|
+
addressType: AddressType;
|
|
13591
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
13592
|
+
scriptPubKey?: string | undefined;
|
|
13593
|
+
unlockDefinition?: {
|
|
13594
|
+
type: "p2wpkh";
|
|
13595
|
+
} | {
|
|
13596
|
+
type: "p2sh-p2wpkh";
|
|
13597
|
+
redeemScript: string;
|
|
13598
|
+
} | {
|
|
13599
|
+
type: "p2tr-key-path";
|
|
13600
|
+
tapInternalKey: string;
|
|
13601
|
+
} | {
|
|
13602
|
+
type: "p2wsh";
|
|
13603
|
+
witnessScript: string;
|
|
13604
|
+
} | {
|
|
13605
|
+
type: "p2tr-script-path";
|
|
13606
|
+
tapLeafScript: {
|
|
13607
|
+
script: string;
|
|
13608
|
+
controlBlock: string;
|
|
13609
|
+
}[];
|
|
13610
|
+
} | undefined;
|
|
13611
|
+
stacksMultisig?: {
|
|
13612
|
+
hashMode: "P2SHNonSequential";
|
|
13613
|
+
threshold: number;
|
|
13614
|
+
publicKeys: string[];
|
|
13615
|
+
} | undefined;
|
|
13616
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
12172
13617
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
12173
13618
|
readonly network: v.ObjectSchema<{
|
|
12174
13619
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -12226,6 +13671,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12226
13671
|
controlBlock: string;
|
|
12227
13672
|
}[], 1, undefined>]>;
|
|
12228
13673
|
}, undefined>], undefined>, undefined>;
|
|
13674
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
13675
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
13676
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
13677
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
13678
|
+
}, undefined>, undefined>;
|
|
12229
13679
|
}, undefined>, v.CheckAction<{
|
|
12230
13680
|
address: string;
|
|
12231
13681
|
publicKey: string;
|
|
@@ -12251,6 +13701,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12251
13701
|
controlBlock: string;
|
|
12252
13702
|
}[];
|
|
12253
13703
|
} | undefined;
|
|
13704
|
+
stacksMultisig?: {
|
|
13705
|
+
hashMode: "P2SHNonSequential";
|
|
13706
|
+
threshold: number;
|
|
13707
|
+
publicKeys: string[];
|
|
13708
|
+
} | undefined;
|
|
12254
13709
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
12255
13710
|
address: string;
|
|
12256
13711
|
publicKey: string;
|
|
@@ -12276,7 +13731,42 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12276
13731
|
controlBlock: string;
|
|
12277
13732
|
}[];
|
|
12278
13733
|
} | undefined;
|
|
12279
|
-
|
|
13734
|
+
stacksMultisig?: {
|
|
13735
|
+
hashMode: "P2SHNonSequential";
|
|
13736
|
+
threshold: number;
|
|
13737
|
+
publicKeys: string[];
|
|
13738
|
+
} | undefined;
|
|
13739
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
13740
|
+
address: string;
|
|
13741
|
+
publicKey: string;
|
|
13742
|
+
purpose: AddressPurpose;
|
|
13743
|
+
addressType: AddressType;
|
|
13744
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
13745
|
+
scriptPubKey?: string | undefined;
|
|
13746
|
+
unlockDefinition?: {
|
|
13747
|
+
type: "p2wpkh";
|
|
13748
|
+
} | {
|
|
13749
|
+
type: "p2sh-p2wpkh";
|
|
13750
|
+
redeemScript: string;
|
|
13751
|
+
} | {
|
|
13752
|
+
type: "p2tr-key-path";
|
|
13753
|
+
tapInternalKey: string;
|
|
13754
|
+
} | {
|
|
13755
|
+
type: "p2wsh";
|
|
13756
|
+
witnessScript: string;
|
|
13757
|
+
} | {
|
|
13758
|
+
type: "p2tr-script-path";
|
|
13759
|
+
tapLeafScript: {
|
|
13760
|
+
script: string;
|
|
13761
|
+
controlBlock: string;
|
|
13762
|
+
}[];
|
|
13763
|
+
} | undefined;
|
|
13764
|
+
stacksMultisig?: {
|
|
13765
|
+
hashMode: "P2SHNonSequential";
|
|
13766
|
+
threshold: number;
|
|
13767
|
+
publicKeys: string[];
|
|
13768
|
+
} | undefined;
|
|
13769
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
12280
13770
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
12281
13771
|
readonly networks: v.ObjectSchema<{
|
|
12282
13772
|
readonly active: v.ObjectSchema<{
|
|
@@ -12472,6 +13962,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12472
13962
|
controlBlock: string;
|
|
12473
13963
|
}[], 1, undefined>]>;
|
|
12474
13964
|
}, undefined>], undefined>, undefined>;
|
|
13965
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
13966
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
13967
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
13968
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
13969
|
+
}, undefined>, undefined>;
|
|
12475
13970
|
}, undefined>, v.CheckAction<{
|
|
12476
13971
|
address: string;
|
|
12477
13972
|
publicKey: string;
|
|
@@ -12497,6 +13992,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12497
13992
|
controlBlock: string;
|
|
12498
13993
|
}[];
|
|
12499
13994
|
} | undefined;
|
|
13995
|
+
stacksMultisig?: {
|
|
13996
|
+
hashMode: "P2SHNonSequential";
|
|
13997
|
+
threshold: number;
|
|
13998
|
+
publicKeys: string[];
|
|
13999
|
+
} | undefined;
|
|
12500
14000
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
12501
14001
|
address: string;
|
|
12502
14002
|
publicKey: string;
|
|
@@ -12522,7 +14022,42 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12522
14022
|
controlBlock: string;
|
|
12523
14023
|
}[];
|
|
12524
14024
|
} | undefined;
|
|
12525
|
-
|
|
14025
|
+
stacksMultisig?: {
|
|
14026
|
+
hashMode: "P2SHNonSequential";
|
|
14027
|
+
threshold: number;
|
|
14028
|
+
publicKeys: string[];
|
|
14029
|
+
} | undefined;
|
|
14030
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
14031
|
+
address: string;
|
|
14032
|
+
publicKey: string;
|
|
14033
|
+
purpose: AddressPurpose;
|
|
14034
|
+
addressType: AddressType;
|
|
14035
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
14036
|
+
scriptPubKey?: string | undefined;
|
|
14037
|
+
unlockDefinition?: {
|
|
14038
|
+
type: "p2wpkh";
|
|
14039
|
+
} | {
|
|
14040
|
+
type: "p2sh-p2wpkh";
|
|
14041
|
+
redeemScript: string;
|
|
14042
|
+
} | {
|
|
14043
|
+
type: "p2tr-key-path";
|
|
14044
|
+
tapInternalKey: string;
|
|
14045
|
+
} | {
|
|
14046
|
+
type: "p2wsh";
|
|
14047
|
+
witnessScript: string;
|
|
14048
|
+
} | {
|
|
14049
|
+
type: "p2tr-script-path";
|
|
14050
|
+
tapLeafScript: {
|
|
14051
|
+
script: string;
|
|
14052
|
+
controlBlock: string;
|
|
14053
|
+
}[];
|
|
14054
|
+
} | undefined;
|
|
14055
|
+
stacksMultisig?: {
|
|
14056
|
+
hashMode: "P2SHNonSequential";
|
|
14057
|
+
threshold: number;
|
|
14058
|
+
publicKeys: string[];
|
|
14059
|
+
} | undefined;
|
|
14060
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
12526
14061
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
12527
14062
|
readonly network: v.ObjectSchema<{
|
|
12528
14063
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -12580,6 +14115,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12580
14115
|
controlBlock: string;
|
|
12581
14116
|
}[], 1, undefined>]>;
|
|
12582
14117
|
}, undefined>], undefined>, undefined>;
|
|
14118
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
14119
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
14120
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
14121
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
14122
|
+
}, undefined>, undefined>;
|
|
12583
14123
|
}, undefined>, v.CheckAction<{
|
|
12584
14124
|
address: string;
|
|
12585
14125
|
publicKey: string;
|
|
@@ -12605,6 +14145,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12605
14145
|
controlBlock: string;
|
|
12606
14146
|
}[];
|
|
12607
14147
|
} | undefined;
|
|
14148
|
+
stacksMultisig?: {
|
|
14149
|
+
hashMode: "P2SHNonSequential";
|
|
14150
|
+
threshold: number;
|
|
14151
|
+
publicKeys: string[];
|
|
14152
|
+
} | undefined;
|
|
12608
14153
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
12609
14154
|
address: string;
|
|
12610
14155
|
publicKey: string;
|
|
@@ -12630,7 +14175,42 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
12630
14175
|
controlBlock: string;
|
|
12631
14176
|
}[];
|
|
12632
14177
|
} | undefined;
|
|
12633
|
-
|
|
14178
|
+
stacksMultisig?: {
|
|
14179
|
+
hashMode: "P2SHNonSequential";
|
|
14180
|
+
threshold: number;
|
|
14181
|
+
publicKeys: string[];
|
|
14182
|
+
} | undefined;
|
|
14183
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
14184
|
+
address: string;
|
|
14185
|
+
publicKey: string;
|
|
14186
|
+
purpose: AddressPurpose;
|
|
14187
|
+
addressType: AddressType;
|
|
14188
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
14189
|
+
scriptPubKey?: string | undefined;
|
|
14190
|
+
unlockDefinition?: {
|
|
14191
|
+
type: "p2wpkh";
|
|
14192
|
+
} | {
|
|
14193
|
+
type: "p2sh-p2wpkh";
|
|
14194
|
+
redeemScript: string;
|
|
14195
|
+
} | {
|
|
14196
|
+
type: "p2tr-key-path";
|
|
14197
|
+
tapInternalKey: string;
|
|
14198
|
+
} | {
|
|
14199
|
+
type: "p2wsh";
|
|
14200
|
+
witnessScript: string;
|
|
14201
|
+
} | {
|
|
14202
|
+
type: "p2tr-script-path";
|
|
14203
|
+
tapLeafScript: {
|
|
14204
|
+
script: string;
|
|
14205
|
+
controlBlock: string;
|
|
14206
|
+
}[];
|
|
14207
|
+
} | undefined;
|
|
14208
|
+
stacksMultisig?: {
|
|
14209
|
+
hashMode: "P2SHNonSequential";
|
|
14210
|
+
threshold: number;
|
|
14211
|
+
publicKeys: string[];
|
|
14212
|
+
} | undefined;
|
|
14213
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
12634
14214
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
12635
14215
|
readonly networks: v.ObjectSchema<{
|
|
12636
14216
|
readonly active: v.ObjectSchema<{
|
|
@@ -13056,6 +14636,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
13056
14636
|
controlBlock: string;
|
|
13057
14637
|
}[], 1, undefined>]>;
|
|
13058
14638
|
}, undefined>], undefined>, undefined>;
|
|
14639
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
14640
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
14641
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
14642
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
14643
|
+
}, undefined>, undefined>;
|
|
13059
14644
|
}, undefined>, v.CheckAction<{
|
|
13060
14645
|
address: string;
|
|
13061
14646
|
publicKey: string;
|
|
@@ -13081,6 +14666,11 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
13081
14666
|
controlBlock: string;
|
|
13082
14667
|
}[];
|
|
13083
14668
|
} | undefined;
|
|
14669
|
+
stacksMultisig?: {
|
|
14670
|
+
hashMode: "P2SHNonSequential";
|
|
14671
|
+
threshold: number;
|
|
14672
|
+
publicKeys: string[];
|
|
14673
|
+
} | undefined;
|
|
13084
14674
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
13085
14675
|
address: string;
|
|
13086
14676
|
publicKey: string;
|
|
@@ -13106,7 +14696,42 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
13106
14696
|
controlBlock: string;
|
|
13107
14697
|
}[];
|
|
13108
14698
|
} | undefined;
|
|
13109
|
-
|
|
14699
|
+
stacksMultisig?: {
|
|
14700
|
+
hashMode: "P2SHNonSequential";
|
|
14701
|
+
threshold: number;
|
|
14702
|
+
publicKeys: string[];
|
|
14703
|
+
} | undefined;
|
|
14704
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
14705
|
+
address: string;
|
|
14706
|
+
publicKey: string;
|
|
14707
|
+
purpose: AddressPurpose;
|
|
14708
|
+
addressType: AddressType;
|
|
14709
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
14710
|
+
scriptPubKey?: string | undefined;
|
|
14711
|
+
unlockDefinition?: {
|
|
14712
|
+
type: "p2wpkh";
|
|
14713
|
+
} | {
|
|
14714
|
+
type: "p2sh-p2wpkh";
|
|
14715
|
+
redeemScript: string;
|
|
14716
|
+
} | {
|
|
14717
|
+
type: "p2tr-key-path";
|
|
14718
|
+
tapInternalKey: string;
|
|
14719
|
+
} | {
|
|
14720
|
+
type: "p2wsh";
|
|
14721
|
+
witnessScript: string;
|
|
14722
|
+
} | {
|
|
14723
|
+
type: "p2tr-script-path";
|
|
14724
|
+
tapLeafScript: {
|
|
14725
|
+
script: string;
|
|
14726
|
+
controlBlock: string;
|
|
14727
|
+
}[];
|
|
14728
|
+
} | undefined;
|
|
14729
|
+
stacksMultisig?: {
|
|
14730
|
+
hashMode: "P2SHNonSequential";
|
|
14731
|
+
threshold: number;
|
|
14732
|
+
publicKeys: string[];
|
|
14733
|
+
} | undefined;
|
|
14734
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>;
|
|
13110
14735
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_openReceive", undefined>;
|
|
13111
14736
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
13112
14737
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -13158,7 +14783,20 @@ declare const walletSuccessResponseSchema: v.VariantSchema<"~sats-connect-method
|
|
|
13158
14783
|
declare const walletTypes: readonly ["software", "ledger", "keystone", "multisig"];
|
|
13159
14784
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
13160
14785
|
type WalletType = v.InferOutput<typeof walletTypeSchema>;
|
|
13161
|
-
|
|
14786
|
+
/**
|
|
14787
|
+
* Signer set of a Stacks multisig (vault) address.
|
|
14788
|
+
*/
|
|
14789
|
+
declare const stacksMultisigSchema: v.ObjectSchema<{
|
|
14790
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
14791
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
14792
|
+
/**
|
|
14793
|
+
* Compressed secp256k1 public keys of the vault members, in the order the vault
|
|
14794
|
+
* address derives from.
|
|
14795
|
+
*/
|
|
14796
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
14797
|
+
}, undefined>;
|
|
14798
|
+
type StacksMultisig = v.InferOutput<typeof stacksMultisigSchema>;
|
|
14799
|
+
//#endregion
|
|
13162
14800
|
//#region src/request/shared.d.ts
|
|
13163
14801
|
declare const rpcIdSchema: v.StringSchema<undefined>;
|
|
13164
14802
|
type RpcId = v.InferOutput<typeof rpcIdSchema>;
|
|
@@ -14285,6 +15923,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14285
15923
|
controlBlock: string;
|
|
14286
15924
|
}[], 1, undefined>]>;
|
|
14287
15925
|
}, undefined>], undefined>, undefined>;
|
|
15926
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
15927
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
15928
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
15929
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
15930
|
+
}, undefined>, undefined>;
|
|
14288
15931
|
}, undefined>, v.CheckAction<{
|
|
14289
15932
|
address: string;
|
|
14290
15933
|
publicKey: string;
|
|
@@ -14310,6 +15953,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14310
15953
|
controlBlock: string;
|
|
14311
15954
|
}[];
|
|
14312
15955
|
} | undefined;
|
|
15956
|
+
stacksMultisig?: {
|
|
15957
|
+
hashMode: "P2SHNonSequential";
|
|
15958
|
+
threshold: number;
|
|
15959
|
+
publicKeys: string[];
|
|
15960
|
+
} | undefined;
|
|
14313
15961
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
14314
15962
|
address: string;
|
|
14315
15963
|
publicKey: string;
|
|
@@ -14335,7 +15983,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14335
15983
|
controlBlock: string;
|
|
14336
15984
|
}[];
|
|
14337
15985
|
} | undefined;
|
|
14338
|
-
|
|
15986
|
+
stacksMultisig?: {
|
|
15987
|
+
hashMode: "P2SHNonSequential";
|
|
15988
|
+
threshold: number;
|
|
15989
|
+
publicKeys: string[];
|
|
15990
|
+
} | undefined;
|
|
15991
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
15992
|
+
address: string;
|
|
15993
|
+
publicKey: string;
|
|
15994
|
+
purpose: AddressPurpose;
|
|
15995
|
+
addressType: AddressType;
|
|
15996
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
15997
|
+
scriptPubKey?: string | undefined;
|
|
15998
|
+
unlockDefinition?: {
|
|
15999
|
+
type: "p2wpkh";
|
|
16000
|
+
} | {
|
|
16001
|
+
type: "p2sh-p2wpkh";
|
|
16002
|
+
redeemScript: string;
|
|
16003
|
+
} | {
|
|
16004
|
+
type: "p2tr-key-path";
|
|
16005
|
+
tapInternalKey: string;
|
|
16006
|
+
} | {
|
|
16007
|
+
type: "p2wsh";
|
|
16008
|
+
witnessScript: string;
|
|
16009
|
+
} | {
|
|
16010
|
+
type: "p2tr-script-path";
|
|
16011
|
+
tapLeafScript: {
|
|
16012
|
+
script: string;
|
|
16013
|
+
controlBlock: string;
|
|
16014
|
+
}[];
|
|
16015
|
+
} | undefined;
|
|
16016
|
+
stacksMultisig?: {
|
|
16017
|
+
hashMode: "P2SHNonSequential";
|
|
16018
|
+
threshold: number;
|
|
16019
|
+
publicKeys: string[];
|
|
16020
|
+
} | undefined;
|
|
16021
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
14339
16022
|
readonly '~sats-connect-method': v.LiteralSchema<"getAccounts", undefined>;
|
|
14340
16023
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
14341
16024
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -14379,6 +16062,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14379
16062
|
controlBlock: string;
|
|
14380
16063
|
}[], 1, undefined>]>;
|
|
14381
16064
|
}, undefined>], undefined>, undefined>;
|
|
16065
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
16066
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
16067
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
16068
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
16069
|
+
}, undefined>, undefined>;
|
|
14382
16070
|
}, undefined>, v.CheckAction<{
|
|
14383
16071
|
address: string;
|
|
14384
16072
|
publicKey: string;
|
|
@@ -14404,6 +16092,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14404
16092
|
controlBlock: string;
|
|
14405
16093
|
}[];
|
|
14406
16094
|
} | undefined;
|
|
16095
|
+
stacksMultisig?: {
|
|
16096
|
+
hashMode: "P2SHNonSequential";
|
|
16097
|
+
threshold: number;
|
|
16098
|
+
publicKeys: string[];
|
|
16099
|
+
} | undefined;
|
|
14407
16100
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
14408
16101
|
address: string;
|
|
14409
16102
|
publicKey: string;
|
|
@@ -14429,7 +16122,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14429
16122
|
controlBlock: string;
|
|
14430
16123
|
}[];
|
|
14431
16124
|
} | undefined;
|
|
14432
|
-
|
|
16125
|
+
stacksMultisig?: {
|
|
16126
|
+
hashMode: "P2SHNonSequential";
|
|
16127
|
+
threshold: number;
|
|
16128
|
+
publicKeys: string[];
|
|
16129
|
+
} | undefined;
|
|
16130
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
16131
|
+
address: string;
|
|
16132
|
+
publicKey: string;
|
|
16133
|
+
purpose: AddressPurpose;
|
|
16134
|
+
addressType: AddressType;
|
|
16135
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
16136
|
+
scriptPubKey?: string | undefined;
|
|
16137
|
+
unlockDefinition?: {
|
|
16138
|
+
type: "p2wpkh";
|
|
16139
|
+
} | {
|
|
16140
|
+
type: "p2sh-p2wpkh";
|
|
16141
|
+
redeemScript: string;
|
|
16142
|
+
} | {
|
|
16143
|
+
type: "p2tr-key-path";
|
|
16144
|
+
tapInternalKey: string;
|
|
16145
|
+
} | {
|
|
16146
|
+
type: "p2wsh";
|
|
16147
|
+
witnessScript: string;
|
|
16148
|
+
} | {
|
|
16149
|
+
type: "p2tr-script-path";
|
|
16150
|
+
tapLeafScript: {
|
|
16151
|
+
script: string;
|
|
16152
|
+
controlBlock: string;
|
|
16153
|
+
}[];
|
|
16154
|
+
} | undefined;
|
|
16155
|
+
stacksMultisig?: {
|
|
16156
|
+
hashMode: "P2SHNonSequential";
|
|
16157
|
+
threshold: number;
|
|
16158
|
+
publicKeys: string[];
|
|
16159
|
+
} | undefined;
|
|
16160
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
14433
16161
|
readonly network: v.ObjectSchema<{
|
|
14434
16162
|
readonly bitcoin: v.ObjectSchema<{
|
|
14435
16163
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -14485,6 +16213,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14485
16213
|
controlBlock: string;
|
|
14486
16214
|
}[], 1, undefined>]>;
|
|
14487
16215
|
}, undefined>], undefined>, undefined>;
|
|
16216
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
16217
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
16218
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
16219
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
16220
|
+
}, undefined>, undefined>;
|
|
14488
16221
|
}, undefined>, v.CheckAction<{
|
|
14489
16222
|
address: string;
|
|
14490
16223
|
publicKey: string;
|
|
@@ -14510,6 +16243,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14510
16243
|
controlBlock: string;
|
|
14511
16244
|
}[];
|
|
14512
16245
|
} | undefined;
|
|
16246
|
+
stacksMultisig?: {
|
|
16247
|
+
hashMode: "P2SHNonSequential";
|
|
16248
|
+
threshold: number;
|
|
16249
|
+
publicKeys: string[];
|
|
16250
|
+
} | undefined;
|
|
14513
16251
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
14514
16252
|
address: string;
|
|
14515
16253
|
publicKey: string;
|
|
@@ -14535,7 +16273,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14535
16273
|
controlBlock: string;
|
|
14536
16274
|
}[];
|
|
14537
16275
|
} | undefined;
|
|
14538
|
-
|
|
16276
|
+
stacksMultisig?: {
|
|
16277
|
+
hashMode: "P2SHNonSequential";
|
|
16278
|
+
threshold: number;
|
|
16279
|
+
publicKeys: string[];
|
|
16280
|
+
} | undefined;
|
|
16281
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
16282
|
+
address: string;
|
|
16283
|
+
publicKey: string;
|
|
16284
|
+
purpose: AddressPurpose;
|
|
16285
|
+
addressType: AddressType;
|
|
16286
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
16287
|
+
scriptPubKey?: string | undefined;
|
|
16288
|
+
unlockDefinition?: {
|
|
16289
|
+
type: "p2wpkh";
|
|
16290
|
+
} | {
|
|
16291
|
+
type: "p2sh-p2wpkh";
|
|
16292
|
+
redeemScript: string;
|
|
16293
|
+
} | {
|
|
16294
|
+
type: "p2tr-key-path";
|
|
16295
|
+
tapInternalKey: string;
|
|
16296
|
+
} | {
|
|
16297
|
+
type: "p2wsh";
|
|
16298
|
+
witnessScript: string;
|
|
16299
|
+
} | {
|
|
16300
|
+
type: "p2tr-script-path";
|
|
16301
|
+
tapLeafScript: {
|
|
16302
|
+
script: string;
|
|
16303
|
+
controlBlock: string;
|
|
16304
|
+
}[];
|
|
16305
|
+
} | undefined;
|
|
16306
|
+
stacksMultisig?: {
|
|
16307
|
+
hashMode: "P2SHNonSequential";
|
|
16308
|
+
threshold: number;
|
|
16309
|
+
publicKeys: string[];
|
|
16310
|
+
} | undefined;
|
|
16311
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
14539
16312
|
readonly networks: v.ObjectSchema<{
|
|
14540
16313
|
readonly active: v.ObjectSchema<{
|
|
14541
16314
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -14895,12 +16668,21 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14895
16668
|
}, undefined>, v.ObjectSchema<{
|
|
14896
16669
|
readonly id: v.StringSchema<undefined>;
|
|
14897
16670
|
readonly result: v.ObjectSchema<{
|
|
14898
|
-
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
16671
|
+
readonly addresses: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
14899
16672
|
readonly address: v.StringSchema<undefined>;
|
|
14900
16673
|
readonly publicKey: v.StringSchema<undefined>;
|
|
14901
16674
|
readonly gaiaHubUrl: v.StringSchema<undefined>;
|
|
14902
16675
|
readonly gaiaAppKey: v.StringSchema<undefined>;
|
|
14903
|
-
|
|
16676
|
+
readonly walletType: v.OptionalSchema<v.PicklistSchema<("software" | "ledger" | "keystone")[], undefined>, undefined>;
|
|
16677
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
16678
|
+
readonly address: v.StringSchema<undefined>;
|
|
16679
|
+
readonly walletType: v.LiteralSchema<"multisig", undefined>;
|
|
16680
|
+
readonly multisig: v.ObjectSchema<{
|
|
16681
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
16682
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
16683
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
16684
|
+
}, undefined>;
|
|
16685
|
+
}, undefined>], undefined>, undefined>;
|
|
14904
16686
|
readonly network: v.ObjectSchema<{
|
|
14905
16687
|
readonly bitcoin: v.ObjectSchema<{
|
|
14906
16688
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -14956,6 +16738,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14956
16738
|
controlBlock: string;
|
|
14957
16739
|
}[], 1, undefined>]>;
|
|
14958
16740
|
}, undefined>], undefined>, undefined>;
|
|
16741
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
16742
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
16743
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
16744
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
16745
|
+
}, undefined>, undefined>;
|
|
14959
16746
|
}, undefined>, v.CheckAction<{
|
|
14960
16747
|
address: string;
|
|
14961
16748
|
publicKey: string;
|
|
@@ -14981,6 +16768,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
14981
16768
|
controlBlock: string;
|
|
14982
16769
|
}[];
|
|
14983
16770
|
} | undefined;
|
|
16771
|
+
stacksMultisig?: {
|
|
16772
|
+
hashMode: "P2SHNonSequential";
|
|
16773
|
+
threshold: number;
|
|
16774
|
+
publicKeys: string[];
|
|
16775
|
+
} | undefined;
|
|
14984
16776
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
14985
16777
|
address: string;
|
|
14986
16778
|
publicKey: string;
|
|
@@ -15006,7 +16798,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15006
16798
|
controlBlock: string;
|
|
15007
16799
|
}[];
|
|
15008
16800
|
} | undefined;
|
|
15009
|
-
|
|
16801
|
+
stacksMultisig?: {
|
|
16802
|
+
hashMode: "P2SHNonSequential";
|
|
16803
|
+
threshold: number;
|
|
16804
|
+
publicKeys: string[];
|
|
16805
|
+
} | undefined;
|
|
16806
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
16807
|
+
address: string;
|
|
16808
|
+
publicKey: string;
|
|
16809
|
+
purpose: AddressPurpose;
|
|
16810
|
+
addressType: AddressType;
|
|
16811
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
16812
|
+
scriptPubKey?: string | undefined;
|
|
16813
|
+
unlockDefinition?: {
|
|
16814
|
+
type: "p2wpkh";
|
|
16815
|
+
} | {
|
|
16816
|
+
type: "p2sh-p2wpkh";
|
|
16817
|
+
redeemScript: string;
|
|
16818
|
+
} | {
|
|
16819
|
+
type: "p2tr-key-path";
|
|
16820
|
+
tapInternalKey: string;
|
|
16821
|
+
} | {
|
|
16822
|
+
type: "p2wsh";
|
|
16823
|
+
witnessScript: string;
|
|
16824
|
+
} | {
|
|
16825
|
+
type: "p2tr-script-path";
|
|
16826
|
+
tapLeafScript: {
|
|
16827
|
+
script: string;
|
|
16828
|
+
controlBlock: string;
|
|
16829
|
+
}[];
|
|
16830
|
+
} | undefined;
|
|
16831
|
+
stacksMultisig?: {
|
|
16832
|
+
hashMode: "P2SHNonSequential";
|
|
16833
|
+
threshold: number;
|
|
16834
|
+
publicKeys: string[];
|
|
16835
|
+
} | undefined;
|
|
16836
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
15010
16837
|
readonly network: v.ObjectSchema<{
|
|
15011
16838
|
readonly bitcoin: v.ObjectSchema<{
|
|
15012
16839
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -15076,6 +16903,7 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15076
16903
|
readonly id: v.StringSchema<undefined>;
|
|
15077
16904
|
readonly result: v.ObjectSchema<{
|
|
15078
16905
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
16906
|
+
readonly txids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
15079
16907
|
}, undefined>;
|
|
15080
16908
|
readonly '~sats-connect-method': v.LiteralSchema<"stx_signTransactions", undefined>;
|
|
15081
16909
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -15135,6 +16963,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15135
16963
|
controlBlock: string;
|
|
15136
16964
|
}[], 1, undefined>]>;
|
|
15137
16965
|
}, undefined>], undefined>, undefined>;
|
|
16966
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
16967
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
16968
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
16969
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
16970
|
+
}, undefined>, undefined>;
|
|
15138
16971
|
}, undefined>, v.CheckAction<{
|
|
15139
16972
|
address: string;
|
|
15140
16973
|
publicKey: string;
|
|
@@ -15160,6 +16993,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15160
16993
|
controlBlock: string;
|
|
15161
16994
|
}[];
|
|
15162
16995
|
} | undefined;
|
|
16996
|
+
stacksMultisig?: {
|
|
16997
|
+
hashMode: "P2SHNonSequential";
|
|
16998
|
+
threshold: number;
|
|
16999
|
+
publicKeys: string[];
|
|
17000
|
+
} | undefined;
|
|
15163
17001
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
15164
17002
|
address: string;
|
|
15165
17003
|
publicKey: string;
|
|
@@ -15185,7 +17023,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15185
17023
|
controlBlock: string;
|
|
15186
17024
|
}[];
|
|
15187
17025
|
} | undefined;
|
|
15188
|
-
|
|
17026
|
+
stacksMultisig?: {
|
|
17027
|
+
hashMode: "P2SHNonSequential";
|
|
17028
|
+
threshold: number;
|
|
17029
|
+
publicKeys: string[];
|
|
17030
|
+
} | undefined;
|
|
17031
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
17032
|
+
address: string;
|
|
17033
|
+
publicKey: string;
|
|
17034
|
+
purpose: AddressPurpose;
|
|
17035
|
+
addressType: AddressType;
|
|
17036
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
17037
|
+
scriptPubKey?: string | undefined;
|
|
17038
|
+
unlockDefinition?: {
|
|
17039
|
+
type: "p2wpkh";
|
|
17040
|
+
} | {
|
|
17041
|
+
type: "p2sh-p2wpkh";
|
|
17042
|
+
redeemScript: string;
|
|
17043
|
+
} | {
|
|
17044
|
+
type: "p2tr-key-path";
|
|
17045
|
+
tapInternalKey: string;
|
|
17046
|
+
} | {
|
|
17047
|
+
type: "p2wsh";
|
|
17048
|
+
witnessScript: string;
|
|
17049
|
+
} | {
|
|
17050
|
+
type: "p2tr-script-path";
|
|
17051
|
+
tapLeafScript: {
|
|
17052
|
+
script: string;
|
|
17053
|
+
controlBlock: string;
|
|
17054
|
+
}[];
|
|
17055
|
+
} | undefined;
|
|
17056
|
+
stacksMultisig?: {
|
|
17057
|
+
hashMode: "P2SHNonSequential";
|
|
17058
|
+
threshold: number;
|
|
17059
|
+
publicKeys: string[];
|
|
17060
|
+
} | undefined;
|
|
17061
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
15189
17062
|
readonly network: v.ObjectSchema<{
|
|
15190
17063
|
readonly bitcoin: v.ObjectSchema<{
|
|
15191
17064
|
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
@@ -15241,6 +17114,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15241
17114
|
controlBlock: string;
|
|
15242
17115
|
}[], 1, undefined>]>;
|
|
15243
17116
|
}, undefined>], undefined>, undefined>;
|
|
17117
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
17118
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
17119
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
17120
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
17121
|
+
}, undefined>, undefined>;
|
|
15244
17122
|
}, undefined>, v.CheckAction<{
|
|
15245
17123
|
address: string;
|
|
15246
17124
|
publicKey: string;
|
|
@@ -15266,6 +17144,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15266
17144
|
controlBlock: string;
|
|
15267
17145
|
}[];
|
|
15268
17146
|
} | undefined;
|
|
17147
|
+
stacksMultisig?: {
|
|
17148
|
+
hashMode: "P2SHNonSequential";
|
|
17149
|
+
threshold: number;
|
|
17150
|
+
publicKeys: string[];
|
|
17151
|
+
} | undefined;
|
|
15269
17152
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
15270
17153
|
address: string;
|
|
15271
17154
|
publicKey: string;
|
|
@@ -15291,7 +17174,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15291
17174
|
controlBlock: string;
|
|
15292
17175
|
}[];
|
|
15293
17176
|
} | undefined;
|
|
15294
|
-
|
|
17177
|
+
stacksMultisig?: {
|
|
17178
|
+
hashMode: "P2SHNonSequential";
|
|
17179
|
+
threshold: number;
|
|
17180
|
+
publicKeys: string[];
|
|
17181
|
+
} | undefined;
|
|
17182
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
17183
|
+
address: string;
|
|
17184
|
+
publicKey: string;
|
|
17185
|
+
purpose: AddressPurpose;
|
|
17186
|
+
addressType: AddressType;
|
|
17187
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
17188
|
+
scriptPubKey?: string | undefined;
|
|
17189
|
+
unlockDefinition?: {
|
|
17190
|
+
type: "p2wpkh";
|
|
17191
|
+
} | {
|
|
17192
|
+
type: "p2sh-p2wpkh";
|
|
17193
|
+
redeemScript: string;
|
|
17194
|
+
} | {
|
|
17195
|
+
type: "p2tr-key-path";
|
|
17196
|
+
tapInternalKey: string;
|
|
17197
|
+
} | {
|
|
17198
|
+
type: "p2wsh";
|
|
17199
|
+
witnessScript: string;
|
|
17200
|
+
} | {
|
|
17201
|
+
type: "p2tr-script-path";
|
|
17202
|
+
tapLeafScript: {
|
|
17203
|
+
script: string;
|
|
17204
|
+
controlBlock: string;
|
|
17205
|
+
}[];
|
|
17206
|
+
} | undefined;
|
|
17207
|
+
stacksMultisig?: {
|
|
17208
|
+
hashMode: "P2SHNonSequential";
|
|
17209
|
+
threshold: number;
|
|
17210
|
+
publicKeys: string[];
|
|
17211
|
+
} | undefined;
|
|
17212
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
15295
17213
|
readonly network: v.ObjectSchema<{
|
|
15296
17214
|
readonly chain: v.LiteralSchema<"spark", undefined>;
|
|
15297
17215
|
readonly mode: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<{
|
|
@@ -15842,6 +17760,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15842
17760
|
controlBlock: string;
|
|
15843
17761
|
}[], 1, undefined>]>;
|
|
15844
17762
|
}, undefined>], undefined>, undefined>;
|
|
17763
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
17764
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
17765
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
17766
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
17767
|
+
}, undefined>, undefined>;
|
|
15845
17768
|
}, undefined>, v.CheckAction<{
|
|
15846
17769
|
address: string;
|
|
15847
17770
|
publicKey: string;
|
|
@@ -15867,6 +17790,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15867
17790
|
controlBlock: string;
|
|
15868
17791
|
}[];
|
|
15869
17792
|
} | undefined;
|
|
17793
|
+
stacksMultisig?: {
|
|
17794
|
+
hashMode: "P2SHNonSequential";
|
|
17795
|
+
threshold: number;
|
|
17796
|
+
publicKeys: string[];
|
|
17797
|
+
} | undefined;
|
|
15870
17798
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
15871
17799
|
address: string;
|
|
15872
17800
|
publicKey: string;
|
|
@@ -15892,7 +17820,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15892
17820
|
controlBlock: string;
|
|
15893
17821
|
}[];
|
|
15894
17822
|
} | undefined;
|
|
15895
|
-
|
|
17823
|
+
stacksMultisig?: {
|
|
17824
|
+
hashMode: "P2SHNonSequential";
|
|
17825
|
+
threshold: number;
|
|
17826
|
+
publicKeys: string[];
|
|
17827
|
+
} | undefined;
|
|
17828
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
17829
|
+
address: string;
|
|
17830
|
+
publicKey: string;
|
|
17831
|
+
purpose: AddressPurpose;
|
|
17832
|
+
addressType: AddressType;
|
|
17833
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
17834
|
+
scriptPubKey?: string | undefined;
|
|
17835
|
+
unlockDefinition?: {
|
|
17836
|
+
type: "p2wpkh";
|
|
17837
|
+
} | {
|
|
17838
|
+
type: "p2sh-p2wpkh";
|
|
17839
|
+
redeemScript: string;
|
|
17840
|
+
} | {
|
|
17841
|
+
type: "p2tr-key-path";
|
|
17842
|
+
tapInternalKey: string;
|
|
17843
|
+
} | {
|
|
17844
|
+
type: "p2wsh";
|
|
17845
|
+
witnessScript: string;
|
|
17846
|
+
} | {
|
|
17847
|
+
type: "p2tr-script-path";
|
|
17848
|
+
tapLeafScript: {
|
|
17849
|
+
script: string;
|
|
17850
|
+
controlBlock: string;
|
|
17851
|
+
}[];
|
|
17852
|
+
} | undefined;
|
|
17853
|
+
stacksMultisig?: {
|
|
17854
|
+
hashMode: "P2SHNonSequential";
|
|
17855
|
+
threshold: number;
|
|
17856
|
+
publicKeys: string[];
|
|
17857
|
+
} | undefined;
|
|
17858
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
15896
17859
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
15897
17860
|
readonly network: v.ObjectSchema<{
|
|
15898
17861
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -15950,6 +17913,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15950
17913
|
controlBlock: string;
|
|
15951
17914
|
}[], 1, undefined>]>;
|
|
15952
17915
|
}, undefined>], undefined>, undefined>;
|
|
17916
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
17917
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
17918
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
17919
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
17920
|
+
}, undefined>, undefined>;
|
|
15953
17921
|
}, undefined>, v.CheckAction<{
|
|
15954
17922
|
address: string;
|
|
15955
17923
|
publicKey: string;
|
|
@@ -15975,6 +17943,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
15975
17943
|
controlBlock: string;
|
|
15976
17944
|
}[];
|
|
15977
17945
|
} | undefined;
|
|
17946
|
+
stacksMultisig?: {
|
|
17947
|
+
hashMode: "P2SHNonSequential";
|
|
17948
|
+
threshold: number;
|
|
17949
|
+
publicKeys: string[];
|
|
17950
|
+
} | undefined;
|
|
15978
17951
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
15979
17952
|
address: string;
|
|
15980
17953
|
publicKey: string;
|
|
@@ -16000,7 +17973,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16000
17973
|
controlBlock: string;
|
|
16001
17974
|
}[];
|
|
16002
17975
|
} | undefined;
|
|
16003
|
-
|
|
17976
|
+
stacksMultisig?: {
|
|
17977
|
+
hashMode: "P2SHNonSequential";
|
|
17978
|
+
threshold: number;
|
|
17979
|
+
publicKeys: string[];
|
|
17980
|
+
} | undefined;
|
|
17981
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
17982
|
+
address: string;
|
|
17983
|
+
publicKey: string;
|
|
17984
|
+
purpose: AddressPurpose;
|
|
17985
|
+
addressType: AddressType;
|
|
17986
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
17987
|
+
scriptPubKey?: string | undefined;
|
|
17988
|
+
unlockDefinition?: {
|
|
17989
|
+
type: "p2wpkh";
|
|
17990
|
+
} | {
|
|
17991
|
+
type: "p2sh-p2wpkh";
|
|
17992
|
+
redeemScript: string;
|
|
17993
|
+
} | {
|
|
17994
|
+
type: "p2tr-key-path";
|
|
17995
|
+
tapInternalKey: string;
|
|
17996
|
+
} | {
|
|
17997
|
+
type: "p2wsh";
|
|
17998
|
+
witnessScript: string;
|
|
17999
|
+
} | {
|
|
18000
|
+
type: "p2tr-script-path";
|
|
18001
|
+
tapLeafScript: {
|
|
18002
|
+
script: string;
|
|
18003
|
+
controlBlock: string;
|
|
18004
|
+
}[];
|
|
18005
|
+
} | undefined;
|
|
18006
|
+
stacksMultisig?: {
|
|
18007
|
+
hashMode: "P2SHNonSequential";
|
|
18008
|
+
threshold: number;
|
|
18009
|
+
publicKeys: string[];
|
|
18010
|
+
} | undefined;
|
|
18011
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
16004
18012
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
16005
18013
|
readonly networks: v.ObjectSchema<{
|
|
16006
18014
|
readonly active: v.ObjectSchema<{
|
|
@@ -16196,6 +18204,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16196
18204
|
controlBlock: string;
|
|
16197
18205
|
}[], 1, undefined>]>;
|
|
16198
18206
|
}, undefined>], undefined>, undefined>;
|
|
18207
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
18208
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
18209
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
18210
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
18211
|
+
}, undefined>, undefined>;
|
|
16199
18212
|
}, undefined>, v.CheckAction<{
|
|
16200
18213
|
address: string;
|
|
16201
18214
|
publicKey: string;
|
|
@@ -16221,6 +18234,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16221
18234
|
controlBlock: string;
|
|
16222
18235
|
}[];
|
|
16223
18236
|
} | undefined;
|
|
18237
|
+
stacksMultisig?: {
|
|
18238
|
+
hashMode: "P2SHNonSequential";
|
|
18239
|
+
threshold: number;
|
|
18240
|
+
publicKeys: string[];
|
|
18241
|
+
} | undefined;
|
|
16224
18242
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
16225
18243
|
address: string;
|
|
16226
18244
|
publicKey: string;
|
|
@@ -16246,7 +18264,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16246
18264
|
controlBlock: string;
|
|
16247
18265
|
}[];
|
|
16248
18266
|
} | undefined;
|
|
16249
|
-
|
|
18267
|
+
stacksMultisig?: {
|
|
18268
|
+
hashMode: "P2SHNonSequential";
|
|
18269
|
+
threshold: number;
|
|
18270
|
+
publicKeys: string[];
|
|
18271
|
+
} | undefined;
|
|
18272
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
18273
|
+
address: string;
|
|
18274
|
+
publicKey: string;
|
|
18275
|
+
purpose: AddressPurpose;
|
|
18276
|
+
addressType: AddressType;
|
|
18277
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
18278
|
+
scriptPubKey?: string | undefined;
|
|
18279
|
+
unlockDefinition?: {
|
|
18280
|
+
type: "p2wpkh";
|
|
18281
|
+
} | {
|
|
18282
|
+
type: "p2sh-p2wpkh";
|
|
18283
|
+
redeemScript: string;
|
|
18284
|
+
} | {
|
|
18285
|
+
type: "p2tr-key-path";
|
|
18286
|
+
tapInternalKey: string;
|
|
18287
|
+
} | {
|
|
18288
|
+
type: "p2wsh";
|
|
18289
|
+
witnessScript: string;
|
|
18290
|
+
} | {
|
|
18291
|
+
type: "p2tr-script-path";
|
|
18292
|
+
tapLeafScript: {
|
|
18293
|
+
script: string;
|
|
18294
|
+
controlBlock: string;
|
|
18295
|
+
}[];
|
|
18296
|
+
} | undefined;
|
|
18297
|
+
stacksMultisig?: {
|
|
18298
|
+
hashMode: "P2SHNonSequential";
|
|
18299
|
+
threshold: number;
|
|
18300
|
+
publicKeys: string[];
|
|
18301
|
+
} | undefined;
|
|
18302
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
16250
18303
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
16251
18304
|
readonly network: v.ObjectSchema<{
|
|
16252
18305
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -16304,6 +18357,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16304
18357
|
controlBlock: string;
|
|
16305
18358
|
}[], 1, undefined>]>;
|
|
16306
18359
|
}, undefined>], undefined>, undefined>;
|
|
18360
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
18361
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
18362
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
18363
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
18364
|
+
}, undefined>, undefined>;
|
|
16307
18365
|
}, undefined>, v.CheckAction<{
|
|
16308
18366
|
address: string;
|
|
16309
18367
|
publicKey: string;
|
|
@@ -16329,6 +18387,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16329
18387
|
controlBlock: string;
|
|
16330
18388
|
}[];
|
|
16331
18389
|
} | undefined;
|
|
18390
|
+
stacksMultisig?: {
|
|
18391
|
+
hashMode: "P2SHNonSequential";
|
|
18392
|
+
threshold: number;
|
|
18393
|
+
publicKeys: string[];
|
|
18394
|
+
} | undefined;
|
|
16332
18395
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
16333
18396
|
address: string;
|
|
16334
18397
|
publicKey: string;
|
|
@@ -16354,7 +18417,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16354
18417
|
controlBlock: string;
|
|
16355
18418
|
}[];
|
|
16356
18419
|
} | undefined;
|
|
16357
|
-
|
|
18420
|
+
stacksMultisig?: {
|
|
18421
|
+
hashMode: "P2SHNonSequential";
|
|
18422
|
+
threshold: number;
|
|
18423
|
+
publicKeys: string[];
|
|
18424
|
+
} | undefined;
|
|
18425
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
18426
|
+
address: string;
|
|
18427
|
+
publicKey: string;
|
|
18428
|
+
purpose: AddressPurpose;
|
|
18429
|
+
addressType: AddressType;
|
|
18430
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
18431
|
+
scriptPubKey?: string | undefined;
|
|
18432
|
+
unlockDefinition?: {
|
|
18433
|
+
type: "p2wpkh";
|
|
18434
|
+
} | {
|
|
18435
|
+
type: "p2sh-p2wpkh";
|
|
18436
|
+
redeemScript: string;
|
|
18437
|
+
} | {
|
|
18438
|
+
type: "p2tr-key-path";
|
|
18439
|
+
tapInternalKey: string;
|
|
18440
|
+
} | {
|
|
18441
|
+
type: "p2wsh";
|
|
18442
|
+
witnessScript: string;
|
|
18443
|
+
} | {
|
|
18444
|
+
type: "p2tr-script-path";
|
|
18445
|
+
tapLeafScript: {
|
|
18446
|
+
script: string;
|
|
18447
|
+
controlBlock: string;
|
|
18448
|
+
}[];
|
|
18449
|
+
} | undefined;
|
|
18450
|
+
stacksMultisig?: {
|
|
18451
|
+
hashMode: "P2SHNonSequential";
|
|
18452
|
+
threshold: number;
|
|
18453
|
+
publicKeys: string[];
|
|
18454
|
+
} | undefined;
|
|
18455
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>;
|
|
16358
18456
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone", "multisig"], undefined>;
|
|
16359
18457
|
readonly networks: v.ObjectSchema<{
|
|
16360
18458
|
readonly active: v.ObjectSchema<{
|
|
@@ -16780,6 +18878,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16780
18878
|
controlBlock: string;
|
|
16781
18879
|
}[], 1, undefined>]>;
|
|
16782
18880
|
}, undefined>], undefined>, undefined>;
|
|
18881
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
18882
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
18883
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
18884
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
18885
|
+
}, undefined>, undefined>;
|
|
16783
18886
|
}, undefined>, v.CheckAction<{
|
|
16784
18887
|
address: string;
|
|
16785
18888
|
publicKey: string;
|
|
@@ -16805,6 +18908,11 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16805
18908
|
controlBlock: string;
|
|
16806
18909
|
}[];
|
|
16807
18910
|
} | undefined;
|
|
18911
|
+
stacksMultisig?: {
|
|
18912
|
+
hashMode: "P2SHNonSequential";
|
|
18913
|
+
threshold: number;
|
|
18914
|
+
publicKeys: string[];
|
|
18915
|
+
} | undefined;
|
|
16808
18916
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
16809
18917
|
address: string;
|
|
16810
18918
|
publicKey: string;
|
|
@@ -16830,7 +18938,42 @@ declare const rpcSuccessResponseSchema: v.VariantSchema<"~sats-connect-method",
|
|
|
16830
18938
|
controlBlock: string;
|
|
16831
18939
|
}[];
|
|
16832
18940
|
} | undefined;
|
|
16833
|
-
|
|
18941
|
+
stacksMultisig?: {
|
|
18942
|
+
hashMode: "P2SHNonSequential";
|
|
18943
|
+
threshold: number;
|
|
18944
|
+
publicKeys: string[];
|
|
18945
|
+
} | undefined;
|
|
18946
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
18947
|
+
address: string;
|
|
18948
|
+
publicKey: string;
|
|
18949
|
+
purpose: AddressPurpose;
|
|
18950
|
+
addressType: AddressType;
|
|
18951
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
18952
|
+
scriptPubKey?: string | undefined;
|
|
18953
|
+
unlockDefinition?: {
|
|
18954
|
+
type: "p2wpkh";
|
|
18955
|
+
} | {
|
|
18956
|
+
type: "p2sh-p2wpkh";
|
|
18957
|
+
redeemScript: string;
|
|
18958
|
+
} | {
|
|
18959
|
+
type: "p2tr-key-path";
|
|
18960
|
+
tapInternalKey: string;
|
|
18961
|
+
} | {
|
|
18962
|
+
type: "p2wsh";
|
|
18963
|
+
witnessScript: string;
|
|
18964
|
+
} | {
|
|
18965
|
+
type: "p2tr-script-path";
|
|
18966
|
+
tapLeafScript: {
|
|
18967
|
+
script: string;
|
|
18968
|
+
controlBlock: string;
|
|
18969
|
+
}[];
|
|
18970
|
+
} | undefined;
|
|
18971
|
+
stacksMultisig?: {
|
|
18972
|
+
hashMode: "P2SHNonSequential";
|
|
18973
|
+
threshold: number;
|
|
18974
|
+
publicKeys: string[];
|
|
18975
|
+
} | undefined;
|
|
18976
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>;
|
|
16834
18977
|
readonly '~sats-connect-method': v.LiteralSchema<"wallet_openReceive", undefined>;
|
|
16835
18978
|
readonly extensions: v.OptionalSchema<v.ObjectSchema<{
|
|
16836
18979
|
readonly warnings: v.ArraySchema<v.VariantSchema<"code", [v.ObjectSchema<{
|
|
@@ -17112,6 +19255,10 @@ type SignMultipleTransactionOptions = RequestOptions<SignMultipleTransactionsPay
|
|
|
17112
19255
|
declare const sendBtcTransaction: (options: SendBtcTransactionOptions) => Promise<void>;
|
|
17113
19256
|
//#endregion
|
|
17114
19257
|
//#region src/transactions/signMultipleTransactions.d.ts
|
|
19258
|
+
/**
|
|
19259
|
+
* For vault (multisig) accounts the wallet returns the finalized PSBTs without
|
|
19260
|
+
* broadcasting them, so every `txId` in the response is empty.
|
|
19261
|
+
*/
|
|
17115
19262
|
declare const signMultipleTransactions: (options: SignMultipleTransactionOptions) => Promise<void>;
|
|
17116
19263
|
//#endregion
|
|
17117
19264
|
//#region src/transactions/signTransaction.d.ts
|
|
@@ -17152,6 +19299,11 @@ declare const accountChangeSchema: v.ObjectSchema<{
|
|
|
17152
19299
|
controlBlock: string;
|
|
17153
19300
|
}[], 1, undefined>]>;
|
|
17154
19301
|
}, undefined>], undefined>, undefined>;
|
|
19302
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
19303
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
19304
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
19305
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
19306
|
+
}, undefined>, undefined>;
|
|
17155
19307
|
}, undefined>, v.CheckAction<{
|
|
17156
19308
|
address: string;
|
|
17157
19309
|
publicKey: string;
|
|
@@ -17177,6 +19329,11 @@ declare const accountChangeSchema: v.ObjectSchema<{
|
|
|
17177
19329
|
controlBlock: string;
|
|
17178
19330
|
}[];
|
|
17179
19331
|
} | undefined;
|
|
19332
|
+
stacksMultisig?: {
|
|
19333
|
+
hashMode: "P2SHNonSequential";
|
|
19334
|
+
threshold: number;
|
|
19335
|
+
publicKeys: string[];
|
|
19336
|
+
} | undefined;
|
|
17180
19337
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
17181
19338
|
address: string;
|
|
17182
19339
|
publicKey: string;
|
|
@@ -17202,7 +19359,42 @@ declare const accountChangeSchema: v.ObjectSchema<{
|
|
|
17202
19359
|
controlBlock: string;
|
|
17203
19360
|
}[];
|
|
17204
19361
|
} | undefined;
|
|
17205
|
-
|
|
19362
|
+
stacksMultisig?: {
|
|
19363
|
+
hashMode: "P2SHNonSequential";
|
|
19364
|
+
threshold: number;
|
|
19365
|
+
publicKeys: string[];
|
|
19366
|
+
} | undefined;
|
|
19367
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
19368
|
+
address: string;
|
|
19369
|
+
publicKey: string;
|
|
19370
|
+
purpose: AddressPurpose;
|
|
19371
|
+
addressType: AddressType;
|
|
19372
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
19373
|
+
scriptPubKey?: string | undefined;
|
|
19374
|
+
unlockDefinition?: {
|
|
19375
|
+
type: "p2wpkh";
|
|
19376
|
+
} | {
|
|
19377
|
+
type: "p2sh-p2wpkh";
|
|
19378
|
+
redeemScript: string;
|
|
19379
|
+
} | {
|
|
19380
|
+
type: "p2tr-key-path";
|
|
19381
|
+
tapInternalKey: string;
|
|
19382
|
+
} | {
|
|
19383
|
+
type: "p2wsh";
|
|
19384
|
+
witnessScript: string;
|
|
19385
|
+
} | {
|
|
19386
|
+
type: "p2tr-script-path";
|
|
19387
|
+
tapLeafScript: {
|
|
19388
|
+
script: string;
|
|
19389
|
+
controlBlock: string;
|
|
19390
|
+
}[];
|
|
19391
|
+
} | undefined;
|
|
19392
|
+
stacksMultisig?: {
|
|
19393
|
+
hashMode: "P2SHNonSequential";
|
|
19394
|
+
threshold: number;
|
|
19395
|
+
publicKeys: string[];
|
|
19396
|
+
} | undefined;
|
|
19397
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>, undefined>;
|
|
17206
19398
|
}, undefined>;
|
|
17207
19399
|
type AccountChangeEvent = v.InferOutput<typeof accountChangeSchema>;
|
|
17208
19400
|
declare const networkChangeEventName = "networkChange";
|
|
@@ -17245,6 +19437,11 @@ declare const networkChangeSchema: v.ObjectSchema<{
|
|
|
17245
19437
|
controlBlock: string;
|
|
17246
19438
|
}[], 1, undefined>]>;
|
|
17247
19439
|
}, undefined>], undefined>, undefined>;
|
|
19440
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
19441
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
19442
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
19443
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
19444
|
+
}, undefined>, undefined>;
|
|
17248
19445
|
}, undefined>, v.CheckAction<{
|
|
17249
19446
|
address: string;
|
|
17250
19447
|
publicKey: string;
|
|
@@ -17270,6 +19467,11 @@ declare const networkChangeSchema: v.ObjectSchema<{
|
|
|
17270
19467
|
controlBlock: string;
|
|
17271
19468
|
}[];
|
|
17272
19469
|
} | undefined;
|
|
19470
|
+
stacksMultisig?: {
|
|
19471
|
+
hashMode: "P2SHNonSequential";
|
|
19472
|
+
threshold: number;
|
|
19473
|
+
publicKeys: string[];
|
|
19474
|
+
} | undefined;
|
|
17273
19475
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
17274
19476
|
address: string;
|
|
17275
19477
|
publicKey: string;
|
|
@@ -17295,7 +19497,42 @@ declare const networkChangeSchema: v.ObjectSchema<{
|
|
|
17295
19497
|
controlBlock: string;
|
|
17296
19498
|
}[];
|
|
17297
19499
|
} | undefined;
|
|
17298
|
-
|
|
19500
|
+
stacksMultisig?: {
|
|
19501
|
+
hashMode: "P2SHNonSequential";
|
|
19502
|
+
threshold: number;
|
|
19503
|
+
publicKeys: string[];
|
|
19504
|
+
} | undefined;
|
|
19505
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
19506
|
+
address: string;
|
|
19507
|
+
publicKey: string;
|
|
19508
|
+
purpose: AddressPurpose;
|
|
19509
|
+
addressType: AddressType;
|
|
19510
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
19511
|
+
scriptPubKey?: string | undefined;
|
|
19512
|
+
unlockDefinition?: {
|
|
19513
|
+
type: "p2wpkh";
|
|
19514
|
+
} | {
|
|
19515
|
+
type: "p2sh-p2wpkh";
|
|
19516
|
+
redeemScript: string;
|
|
19517
|
+
} | {
|
|
19518
|
+
type: "p2tr-key-path";
|
|
19519
|
+
tapInternalKey: string;
|
|
19520
|
+
} | {
|
|
19521
|
+
type: "p2wsh";
|
|
19522
|
+
witnessScript: string;
|
|
19523
|
+
} | {
|
|
19524
|
+
type: "p2tr-script-path";
|
|
19525
|
+
tapLeafScript: {
|
|
19526
|
+
script: string;
|
|
19527
|
+
controlBlock: string;
|
|
19528
|
+
}[];
|
|
19529
|
+
} | undefined;
|
|
19530
|
+
stacksMultisig?: {
|
|
19531
|
+
hashMode: "P2SHNonSequential";
|
|
19532
|
+
threshold: number;
|
|
19533
|
+
publicKeys: string[];
|
|
19534
|
+
} | undefined;
|
|
19535
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>, undefined>;
|
|
17299
19536
|
}, undefined>;
|
|
17300
19537
|
type NetworkChangeEvent = v.InferOutput<typeof networkChangeSchema>;
|
|
17301
19538
|
declare const networkChangeEventNameV2 = "networkChangeV2";
|
|
@@ -17402,6 +19639,11 @@ declare const networkChangeV2Schema: v.ObjectSchema<{
|
|
|
17402
19639
|
controlBlock: string;
|
|
17403
19640
|
}[], 1, undefined>]>;
|
|
17404
19641
|
}, undefined>], undefined>, undefined>;
|
|
19642
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
19643
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
19644
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
19645
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
19646
|
+
}, undefined>, undefined>;
|
|
17405
19647
|
}, undefined>, v.CheckAction<{
|
|
17406
19648
|
address: string;
|
|
17407
19649
|
publicKey: string;
|
|
@@ -17427,6 +19669,11 @@ declare const networkChangeV2Schema: v.ObjectSchema<{
|
|
|
17427
19669
|
controlBlock: string;
|
|
17428
19670
|
}[];
|
|
17429
19671
|
} | undefined;
|
|
19672
|
+
stacksMultisig?: {
|
|
19673
|
+
hashMode: "P2SHNonSequential";
|
|
19674
|
+
threshold: number;
|
|
19675
|
+
publicKeys: string[];
|
|
19676
|
+
} | undefined;
|
|
17430
19677
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
17431
19678
|
address: string;
|
|
17432
19679
|
publicKey: string;
|
|
@@ -17452,7 +19699,42 @@ declare const networkChangeV2Schema: v.ObjectSchema<{
|
|
|
17452
19699
|
controlBlock: string;
|
|
17453
19700
|
}[];
|
|
17454
19701
|
} | undefined;
|
|
17455
|
-
|
|
19702
|
+
stacksMultisig?: {
|
|
19703
|
+
hashMode: "P2SHNonSequential";
|
|
19704
|
+
threshold: number;
|
|
19705
|
+
publicKeys: string[];
|
|
19706
|
+
} | undefined;
|
|
19707
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
19708
|
+
address: string;
|
|
19709
|
+
publicKey: string;
|
|
19710
|
+
purpose: AddressPurpose;
|
|
19711
|
+
addressType: AddressType;
|
|
19712
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
19713
|
+
scriptPubKey?: string | undefined;
|
|
19714
|
+
unlockDefinition?: {
|
|
19715
|
+
type: "p2wpkh";
|
|
19716
|
+
} | {
|
|
19717
|
+
type: "p2sh-p2wpkh";
|
|
19718
|
+
redeemScript: string;
|
|
19719
|
+
} | {
|
|
19720
|
+
type: "p2tr-key-path";
|
|
19721
|
+
tapInternalKey: string;
|
|
19722
|
+
} | {
|
|
19723
|
+
type: "p2wsh";
|
|
19724
|
+
witnessScript: string;
|
|
19725
|
+
} | {
|
|
19726
|
+
type: "p2tr-script-path";
|
|
19727
|
+
tapLeafScript: {
|
|
19728
|
+
script: string;
|
|
19729
|
+
controlBlock: string;
|
|
19730
|
+
}[];
|
|
19731
|
+
} | undefined;
|
|
19732
|
+
stacksMultisig?: {
|
|
19733
|
+
hashMode: "P2SHNonSequential";
|
|
19734
|
+
threshold: number;
|
|
19735
|
+
publicKeys: string[];
|
|
19736
|
+
} | undefined;
|
|
19737
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>, undefined>;
|
|
17456
19738
|
}, undefined>;
|
|
17457
19739
|
type NetworkChangeEventV2 = v.InferOutput<typeof networkChangeSchema>;
|
|
17458
19740
|
declare const disconnectEventName = "disconnect";
|
|
@@ -17493,6 +19775,11 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17493
19775
|
controlBlock: string;
|
|
17494
19776
|
}[], 1, undefined>]>;
|
|
17495
19777
|
}, undefined>], undefined>, undefined>;
|
|
19778
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
19779
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
19780
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
19781
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
19782
|
+
}, undefined>, undefined>;
|
|
17496
19783
|
}, undefined>, v.CheckAction<{
|
|
17497
19784
|
address: string;
|
|
17498
19785
|
publicKey: string;
|
|
@@ -17518,6 +19805,11 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17518
19805
|
controlBlock: string;
|
|
17519
19806
|
}[];
|
|
17520
19807
|
} | undefined;
|
|
19808
|
+
stacksMultisig?: {
|
|
19809
|
+
hashMode: "P2SHNonSequential";
|
|
19810
|
+
threshold: number;
|
|
19811
|
+
publicKeys: string[];
|
|
19812
|
+
} | undefined;
|
|
17521
19813
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
17522
19814
|
address: string;
|
|
17523
19815
|
publicKey: string;
|
|
@@ -17543,7 +19835,42 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17543
19835
|
controlBlock: string;
|
|
17544
19836
|
}[];
|
|
17545
19837
|
} | undefined;
|
|
17546
|
-
|
|
19838
|
+
stacksMultisig?: {
|
|
19839
|
+
hashMode: "P2SHNonSequential";
|
|
19840
|
+
threshold: number;
|
|
19841
|
+
publicKeys: string[];
|
|
19842
|
+
} | undefined;
|
|
19843
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
19844
|
+
address: string;
|
|
19845
|
+
publicKey: string;
|
|
19846
|
+
purpose: AddressPurpose;
|
|
19847
|
+
addressType: AddressType;
|
|
19848
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
19849
|
+
scriptPubKey?: string | undefined;
|
|
19850
|
+
unlockDefinition?: {
|
|
19851
|
+
type: "p2wpkh";
|
|
19852
|
+
} | {
|
|
19853
|
+
type: "p2sh-p2wpkh";
|
|
19854
|
+
redeemScript: string;
|
|
19855
|
+
} | {
|
|
19856
|
+
type: "p2tr-key-path";
|
|
19857
|
+
tapInternalKey: string;
|
|
19858
|
+
} | {
|
|
19859
|
+
type: "p2wsh";
|
|
19860
|
+
witnessScript: string;
|
|
19861
|
+
} | {
|
|
19862
|
+
type: "p2tr-script-path";
|
|
19863
|
+
tapLeafScript: {
|
|
19864
|
+
script: string;
|
|
19865
|
+
controlBlock: string;
|
|
19866
|
+
}[];
|
|
19867
|
+
} | undefined;
|
|
19868
|
+
stacksMultisig?: {
|
|
19869
|
+
hashMode: "P2SHNonSequential";
|
|
19870
|
+
threshold: number;
|
|
19871
|
+
publicKeys: string[];
|
|
19872
|
+
} | undefined;
|
|
19873
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>, undefined>;
|
|
17547
19874
|
}, undefined>, v.ObjectSchema<{
|
|
17548
19875
|
readonly type: v.LiteralSchema<"networkChange", undefined>;
|
|
17549
19876
|
readonly bitcoin: v.ObjectSchema<{
|
|
@@ -17583,6 +19910,11 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17583
19910
|
controlBlock: string;
|
|
17584
19911
|
}[], 1, undefined>]>;
|
|
17585
19912
|
}, undefined>], undefined>, undefined>;
|
|
19913
|
+
readonly stacksMultisig: v.OptionalSchema<v.ObjectSchema<{
|
|
19914
|
+
readonly hashMode: v.LiteralSchema<"P2SHNonSequential", undefined>;
|
|
19915
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
19916
|
+
readonly publicKeys: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
19917
|
+
}, undefined>, undefined>;
|
|
17586
19918
|
}, undefined>, v.CheckAction<{
|
|
17587
19919
|
address: string;
|
|
17588
19920
|
publicKey: string;
|
|
@@ -17608,6 +19940,11 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17608
19940
|
controlBlock: string;
|
|
17609
19941
|
}[];
|
|
17610
19942
|
} | undefined;
|
|
19943
|
+
stacksMultisig?: {
|
|
19944
|
+
hashMode: "P2SHNonSequential";
|
|
19945
|
+
threshold: number;
|
|
19946
|
+
publicKeys: string[];
|
|
19947
|
+
} | undefined;
|
|
17611
19948
|
}, "scriptPubKey and unlockDefinition must both be present or both be absent">, v.CheckAction<{
|
|
17612
19949
|
address: string;
|
|
17613
19950
|
publicKey: string;
|
|
@@ -17633,7 +19970,42 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
17633
19970
|
controlBlock: string;
|
|
17634
19971
|
}[];
|
|
17635
19972
|
} | undefined;
|
|
17636
|
-
|
|
19973
|
+
stacksMultisig?: {
|
|
19974
|
+
hashMode: "P2SHNonSequential";
|
|
19975
|
+
threshold: number;
|
|
19976
|
+
publicKeys: string[];
|
|
19977
|
+
} | undefined;
|
|
19978
|
+
}, "unlockDefinition type does not match addressType">, v.CheckAction<{
|
|
19979
|
+
address: string;
|
|
19980
|
+
publicKey: string;
|
|
19981
|
+
purpose: AddressPurpose;
|
|
19982
|
+
addressType: AddressType;
|
|
19983
|
+
walletType: "software" | "ledger" | "keystone" | "multisig";
|
|
19984
|
+
scriptPubKey?: string | undefined;
|
|
19985
|
+
unlockDefinition?: {
|
|
19986
|
+
type: "p2wpkh";
|
|
19987
|
+
} | {
|
|
19988
|
+
type: "p2sh-p2wpkh";
|
|
19989
|
+
redeemScript: string;
|
|
19990
|
+
} | {
|
|
19991
|
+
type: "p2tr-key-path";
|
|
19992
|
+
tapInternalKey: string;
|
|
19993
|
+
} | {
|
|
19994
|
+
type: "p2wsh";
|
|
19995
|
+
witnessScript: string;
|
|
19996
|
+
} | {
|
|
19997
|
+
type: "p2tr-script-path";
|
|
19998
|
+
tapLeafScript: {
|
|
19999
|
+
script: string;
|
|
20000
|
+
controlBlock: string;
|
|
20001
|
+
}[];
|
|
20002
|
+
} | undefined;
|
|
20003
|
+
stacksMultisig?: {
|
|
20004
|
+
hashMode: "P2SHNonSequential";
|
|
20005
|
+
threshold: number;
|
|
20006
|
+
publicKeys: string[];
|
|
20007
|
+
} | undefined;
|
|
20008
|
+
}, "stacksMultisig is only valid on multisig Stacks addresses">]>, undefined>, undefined>;
|
|
17637
20009
|
}, undefined>, v.ObjectSchema<{
|
|
17638
20010
|
readonly type: v.LiteralSchema<"disconnect", undefined>;
|
|
17639
20011
|
}, undefined>], undefined>;
|
|
@@ -17729,4 +20101,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
17729
20101
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
17730
20102
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
17731
20103
|
//#endregion
|
|
17732
|
-
export { AccountChangeCallback, AccountChangeEvent, AddListener, Address, AddressPurpose, AddressType, type AllResolvedNetworks, BaseAdapter, BitcoinGetAccountsParams, BitcoinGetAccountsRequest, BitcoinGetAccountsResult, BitcoinGetAccountsSuccessResponse, BitcoinGetAddressesParams, BitcoinGetAddressesRequest, BitcoinGetAddressesResult, BitcoinGetAddressesSuccessResponse, BitcoinGetAddressesV2Params, BitcoinGetAddressesV2Request, BitcoinGetAddressesV2Result, BitcoinGetAddressesV2SuccessResponse, BitcoinGetBalanceParams, BitcoinGetBalanceRequest, BitcoinGetBalanceResult, BitcoinGetBalanceSuccessResponse, BitcoinGetBalanceV2Params, BitcoinGetBalanceV2Request, BitcoinGetBalanceV2Result, BitcoinGetBalanceV2SuccessResponse, BitcoinGetInfoParams, BitcoinGetInfoRequest, BitcoinGetInfoResult, BitcoinGetInfoSuccessResponse, BitcoinMethod, BitcoinNetwork, type BitcoinNetworkConfigurationOptions, BitcoinNetworkType, BitcoinProvider, BitcoinRequests, BitcoinSendTransferParams, BitcoinSendTransferRequest, BitcoinSendTransferResult, BitcoinSendTransferSuccessResponse, BitcoinSendTransferV2Params, BitcoinSendTransferV2Request, BitcoinSendTransferV2Result, BitcoinSendTransferV2SuccessResponse, BitcoinSignMessageParams, BitcoinSignMessageRequest, BitcoinSignMessageResult, BitcoinSignMessageSuccessResponse, BitcoinSignMessageV2Params, BitcoinSignMessageV2Request, BitcoinSignMessageV2Result, BitcoinSignMessageV2SuccessResponse, BitcoinSignMultipleMessagesParams, BitcoinSignMultipleMessagesRequest, BitcoinSignMultipleMessagesResult, BitcoinSignMultipleMessagesSuccessResponse, BitcoinSignMultipleMessagesV2Params, BitcoinSignMultipleMessagesV2Request, BitcoinSignMultipleMessagesV2Result, BitcoinSignMultipleMessagesV2SuccessResponse, BitcoinSignPsbtParams, BitcoinSignPsbtRequest, BitcoinSignPsbtResult, BitcoinSignPsbtSuccessResponse, BitcoinSignPsbtV2Params, BitcoinSignPsbtV2Request, BitcoinSignPsbtV2Result, BitcoinSignPsbtV2SuccessResponse, BitcoinSuccessResponses, Capability, CreateInscriptionOptions, CreateInscriptionPayload, CreateInscriptionResponse, CreateRepeatInscriptionsOptions, CreateRepeatInscriptionsPayload, CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, DisconnectCallback, DisconnectEvent, GetAddressOptions, GetAddressPayload, GetAddressResponse, GetCapabilitiesOptions, GetCapabilitiesPayload, GetCapabilitiesResponse, InputToSign, ListenerInfo, MessageSigningProtocols, Method, NetworkChangeCallback, NetworkChangeEvent, NetworkChangeEventV2, type NetworkConfigurationOptions, OrdinalsGetInscriptionsParams, OrdinalsGetInscriptionsRequest, OrdinalsGetInscriptionsResult, OrdinalsGetInscriptionsSuccessResponse, OrdinalsMethod, OrdinalsRequests, OrdinalsSendInscriptionsParams, OrdinalsSendInscriptionsRequest, OrdinalsSendInscriptionsResult, OrdinalsSendInscriptionsSuccessResponse, OrdinalsSuccessResponses, type PermissionWithoutClientId, Provider, ProviderPlatform, PsbtPayload, Recipient, RequestOptions, RequestPayload, RequestReturn, RpcErrorCode, RpcId, RpcRequest, RpcRequestParams, RpcRequests, RpcSuccessResponse, RpcSuccessResponseResult, RpcSuccessResponses, RunesEstimateEtchParams, RunesEstimateEtchRequest, RunesEstimateEtchResult, RunesEstimateEtchSuccessResponse, RunesEstimateMintParams, RunesEstimateMintRequest, RunesEstimateMintResult, RunesEstimateMintSuccessResponse, RunesEstimateRbfOrderParams, RunesEstimateRbfOrderRequest, RunesEstimateRbfOrderResult, RunesEstimateRbfOrderSuccessResponse, RunesEtchParams, RunesEtchRequest, RunesEtchResult, RunesEtchSuccessResponse, RunesGetBalanceParams, RunesGetBalanceRequest, RunesGetBalanceResult, RunesGetBalanceSuccessResponse, RunesGetOrderParams, RunesGetOrderRequest, RunesGetOrderResult, RunesGetOrderSuccessResponse, RunesMethod, RunesMintParams, RunesMintRequest, RunesMintResult, RunesMintSuccessResponse, RunesRbfOrderParams, RunesRbfOrderRequest, RunesRbfOrderResult, RunesRbfOrderSuccessResponse, RunesRequests, RunesSuccessResponses, RunesTransferParams, RunesTransferRequest, RunesTransferResult, RunesTransferSuccessResponse, SatsConnectAdapter, SendBtcTransactionOptions, SendBtcTransactionPayload, SendBtcTransactionResponse, SerializedRecipient, SerializedSendBtcTransactionPayload, SignMessageOptions, SignMessagePayload, SignMessageResponse, SignMultiplePsbtPayload, SignMultipleTransactionOptions, SignMultipleTransactionsPayload, SignMultipleTransactionsResponse, SignTransactionOptions, SignTransactionPayload, SignTransactionResponse, SparkFlashnetClawbackFundsParams, SparkFlashnetClawbackFundsRequest, SparkFlashnetClawbackFundsResult, SparkFlashnetClawbackFundsSuccessResponse, SparkFlashnetExecuteRouteSwapParams, SparkFlashnetExecuteRouteSwapRequest, SparkFlashnetExecuteRouteSwapResult, SparkFlashnetExecuteRouteSwapSuccessResponse, SparkFlashnetExecuteSwapParams, SparkFlashnetExecuteSwapRequest, SparkFlashnetExecuteSwapResult, SparkFlashnetExecuteSwapSuccessResponse, SparkFlashnetGetJwtParams, SparkFlashnetGetJwtRequest, SparkFlashnetGetJwtResult, SparkFlashnetGetJwtSuccessResponse, SparkFlashnetSignIntentParams, SparkFlashnetSignIntentRequest, SparkFlashnetSignIntentResult, SparkFlashnetSignIntentSuccessResponse, SparkFlashnetSignStructuredMessageParams, SparkFlashnetSignStructuredMessageRequest, SparkFlashnetSignStructuredMessageResult, SparkFlashnetSignStructuredMessageSuccessResponse, SparkGetAddressesParams, SparkGetAddressesRequest, SparkGetAddressesResult, SparkGetAddressesSuccessResponse, SparkGetAddressesV2Params, SparkGetAddressesV2Request, SparkGetAddressesV2Result, SparkGetAddressesV2SuccessResponse, SparkGetBalanceParams, SparkGetBalanceRequest, SparkGetBalanceResult, SparkGetBalanceSuccessResponse, SparkGetClawbackEligibleTransfersParams, SparkGetClawbackEligibleTransfersRequest, SparkGetClawbackEligibleTransfersResult, SparkGetClawbackEligibleTransfersSuccessResponse, SparkMethod, type SparkNetworkConfigurationOptions, SparkNetworkType, SparkRequests, SparkSignMessageParams, SparkSignMessageRequest, SparkSignMessageResult, SparkSignMessageSuccessResponse, SparkSuccessResponses, SparkTransferParams, SparkTransferRequest, SparkTransferResult, SparkTransferSuccessResponse, SparkTransferTokenParams, SparkTransferTokenRequest, SparkTransferTokenResult, SparkTransferTokenSuccessResponse, SpecErrorObject, SpecErrorResponse, SpecId, SpecRequest, SpecResponse, SpecSuccessResponse, SpecSuccessWithExtensionsResponse, StacksCallContractParams, StacksCallContractRequest, StacksCallContractResult, StacksCallContractSuccessResponse, StacksDeployContractParams, StacksDeployContractRequest, StacksDeployContractResult, StacksDeployContractSuccessResponse, StacksGetAccountsParams, StacksGetAccountsRequest, StacksGetAccountsResult, StacksGetAccountsSuccessResponse, StacksGetAddressesParams, StacksGetAddressesRequest, StacksGetAddressesResult, StacksGetAddressesSuccessResponse, StacksMethod, type StacksNetworkConfigurationOptions, StacksNetworkType, StacksRequests, StacksSignMessageParams, StacksSignMessageRequest, StacksSignMessageResult, StacksSignMessageSuccessResponse, StacksSignStructuredMessageParams, StacksSignStructuredMessageRequest, StacksSignStructuredMessageResult, StacksSignStructuredMessageSuccessResponse, StacksSignTransactionParams, StacksSignTransactionRequest, StacksSignTransactionResult, StacksSignTransactionSuccessResponse, StacksSignTransactionsParams, StacksSignTransactionsRequest, StacksSignTransactionsResult, StacksSignTransactionsSuccessResponse, StacksSuccessResponses, StacksTransferStxParams, StacksTransferStxRequest, StacksTransferStxResult, StacksTransferStxSuccessResponse, type StarknetNetworkConfigurationOptions, StarknetNetworkType, SupportState, SupportedWallet, UnlockDefinition, WalletAddNetworkParams, WalletAddNetworkRequest, WalletAddNetworkResult, WalletAddNetworkSuccessResponse, WalletAddNetworkV2Params, WalletAddNetworkV2Request, WalletAddNetworkV2Result, WalletAddNetworkV2SuccessResponse, WalletChangeNetworkParams, WalletChangeNetworkRequest, WalletChangeNetworkResult, WalletChangeNetworkSuccessResponse, WalletConnectParams, WalletConnectRequest, WalletConnectResult, WalletConnectSuccessResponse, WalletConnectV2Params, WalletConnectV2Request, WalletConnectV2Result, WalletConnectV2SuccessResponse, WalletDisconnectParams, WalletDisconnectRequest, WalletDisconnectResult, WalletDisconnectSuccessResponse, WalletEvent, WalletGetAccountParams, WalletGetAccountRequest, WalletGetAccountResult, WalletGetAccountSuccessResponse, WalletGetAccountV2Params, WalletGetAccountV2Request, WalletGetAccountV2Result, WalletGetAccountV2SuccessResponse, WalletGetCurrentPermissionsParams, WalletGetCurrentPermissionsRequest, WalletGetCurrentPermissionsResult, WalletGetCurrentPermissionsSuccessResponse, WalletGetNetworkParams, WalletGetNetworkRequest, WalletGetNetworkResult, WalletGetNetworkSuccessResponse, WalletGetNetworksParams, WalletGetNetworksRequest, WalletGetNetworksResult, WalletGetNetworksSuccessResponse, WalletGetWalletTypeParams, WalletGetWalletTypeRequest, WalletGetWalletTypeResult, WalletGetWalletTypeSuccessResponse, WalletMethod, WalletOpenBridgeParams, WalletOpenBridgeRequest, WalletOpenBridgeResult, WalletOpenBridgeSuccessResponse, WalletOpenBuyParams, WalletOpenBuyRequest, WalletOpenBuyResult, WalletOpenBuySuccessResponse, WalletOpenParams, WalletOpenReceiveParams, WalletOpenReceiveRequest, WalletOpenReceiveResult, WalletOpenReceiveSuccessResponse, WalletOpenRequest, WalletOpenResult, WalletOpenSuccessResponse, WalletRenouncePermissionsParams, WalletRenouncePermissionsRequest, WalletRenouncePermissionsResult, WalletRenouncePermissionsSuccessResponse, WalletRequestPermissionsParams, WalletRequestPermissionsRequest, WalletRequestPermissionsResult, WalletRequestPermissionsSuccessResponse, WalletRequests, WalletSuccessResponses, WalletSwitchNetworkParams, WalletSwitchNetworkRequest, WalletSwitchNetworkResult, WalletSwitchNetworkSuccessResponse, WalletType, Warning, accountChangeEventName, accountChangeSchema, addListener, addressSchema, allResolvedNetworksSchema, bitcoinGetAccountsParamsSchema, bitcoinGetAccountsRequestSchema, bitcoinGetAccountsResultSchema, bitcoinGetAccountsSuccessResponseSchema, bitcoinGetAddressesParamsSchema, bitcoinGetAddressesRequestSchema, bitcoinGetAddressesResultSchema, bitcoinGetAddressesSuccessResponseSchema, bitcoinGetAddressesV2ParamsSchema, bitcoinGetAddressesV2RequestSchema, bitcoinGetAddressesV2ResultSchema, bitcoinGetAddressesV2SuccessResponseSchema, bitcoinGetBalanceParamsSchema, bitcoinGetBalanceRequestSchema, bitcoinGetBalanceResultSchema, bitcoinGetBalanceSuccessResponseSchema, bitcoinGetBalanceV2ParamsSchema, bitcoinGetBalanceV2RequestSchema, bitcoinGetBalanceV2ResultSchema, bitcoinGetBalanceV2SuccessResponseSchema, bitcoinGetInfoParamsSchema, bitcoinGetInfoRequestSchema, bitcoinGetInfoResultSchema, bitcoinGetInfoSuccessResponseSchema, bitcoinMethods, bitcoinModeToLegacyBitcoinNetworkType, bitcoinNetworkConfigurationOptionsSchema, bitcoinRequestSchema, bitcoinSendTransferParamsSchema, bitcoinSendTransferRequestSchema, bitcoinSendTransferResultSchema, bitcoinSendTransferSuccessResponseSchema, bitcoinSendTransferV2ParamsSchema, bitcoinSendTransferV2RequestSchema, bitcoinSendTransferV2ResultSchema, bitcoinSendTransferV2SuccessResponseSchema, bitcoinSignMessageParamsSchema, bitcoinSignMessageRequestSchema, bitcoinSignMessageResultSchema, bitcoinSignMessageSuccessResponseSchema, bitcoinSignMessageV2ParamsSchema, bitcoinSignMessageV2RequestSchema, bitcoinSignMessageV2ResultSchema, bitcoinSignMessageV2SuccessResponseSchema, bitcoinSignMultipleMessagesParamsSchema, bitcoinSignMultipleMessagesRequestSchema, bitcoinSignMultipleMessagesResultSchema, bitcoinSignMultipleMessagesSuccessResponseSchema, bitcoinSignMultipleMessagesV2ParamsSchema, bitcoinSignMultipleMessagesV2RequestSchema, bitcoinSignMultipleMessagesV2ResultSchema, bitcoinSignMultipleMessagesV2SuccessResponseSchema, bitcoinSignPsbtParamsSchema, bitcoinSignPsbtRequestSchema, bitcoinSignPsbtResultSchema, bitcoinSignPsbtSuccessResponseSchema, bitcoinSignPsbtV2ParamsSchema, bitcoinSignPsbtV2RequestSchema, bitcoinSignPsbtV2ResultSchema, bitcoinSignPsbtV2SuccessResponseSchema, bitcoinSuccessResponseSchema, createInscription, createRepeatInscriptions, createRpcRequest, createRpcSuccessResponse, defaultAdapters, defineMethodSupport, disconnectEventName, disconnectSchema, getAddress, getCapabilities, getDefaultProvider, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, isProviderInstalled, methods, networkChangeEventName, networkChangeEventNameV2, networkChangeSchema, networkChangeV2Schema, networkConfigurationOptionsSchema, ordinalsGetInscriptionsParamsSchema, ordinalsGetInscriptionsRequestSchema, ordinalsGetInscriptionsResultSchema, ordinalsGetInscriptionsSuccessResponseSchema, ordinalsMethods, ordinalsRequestSchema, ordinalsSendInscriptionsParamsSchema, ordinalsSendInscriptionsRequestSchema, ordinalsSendInscriptionsResultSchema, ordinalsSendInscriptionsSuccessResponseSchema, ordinalsSuccessResponseSchema, permissionRequestParamsSchema, removeDefaultProvider, request, rpcIdSchema, rpcRequestSchema, rpcSuccessResponseSchema, runesEstimateEtchParamsSchema, runesEstimateEtchRequestSchema, runesEstimateEtchResultSchema, runesEstimateEtchSuccessResponseSchema, runesEstimateMintParamsSchema, runesEstimateMintRequestSchema, runesEstimateMintResultSchema, runesEstimateMintSuccessResponseSchema, runesEstimateRbfOrderParamsSchema, runesEstimateRbfOrderRequestSchema, runesEstimateRbfOrderResultSchema, runesEstimateRbfOrderSuccessResponseSchema, runesEtchParamsSchema, runesEtchRequestSchema, runesEtchResultSchema, runesEtchSuccessResponseSchema, runesGetBalanceParamsSchema, runesGetBalanceRequestSchema, runesGetBalanceResultSchema, runesGetBalanceSuccessResponseSchema, runesGetOrderParamsSchema, runesGetOrderRequestSchema, runesGetOrderResultSchema, runesGetOrderSuccessResponseSchema, runesMethods, runesMintParamsSchema, runesMintRequestSchema, runesMintResultSchema, runesMintSuccessResponseSchema, runesRbfOrderParamsSchema, runesRbfOrderRequestSchema, runesRbfOrderResultSchema, runesRbfOrderSuccessResponseSchema, runesRequestSchema, runesSuccessResponseSchema, runesTransferParamsSchema, runesTransferRequestSchema, runesTransferResultSchema, runesTransferSuccessResponseSchema, sendBtcTransaction, setDefaultProvider, signMessage, signMultipleTransactions, signTransaction, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackFundsSuccessResponseSchema, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteRouteSwapSuccessResponseSchema, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetExecuteSwapSuccessResponseSchema, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetGetJwtSuccessResponseSchema, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignIntentSuccessResponseSchema, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSignStructuredMessageSuccessResponseSchema, sparkGetAddressesParamsSchema, sparkGetAddressesRequestSchema, sparkGetAddressesResultSchema, sparkGetAddressesSuccessResponseSchema, sparkGetAddressesV2ParamsSchema, sparkGetAddressesV2RequestSchema, sparkGetAddressesV2ResultSchema, sparkGetAddressesV2SuccessResponseSchema, sparkGetBalanceParamsSchema, sparkGetBalanceRequestSchema, sparkGetBalanceResultSchema, sparkGetBalanceSuccessResponseSchema, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkGetClawbackEligibleTransfersSuccessResponseSchema, sparkMethods, sparkModeToLegacySparkNetworkType, sparkNetworkConfigurationOptionsSchema, sparkRequestSchema, sparkSignMessageParamsSchema, sparkSignMessageRequestSchema, sparkSignMessageResultSchema, sparkSignMessageSuccessResponseSchema, sparkSuccessResponseSchema, sparkTransferParamsSchema, sparkTransferRequestSchema, sparkTransferResultSchema, sparkTransferSuccessResponseSchema, sparkTransferTokenParamsSchema, sparkTransferTokenRequestSchema, sparkTransferTokenResultSchema, sparkTransferTokenSuccessResponseSchema, specErrorObjectSchema, specErrorResponseSchema, specIdSchema, specRequestSchema, specResponseSchema, specSuccessResponseSchema, specSuccessWithExtensionsResponseSchema, stacksCallContractParamsSchema, stacksCallContractRequestSchema, stacksCallContractResultSchema, stacksCallContractSuccessResponseSchema, stacksDeployContractParamsSchema, stacksDeployContractRequestSchema, stacksDeployContractResultSchema, stacksDeployContractSuccessResponseSchema, stacksGetAccountsParamsSchema, stacksGetAccountsRequestSchema, stacksGetAccountsResultSchema, stacksGetAccountsSuccessResponseSchema, stacksGetAddressesParamsSchema, stacksGetAddressesRequestSchema, stacksGetAddressesResultSchema, stacksGetAddressesSuccessResponseSchema, stacksMethods, stacksModeToLegacyStacksNetworkType, stacksNetworkConfigurationOptionsSchema, stacksRequestSchema, stacksSignMessageParamsSchema, stacksSignMessageRequestSchema, stacksSignMessageResultSchema, stacksSignMessageSuccessResponseSchema, stacksSignStructuredMessageParamsSchema, stacksSignStructuredMessageRequestSchema, stacksSignStructuredMessageResultSchema, stacksSignStructuredMessageSuccessResponseSchema, stacksSignTransactionParamsSchema, stacksSignTransactionRequestSchema, stacksSignTransactionResultSchema, stacksSignTransactionSuccessResponseSchema, stacksSignTransactionsParamsSchema, stacksSignTransactionsRequestSchema, stacksSignTransactionsResultSchema, stacksSignTransactionsSuccessResponseSchema, stacksSuccessResponseSchema, stacksTransferStxParamsSchema, stacksTransferStxRequestSchema, stacksTransferStxResultSchema, stacksTransferStxSuccessResponseSchema, starknetNetworkConfigurationOptionsSchema, supportStates, unlockDefinitionSchema, walletAddNetworkParamsSchema, walletAddNetworkRequestSchema, walletAddNetworkResultSchema, walletAddNetworkSuccessResponseSchema, walletAddNetworkV2ParamsSchema, walletAddNetworkV2RequestSchema, walletAddNetworkV2ResultSchema, walletAddNetworkV2SuccessResponseSchema, walletChangeNetworkParamsSchema, walletChangeNetworkRequestSchema, walletChangeNetworkResultSchema, walletChangeNetworkSuccessResponseSchema, walletConnectParamsSchema, walletConnectRequestSchema, walletConnectResultSchema, walletConnectSuccessResponseSchema, walletConnectV2ParamsSchema, walletConnectV2RequestSchema, walletConnectV2ResultSchema, walletConnectV2SuccessResponseSchema, walletDisconnectParamsSchema, walletDisconnectRequestSchema, walletDisconnectResultSchema, walletDisconnectSuccessResponseSchema, walletEventSchema, walletGetAccountParamsSchema, walletGetAccountRequestSchema, walletGetAccountResultSchema, walletGetAccountSuccessResponseSchema, walletGetAccountV2ParamsSchema, walletGetAccountV2RequestSchema, walletGetAccountV2ResultSchema, walletGetAccountV2SuccessResponseSchema, walletGetCurrentPermissionsParamsSchema, walletGetCurrentPermissionsRequestSchema, walletGetCurrentPermissionsResultSchema, walletGetCurrentPermissionsSuccessResponseSchema, walletGetNetworkParamsSchema, walletGetNetworkRequestSchema, walletGetNetworkResultSchema, walletGetNetworkSuccessResponseSchema, walletGetNetworksParamsSchema, walletGetNetworksRequestSchema, walletGetNetworksResultSchema, walletGetNetworksSuccessResponseSchema, walletGetWalletTypeParamsSchema, walletGetWalletTypeRequestSchema, walletGetWalletTypeResultSchema, walletGetWalletTypeSuccessResponseSchema, walletMethods, walletOpenBridgeParamsSchema, walletOpenBridgeRequestSchema, walletOpenBridgeResultSchema, walletOpenBridgeSuccessResponseSchema, walletOpenBuyParamsSchema, walletOpenBuyRequestSchema, walletOpenBuyResultSchema, walletOpenBuySuccessResponseSchema, walletOpenParamsSchema, walletOpenReceiveParamsSchema, walletOpenReceiveRequestSchema, walletOpenReceiveResultSchema, walletOpenReceiveSuccessResponseSchema, walletOpenRequestSchema, walletOpenResultSchema, walletOpenSuccessResponseSchema, walletRenouncePermissionsParamsSchema, walletRenouncePermissionsRequestSchema, walletRenouncePermissionsResultSchema, walletRenouncePermissionsSuccessResponseSchema, walletRequestPermissionsParamsSchema, walletRequestPermissionsRequestSchema, walletRequestPermissionsResultSchema, walletRequestPermissionsSuccessResponseSchema, walletRequestSchema, walletSuccessResponseSchema, walletSwitchNetworkParamsSchema, walletSwitchNetworkRequestSchema, walletSwitchNetworkResultSchema, walletSwitchNetworkSuccessResponseSchema, walletTypeSchema, walletTypes };
|
|
20104
|
+
export { AccountChangeCallback, AccountChangeEvent, AddListener, Address, AddressPurpose, AddressType, type AllResolvedNetworks, BaseAdapter, BitcoinGetAccountsParams, BitcoinGetAccountsRequest, BitcoinGetAccountsResult, BitcoinGetAccountsSuccessResponse, BitcoinGetAddressesParams, BitcoinGetAddressesRequest, BitcoinGetAddressesResult, BitcoinGetAddressesSuccessResponse, BitcoinGetAddressesV2Params, BitcoinGetAddressesV2Request, BitcoinGetAddressesV2Result, BitcoinGetAddressesV2SuccessResponse, BitcoinGetBalanceParams, BitcoinGetBalanceRequest, BitcoinGetBalanceResult, BitcoinGetBalanceSuccessResponse, BitcoinGetBalanceV2Params, BitcoinGetBalanceV2Request, BitcoinGetBalanceV2Result, BitcoinGetBalanceV2SuccessResponse, BitcoinGetInfoParams, BitcoinGetInfoRequest, BitcoinGetInfoResult, BitcoinGetInfoSuccessResponse, BitcoinMethod, BitcoinNetwork, type BitcoinNetworkConfigurationOptions, BitcoinNetworkType, BitcoinProvider, BitcoinRequests, BitcoinSendTransferParams, BitcoinSendTransferRequest, BitcoinSendTransferResult, BitcoinSendTransferSuccessResponse, BitcoinSendTransferV2Params, BitcoinSendTransferV2Request, BitcoinSendTransferV2Result, BitcoinSendTransferV2SuccessResponse, BitcoinSignMessageParams, BitcoinSignMessageRequest, BitcoinSignMessageResult, BitcoinSignMessageSuccessResponse, BitcoinSignMessageV2Params, BitcoinSignMessageV2Request, BitcoinSignMessageV2Result, BitcoinSignMessageV2SuccessResponse, BitcoinSignMultipleMessagesParams, BitcoinSignMultipleMessagesRequest, BitcoinSignMultipleMessagesResult, BitcoinSignMultipleMessagesSuccessResponse, BitcoinSignMultipleMessagesV2Params, BitcoinSignMultipleMessagesV2Request, BitcoinSignMultipleMessagesV2Result, BitcoinSignMultipleMessagesV2SuccessResponse, BitcoinSignPsbtParams, BitcoinSignPsbtRequest, BitcoinSignPsbtResult, BitcoinSignPsbtSuccessResponse, BitcoinSignPsbtV2Params, BitcoinSignPsbtV2Request, BitcoinSignPsbtV2Result, BitcoinSignPsbtV2SuccessResponse, BitcoinSuccessResponses, Capability, CreateInscriptionOptions, CreateInscriptionPayload, CreateInscriptionResponse, CreateRepeatInscriptionsOptions, CreateRepeatInscriptionsPayload, CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, DisconnectCallback, DisconnectEvent, GetAddressOptions, GetAddressPayload, GetAddressResponse, GetCapabilitiesOptions, GetCapabilitiesPayload, GetCapabilitiesResponse, InputToSign, ListenerInfo, MessageSigningProtocols, Method, NetworkChangeCallback, NetworkChangeEvent, NetworkChangeEventV2, type NetworkConfigurationOptions, OrdinalsGetInscriptionsParams, OrdinalsGetInscriptionsRequest, OrdinalsGetInscriptionsResult, OrdinalsGetInscriptionsSuccessResponse, OrdinalsMethod, OrdinalsRequests, OrdinalsSendInscriptionsParams, OrdinalsSendInscriptionsRequest, OrdinalsSendInscriptionsResult, OrdinalsSendInscriptionsSuccessResponse, OrdinalsSuccessResponses, type PermissionWithoutClientId, Provider, ProviderPlatform, PsbtPayload, Recipient, RequestOptions, RequestPayload, RequestReturn, RpcErrorCode, RpcId, RpcRequest, RpcRequestParams, RpcRequests, RpcSuccessResponse, RpcSuccessResponseResult, RpcSuccessResponses, RunesEstimateEtchParams, RunesEstimateEtchRequest, RunesEstimateEtchResult, RunesEstimateEtchSuccessResponse, RunesEstimateMintParams, RunesEstimateMintRequest, RunesEstimateMintResult, RunesEstimateMintSuccessResponse, RunesEstimateRbfOrderParams, RunesEstimateRbfOrderRequest, RunesEstimateRbfOrderResult, RunesEstimateRbfOrderSuccessResponse, RunesEtchParams, RunesEtchRequest, RunesEtchResult, RunesEtchSuccessResponse, RunesGetBalanceParams, RunesGetBalanceRequest, RunesGetBalanceResult, RunesGetBalanceSuccessResponse, RunesGetOrderParams, RunesGetOrderRequest, RunesGetOrderResult, RunesGetOrderSuccessResponse, RunesMethod, RunesMintParams, RunesMintRequest, RunesMintResult, RunesMintSuccessResponse, RunesRbfOrderParams, RunesRbfOrderRequest, RunesRbfOrderResult, RunesRbfOrderSuccessResponse, RunesRequests, RunesSuccessResponses, RunesTransferParams, RunesTransferRequest, RunesTransferResult, RunesTransferSuccessResponse, SatsConnectAdapter, SendBtcTransactionOptions, SendBtcTransactionPayload, SendBtcTransactionResponse, SerializedRecipient, SerializedSendBtcTransactionPayload, SignMessageOptions, SignMessagePayload, SignMessageResponse, SignMultiplePsbtPayload, SignMultipleTransactionOptions, SignMultipleTransactionsPayload, SignMultipleTransactionsResponse, SignTransactionOptions, SignTransactionPayload, SignTransactionResponse, SparkFlashnetClawbackFundsParams, SparkFlashnetClawbackFundsRequest, SparkFlashnetClawbackFundsResult, SparkFlashnetClawbackFundsSuccessResponse, SparkFlashnetExecuteRouteSwapParams, SparkFlashnetExecuteRouteSwapRequest, SparkFlashnetExecuteRouteSwapResult, SparkFlashnetExecuteRouteSwapSuccessResponse, SparkFlashnetExecuteSwapParams, SparkFlashnetExecuteSwapRequest, SparkFlashnetExecuteSwapResult, SparkFlashnetExecuteSwapSuccessResponse, SparkFlashnetGetJwtParams, SparkFlashnetGetJwtRequest, SparkFlashnetGetJwtResult, SparkFlashnetGetJwtSuccessResponse, SparkFlashnetSignIntentParams, SparkFlashnetSignIntentRequest, SparkFlashnetSignIntentResult, SparkFlashnetSignIntentSuccessResponse, SparkFlashnetSignStructuredMessageParams, SparkFlashnetSignStructuredMessageRequest, SparkFlashnetSignStructuredMessageResult, SparkFlashnetSignStructuredMessageSuccessResponse, SparkGetAddressesParams, SparkGetAddressesRequest, SparkGetAddressesResult, SparkGetAddressesSuccessResponse, SparkGetAddressesV2Params, SparkGetAddressesV2Request, SparkGetAddressesV2Result, SparkGetAddressesV2SuccessResponse, SparkGetBalanceParams, SparkGetBalanceRequest, SparkGetBalanceResult, SparkGetBalanceSuccessResponse, SparkGetClawbackEligibleTransfersParams, SparkGetClawbackEligibleTransfersRequest, SparkGetClawbackEligibleTransfersResult, SparkGetClawbackEligibleTransfersSuccessResponse, SparkMethod, type SparkNetworkConfigurationOptions, SparkNetworkType, SparkRequests, SparkSignMessageParams, SparkSignMessageRequest, SparkSignMessageResult, SparkSignMessageSuccessResponse, SparkSuccessResponses, SparkTransferParams, SparkTransferRequest, SparkTransferResult, SparkTransferSuccessResponse, SparkTransferTokenParams, SparkTransferTokenRequest, SparkTransferTokenResult, SparkTransferTokenSuccessResponse, SpecErrorObject, SpecErrorResponse, SpecId, SpecRequest, SpecResponse, SpecSuccessResponse, SpecSuccessWithExtensionsResponse, StacksAccount, StacksCallContractParams, StacksCallContractRequest, StacksCallContractResult, StacksCallContractSuccessResponse, StacksDeployContractParams, StacksDeployContractRequest, StacksDeployContractResult, StacksDeployContractSuccessResponse, StacksGetAccountsParams, StacksGetAccountsRequest, StacksGetAccountsResult, StacksGetAccountsSuccessResponse, StacksGetAddressesParams, StacksGetAddressesRequest, StacksGetAddressesResult, StacksGetAddressesSuccessResponse, StacksLegacyAccount, StacksMethod, StacksMultisig, StacksMultisigAccount, type StacksNetworkConfigurationOptions, StacksNetworkType, StacksRequests, StacksSignMessageParams, StacksSignMessageRequest, StacksSignMessageResult, StacksSignMessageSuccessResponse, StacksSignStructuredMessageParams, StacksSignStructuredMessageRequest, StacksSignStructuredMessageResult, StacksSignStructuredMessageSuccessResponse, StacksSignTransactionParams, StacksSignTransactionRequest, StacksSignTransactionResult, StacksSignTransactionSuccessResponse, StacksSignTransactionsBroadcastErrorData, StacksSignTransactionsParams, StacksSignTransactionsRequest, StacksSignTransactionsResult, StacksSignTransactionsSuccessResponse, StacksSuccessResponses, StacksTransferStxParams, StacksTransferStxRequest, StacksTransferStxResult, StacksTransferStxSuccessResponse, type StarknetNetworkConfigurationOptions, StarknetNetworkType, SupportState, SupportedWallet, UnlockDefinition, WalletAddNetworkParams, WalletAddNetworkRequest, WalletAddNetworkResult, WalletAddNetworkSuccessResponse, WalletAddNetworkV2Params, WalletAddNetworkV2Request, WalletAddNetworkV2Result, WalletAddNetworkV2SuccessResponse, WalletChangeNetworkParams, WalletChangeNetworkRequest, WalletChangeNetworkResult, WalletChangeNetworkSuccessResponse, WalletConnectParams, WalletConnectRequest, WalletConnectResult, WalletConnectSuccessResponse, WalletConnectV2Params, WalletConnectV2Request, WalletConnectV2Result, WalletConnectV2SuccessResponse, WalletDisconnectParams, WalletDisconnectRequest, WalletDisconnectResult, WalletDisconnectSuccessResponse, WalletEvent, WalletGetAccountParams, WalletGetAccountRequest, WalletGetAccountResult, WalletGetAccountSuccessResponse, WalletGetAccountV2Params, WalletGetAccountV2Request, WalletGetAccountV2Result, WalletGetAccountV2SuccessResponse, WalletGetCurrentPermissionsParams, WalletGetCurrentPermissionsRequest, WalletGetCurrentPermissionsResult, WalletGetCurrentPermissionsSuccessResponse, WalletGetNetworkParams, WalletGetNetworkRequest, WalletGetNetworkResult, WalletGetNetworkSuccessResponse, WalletGetNetworksParams, WalletGetNetworksRequest, WalletGetNetworksResult, WalletGetNetworksSuccessResponse, WalletGetWalletTypeParams, WalletGetWalletTypeRequest, WalletGetWalletTypeResult, WalletGetWalletTypeSuccessResponse, WalletMethod, WalletOpenBridgeParams, WalletOpenBridgeRequest, WalletOpenBridgeResult, WalletOpenBridgeSuccessResponse, WalletOpenBuyParams, WalletOpenBuyRequest, WalletOpenBuyResult, WalletOpenBuySuccessResponse, WalletOpenParams, WalletOpenReceiveParams, WalletOpenReceiveRequest, WalletOpenReceiveResult, WalletOpenReceiveSuccessResponse, WalletOpenRequest, WalletOpenResult, WalletOpenSuccessResponse, WalletRenouncePermissionsParams, WalletRenouncePermissionsRequest, WalletRenouncePermissionsResult, WalletRenouncePermissionsSuccessResponse, WalletRequestPermissionsParams, WalletRequestPermissionsRequest, WalletRequestPermissionsResult, WalletRequestPermissionsSuccessResponse, WalletRequests, WalletSuccessResponses, WalletSwitchNetworkParams, WalletSwitchNetworkRequest, WalletSwitchNetworkResult, WalletSwitchNetworkSuccessResponse, WalletType, Warning, accountChangeEventName, accountChangeSchema, addListener, addressSchema, allResolvedNetworksSchema, bitcoinGetAccountsParamsSchema, bitcoinGetAccountsRequestSchema, bitcoinGetAccountsResultSchema, bitcoinGetAccountsSuccessResponseSchema, bitcoinGetAddressesParamsSchema, bitcoinGetAddressesRequestSchema, bitcoinGetAddressesResultSchema, bitcoinGetAddressesSuccessResponseSchema, bitcoinGetAddressesV2ParamsSchema, bitcoinGetAddressesV2RequestSchema, bitcoinGetAddressesV2ResultSchema, bitcoinGetAddressesV2SuccessResponseSchema, bitcoinGetBalanceParamsSchema, bitcoinGetBalanceRequestSchema, bitcoinGetBalanceResultSchema, bitcoinGetBalanceSuccessResponseSchema, bitcoinGetBalanceV2ParamsSchema, bitcoinGetBalanceV2RequestSchema, bitcoinGetBalanceV2ResultSchema, bitcoinGetBalanceV2SuccessResponseSchema, bitcoinGetInfoParamsSchema, bitcoinGetInfoRequestSchema, bitcoinGetInfoResultSchema, bitcoinGetInfoSuccessResponseSchema, bitcoinMethods, bitcoinModeToLegacyBitcoinNetworkType, bitcoinNetworkConfigurationOptionsSchema, bitcoinRequestSchema, bitcoinSendTransferParamsSchema, bitcoinSendTransferRequestSchema, bitcoinSendTransferResultSchema, bitcoinSendTransferSuccessResponseSchema, bitcoinSendTransferV2ParamsSchema, bitcoinSendTransferV2RequestSchema, bitcoinSendTransferV2ResultSchema, bitcoinSendTransferV2SuccessResponseSchema, bitcoinSignMessageParamsSchema, bitcoinSignMessageRequestSchema, bitcoinSignMessageResultSchema, bitcoinSignMessageSuccessResponseSchema, bitcoinSignMessageV2ParamsSchema, bitcoinSignMessageV2RequestSchema, bitcoinSignMessageV2ResultSchema, bitcoinSignMessageV2SuccessResponseSchema, bitcoinSignMultipleMessagesParamsSchema, bitcoinSignMultipleMessagesRequestSchema, bitcoinSignMultipleMessagesResultSchema, bitcoinSignMultipleMessagesSuccessResponseSchema, bitcoinSignMultipleMessagesV2ParamsSchema, bitcoinSignMultipleMessagesV2RequestSchema, bitcoinSignMultipleMessagesV2ResultSchema, bitcoinSignMultipleMessagesV2SuccessResponseSchema, bitcoinSignPsbtParamsSchema, bitcoinSignPsbtRequestSchema, bitcoinSignPsbtResultSchema, bitcoinSignPsbtSuccessResponseSchema, bitcoinSignPsbtV2ParamsSchema, bitcoinSignPsbtV2RequestSchema, bitcoinSignPsbtV2ResultSchema, bitcoinSignPsbtV2SuccessResponseSchema, bitcoinSuccessResponseSchema, createInscription, createRepeatInscriptions, createRpcRequest, createRpcSuccessResponse, defaultAdapters, defineMethodSupport, disconnectEventName, disconnectSchema, getAddress, getCapabilities, getDefaultProvider, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, isProviderInstalled, methods, networkChangeEventName, networkChangeEventNameV2, networkChangeSchema, networkChangeV2Schema, networkConfigurationOptionsSchema, ordinalsGetInscriptionsParamsSchema, ordinalsGetInscriptionsRequestSchema, ordinalsGetInscriptionsResultSchema, ordinalsGetInscriptionsSuccessResponseSchema, ordinalsMethods, ordinalsRequestSchema, ordinalsSendInscriptionsParamsSchema, ordinalsSendInscriptionsRequestSchema, ordinalsSendInscriptionsResultSchema, ordinalsSendInscriptionsSuccessResponseSchema, ordinalsSuccessResponseSchema, permissionRequestParamsSchema, removeDefaultProvider, request, rpcIdSchema, rpcRequestSchema, rpcSuccessResponseSchema, runesEstimateEtchParamsSchema, runesEstimateEtchRequestSchema, runesEstimateEtchResultSchema, runesEstimateEtchSuccessResponseSchema, runesEstimateMintParamsSchema, runesEstimateMintRequestSchema, runesEstimateMintResultSchema, runesEstimateMintSuccessResponseSchema, runesEstimateRbfOrderParamsSchema, runesEstimateRbfOrderRequestSchema, runesEstimateRbfOrderResultSchema, runesEstimateRbfOrderSuccessResponseSchema, runesEtchParamsSchema, runesEtchRequestSchema, runesEtchResultSchema, runesEtchSuccessResponseSchema, runesGetBalanceParamsSchema, runesGetBalanceRequestSchema, runesGetBalanceResultSchema, runesGetBalanceSuccessResponseSchema, runesGetOrderParamsSchema, runesGetOrderRequestSchema, runesGetOrderResultSchema, runesGetOrderSuccessResponseSchema, runesMethods, runesMintParamsSchema, runesMintRequestSchema, runesMintResultSchema, runesMintSuccessResponseSchema, runesRbfOrderParamsSchema, runesRbfOrderRequestSchema, runesRbfOrderResultSchema, runesRbfOrderSuccessResponseSchema, runesRequestSchema, runesSuccessResponseSchema, runesTransferParamsSchema, runesTransferRequestSchema, runesTransferResultSchema, runesTransferSuccessResponseSchema, sendBtcTransaction, setDefaultProvider, signMessage, signMultipleTransactions, signTransaction, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackFundsSuccessResponseSchema, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteRouteSwapSuccessResponseSchema, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetExecuteSwapSuccessResponseSchema, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetGetJwtSuccessResponseSchema, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignIntentSuccessResponseSchema, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSignStructuredMessageSuccessResponseSchema, sparkGetAddressesParamsSchema, sparkGetAddressesRequestSchema, sparkGetAddressesResultSchema, sparkGetAddressesSuccessResponseSchema, sparkGetAddressesV2ParamsSchema, sparkGetAddressesV2RequestSchema, sparkGetAddressesV2ResultSchema, sparkGetAddressesV2SuccessResponseSchema, sparkGetBalanceParamsSchema, sparkGetBalanceRequestSchema, sparkGetBalanceResultSchema, sparkGetBalanceSuccessResponseSchema, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkGetClawbackEligibleTransfersSuccessResponseSchema, sparkMethods, sparkModeToLegacySparkNetworkType, sparkNetworkConfigurationOptionsSchema, sparkRequestSchema, sparkSignMessageParamsSchema, sparkSignMessageRequestSchema, sparkSignMessageResultSchema, sparkSignMessageSuccessResponseSchema, sparkSuccessResponseSchema, sparkTransferParamsSchema, sparkTransferRequestSchema, sparkTransferResultSchema, sparkTransferSuccessResponseSchema, sparkTransferTokenParamsSchema, sparkTransferTokenRequestSchema, sparkTransferTokenResultSchema, sparkTransferTokenSuccessResponseSchema, specErrorObjectSchema, specErrorResponseSchema, specIdSchema, specRequestSchema, specResponseSchema, specSuccessResponseSchema, specSuccessWithExtensionsResponseSchema, stacksAccountSchema, stacksCallContractParamsSchema, stacksCallContractRequestSchema, stacksCallContractResultSchema, stacksCallContractSuccessResponseSchema, stacksDeployContractParamsSchema, stacksDeployContractRequestSchema, stacksDeployContractResultSchema, stacksDeployContractSuccessResponseSchema, stacksGetAccountsParamsSchema, stacksGetAccountsRequestSchema, stacksGetAccountsResultSchema, stacksGetAccountsSuccessResponseSchema, stacksGetAddressesParamsSchema, stacksGetAddressesRequestSchema, stacksGetAddressesResultSchema, stacksGetAddressesSuccessResponseSchema, stacksLegacyAccountSchema, stacksMethods, stacksModeToLegacyStacksNetworkType, stacksMultisigAccountSchema, stacksMultisigSchema, stacksNetworkConfigurationOptionsSchema, stacksRequestSchema, stacksSignMessageParamsSchema, stacksSignMessageRequestSchema, stacksSignMessageResultSchema, stacksSignMessageSuccessResponseSchema, stacksSignStructuredMessageParamsSchema, stacksSignStructuredMessageRequestSchema, stacksSignStructuredMessageResultSchema, stacksSignStructuredMessageSuccessResponseSchema, stacksSignTransactionParamsSchema, stacksSignTransactionRequestSchema, stacksSignTransactionResultSchema, stacksSignTransactionSuccessResponseSchema, stacksSignTransactionsBroadcastErrorDataSchema, stacksSignTransactionsParamsSchema, stacksSignTransactionsRequestSchema, stacksSignTransactionsResultSchema, stacksSignTransactionsSuccessResponseSchema, stacksSuccessResponseSchema, stacksTransferStxParamsSchema, stacksTransferStxRequestSchema, stacksTransferStxResultSchema, stacksTransferStxSuccessResponseSchema, starknetNetworkConfigurationOptionsSchema, supportStates, unlockDefinitionSchema, walletAddNetworkParamsSchema, walletAddNetworkRequestSchema, walletAddNetworkResultSchema, walletAddNetworkSuccessResponseSchema, walletAddNetworkV2ParamsSchema, walletAddNetworkV2RequestSchema, walletAddNetworkV2ResultSchema, walletAddNetworkV2SuccessResponseSchema, walletChangeNetworkParamsSchema, walletChangeNetworkRequestSchema, walletChangeNetworkResultSchema, walletChangeNetworkSuccessResponseSchema, walletConnectParamsSchema, walletConnectRequestSchema, walletConnectResultSchema, walletConnectSuccessResponseSchema, walletConnectV2ParamsSchema, walletConnectV2RequestSchema, walletConnectV2ResultSchema, walletConnectV2SuccessResponseSchema, walletDisconnectParamsSchema, walletDisconnectRequestSchema, walletDisconnectResultSchema, walletDisconnectSuccessResponseSchema, walletEventSchema, walletGetAccountParamsSchema, walletGetAccountRequestSchema, walletGetAccountResultSchema, walletGetAccountSuccessResponseSchema, walletGetAccountV2ParamsSchema, walletGetAccountV2RequestSchema, walletGetAccountV2ResultSchema, walletGetAccountV2SuccessResponseSchema, walletGetCurrentPermissionsParamsSchema, walletGetCurrentPermissionsRequestSchema, walletGetCurrentPermissionsResultSchema, walletGetCurrentPermissionsSuccessResponseSchema, walletGetNetworkParamsSchema, walletGetNetworkRequestSchema, walletGetNetworkResultSchema, walletGetNetworkSuccessResponseSchema, walletGetNetworksParamsSchema, walletGetNetworksRequestSchema, walletGetNetworksResultSchema, walletGetNetworksSuccessResponseSchema, walletGetWalletTypeParamsSchema, walletGetWalletTypeRequestSchema, walletGetWalletTypeResultSchema, walletGetWalletTypeSuccessResponseSchema, walletMethods, walletOpenBridgeParamsSchema, walletOpenBridgeRequestSchema, walletOpenBridgeResultSchema, walletOpenBridgeSuccessResponseSchema, walletOpenBuyParamsSchema, walletOpenBuyRequestSchema, walletOpenBuyResultSchema, walletOpenBuySuccessResponseSchema, walletOpenParamsSchema, walletOpenReceiveParamsSchema, walletOpenReceiveRequestSchema, walletOpenReceiveResultSchema, walletOpenReceiveSuccessResponseSchema, walletOpenRequestSchema, walletOpenResultSchema, walletOpenSuccessResponseSchema, walletRenouncePermissionsParamsSchema, walletRenouncePermissionsRequestSchema, walletRenouncePermissionsResultSchema, walletRenouncePermissionsSuccessResponseSchema, walletRequestPermissionsParamsSchema, walletRequestPermissionsRequestSchema, walletRequestPermissionsResultSchema, walletRequestPermissionsSuccessResponseSchema, walletRequestSchema, walletSuccessResponseSchema, walletSwitchNetworkParamsSchema, walletSwitchNetworkRequestSchema, walletSwitchNetworkResultSchema, walletSwitchNetworkSuccessResponseSchema, walletTypeSchema, walletTypes };
|