@sats-connect/core 0.16.0-2dd02aa → 0.16.0-55e197a
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 +306 -217
- package/dist/index.d.ts +306 -217
- package/dist/index.js +862 -748
- package/dist/index.mjs +850 -748
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -612,6 +612,9 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
612
612
|
readonly message: v.StringSchema<undefined>;
|
|
613
613
|
/**
|
|
614
614
|
* The protocol to use for signing the message.
|
|
615
|
+
*
|
|
616
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
617
|
+
* and to BIP322 if signing with a taproot address.
|
|
615
618
|
*/
|
|
616
619
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
617
620
|
}, undefined>;
|
|
@@ -630,7 +633,7 @@ declare const signMessageResultSchema: v.ObjectSchema<{
|
|
|
630
633
|
*/
|
|
631
634
|
readonly address: v.StringSchema<undefined>;
|
|
632
635
|
/**
|
|
633
|
-
* The protocol
|
|
636
|
+
* The protocol used for signing the message.
|
|
634
637
|
*/
|
|
635
638
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
636
639
|
}, undefined>;
|
|
@@ -648,6 +651,9 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
648
651
|
readonly message: v.StringSchema<undefined>;
|
|
649
652
|
/**
|
|
650
653
|
* The protocol to use for signing the message.
|
|
654
|
+
*
|
|
655
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
656
|
+
* and to BIP322 if signing with a taproot address.
|
|
651
657
|
*/
|
|
652
658
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
653
659
|
}, undefined>;
|
|
@@ -668,7 +674,10 @@ declare const signMultipleMessagesParamsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
668
674
|
**/
|
|
669
675
|
readonly message: v.StringSchema<undefined>;
|
|
670
676
|
/**
|
|
671
|
-
* The protocol to use
|
|
677
|
+
* The protocol to use to sign the message.
|
|
678
|
+
*
|
|
679
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
680
|
+
* and to BIP322 if signing with a taproot address.
|
|
672
681
|
*/
|
|
673
682
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
674
683
|
}, undefined>, undefined>;
|
|
@@ -691,7 +700,7 @@ declare const signMultipleMessagesResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
691
700
|
*/
|
|
692
701
|
readonly address: v.StringSchema<undefined>;
|
|
693
702
|
/**
|
|
694
|
-
* The protocol
|
|
703
|
+
* The protocol used for signing the message.
|
|
695
704
|
*/
|
|
696
705
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
697
706
|
}, undefined>, undefined>;
|
|
@@ -708,7 +717,10 @@ declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
|
708
717
|
**/
|
|
709
718
|
readonly message: v.StringSchema<undefined>;
|
|
710
719
|
/**
|
|
711
|
-
* The protocol to use
|
|
720
|
+
* The protocol to use to sign the message.
|
|
721
|
+
*
|
|
722
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
723
|
+
* and to BIP322 if signing with a taproot address.
|
|
712
724
|
*/
|
|
713
725
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
714
726
|
}, undefined>, undefined>;
|
|
@@ -2300,6 +2312,104 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
2300
2312
|
type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
|
|
2301
2313
|
type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
|
|
2302
2314
|
|
|
2315
|
+
declare const addNetworkMethodName = "wallet_addNetwork";
|
|
2316
|
+
declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2317
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2318
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2319
|
+
readonly name: v.StringSchema<undefined>;
|
|
2320
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2321
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2322
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2323
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2324
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2325
|
+
}, undefined>, v.ObjectSchema<{
|
|
2326
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2327
|
+
readonly name: v.StringSchema<undefined>;
|
|
2328
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2329
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2330
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2331
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2332
|
+
}, undefined>, v.ObjectSchema<{
|
|
2333
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2334
|
+
readonly name: v.StringSchema<undefined>;
|
|
2335
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2336
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2337
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2338
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2339
|
+
}, undefined>], undefined>;
|
|
2340
|
+
type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
|
|
2341
|
+
declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2342
|
+
readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
|
|
2343
|
+
readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2344
|
+
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2345
|
+
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2346
|
+
readonly name: v.StringSchema<undefined>;
|
|
2347
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2348
|
+
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2349
|
+
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2350
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2351
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2352
|
+
}, undefined>, v.ObjectSchema<{
|
|
2353
|
+
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2354
|
+
readonly name: v.StringSchema<undefined>;
|
|
2355
|
+
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2356
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2357
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2358
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2359
|
+
}, undefined>, v.ObjectSchema<{
|
|
2360
|
+
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2361
|
+
readonly name: v.StringSchema<undefined>;
|
|
2362
|
+
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2363
|
+
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2364
|
+
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2365
|
+
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2366
|
+
}, undefined>], undefined>;
|
|
2367
|
+
readonly id: v.StringSchema<undefined>;
|
|
2368
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2369
|
+
}, undefined>;
|
|
2370
|
+
type AddNetworkRequestMessage = v.InferOutput<typeof addNetworkRequestMessageSchema>;
|
|
2371
|
+
declare const addNetworkResultSchema: v.ObjectSchema<{
|
|
2372
|
+
readonly id: v.StringSchema<undefined>;
|
|
2373
|
+
}, undefined>;
|
|
2374
|
+
type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
|
|
2375
|
+
type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
|
|
2376
|
+
|
|
2377
|
+
declare const changeNetworkMethodName = "wallet_changeNetwork";
|
|
2378
|
+
declare const changeNetworkParamsSchema: v.ObjectSchema<{
|
|
2379
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2380
|
+
}, undefined>;
|
|
2381
|
+
type ChangeNetworkParams = v.InferOutput<typeof changeNetworkParamsSchema>;
|
|
2382
|
+
declare const changeNetworkResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2383
|
+
type ChangeNetworkResult = v.InferOutput<typeof changeNetworkResultSchema>;
|
|
2384
|
+
declare const changeNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2385
|
+
readonly method: v.LiteralSchema<"wallet_changeNetwork", undefined>;
|
|
2386
|
+
readonly params: v.ObjectSchema<{
|
|
2387
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2388
|
+
}, undefined>;
|
|
2389
|
+
readonly id: v.StringSchema<undefined>;
|
|
2390
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2391
|
+
}, undefined>;
|
|
2392
|
+
type ChangeNetworkRequestMessage = v.InferOutput<typeof changeNetworkRequestMessageSchema>;
|
|
2393
|
+
type ChangeNetwork = MethodParamsAndResult<ChangeNetworkParams, ChangeNetworkResult>;
|
|
2394
|
+
|
|
2395
|
+
declare const changeNetworkByIdMethodName = "wallet_changeNetworkById";
|
|
2396
|
+
declare const changeNetworkByIdParamsSchema: v.ObjectSchema<{
|
|
2397
|
+
readonly id: v.StringSchema<undefined>;
|
|
2398
|
+
}, undefined>;
|
|
2399
|
+
type ChangeNetworkByIdParams = v.InferOutput<typeof changeNetworkByIdParamsSchema>;
|
|
2400
|
+
declare const changeNetworkByIdResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2401
|
+
type ChangeNetworkByIdResult = v.InferOutput<typeof changeNetworkByIdResultSchema>;
|
|
2402
|
+
declare const changeNetworkByIdRequestMessageSchema: v.ObjectSchema<{
|
|
2403
|
+
readonly method: v.LiteralSchema<"wallet_changeNetworkById", undefined>;
|
|
2404
|
+
readonly params: v.ObjectSchema<{
|
|
2405
|
+
readonly id: v.StringSchema<undefined>;
|
|
2406
|
+
}, undefined>;
|
|
2407
|
+
readonly id: v.StringSchema<undefined>;
|
|
2408
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2409
|
+
}, undefined>;
|
|
2410
|
+
type ChangeNetworkByIdRequestMessage = v.InferOutput<typeof changeNetworkByIdRequestMessageSchema>;
|
|
2411
|
+
type ChangeNetworkById = MethodParamsAndResult<ChangeNetworkByIdParams, ChangeNetworkByIdResult>;
|
|
2412
|
+
|
|
2303
2413
|
declare const accountActionsSchema: v.ObjectSchema<{
|
|
2304
2414
|
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2305
2415
|
}, undefined>;
|
|
@@ -2357,26 +2467,10 @@ declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
|
2357
2467
|
}, undefined>;
|
|
2358
2468
|
}, undefined>], undefined>;
|
|
2359
2469
|
type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
|
|
2360
|
-
|
|
2361
|
-
declare const
|
|
2362
|
-
|
|
2363
|
-
readonly
|
|
2364
|
-
readonly actions: v.ObjectSchema<{
|
|
2365
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2366
|
-
}, undefined>;
|
|
2367
|
-
}, undefined>, v.ObjectSchema<{
|
|
2368
|
-
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2369
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2370
|
-
readonly actions: v.ObjectSchema<{
|
|
2371
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2372
|
-
}, undefined>;
|
|
2373
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
2374
|
-
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
2375
|
-
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
2376
|
-
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
2377
|
-
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2378
|
-
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
2379
|
-
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2470
|
+
|
|
2471
|
+
declare const connectMethodName = "wallet_connect";
|
|
2472
|
+
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
2473
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2380
2474
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2381
2475
|
readonly resourceId: v.StringSchema<undefined>;
|
|
2382
2476
|
readonly actions: v.ObjectSchema<{
|
|
@@ -2389,24 +2483,60 @@ declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
2389
2483
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2390
2484
|
}, undefined>;
|
|
2391
2485
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
2486
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2487
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2488
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2489
|
+
}, undefined>, undefined>;
|
|
2490
|
+
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
2491
|
+
declare const connectResultSchema: v.ObjectSchema<{
|
|
2392
2492
|
readonly id: v.StringSchema<undefined>;
|
|
2393
|
-
readonly
|
|
2493
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
2494
|
+
readonly address: v.StringSchema<undefined>;
|
|
2495
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
2496
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2497
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2498
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2499
|
+
}, undefined>, undefined>;
|
|
2500
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2501
|
+
readonly network: v.ObjectSchema<{
|
|
2502
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
2503
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2504
|
+
}, undefined>;
|
|
2505
|
+
readonly stacks: v.ObjectSchema<{
|
|
2506
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2507
|
+
}, undefined>;
|
|
2508
|
+
readonly spark: v.ObjectSchema<{
|
|
2509
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2510
|
+
}, undefined>;
|
|
2511
|
+
}, undefined>;
|
|
2394
2512
|
}, undefined>;
|
|
2395
|
-
type
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2513
|
+
type ConnectResult = v.InferOutput<typeof connectResultSchema>;
|
|
2514
|
+
declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
2515
|
+
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
2516
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
2517
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2518
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2519
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2520
|
+
readonly actions: v.ObjectSchema<{
|
|
2521
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2522
|
+
}, undefined>;
|
|
2523
|
+
}, undefined>, v.ObjectSchema<{
|
|
2524
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2525
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2526
|
+
readonly actions: v.ObjectSchema<{
|
|
2527
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2528
|
+
}, undefined>;
|
|
2529
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2530
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2531
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2532
|
+
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2533
|
+
}, undefined>, undefined>;
|
|
2405
2534
|
readonly id: v.StringSchema<undefined>;
|
|
2406
2535
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2407
2536
|
}, undefined>;
|
|
2408
|
-
type
|
|
2409
|
-
type
|
|
2537
|
+
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
2538
|
+
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
2539
|
+
|
|
2410
2540
|
declare const disconnectMethodName = "wallet_disconnect";
|
|
2411
2541
|
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2412
2542
|
type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
|
|
@@ -2420,19 +2550,42 @@ declare const disconnectRequestMessageSchema: v.ObjectSchema<{
|
|
|
2420
2550
|
}, undefined>;
|
|
2421
2551
|
type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
|
|
2422
2552
|
type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
|
|
2423
|
-
|
|
2424
|
-
declare const
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
readonly
|
|
2553
|
+
|
|
2554
|
+
declare const getAccountMethodName = "wallet_getAccount";
|
|
2555
|
+
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2556
|
+
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
2557
|
+
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
2558
|
+
readonly id: v.StringSchema<undefined>;
|
|
2559
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
2560
|
+
readonly address: v.StringSchema<undefined>;
|
|
2561
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
2562
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2563
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2564
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2565
|
+
}, undefined>, undefined>;
|
|
2566
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2567
|
+
readonly network: v.ObjectSchema<{
|
|
2568
|
+
readonly bitcoin: v.ObjectSchema<{
|
|
2569
|
+
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2570
|
+
}, undefined>;
|
|
2571
|
+
readonly stacks: v.ObjectSchema<{
|
|
2572
|
+
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2573
|
+
}, undefined>;
|
|
2574
|
+
readonly spark: v.ObjectSchema<{
|
|
2575
|
+
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2576
|
+
}, undefined>;
|
|
2577
|
+
}, undefined>;
|
|
2578
|
+
}, undefined>;
|
|
2579
|
+
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
2580
|
+
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
2581
|
+
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
2430
2582
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2431
2583
|
readonly id: v.StringSchema<undefined>;
|
|
2432
2584
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2433
2585
|
}, undefined>;
|
|
2434
|
-
type
|
|
2435
|
-
type
|
|
2586
|
+
type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
|
|
2587
|
+
type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
2588
|
+
|
|
2436
2589
|
declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
|
|
2437
2590
|
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2438
2591
|
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
@@ -2460,6 +2613,7 @@ declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
2460
2613
|
}, undefined>;
|
|
2461
2614
|
type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
|
|
2462
2615
|
type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
|
|
2616
|
+
|
|
2463
2617
|
declare const getNetworkMethodName = "wallet_getNetwork";
|
|
2464
2618
|
declare const getNetworkParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2465
2619
|
type GetNetworkParams = v.InferOutput<typeof getNetworkParamsSchema>;
|
|
@@ -2483,77 +2637,117 @@ declare const getNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
|
2483
2637
|
}, undefined>;
|
|
2484
2638
|
type GetNetworkRequestMessage = v.InferOutput<typeof getNetworkRequestMessageSchema>;
|
|
2485
2639
|
type GetNetwork = MethodParamsAndResult<GetNetworkParams, GetNetworkResult>;
|
|
2486
|
-
|
|
2487
|
-
declare const
|
|
2488
|
-
|
|
2640
|
+
|
|
2641
|
+
declare const getWalletTypeMethodName = "wallet_getWalletType";
|
|
2642
|
+
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2643
|
+
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
2644
|
+
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2645
|
+
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
2646
|
+
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
2647
|
+
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
2648
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2649
|
+
readonly id: v.StringSchema<undefined>;
|
|
2650
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2489
2651
|
}, undefined>;
|
|
2490
|
-
type
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
declare const
|
|
2494
|
-
|
|
2652
|
+
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
2653
|
+
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
2654
|
+
|
|
2655
|
+
declare const openBridgeMethodName = "wallet_openBridge";
|
|
2656
|
+
declare const openBridgeParamsSchema: v.ObjectSchema<{
|
|
2657
|
+
readonly fromAsset: v.StringSchema<undefined>;
|
|
2658
|
+
readonly toAsset: v.StringSchema<undefined>;
|
|
2659
|
+
}, undefined>;
|
|
2660
|
+
type OpenBridgeParams = v.InferOutput<typeof openBridgeParamsSchema>;
|
|
2661
|
+
declare const openBridgeResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2662
|
+
type OpenBridgeResult = v.InferOutput<typeof openBridgeResultSchema>;
|
|
2663
|
+
declare const openBridgeRequestMessageSchema: v.ObjectSchema<{
|
|
2664
|
+
readonly method: v.LiteralSchema<"wallet_openBridge", undefined>;
|
|
2495
2665
|
readonly params: v.ObjectSchema<{
|
|
2496
|
-
readonly
|
|
2666
|
+
readonly fromAsset: v.StringSchema<undefined>;
|
|
2667
|
+
readonly toAsset: v.StringSchema<undefined>;
|
|
2497
2668
|
}, undefined>;
|
|
2498
2669
|
readonly id: v.StringSchema<undefined>;
|
|
2499
2670
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2500
2671
|
}, undefined>;
|
|
2501
|
-
type
|
|
2502
|
-
type
|
|
2503
|
-
|
|
2504
|
-
declare const
|
|
2505
|
-
|
|
2672
|
+
type OpenBridgeRequestMessage = v.InferOutput<typeof openBridgeRequestMessageSchema>;
|
|
2673
|
+
type OpenBridge = MethodParamsAndResult<OpenBridgeParams, OpenBridgeResult>;
|
|
2674
|
+
|
|
2675
|
+
declare const openBuyMethodName = "wallet_openBuy";
|
|
2676
|
+
declare const openBuyParamsSchema: v.ObjectSchema<{
|
|
2677
|
+
readonly asset: v.StringSchema<undefined>;
|
|
2506
2678
|
}, undefined>;
|
|
2507
|
-
type
|
|
2508
|
-
declare const
|
|
2509
|
-
type
|
|
2510
|
-
declare const
|
|
2511
|
-
readonly method: v.LiteralSchema<"
|
|
2679
|
+
type OpenBuyParams = v.InferOutput<typeof openBuyParamsSchema>;
|
|
2680
|
+
declare const openBuyResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2681
|
+
type OpenBuyResult = v.InferOutput<typeof openBuyResultSchema>;
|
|
2682
|
+
declare const openBuyRequestMessageSchema: v.ObjectSchema<{
|
|
2683
|
+
readonly method: v.LiteralSchema<"wallet_openBuy", undefined>;
|
|
2512
2684
|
readonly params: v.ObjectSchema<{
|
|
2513
|
-
readonly
|
|
2685
|
+
readonly asset: v.StringSchema<undefined>;
|
|
2514
2686
|
}, undefined>;
|
|
2515
2687
|
readonly id: v.StringSchema<undefined>;
|
|
2516
2688
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2517
2689
|
}, undefined>;
|
|
2518
|
-
type
|
|
2519
|
-
type
|
|
2520
|
-
|
|
2521
|
-
declare const
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
}, undefined>, undefined>;
|
|
2690
|
+
type OpenBuyRequestMessage = v.InferOutput<typeof openBuyRequestMessageSchema>;
|
|
2691
|
+
type OpenBuy = MethodParamsAndResult<OpenBuyParams, OpenBuyResult>;
|
|
2692
|
+
|
|
2693
|
+
declare const openReceiveMethodName = "wallet_openReceive";
|
|
2694
|
+
declare const openReceiveParamsSchema: v.ObjectSchema<{
|
|
2695
|
+
readonly address: v.StringSchema<undefined>;
|
|
2696
|
+
}, undefined>;
|
|
2697
|
+
type OpenReceiveParams = v.InferOutput<typeof openReceiveParamsSchema>;
|
|
2698
|
+
declare const openReceiveResultSchema: v.ObjectSchema<{
|
|
2699
|
+
readonly address: v.StringSchema<undefined>;
|
|
2700
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
2701
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2702
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2532
2703
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
}, undefined>;
|
|
2540
|
-
readonly spark: v.ObjectSchema<{
|
|
2541
|
-
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2542
|
-
}, undefined>;
|
|
2704
|
+
}, undefined>;
|
|
2705
|
+
type OpenReceiveResult = v.InferOutput<typeof openReceiveResultSchema>;
|
|
2706
|
+
declare const openReceiveRequestMessageSchema: v.ObjectSchema<{
|
|
2707
|
+
readonly method: v.LiteralSchema<"wallet_openReceive", undefined>;
|
|
2708
|
+
readonly params: v.ObjectSchema<{
|
|
2709
|
+
readonly address: v.StringSchema<undefined>;
|
|
2543
2710
|
}, undefined>;
|
|
2711
|
+
readonly id: v.StringSchema<undefined>;
|
|
2712
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2544
2713
|
}, undefined>;
|
|
2545
|
-
type
|
|
2546
|
-
|
|
2547
|
-
|
|
2714
|
+
type OpenReceiveRequestMessage = v.InferOutput<typeof openReceiveRequestMessageSchema>;
|
|
2715
|
+
type OpenReceive = MethodParamsAndResult<OpenReceiveParams, OpenReceiveResult>;
|
|
2716
|
+
|
|
2717
|
+
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
2718
|
+
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2719
|
+
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
2720
|
+
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2721
|
+
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
2722
|
+
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2723
|
+
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
2548
2724
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, undefined>;
|
|
2549
2725
|
readonly id: v.StringSchema<undefined>;
|
|
2550
2726
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2551
2727
|
}, undefined>;
|
|
2552
|
-
type
|
|
2553
|
-
type
|
|
2554
|
-
|
|
2555
|
-
declare const
|
|
2556
|
-
|
|
2728
|
+
type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
|
|
2729
|
+
type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
|
|
2730
|
+
|
|
2731
|
+
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
2732
|
+
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2733
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2734
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2735
|
+
readonly actions: v.ObjectSchema<{
|
|
2736
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2737
|
+
}, undefined>;
|
|
2738
|
+
}, undefined>, v.ObjectSchema<{
|
|
2739
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2740
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
2741
|
+
readonly actions: v.ObjectSchema<{
|
|
2742
|
+
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2743
|
+
}, undefined>;
|
|
2744
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2745
|
+
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
2746
|
+
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
2747
|
+
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
2748
|
+
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
2749
|
+
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
2750
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2557
2751
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2558
2752
|
readonly resourceId: v.StringSchema<undefined>;
|
|
2559
2753
|
readonly actions: v.ObjectSchema<{
|
|
@@ -2566,120 +2760,11 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
|
2566
2760
|
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2567
2761
|
}, undefined>;
|
|
2568
2762
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
2569
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2570
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2571
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2572
|
-
}, undefined>, undefined>;
|
|
2573
|
-
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
2574
|
-
declare const connectResultSchema: v.ObjectSchema<{
|
|
2575
|
-
readonly id: v.StringSchema<undefined>;
|
|
2576
|
-
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
2577
|
-
readonly address: v.StringSchema<undefined>;
|
|
2578
|
-
readonly publicKey: v.StringSchema<undefined>;
|
|
2579
|
-
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
2580
|
-
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
2581
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2582
|
-
}, undefined>, undefined>;
|
|
2583
|
-
readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
2584
|
-
readonly network: v.ObjectSchema<{
|
|
2585
|
-
readonly bitcoin: v.ObjectSchema<{
|
|
2586
|
-
readonly name: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2587
|
-
}, undefined>;
|
|
2588
|
-
readonly stacks: v.ObjectSchema<{
|
|
2589
|
-
readonly name: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2590
|
-
}, undefined>;
|
|
2591
|
-
readonly spark: v.ObjectSchema<{
|
|
2592
|
-
readonly name: v.EnumSchema<typeof SparkNetworkType, undefined>;
|
|
2593
|
-
}, undefined>;
|
|
2594
|
-
}, undefined>;
|
|
2595
|
-
}, undefined>;
|
|
2596
|
-
type ConnectResult = v.InferOutput<typeof connectResultSchema>;
|
|
2597
|
-
declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
2598
|
-
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
2599
|
-
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
2600
|
-
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2601
|
-
readonly type: v.LiteralSchema<"account", undefined>;
|
|
2602
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2603
|
-
readonly actions: v.ObjectSchema<{
|
|
2604
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2605
|
-
}, undefined>;
|
|
2606
|
-
}, undefined>, v.ObjectSchema<{
|
|
2607
|
-
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
2608
|
-
readonly resourceId: v.StringSchema<undefined>;
|
|
2609
|
-
readonly actions: v.ObjectSchema<{
|
|
2610
|
-
readonly readNetwork: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2611
|
-
}, undefined>;
|
|
2612
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
2613
|
-
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, undefined>;
|
|
2614
|
-
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, undefined>;
|
|
2615
|
-
readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, undefined>;
|
|
2616
|
-
}, undefined>, undefined>;
|
|
2617
|
-
readonly id: v.StringSchema<undefined>;
|
|
2618
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2619
|
-
}, undefined>;
|
|
2620
|
-
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
2621
|
-
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
2622
|
-
declare const addNetworkMethodName = "wallet_addNetwork";
|
|
2623
|
-
declare const addNetworkParamsSchema: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2624
|
-
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2625
|
-
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2626
|
-
readonly name: v.StringSchema<undefined>;
|
|
2627
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2628
|
-
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2629
|
-
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2630
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2631
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2632
|
-
}, undefined>, v.ObjectSchema<{
|
|
2633
|
-
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2634
|
-
readonly name: v.StringSchema<undefined>;
|
|
2635
|
-
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2636
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2637
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2638
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2639
|
-
}, undefined>, v.ObjectSchema<{
|
|
2640
|
-
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2641
|
-
readonly name: v.StringSchema<undefined>;
|
|
2642
|
-
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2643
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2644
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2645
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2646
|
-
}, undefined>], undefined>;
|
|
2647
|
-
type AddNetworkParams = v.InferOutput<typeof addNetworkParamsSchema>;
|
|
2648
|
-
declare const addNetworkRequestMessageSchema: v.ObjectSchema<{
|
|
2649
|
-
readonly method: v.LiteralSchema<"wallet_addNetwork", undefined>;
|
|
2650
|
-
readonly params: v.VariantSchema<"chain", [v.ObjectSchema<{
|
|
2651
|
-
readonly chain: v.LiteralSchema<"bitcoin", undefined>;
|
|
2652
|
-
readonly type: v.EnumSchema<typeof BitcoinNetworkType, undefined>;
|
|
2653
|
-
readonly name: v.StringSchema<undefined>;
|
|
2654
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2655
|
-
readonly rpcFallbackUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2656
|
-
readonly indexerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2657
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2658
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2659
|
-
}, undefined>, v.ObjectSchema<{
|
|
2660
|
-
readonly chain: v.LiteralSchema<"stacks", undefined>;
|
|
2661
|
-
readonly name: v.StringSchema<undefined>;
|
|
2662
|
-
readonly type: v.EnumSchema<typeof StacksNetworkType, undefined>;
|
|
2663
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2664
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2665
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2666
|
-
}, undefined>, v.ObjectSchema<{
|
|
2667
|
-
readonly chain: v.LiteralSchema<"starknet", undefined>;
|
|
2668
|
-
readonly name: v.StringSchema<undefined>;
|
|
2669
|
-
readonly type: v.EnumSchema<typeof StarknetNetworkType, undefined>;
|
|
2670
|
-
readonly rpcUrl: v.StringSchema<undefined>;
|
|
2671
|
-
readonly blockExplorerUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2672
|
-
readonly switch: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2673
|
-
}, undefined>], undefined>;
|
|
2674
2763
|
readonly id: v.StringSchema<undefined>;
|
|
2675
2764
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
2676
2765
|
}, undefined>;
|
|
2677
|
-
type
|
|
2678
|
-
|
|
2679
|
-
readonly id: v.StringSchema<undefined>;
|
|
2680
|
-
}, undefined>;
|
|
2681
|
-
type AddNetworkResult = v.InferOutput<typeof addNetworkResultSchema>;
|
|
2682
|
-
type AddNetwork = MethodParamsAndResult<AddNetworkParams, AddNetworkResult>;
|
|
2766
|
+
type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
|
|
2767
|
+
type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
|
|
2683
2768
|
|
|
2684
2769
|
declare const walletTypes: readonly ["software", "ledger", "keystone"];
|
|
2685
2770
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
|
|
@@ -2713,13 +2798,14 @@ type SparkRequests = {
|
|
|
2713
2798
|
};
|
|
2714
2799
|
type SparkRequestMethod = keyof SparkRequests;
|
|
2715
2800
|
type BtcRequests = {
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2801
|
+
[getInfoMethodName]: GetInfo;
|
|
2802
|
+
[getAddressesMethodName]: GetAddresses;
|
|
2803
|
+
[getAccountsMethodName]: GetAccounts;
|
|
2804
|
+
[getBalanceMethodName]: GetBalance;
|
|
2805
|
+
[signMessageMethodName]: SignMessage;
|
|
2806
|
+
[signMultipleMessagesMethodName]: SignMultipleMessages;
|
|
2807
|
+
[sendTransferMethodName]: SendTransfer;
|
|
2808
|
+
[signPsbtMethodName]: SignPsbt;
|
|
2723
2809
|
};
|
|
2724
2810
|
type BtcRequestMethod = keyof BtcRequests;
|
|
2725
2811
|
type RunesRequests = {
|
|
@@ -2751,6 +2837,9 @@ type WalletRequests = {
|
|
|
2751
2837
|
wallet_getWalletType: GetWalletType;
|
|
2752
2838
|
wallet_renouncePermissions: RenouncePermissions;
|
|
2753
2839
|
wallet_requestPermissions: RequestPermissions;
|
|
2840
|
+
wallet_openReceive: OpenReceive;
|
|
2841
|
+
wallet_openBridge: OpenBridge;
|
|
2842
|
+
wallet_openBuy: OpenBuy;
|
|
2754
2843
|
};
|
|
2755
2844
|
type Requests = BtcRequests & StxRequests & SparkRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
2756
2845
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -2799,4 +2888,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2799
2888
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2800
2889
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2801
2890
|
|
|
2802
|
-
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, ProviderPlatform, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultipleMessages, type SignMultipleMessagesParams, type SignMultipleMessagesRequestMessage, type SignMultipleMessagesResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkFlashnetClawbackFunds, type SparkFlashnetClawbackFundsParams, type SparkFlashnetClawbackFundsRequestMessage, type SparkFlashnetClawbackFundsResult, type SparkFlashnetExecuteRouteSwap, type SparkFlashnetExecuteRouteSwapParams, type SparkFlashnetExecuteRouteSwapRequestMessage, type SparkFlashnetExecuteRouteSwapResult, type SparkFlashnetExecuteSwap, type SparkFlashnetExecuteSwapParams, type SparkFlashnetExecuteSwapRequestMessage, type SparkFlashnetExecuteSwapResult, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkFlashnetSignStructuredMessage, type SparkFlashnetSignStructuredMessageParams, type SparkFlashnetSignStructuredMessageRequestMessage, type SparkFlashnetSignStructuredMessageResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, type SparkGetClawbackEligibleTransfers, type SparkGetClawbackEligibleTransfersParams, type SparkGetClawbackEligibleTransfersRequestMessage, type SparkGetClawbackEligibleTransfersResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkSignMessage, type SparkSignMessageParams, type SparkSignMessageRequestMessage, type SparkSignMessageResult, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleMessagesMethodName, signMultipleMessagesParamsSchema, signMultipleMessagesRequestMessageSchema, signMultipleMessagesResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkFlashnetAddLiquidityIntentSchema, sparkFlashnetClawbackFundsMethodName, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestMessageSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackIntentSchema, sparkFlashnetConfirmInitialDepositIntentSchema, sparkFlashnetCreateConstantProductPoolIntentSchema, sparkFlashnetCreateSingleSidedPoolIntentSchema, sparkFlashnetExecuteRouteSwapMethodName, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestMessageSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteSwapMethodName, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestMessageSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRemoveLiquidityIntentSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignStructuredMessageMethodName, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestMessageSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkGetClawbackEligibleTransfersMethodName, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestMessageSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkSignMessageMethodName, sparkSignMessageParamsSchema, sparkSignMessageRequestMessageSchema, sparkSignMessageResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|
|
2891
|
+
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OpenBridge, type OpenBridgeParams, type OpenBridgeRequestMessage, type OpenBridgeResult, type OpenBuy, type OpenBuyParams, type OpenBuyRequestMessage, type OpenBuyResult, type OpenReceive, type OpenReceiveParams, type OpenReceiveRequestMessage, type OpenReceiveResult, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, ProviderPlatform, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultipleMessages, type SignMultipleMessagesParams, type SignMultipleMessagesRequestMessage, type SignMultipleMessagesResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkFlashnetClawbackFunds, type SparkFlashnetClawbackFundsParams, type SparkFlashnetClawbackFundsRequestMessage, type SparkFlashnetClawbackFundsResult, type SparkFlashnetExecuteRouteSwap, type SparkFlashnetExecuteRouteSwapParams, type SparkFlashnetExecuteRouteSwapRequestMessage, type SparkFlashnetExecuteRouteSwapResult, type SparkFlashnetExecuteSwap, type SparkFlashnetExecuteSwapParams, type SparkFlashnetExecuteSwapRequestMessage, type SparkFlashnetExecuteSwapResult, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkFlashnetSignStructuredMessage, type SparkFlashnetSignStructuredMessageParams, type SparkFlashnetSignStructuredMessageRequestMessage, type SparkFlashnetSignStructuredMessageResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, type SparkGetClawbackEligibleTransfers, type SparkGetClawbackEligibleTransfersParams, type SparkGetClawbackEligibleTransfersRequestMessage, type SparkGetClawbackEligibleTransfersResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkSignMessage, type SparkSignMessageParams, type SparkSignMessageRequestMessage, type SparkSignMessageResult, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, openBridgeMethodName, openBridgeParamsSchema, openBridgeRequestMessageSchema, openBridgeResultSchema, openBuyMethodName, openBuyParamsSchema, openBuyRequestMessageSchema, openBuyResultSchema, openReceiveMethodName, openReceiveParamsSchema, openReceiveRequestMessageSchema, openReceiveResultSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleMessagesMethodName, signMultipleMessagesParamsSchema, signMultipleMessagesRequestMessageSchema, signMultipleMessagesResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkFlashnetAddLiquidityIntentSchema, sparkFlashnetClawbackFundsMethodName, sparkFlashnetClawbackFundsParamsSchema, sparkFlashnetClawbackFundsRequestMessageSchema, sparkFlashnetClawbackFundsResultSchema, sparkFlashnetClawbackIntentSchema, sparkFlashnetConfirmInitialDepositIntentSchema, sparkFlashnetCreateConstantProductPoolIntentSchema, sparkFlashnetCreateSingleSidedPoolIntentSchema, sparkFlashnetExecuteRouteSwapMethodName, sparkFlashnetExecuteRouteSwapParamsSchema, sparkFlashnetExecuteRouteSwapRequestMessageSchema, sparkFlashnetExecuteRouteSwapResultSchema, sparkFlashnetExecuteSwapMethodName, sparkFlashnetExecuteSwapParamsSchema, sparkFlashnetExecuteSwapRequestMessageSchema, sparkFlashnetExecuteSwapResultSchema, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRemoveLiquidityIntentSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSignStructuredMessageMethodName, sparkFlashnetSignStructuredMessageParamsSchema, sparkFlashnetSignStructuredMessageRequestMessageSchema, sparkFlashnetSignStructuredMessageResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkGetClawbackEligibleTransfersMethodName, sparkGetClawbackEligibleTransfersParamsSchema, sparkGetClawbackEligibleTransfersRequestMessageSchema, sparkGetClawbackEligibleTransfersResultSchema, sparkSignMessageMethodName, sparkSignMessageParamsSchema, sparkSignMessageRequestMessageSchema, sparkSignMessageResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|