@buildonspark/spark-sdk 0.1.44 → 0.1.46

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.
Files changed (143) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{RequestLightningSendInput-BxbCtwpV.d.cts → RequestLightningSendInput-2cSh_In4.d.cts} +1 -1
  3. package/dist/{RequestLightningSendInput-RGel43ks.d.ts → RequestLightningSendInput-CN6BNg_g.d.ts} +1 -1
  4. package/dist/address/index.cjs +2 -2
  5. package/dist/address/index.d.cts +2 -2
  6. package/dist/address/index.d.ts +2 -2
  7. package/dist/address/index.js +2 -2
  8. package/dist/{chunk-EKFD62HN.js → chunk-4EMV7HHW.js} +2 -1
  9. package/dist/{chunk-4Q2ZDYYU.js → chunk-BGGEVUJK.js} +1157 -208
  10. package/dist/{chunk-CIZNCBKE.js → chunk-C2S227QR.js} +648 -45
  11. package/dist/{chunk-WPTRVD2V.js → chunk-DXR2PXJU.js} +15 -15
  12. package/dist/{chunk-NBCNYDWJ.js → chunk-HHNQ3ZHC.js} +2 -2
  13. package/dist/{chunk-DAXGVPVM.js → chunk-HSCLBJEL.js} +2 -2
  14. package/dist/{chunk-6AFUC5M2.js → chunk-HWJWKEIU.js} +8 -2
  15. package/dist/{chunk-A2ZLMH6I.js → chunk-JB64OQES.js} +259 -327
  16. package/dist/{chunk-KEKGSH7B.js → chunk-KMUMFYFX.js} +3 -3
  17. package/dist/chunk-LHRD2WT6.js +2374 -0
  18. package/dist/{chunk-HTMXTJRK.js → chunk-N5VZVCGJ.js} +4 -4
  19. package/dist/{chunk-SQKXGAIR.js → chunk-NTFKFRQ2.js} +1 -1
  20. package/dist/{chunk-K4BJARWM.js → chunk-OBFKIEMP.js} +1 -1
  21. package/dist/{chunk-UBT6EDVJ.js → chunk-OFCJFZ4I.js} +1 -1
  22. package/dist/{chunk-XX4RRWOX.js → chunk-UXDODSDT.js} +8 -10
  23. package/dist/graphql/objects/index.d.cts +5 -4
  24. package/dist/graphql/objects/index.d.ts +5 -4
  25. package/dist/index-CKL5DodV.d.cts +214 -0
  26. package/dist/index-COm59SPw.d.ts +214 -0
  27. package/dist/index.cjs +4026 -1315
  28. package/dist/index.d.cts +764 -19
  29. package/dist/index.d.ts +764 -19
  30. package/dist/index.js +23 -27
  31. package/dist/index.node.cjs +4026 -1319
  32. package/dist/index.node.d.cts +10 -8
  33. package/dist/index.node.d.ts +10 -8
  34. package/dist/index.node.js +23 -31
  35. package/dist/native/index.cjs +4027 -1316
  36. package/dist/native/index.d.cts +281 -85
  37. package/dist/native/index.d.ts +281 -85
  38. package/dist/native/index.js +4018 -1307
  39. package/dist/{network-CfxLnaot.d.cts → network-Css46DAz.d.cts} +1 -1
  40. package/dist/{network-CroCOQ0B.d.ts → network-hynb7iTZ.d.ts} +1 -1
  41. package/dist/proto/lrc20.cjs +222 -19
  42. package/dist/proto/lrc20.d.cts +1 -1
  43. package/dist/proto/lrc20.d.ts +1 -1
  44. package/dist/proto/lrc20.js +2 -2
  45. package/dist/proto/spark.cjs +1154 -205
  46. package/dist/proto/spark.d.cts +1 -1
  47. package/dist/proto/spark.d.ts +1 -1
  48. package/dist/proto/spark.js +3 -1
  49. package/dist/proto/spark_token.cjs +1377 -58
  50. package/dist/proto/spark_token.d.cts +153 -15
  51. package/dist/proto/spark_token.d.ts +153 -15
  52. package/dist/proto/spark_token.js +40 -4
  53. package/dist/{sdk-types-CTbTdDbE.d.ts → sdk-types-CKBsylfW.d.ts} +1 -1
  54. package/dist/{sdk-types-BeCBoozO.d.cts → sdk-types-Ct8xmN7l.d.cts} +1 -1
  55. package/dist/services/config.cjs +2 -2
  56. package/dist/services/config.d.cts +5 -4
  57. package/dist/services/config.d.ts +5 -4
  58. package/dist/services/config.js +6 -6
  59. package/dist/services/connection.cjs +2438 -262
  60. package/dist/services/connection.d.cts +5 -4
  61. package/dist/services/connection.d.ts +5 -4
  62. package/dist/services/connection.js +4 -4
  63. package/dist/services/index.cjs +5937 -3154
  64. package/dist/services/index.d.cts +7 -6
  65. package/dist/services/index.d.ts +7 -6
  66. package/dist/services/index.js +17 -15
  67. package/dist/services/lrc-connection.cjs +223 -20
  68. package/dist/services/lrc-connection.d.cts +5 -4
  69. package/dist/services/lrc-connection.d.ts +5 -4
  70. package/dist/services/lrc-connection.js +4 -4
  71. package/dist/services/token-transactions.cjs +840 -236
  72. package/dist/services/token-transactions.d.cts +25 -7
  73. package/dist/services/token-transactions.d.ts +25 -7
  74. package/dist/services/token-transactions.js +5 -4
  75. package/dist/services/wallet-config.cjs +3 -1
  76. package/dist/services/wallet-config.d.cts +7 -5
  77. package/dist/services/wallet-config.d.ts +7 -5
  78. package/dist/services/wallet-config.js +3 -1
  79. package/dist/signer/signer.cjs +1 -1
  80. package/dist/signer/signer.d.cts +3 -2
  81. package/dist/signer/signer.d.ts +3 -2
  82. package/dist/signer/signer.js +2 -2
  83. package/dist/{signer-D7vfYik9.d.ts → signer-BP6F__oR.d.cts} +2 -6
  84. package/dist/{signer-DaY8c60s.d.cts → signer-BVZJXcq7.d.ts} +2 -6
  85. package/dist/{spark-C4ZrsgjC.d.cts → spark-DbzGfse6.d.cts} +93 -15
  86. package/dist/{spark-C4ZrsgjC.d.ts → spark-DbzGfse6.d.ts} +93 -15
  87. package/dist/spark_bindings/native/index.cjs +183 -0
  88. package/dist/spark_bindings/native/index.d.cts +14 -0
  89. package/dist/spark_bindings/native/index.d.ts +14 -0
  90. package/dist/spark_bindings/native/index.js +141 -0
  91. package/dist/spark_bindings/wasm/index.cjs +1093 -0
  92. package/dist/spark_bindings/wasm/index.d.cts +47 -0
  93. package/dist/spark_bindings/wasm/index.d.ts +47 -0
  94. package/dist/{chunk-K4C4W5FC.js → spark_bindings/wasm/index.js} +7 -6
  95. package/dist/types/index.cjs +1156 -208
  96. package/dist/types/index.d.cts +5 -4
  97. package/dist/types/index.d.ts +5 -4
  98. package/dist/types/index.js +2 -2
  99. package/dist/types-C-Rp0Oo7.d.cts +46 -0
  100. package/dist/types-C-Rp0Oo7.d.ts +46 -0
  101. package/dist/utils/index.cjs +65 -13
  102. package/dist/utils/index.d.cts +14 -134
  103. package/dist/utils/index.d.ts +14 -134
  104. package/dist/utils/index.js +13 -13
  105. package/package.json +22 -2
  106. package/src/index.node.ts +0 -1
  107. package/src/index.ts +0 -1
  108. package/src/native/index.ts +1 -2
  109. package/src/proto/common.ts +5 -5
  110. package/src/proto/google/protobuf/descriptor.ts +34 -34
  111. package/src/proto/google/protobuf/duration.ts +2 -2
  112. package/src/proto/google/protobuf/empty.ts +2 -2
  113. package/src/proto/google/protobuf/timestamp.ts +2 -2
  114. package/src/proto/mock.ts +4 -4
  115. package/src/proto/spark.ts +1452 -185
  116. package/src/proto/spark_authn.ts +7 -7
  117. package/src/proto/spark_token.ts +1668 -105
  118. package/src/proto/validate/validate.ts +24 -24
  119. package/src/services/bolt11-spark.ts +62 -187
  120. package/src/services/coop-exit.ts +3 -0
  121. package/src/services/lrc20.ts +1 -1
  122. package/src/services/token-transactions.ts +197 -9
  123. package/src/services/transfer.ts +22 -0
  124. package/src/services/tree-creation.ts +13 -0
  125. package/src/services/wallet-config.ts +2 -2
  126. package/src/spark-wallet/spark-wallet.node.ts +0 -4
  127. package/src/spark-wallet/spark-wallet.ts +76 -108
  128. package/src/spark-wallet/types.ts +39 -3
  129. package/src/tests/bolt11-spark.test.ts +7 -15
  130. package/src/tests/integration/ssp/coop-exit.test.ts +7 -7
  131. package/src/tests/integration/swap.test.ts +453 -433
  132. package/src/tests/integration/transfer.test.ts +261 -248
  133. package/src/tests/token-identifier.test.ts +54 -0
  134. package/src/tests/tokens.test.ts +218 -23
  135. package/src/utils/token-hashing.ts +320 -44
  136. package/src/utils/token-identifier.ts +88 -0
  137. package/src/utils/token-transaction-validation.ts +350 -5
  138. package/src/utils/token-transactions.ts +12 -8
  139. package/src/utils/transaction.ts +0 -6
  140. package/dist/chunk-B3AMIGJG.js +0 -1073
  141. package/dist/index-CZmDdSts.d.cts +0 -829
  142. package/dist/index-ClIRO_3y.d.ts +0 -829
  143. package/dist/wasm-7OWFHDMS.js +0 -21
@@ -369,6 +369,12 @@ interface NodeSignatureShares {
369
369
  refundTxSigningResult: SigningResult | undefined;
370
370
  /** The verifying key of the node. */
371
371
  verifyingKey: Uint8Array;
372
+ /** The signing result of the node's transaction. This transaction is to pay to self. */
373
+ directNodeTxSigningResult: SigningResult | undefined;
374
+ /** The signing result of the node's direct refund transaction. This transaction is to broadcast for the SO. */
375
+ directRefundTxSigningResult: SigningResult | undefined;
376
+ /** The signing result of the node's direct from cpfp refund transaction. This transaction is to broadcast for the SO. */
377
+ directFromCpfpRefundTxSigningResult: SigningResult | undefined;
372
378
  }
373
379
  declare const NodeSignatureShares: MessageFns<NodeSignatureShares>;
374
380
  /**
@@ -378,10 +384,16 @@ declare const NodeSignatureShares: MessageFns<NodeSignatureShares>;
378
384
  interface NodeSignatures {
379
385
  /** The id of the node. */
380
386
  nodeId: string;
381
- /** The final signature of the node's transaction. This transaction is to pay to self. */
387
+ /** The final signature of the node's cpfp transaction. This transaction is to pay to self. */
382
388
  nodeTxSignature: Uint8Array;
383
- /** The final signature of the node's refund transaction. This transaction is to pay to the user. */
389
+ /** The final signature of the node's cpfp refund transaction. This transaction is to pay to the user. */
384
390
  refundTxSignature: Uint8Array;
391
+ /** The final signature of the node's direct transaction. This transaction is to pay for the watchtower. */
392
+ directNodeTxSignature: Uint8Array;
393
+ /** The final signature of the node's direct refund transaction. This transaction is to pay for the watchtower. */
394
+ directRefundTxSignature: Uint8Array;
395
+ /** The final signature of the node's direct from cpfp refund transaction. This transaction is to pay for the watchtower. */
396
+ directFromCpfpRefundTxSignature: Uint8Array;
385
397
  }
386
398
  declare const NodeSignatures: MessageFns<NodeSignatures>;
387
399
  /** StartTreeCreationRequest is the request to start the tree creation for a tree root node. */
@@ -390,10 +402,16 @@ interface StartTreeCreationRequest {
390
402
  identityPublicKey: Uint8Array;
391
403
  /** The on-chain utxo to be used to be spent by the root node. */
392
404
  onChainUtxo: UTXO | undefined;
393
- /** The signing job for the root node's transaction. */
405
+ /** The signing job for the root node's cpfp transaction. */
394
406
  rootTxSigningJob: SigningJob | undefined;
395
- /** The signing job for the root node's refund transaction. */
407
+ /** The signing job for the root node's cpfp refund transaction. */
396
408
  refundTxSigningJob: SigningJob | undefined;
409
+ /** The signing job for the root node's direct transaction. */
410
+ directRootTxSigningJob: SigningJob | undefined;
411
+ /** The signing job for the root node's direct refund transaction */
412
+ directRefundTxSigningJob: SigningJob | undefined;
413
+ /** The signing job for the root node's direct refund transaction */
414
+ directFromCpfpRefundTxSigningJob: SigningJob | undefined;
397
415
  }
398
416
  declare const StartTreeCreationRequest: MessageFns<StartTreeCreationRequest>;
399
417
  /** StartTreeCreationResponse is the response to the request to start the tree creation for a tree root node. */
@@ -414,6 +432,12 @@ interface StartDepositTreeCreationRequest {
414
432
  rootTxSigningJob: SigningJob | undefined;
415
433
  /** The signing job for the root node's refund transaction. */
416
434
  refundTxSigningJob: SigningJob | undefined;
435
+ /** The direct signing job for the root node's transaction. */
436
+ directRootTxSigningJob: SigningJob | undefined;
437
+ /** The signing job for the root node's direct refund transaction. */
438
+ directRefundTxSigningJob: SigningJob | undefined;
439
+ /** The signing job for the root node's direct from cpfp refund transaction. */
440
+ directFromCpfpRefundTxSigningJob: SigningJob | undefined;
417
441
  }
418
442
  declare const StartDepositTreeCreationRequest: MessageFns<StartDepositTreeCreationRequest>;
419
443
  /** StartDepositTreeCreationResponse is the response to the request to start the tree creation for a tree root node. */
@@ -449,8 +473,20 @@ interface TokenMintInput {
449
473
  * random nonce would be favorable to populating this field.
450
474
  */
451
475
  issuerProvidedTimestamp: number;
476
+ tokenIdentifier?: Uint8Array | undefined;
452
477
  }
453
478
  declare const TokenMintInput: MessageFns<TokenMintInput>;
479
+ interface TokenCreateInput {
480
+ issuerPublicKey: Uint8Array;
481
+ tokenName: string;
482
+ tokenTicker: string;
483
+ decimals: number;
484
+ /** Decoded uint128 */
485
+ maxSupply: Uint8Array;
486
+ isFreezable: boolean;
487
+ creationEntityPublicKey?: Uint8Array | undefined;
488
+ }
489
+ declare const TokenCreateInput: MessageFns<TokenCreateInput>;
454
490
  /**
455
491
  * This proto is constructed by the wallet to specify outputs it wants to create
456
492
  * as part of a token transaction. Output id and revocation public key should remain unfilled
@@ -462,7 +498,8 @@ interface TokenOutput {
462
498
  revocationCommitment?: Uint8Array | undefined;
463
499
  withdrawBondSats?: number | undefined;
464
500
  withdrawRelativeBlockLocktime?: number | undefined;
465
- tokenPublicKey: Uint8Array;
501
+ tokenPublicKey?: Uint8Array | undefined;
502
+ tokenIdentifier?: Uint8Array | undefined;
466
503
  /** Decoded uint128 */
467
504
  tokenAmount: Uint8Array;
468
505
  }
@@ -473,16 +510,15 @@ declare const TokenOutput: MessageFns<TokenOutput>;
473
510
  * is cooperatively signed by the SO group to confirm a token transaction.
474
511
  */
475
512
  interface TokenTransaction {
476
- /**
477
- * For mint transactions issuer_public_key will be specified without any outputs_to_spend.
478
- * For transfer transactions the token amount in the input leaves must match the token amount in the output leaves.
479
- */
480
513
  tokenInputs?: {
481
514
  $case: "mintInput";
482
515
  mintInput: TokenMintInput;
483
516
  } | {
484
517
  $case: "transferInput";
485
518
  transferInput: TokenTransferInput;
519
+ } | {
520
+ $case: "createInput";
521
+ createInput: TokenCreateInput;
486
522
  } | undefined;
487
523
  tokenOutputs: TokenOutput[];
488
524
  sparkOperatorIdentityPublicKeys: Uint8Array[];
@@ -514,7 +550,7 @@ declare const SignatureWithIndex: MessageFns<SignatureWithIndex>;
514
550
  interface TokenTransactionSignatures {
515
551
  /**
516
552
  * Filled by signing the partial token transaction hash with the owner/issuer private key.
517
- * For mint transactions this will be one signature for the input issuer_public_key
553
+ * For mint transactions this will be one signature for the input token_public_key
518
554
  * For transfer transactions this will be one for each output for the output owner_public_key
519
555
  */
520
556
  ownerSignatures: SignatureWithIndex[];
@@ -596,6 +632,7 @@ interface FreezeTokensPayload {
596
632
  operatorIdentityPublicKey: Uint8Array;
597
633
  /** Set to false when requesting a freeze. */
598
634
  shouldUnfreeze: boolean;
635
+ tokenIdentifier?: Uint8Array | undefined;
599
636
  }
600
637
  declare const FreezeTokensPayload: MessageFns<FreezeTokensPayload>;
601
638
  interface FreezeTokensRequest {
@@ -614,6 +651,7 @@ interface QueryTokenOutputsRequest {
614
651
  ownerPublicKeys: Uint8Array[];
615
652
  /** Optionally provide token public keys. If not set return leaves for all tokens. */
616
653
  tokenPublicKeys: Uint8Array[];
654
+ tokenIdentifiers: Uint8Array[];
617
655
  /** defaults to mainnet when no network is provided. */
618
656
  network: Network;
619
657
  }
@@ -626,6 +664,8 @@ interface QueryTokenTransactionsRequest {
626
664
  ownerPublicKeys: Uint8Array[];
627
665
  /** Returns transactions that related to this token public key. */
628
666
  tokenPublicKeys: Uint8Array[];
667
+ /** Returns transactions that related to this token identifier. */
668
+ tokenIdentifiers: Uint8Array[];
629
669
  /** Returns transactions that match the provided transaction hashes. */
630
670
  tokenTransactionHashes: Uint8Array[];
631
671
  limit: number;
@@ -657,7 +697,7 @@ interface TreeNode {
657
697
  value: number;
658
698
  /** The id of the parent node. */
659
699
  parentNodeId?: string | undefined;
660
- /** The transaction of the node, this transaction is to pay to the same address as the node. */
700
+ /** The cpfp transaction of the node, this transaction is to pay to the same address as the node. */
661
701
  nodeTx: Uint8Array;
662
702
  /** The refund transaction of the node, this transaction is to pay to the user. */
663
703
  refundTx: Uint8Array;
@@ -679,6 +719,12 @@ interface TreeNode {
679
719
  updatedTime: Date | undefined;
680
720
  /** The signing public key of the owner of the node. */
681
721
  ownerSigningPublicKey: Uint8Array;
722
+ /** The direct transaction of the node, this transaction is for the watchtower to broadcast. */
723
+ directTx: Uint8Array;
724
+ /** The refund transaction of the node, this transaction is to pay to the user. */
725
+ directRefundTx: Uint8Array;
726
+ /** The refund transaction of the node, this transaction is to pay to the user. */
727
+ directFromCpfpRefundTx: Uint8Array;
682
728
  }
683
729
  declare const TreeNode: MessageFns<TreeNode>;
684
730
  /** FinalizeNodeSignaturesRequest is the request to finalize the signatures for a node. */
@@ -724,6 +770,8 @@ declare const SecretProof: MessageFns<SecretProof>;
724
770
  interface LeafRefundTxSigningJob {
725
771
  leafId: string;
726
772
  refundTxSigningJob: SigningJob | undefined;
773
+ directRefundTxSigningJob: SigningJob | undefined;
774
+ directFromCpfpRefundTxSigningJob: SigningJob | undefined;
727
775
  }
728
776
  declare const LeafRefundTxSigningJob: MessageFns<LeafRefundTxSigningJob>;
729
777
  interface UserSignedTxSigningJob {
@@ -739,6 +787,8 @@ interface LeafRefundTxSigningResult {
739
787
  leafId: string;
740
788
  refundTxSigningResult: SigningResult | undefined;
741
789
  verifyingKey: Uint8Array;
790
+ directRefundTxSigningResult: SigningResult | undefined;
791
+ directFromCpfpRefundTxSigningResult: SigningResult | undefined;
742
792
  }
743
793
  declare const LeafRefundTxSigningResult: MessageFns<LeafRefundTxSigningResult>;
744
794
  interface StartUserSignedTransferRequest {
@@ -747,6 +797,8 @@ interface StartUserSignedTransferRequest {
747
797
  leavesToSend: UserSignedTxSigningJob[];
748
798
  receiverIdentityPublicKey: Uint8Array;
749
799
  expiryTime: Date | undefined;
800
+ directLeavesToSend: UserSignedTxSigningJob[];
801
+ directFromCpfpLeavesToSend: UserSignedTxSigningJob[];
750
802
  }
751
803
  declare const StartUserSignedTransferRequest: MessageFns<StartUserSignedTransferRequest>;
752
804
  interface StartTransferRequest {
@@ -772,7 +824,7 @@ declare const StartTransferResponse: MessageFns<StartTransferResponse>;
772
824
  * the coordinator SO.
773
825
  */
774
826
  interface TransferPackage {
775
- /** The leaves to send, with user signed refunds and signing package. */
827
+ /** The leaves to send, with user signed cpfp refunds and signing package. */
776
828
  leavesToSend: UserSignedTxSigningJob[];
777
829
  /** The map of SO identifier to ciphertext of SendLeafTweaks. */
778
830
  keyTweakPackage: {
@@ -780,6 +832,10 @@ interface TransferPackage {
780
832
  };
781
833
  /** The signature of user to prove that the key_tweak_package is not tampered. */
782
834
  userSignature: Uint8Array;
835
+ /** The leaves to send, with user signed direct refunds and signing package. */
836
+ directLeavesToSend: UserSignedTxSigningJob[];
837
+ /** The leaves to send, with user signed direct from cpfp refunds and signing package. */
838
+ directFromCpfpLeavesToSend: UserSignedTxSigningJob[];
783
839
  }
784
840
  declare const TransferPackage: MessageFns<TransferPackage>;
785
841
  interface TransferPackage_KeyTweakPackageEntry {
@@ -801,6 +857,8 @@ interface SendLeafKeyTweak {
801
857
  /** Signature over Sha256(leaf_id||transfer_id||secret_cipher) */
802
858
  signature: Uint8Array;
803
859
  refundSignature: Uint8Array;
860
+ directRefundSignature: Uint8Array;
861
+ directFromCpfpRefundSignature: Uint8Array;
804
862
  }
805
863
  declare const SendLeafKeyTweak: MessageFns<SendLeafKeyTweak>;
806
864
  interface SendLeafKeyTweak_PubkeySharesTweakEntry {
@@ -843,6 +901,8 @@ interface TransferLeaf {
843
901
  secretCipher: Uint8Array;
844
902
  signature: Uint8Array;
845
903
  intermediateRefundTx: Uint8Array;
904
+ intermediateDirectRefundTx: Uint8Array;
905
+ intermediateDirectFromCpfpRefundTx: Uint8Array;
846
906
  }
847
907
  declare const TransferLeaf: MessageFns<TransferLeaf>;
848
908
  interface TransferFilter {
@@ -991,6 +1051,8 @@ interface CounterLeafSwapRequest {
991
1051
  transfer: StartTransferRequest | undefined;
992
1052
  swapId: string;
993
1053
  adaptorPublicKey: Uint8Array;
1054
+ directAdaptorPublicKey: Uint8Array;
1055
+ directFromCpfpAdaptorPublicKey: Uint8Array;
994
1056
  }
995
1057
  declare const CounterLeafSwapRequest: MessageFns<CounterLeafSwapRequest>;
996
1058
  interface CounterLeafSwapResponse {
@@ -1019,6 +1081,9 @@ interface ExtendLeafRequest {
1019
1081
  ownerIdentityPublicKey: Uint8Array;
1020
1082
  nodeTxSigningJob: SigningJob | undefined;
1021
1083
  refundTxSigningJob: SigningJob | undefined;
1084
+ directNodeTxSigningJob: SigningJob | undefined;
1085
+ directRefundTxSigningJob: SigningJob | undefined;
1086
+ directFromCpfpRefundTxSigningJob: SigningJob | undefined;
1022
1087
  }
1023
1088
  declare const ExtendLeafRequest: MessageFns<ExtendLeafRequest>;
1024
1089
  interface ExtendLeafSigningResult {
@@ -1030,6 +1095,9 @@ interface ExtendLeafResponse {
1030
1095
  leafId: string;
1031
1096
  nodeTxSigningResult: ExtendLeafSigningResult | undefined;
1032
1097
  refundTxSigningResult: ExtendLeafSigningResult | undefined;
1098
+ directNodeTxSigningResult: ExtendLeafSigningResult | undefined;
1099
+ directRefundTxSigningResult: ExtendLeafSigningResult | undefined;
1100
+ directFromCpfpRefundTxSigningResult: ExtendLeafSigningResult | undefined;
1033
1101
  }
1034
1102
  declare const ExtendLeafResponse: MessageFns<ExtendLeafResponse>;
1035
1103
  interface AddressRequestNode {
@@ -1063,12 +1131,18 @@ interface PrepareTreeAddressResponse {
1063
1131
  }
1064
1132
  declare const PrepareTreeAddressResponse: MessageFns<PrepareTreeAddressResponse>;
1065
1133
  interface CreationNode {
1066
- /** This is the tx that spends the parent node's output. */
1134
+ /** This is the cpfp tx that spends the parent node's output. */
1067
1135
  nodeTxSigningJob: SigningJob | undefined;
1068
1136
  /** The refund tx can only exist if there's no children. */
1069
1137
  refundTxSigningJob: SigningJob | undefined;
1070
1138
  /** The children will spend the output of the node's tx. Vout is the index of the child. */
1071
1139
  children: CreationNode[];
1140
+ /** This is the direct tx that spends the parent node's output. */
1141
+ directNodeTxSigningJob: SigningJob | undefined;
1142
+ /** The direct refund tx can only exist if there's no children. */
1143
+ directRefundTxSigningJob: SigningJob | undefined;
1144
+ /** The direct from cpfp refund tx can only exist if there's no children. */
1145
+ directFromCpfpRefundTxSigningJob: SigningJob | undefined;
1072
1146
  }
1073
1147
  declare const CreationNode: MessageFns<CreationNode>;
1074
1148
  interface CreateTreeRequest {
@@ -1090,6 +1164,9 @@ interface CreationResponseNode {
1090
1164
  nodeTxSigningResult: SigningResult | undefined;
1091
1165
  refundTxSigningResult: SigningResult | undefined;
1092
1166
  children: CreationResponseNode[];
1167
+ directNodeTxSigningResult: SigningResult | undefined;
1168
+ directRefundTxSigningResult: SigningResult | undefined;
1169
+ directFromCpfpRefundTxSigningResult: SigningResult | undefined;
1093
1170
  }
1094
1171
  declare const CreationResponseNode: MessageFns<CreationResponseNode>;
1095
1172
  interface CreateTreeResponse {
@@ -2006,6 +2083,7 @@ declare const spark_StartUserSignedTransferRequest: typeof StartUserSignedTransf
2006
2083
  declare const spark_StorePreimageShareRequest: typeof StorePreimageShareRequest;
2007
2084
  declare const spark_SubscribeToEventsRequest: typeof SubscribeToEventsRequest;
2008
2085
  declare const spark_SubscribeToEventsResponse: typeof SubscribeToEventsResponse;
2086
+ declare const spark_TokenCreateInput: typeof TokenCreateInput;
2009
2087
  declare const spark_TokenMintInput: typeof TokenMintInput;
2010
2088
  declare const spark_TokenOutput: typeof TokenOutput;
2011
2089
  declare const spark_TokenOutputToSpend: typeof TokenOutputToSpend;
@@ -2047,7 +2125,7 @@ declare const spark_transferTypeToJSON: typeof transferTypeToJSON;
2047
2125
  declare const spark_utxoSwapRequestTypeFromJSON: typeof utxoSwapRequestTypeFromJSON;
2048
2126
  declare const spark_utxoSwapRequestTypeToJSON: typeof utxoSwapRequestTypeToJSON;
2049
2127
  declare namespace spark {
2050
- export { spark_Address as Address, spark_AddressNode as AddressNode, spark_AddressRequestNode as AddressRequestNode, spark_BitcoinTransactionOutput as BitcoinTransactionOutput, spark_CancelTransferRequest as CancelTransferRequest, spark_CancelTransferResponse as CancelTransferResponse, spark_ClaimLeafKeyTweak as ClaimLeafKeyTweak, spark_ClaimLeafKeyTweak_PubkeySharesTweakEntry as ClaimLeafKeyTweak_PubkeySharesTweakEntry, spark_ClaimTransferSignRefundsRequest as ClaimTransferSignRefundsRequest, spark_ClaimTransferSignRefundsResponse as ClaimTransferSignRefundsResponse, spark_ClaimTransferTweakKeysRequest as ClaimTransferTweakKeysRequest, spark_ConnectedEvent as ConnectedEvent, spark_CooperativeExitRequest as CooperativeExitRequest, spark_CooperativeExitResponse as CooperativeExitResponse, spark_CounterLeafSwapRequest as CounterLeafSwapRequest, spark_CounterLeafSwapResponse as CounterLeafSwapResponse, spark_CreateTreeRequest as CreateTreeRequest, spark_CreateTreeResponse as CreateTreeResponse, spark_CreationNode as CreationNode, spark_CreationResponseNode as CreationResponseNode, type spark_DeepPartial as DeepPartial, spark_DepositAddressProof as DepositAddressProof, spark_DepositAddressProof_AddressSignaturesEntry as DepositAddressProof_AddressSignaturesEntry, spark_DepositAddressQueryResult as DepositAddressQueryResult, spark_DepositEvent as DepositEvent, spark_ExitSingleNodeTreeSigningResult as ExitSingleNodeTreeSigningResult, spark_ExitSingleNodeTreesRequest as ExitSingleNodeTreesRequest, spark_ExitSingleNodeTreesResponse as ExitSingleNodeTreesResponse, spark_ExitingTree as ExitingTree, spark_ExtendLeafRequest as ExtendLeafRequest, spark_ExtendLeafResponse as ExtendLeafResponse, spark_ExtendLeafSigningResult as ExtendLeafSigningResult, spark_FinalizeNodeSignaturesRequest as FinalizeNodeSignaturesRequest, spark_FinalizeNodeSignaturesResponse as FinalizeNodeSignaturesResponse, spark_FinalizeTokenTransactionRequest as FinalizeTokenTransactionRequest, spark_FinalizeTransferRequest as FinalizeTransferRequest, spark_FinalizeTransferResponse as FinalizeTransferResponse, spark_FinalizeTransferWithTransferPackageRequest as FinalizeTransferWithTransferPackageRequest, spark_FreezeTokensPayload as FreezeTokensPayload, spark_FreezeTokensRequest as FreezeTokensRequest, spark_FreezeTokensResponse as FreezeTokensResponse, spark_GenerateDepositAddressRequest as GenerateDepositAddressRequest, spark_GenerateDepositAddressResponse as GenerateDepositAddressResponse, spark_GetSigningCommitmentsRequest as GetSigningCommitmentsRequest, spark_GetSigningCommitmentsResponse as GetSigningCommitmentsResponse, spark_GetSigningOperatorListResponse as GetSigningOperatorListResponse, spark_GetSigningOperatorListResponse_SigningOperatorsEntry as GetSigningOperatorListResponse_SigningOperatorsEntry, spark_InitiatePreimageSwapRequest as InitiatePreimageSwapRequest, spark_InitiatePreimageSwapRequest_Reason as InitiatePreimageSwapRequest_Reason, spark_InitiatePreimageSwapResponse as InitiatePreimageSwapResponse, spark_InitiateUtxoSwapRequest as InitiateUtxoSwapRequest, spark_InitiateUtxoSwapResponse as InitiateUtxoSwapResponse, spark_InvestigateLeavesRequest as InvestigateLeavesRequest, spark_InvoiceAmount as InvoiceAmount, spark_InvoiceAmountProof as InvoiceAmountProof, spark_KeyshareWithIndex as KeyshareWithIndex, spark_LeafRefundTxSigningJob as LeafRefundTxSigningJob, spark_LeafRefundTxSigningResult as LeafRefundTxSigningResult, type spark_MessageFns as MessageFns, spark_Network as Network, spark_NodeOutput as NodeOutput, spark_NodeSignatureShares as NodeSignatureShares, spark_NodeSignatures as NodeSignatures, spark_OperatorSpecificOwnerSignature as OperatorSpecificOwnerSignature, spark_OperatorSpecificTokenTransactionSignablePayload as OperatorSpecificTokenTransactionSignablePayload, spark_OutPoint as OutPoint, spark_OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, spark_PaymentIntentFields as PaymentIntentFields, spark_PrepareTreeAddressRequest as PrepareTreeAddressRequest, spark_PrepareTreeAddressResponse as PrepareTreeAddressResponse, spark_ProvidePreimageRequest as ProvidePreimageRequest, spark_ProvidePreimageResponse as ProvidePreimageResponse, spark_QueryBalanceRequest as QueryBalanceRequest, spark_QueryBalanceResponse as QueryBalanceResponse, spark_QueryBalanceResponse_NodeBalancesEntry as QueryBalanceResponse_NodeBalancesEntry, spark_QueryNodesByValueRequest as QueryNodesByValueRequest, spark_QueryNodesByValueResponse as QueryNodesByValueResponse, spark_QueryNodesByValueResponse_NodesEntry as QueryNodesByValueResponse_NodesEntry, spark_QueryNodesDistributionRequest as QueryNodesDistributionRequest, spark_QueryNodesDistributionResponse as QueryNodesDistributionResponse, spark_QueryNodesDistributionResponse_NodeDistributionEntry as QueryNodesDistributionResponse_NodeDistributionEntry, spark_QueryNodesRequest as QueryNodesRequest, spark_QueryNodesResponse as QueryNodesResponse, spark_QueryNodesResponse_NodesEntry as QueryNodesResponse_NodesEntry, spark_QueryStaticDepositAddressesRequest as QueryStaticDepositAddressesRequest, spark_QueryStaticDepositAddressesResponse as QueryStaticDepositAddressesResponse, spark_QueryTokenOutputsRequest as QueryTokenOutputsRequest, spark_QueryTokenOutputsResponse as QueryTokenOutputsResponse, spark_QueryTokenTransactionsRequest as QueryTokenTransactionsRequest, spark_QueryTokenTransactionsResponse as QueryTokenTransactionsResponse, spark_QueryTransfersResponse as QueryTransfersResponse, spark_QueryUnusedDepositAddressesRequest as QueryUnusedDepositAddressesRequest, spark_QueryUnusedDepositAddressesResponse as QueryUnusedDepositAddressesResponse, spark_QueryUserSignedRefundsRequest as QueryUserSignedRefundsRequest, spark_QueryUserSignedRefundsResponse as QueryUserSignedRefundsResponse, spark_RefreshTimelockRequest as RefreshTimelockRequest, spark_RefreshTimelockResponse as RefreshTimelockResponse, spark_RefreshTimelockSigningResult as RefreshTimelockSigningResult, spark_RequestedSigningCommitments as RequestedSigningCommitments, spark_RequestedSigningCommitments_SigningNonceCommitmentsEntry as RequestedSigningCommitments_SigningNonceCommitmentsEntry, spark_ReturnLightningPaymentRequest as ReturnLightningPaymentRequest, spark_RevocationSecretWithIndex as RevocationSecretWithIndex, spark_SecretProof as SecretProof, spark_SecretShare as SecretShare, spark_SendLeafKeyTweak as SendLeafKeyTweak, spark_SendLeafKeyTweak_PubkeySharesTweakEntry as SendLeafKeyTweak_PubkeySharesTweakEntry, spark_SendLeafKeyTweaks as SendLeafKeyTweaks, type spark_ServerStreamingMethodResult as ServerStreamingMethodResult, spark_SignTokenTransactionRequest as SignTokenTransactionRequest, spark_SignTokenTransactionResponse as SignTokenTransactionResponse, spark_SignatureWithIndex as SignatureWithIndex, spark_SigningCommitments as SigningCommitments, spark_SigningCommitments_SigningCommitmentsEntry as SigningCommitments_SigningCommitmentsEntry, spark_SigningJob as SigningJob, spark_SigningKeyshare as SigningKeyshare, spark_SigningKeyshare_PublicSharesEntry as SigningKeyshare_PublicSharesEntry, spark_SigningOperatorInfo as SigningOperatorInfo, spark_SigningResult as SigningResult, spark_SigningResult_PublicKeysEntry as SigningResult_PublicKeysEntry, spark_SigningResult_SignatureSharesEntry as SigningResult_SignatureSharesEntry, spark_SigningResult_SigningNonceCommitmentsEntry as SigningResult_SigningNonceCommitmentsEntry, spark_SparkAddress as SparkAddress, type spark_SparkServiceClient as SparkServiceClient, spark_SparkServiceDefinition as SparkServiceDefinition, type spark_SparkServiceImplementation as SparkServiceImplementation, spark_SpentTokenOutputMetadata as SpentTokenOutputMetadata, spark_StartDepositTreeCreationRequest as StartDepositTreeCreationRequest, spark_StartDepositTreeCreationResponse as StartDepositTreeCreationResponse, spark_StartTokenTransactionRequest as StartTokenTransactionRequest, spark_StartTokenTransactionResponse as StartTokenTransactionResponse, spark_StartTransferRequest as StartTransferRequest, spark_StartTransferResponse as StartTransferResponse, spark_StartTreeCreationRequest as StartTreeCreationRequest, spark_StartTreeCreationResponse as StartTreeCreationResponse, spark_StartUserSignedTransferRequest as StartUserSignedTransferRequest, spark_StorePreimageShareRequest as StorePreimageShareRequest, spark_SubscribeToEventsRequest as SubscribeToEventsRequest, spark_SubscribeToEventsResponse as SubscribeToEventsResponse, spark_TokenMintInput as TokenMintInput, spark_TokenOutput as TokenOutput, spark_TokenOutputToSpend as TokenOutputToSpend, spark_TokenTransaction as TokenTransaction, spark_TokenTransactionConfirmationMetadata as TokenTransactionConfirmationMetadata, spark_TokenTransactionSignatures as TokenTransactionSignatures, spark_TokenTransactionStatus as TokenTransactionStatus, spark_TokenTransactionWithStatus as TokenTransactionWithStatus, spark_TokenTransferInput as TokenTransferInput, spark_Transfer as Transfer, spark_TransferEvent as TransferEvent, spark_TransferFilter as TransferFilter, spark_TransferLeaf as TransferLeaf, spark_TransferPackage as TransferPackage, spark_TransferPackage_KeyTweakPackageEntry as TransferPackage_KeyTweakPackageEntry, spark_TransferStatus as TransferStatus, spark_TransferType as TransferType, spark_TreeNode as TreeNode, spark_TreeNodeIds as TreeNodeIds, spark_UTXO as UTXO, spark_UserSignedRefund as UserSignedRefund, spark_UserSignedTxSigningJob as UserSignedTxSigningJob, spark_UtxoSwapRequestType as UtxoSwapRequestType, spark_initiatePreimageSwapRequest_ReasonFromJSON as initiatePreimageSwapRequest_ReasonFromJSON, spark_initiatePreimageSwapRequest_ReasonToJSON as initiatePreimageSwapRequest_ReasonToJSON, spark_networkFromJSON as networkFromJSON, spark_networkToJSON as networkToJSON, spark_protobufPackage as protobufPackage, spark_tokenTransactionStatusFromJSON as tokenTransactionStatusFromJSON, spark_tokenTransactionStatusToJSON as tokenTransactionStatusToJSON, spark_transferStatusFromJSON as transferStatusFromJSON, spark_transferStatusToJSON as transferStatusToJSON, spark_transferTypeFromJSON as transferTypeFromJSON, spark_transferTypeToJSON as transferTypeToJSON, spark_utxoSwapRequestTypeFromJSON as utxoSwapRequestTypeFromJSON, spark_utxoSwapRequestTypeToJSON as utxoSwapRequestTypeToJSON };
2128
+ export { spark_Address as Address, spark_AddressNode as AddressNode, spark_AddressRequestNode as AddressRequestNode, spark_BitcoinTransactionOutput as BitcoinTransactionOutput, spark_CancelTransferRequest as CancelTransferRequest, spark_CancelTransferResponse as CancelTransferResponse, spark_ClaimLeafKeyTweak as ClaimLeafKeyTweak, spark_ClaimLeafKeyTweak_PubkeySharesTweakEntry as ClaimLeafKeyTweak_PubkeySharesTweakEntry, spark_ClaimTransferSignRefundsRequest as ClaimTransferSignRefundsRequest, spark_ClaimTransferSignRefundsResponse as ClaimTransferSignRefundsResponse, spark_ClaimTransferTweakKeysRequest as ClaimTransferTweakKeysRequest, spark_ConnectedEvent as ConnectedEvent, spark_CooperativeExitRequest as CooperativeExitRequest, spark_CooperativeExitResponse as CooperativeExitResponse, spark_CounterLeafSwapRequest as CounterLeafSwapRequest, spark_CounterLeafSwapResponse as CounterLeafSwapResponse, spark_CreateTreeRequest as CreateTreeRequest, spark_CreateTreeResponse as CreateTreeResponse, spark_CreationNode as CreationNode, spark_CreationResponseNode as CreationResponseNode, type spark_DeepPartial as DeepPartial, spark_DepositAddressProof as DepositAddressProof, spark_DepositAddressProof_AddressSignaturesEntry as DepositAddressProof_AddressSignaturesEntry, spark_DepositAddressQueryResult as DepositAddressQueryResult, spark_DepositEvent as DepositEvent, spark_ExitSingleNodeTreeSigningResult as ExitSingleNodeTreeSigningResult, spark_ExitSingleNodeTreesRequest as ExitSingleNodeTreesRequest, spark_ExitSingleNodeTreesResponse as ExitSingleNodeTreesResponse, spark_ExitingTree as ExitingTree, spark_ExtendLeafRequest as ExtendLeafRequest, spark_ExtendLeafResponse as ExtendLeafResponse, spark_ExtendLeafSigningResult as ExtendLeafSigningResult, spark_FinalizeNodeSignaturesRequest as FinalizeNodeSignaturesRequest, spark_FinalizeNodeSignaturesResponse as FinalizeNodeSignaturesResponse, spark_FinalizeTokenTransactionRequest as FinalizeTokenTransactionRequest, spark_FinalizeTransferRequest as FinalizeTransferRequest, spark_FinalizeTransferResponse as FinalizeTransferResponse, spark_FinalizeTransferWithTransferPackageRequest as FinalizeTransferWithTransferPackageRequest, spark_FreezeTokensPayload as FreezeTokensPayload, spark_FreezeTokensRequest as FreezeTokensRequest, spark_FreezeTokensResponse as FreezeTokensResponse, spark_GenerateDepositAddressRequest as GenerateDepositAddressRequest, spark_GenerateDepositAddressResponse as GenerateDepositAddressResponse, spark_GetSigningCommitmentsRequest as GetSigningCommitmentsRequest, spark_GetSigningCommitmentsResponse as GetSigningCommitmentsResponse, spark_GetSigningOperatorListResponse as GetSigningOperatorListResponse, spark_GetSigningOperatorListResponse_SigningOperatorsEntry as GetSigningOperatorListResponse_SigningOperatorsEntry, spark_InitiatePreimageSwapRequest as InitiatePreimageSwapRequest, spark_InitiatePreimageSwapRequest_Reason as InitiatePreimageSwapRequest_Reason, spark_InitiatePreimageSwapResponse as InitiatePreimageSwapResponse, spark_InitiateUtxoSwapRequest as InitiateUtxoSwapRequest, spark_InitiateUtxoSwapResponse as InitiateUtxoSwapResponse, spark_InvestigateLeavesRequest as InvestigateLeavesRequest, spark_InvoiceAmount as InvoiceAmount, spark_InvoiceAmountProof as InvoiceAmountProof, spark_KeyshareWithIndex as KeyshareWithIndex, spark_LeafRefundTxSigningJob as LeafRefundTxSigningJob, spark_LeafRefundTxSigningResult as LeafRefundTxSigningResult, type spark_MessageFns as MessageFns, spark_Network as Network, spark_NodeOutput as NodeOutput, spark_NodeSignatureShares as NodeSignatureShares, spark_NodeSignatures as NodeSignatures, spark_OperatorSpecificOwnerSignature as OperatorSpecificOwnerSignature, spark_OperatorSpecificTokenTransactionSignablePayload as OperatorSpecificTokenTransactionSignablePayload, spark_OutPoint as OutPoint, spark_OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, spark_PaymentIntentFields as PaymentIntentFields, spark_PrepareTreeAddressRequest as PrepareTreeAddressRequest, spark_PrepareTreeAddressResponse as PrepareTreeAddressResponse, spark_ProvidePreimageRequest as ProvidePreimageRequest, spark_ProvidePreimageResponse as ProvidePreimageResponse, spark_QueryBalanceRequest as QueryBalanceRequest, spark_QueryBalanceResponse as QueryBalanceResponse, spark_QueryBalanceResponse_NodeBalancesEntry as QueryBalanceResponse_NodeBalancesEntry, spark_QueryNodesByValueRequest as QueryNodesByValueRequest, spark_QueryNodesByValueResponse as QueryNodesByValueResponse, spark_QueryNodesByValueResponse_NodesEntry as QueryNodesByValueResponse_NodesEntry, spark_QueryNodesDistributionRequest as QueryNodesDistributionRequest, spark_QueryNodesDistributionResponse as QueryNodesDistributionResponse, spark_QueryNodesDistributionResponse_NodeDistributionEntry as QueryNodesDistributionResponse_NodeDistributionEntry, spark_QueryNodesRequest as QueryNodesRequest, spark_QueryNodesResponse as QueryNodesResponse, spark_QueryNodesResponse_NodesEntry as QueryNodesResponse_NodesEntry, spark_QueryStaticDepositAddressesRequest as QueryStaticDepositAddressesRequest, spark_QueryStaticDepositAddressesResponse as QueryStaticDepositAddressesResponse, spark_QueryTokenOutputsRequest as QueryTokenOutputsRequest, spark_QueryTokenOutputsResponse as QueryTokenOutputsResponse, spark_QueryTokenTransactionsRequest as QueryTokenTransactionsRequest, spark_QueryTokenTransactionsResponse as QueryTokenTransactionsResponse, spark_QueryTransfersResponse as QueryTransfersResponse, spark_QueryUnusedDepositAddressesRequest as QueryUnusedDepositAddressesRequest, spark_QueryUnusedDepositAddressesResponse as QueryUnusedDepositAddressesResponse, spark_QueryUserSignedRefundsRequest as QueryUserSignedRefundsRequest, spark_QueryUserSignedRefundsResponse as QueryUserSignedRefundsResponse, spark_RefreshTimelockRequest as RefreshTimelockRequest, spark_RefreshTimelockResponse as RefreshTimelockResponse, spark_RefreshTimelockSigningResult as RefreshTimelockSigningResult, spark_RequestedSigningCommitments as RequestedSigningCommitments, spark_RequestedSigningCommitments_SigningNonceCommitmentsEntry as RequestedSigningCommitments_SigningNonceCommitmentsEntry, spark_ReturnLightningPaymentRequest as ReturnLightningPaymentRequest, spark_RevocationSecretWithIndex as RevocationSecretWithIndex, spark_SecretProof as SecretProof, spark_SecretShare as SecretShare, spark_SendLeafKeyTweak as SendLeafKeyTweak, spark_SendLeafKeyTweak_PubkeySharesTweakEntry as SendLeafKeyTweak_PubkeySharesTweakEntry, spark_SendLeafKeyTweaks as SendLeafKeyTweaks, type spark_ServerStreamingMethodResult as ServerStreamingMethodResult, spark_SignTokenTransactionRequest as SignTokenTransactionRequest, spark_SignTokenTransactionResponse as SignTokenTransactionResponse, spark_SignatureWithIndex as SignatureWithIndex, spark_SigningCommitments as SigningCommitments, spark_SigningCommitments_SigningCommitmentsEntry as SigningCommitments_SigningCommitmentsEntry, spark_SigningJob as SigningJob, spark_SigningKeyshare as SigningKeyshare, spark_SigningKeyshare_PublicSharesEntry as SigningKeyshare_PublicSharesEntry, spark_SigningOperatorInfo as SigningOperatorInfo, spark_SigningResult as SigningResult, spark_SigningResult_PublicKeysEntry as SigningResult_PublicKeysEntry, spark_SigningResult_SignatureSharesEntry as SigningResult_SignatureSharesEntry, spark_SigningResult_SigningNonceCommitmentsEntry as SigningResult_SigningNonceCommitmentsEntry, spark_SparkAddress as SparkAddress, type spark_SparkServiceClient as SparkServiceClient, spark_SparkServiceDefinition as SparkServiceDefinition, type spark_SparkServiceImplementation as SparkServiceImplementation, spark_SpentTokenOutputMetadata as SpentTokenOutputMetadata, spark_StartDepositTreeCreationRequest as StartDepositTreeCreationRequest, spark_StartDepositTreeCreationResponse as StartDepositTreeCreationResponse, spark_StartTokenTransactionRequest as StartTokenTransactionRequest, spark_StartTokenTransactionResponse as StartTokenTransactionResponse, spark_StartTransferRequest as StartTransferRequest, spark_StartTransferResponse as StartTransferResponse, spark_StartTreeCreationRequest as StartTreeCreationRequest, spark_StartTreeCreationResponse as StartTreeCreationResponse, spark_StartUserSignedTransferRequest as StartUserSignedTransferRequest, spark_StorePreimageShareRequest as StorePreimageShareRequest, spark_SubscribeToEventsRequest as SubscribeToEventsRequest, spark_SubscribeToEventsResponse as SubscribeToEventsResponse, spark_TokenCreateInput as TokenCreateInput, spark_TokenMintInput as TokenMintInput, spark_TokenOutput as TokenOutput, spark_TokenOutputToSpend as TokenOutputToSpend, spark_TokenTransaction as TokenTransaction, spark_TokenTransactionConfirmationMetadata as TokenTransactionConfirmationMetadata, spark_TokenTransactionSignatures as TokenTransactionSignatures, spark_TokenTransactionStatus as TokenTransactionStatus, spark_TokenTransactionWithStatus as TokenTransactionWithStatus, spark_TokenTransferInput as TokenTransferInput, spark_Transfer as Transfer, spark_TransferEvent as TransferEvent, spark_TransferFilter as TransferFilter, spark_TransferLeaf as TransferLeaf, spark_TransferPackage as TransferPackage, spark_TransferPackage_KeyTweakPackageEntry as TransferPackage_KeyTweakPackageEntry, spark_TransferStatus as TransferStatus, spark_TransferType as TransferType, spark_TreeNode as TreeNode, spark_TreeNodeIds as TreeNodeIds, spark_UTXO as UTXO, spark_UserSignedRefund as UserSignedRefund, spark_UserSignedTxSigningJob as UserSignedTxSigningJob, spark_UtxoSwapRequestType as UtxoSwapRequestType, spark_initiatePreimageSwapRequest_ReasonFromJSON as initiatePreimageSwapRequest_ReasonFromJSON, spark_initiatePreimageSwapRequest_ReasonToJSON as initiatePreimageSwapRequest_ReasonToJSON, spark_networkFromJSON as networkFromJSON, spark_networkToJSON as networkToJSON, spark_protobufPackage as protobufPackage, spark_tokenTransactionStatusFromJSON as tokenTransactionStatusFromJSON, spark_tokenTransactionStatusToJSON as tokenTransactionStatusToJSON, spark_transferStatusFromJSON as transferStatusFromJSON, spark_transferStatusToJSON as transferStatusToJSON, spark_transferTypeFromJSON as transferTypeFromJSON, spark_transferTypeToJSON as transferTypeToJSON, spark_utxoSwapRequestTypeFromJSON as utxoSwapRequestTypeFromJSON, spark_utxoSwapRequestTypeToJSON as utxoSwapRequestTypeToJSON };
2051
2129
  }
2052
2130
 
2053
- export { SigningResult_PublicKeysEntry as $, SubscribeToEventsRequest as A, SubscribeToEventsResponse as B, ConnectedEvent as C, TransferEvent as D, Empty as E, FinalizeNodeSignaturesResponse as F, DepositEvent as G, DepositAddressProof as H, DepositAddressProof_AddressSignaturesEntry as I, GenerateDepositAddressRequest as J, Address as K, LeafRefundTxSigningResult as L, type MessageFns$2 as M, Network as N, OperatorSpecificOwnerSignature as O, PaymentIntentFields as P, QueryTransfersResponse as Q, RevocationSecretWithIndex as R, SigningKeyshare as S, TokenTransaction as T, UserSignedTxSigningJob as U, GenerateDepositAddressResponse as V, UTXO as W, NodeOutput as X, SigningJob as Y, SigningKeyshare_PublicSharesEntry as Z, SigningResult as _, TransferStatus as a, OutPoint as a$, SigningResult_SigningNonceCommitmentsEntry as a0, SigningResult_SignatureSharesEntry as a1, NodeSignatureShares as a2, StartTreeCreationRequest as a3, StartTreeCreationResponse as a4, StartDepositTreeCreationRequest as a5, StartDepositTreeCreationResponse as a6, TokenOutputToSpend as a7, TokenTransferInput as a8, TokenMintInput as a9, TransferPackage_KeyTweakPackageEntry as aA, SendLeafKeyTweaks as aB, SendLeafKeyTweak as aC, SendLeafKeyTweak_PubkeySharesTweakEntry as aD, FinalizeTransferRequest as aE, FinalizeTransferWithTransferPackageRequest as aF, FinalizeTransferResponse as aG, TransferFilter as aH, ClaimLeafKeyTweak as aI, ClaimLeafKeyTweak_PubkeySharesTweakEntry as aJ, ClaimTransferTweakKeysRequest as aK, ClaimTransferSignRefundsRequest as aL, ClaimTransferSignRefundsResponse as aM, StorePreimageShareRequest as aN, RequestedSigningCommitments_SigningNonceCommitmentsEntry as aO, GetSigningCommitmentsRequest as aP, GetSigningCommitmentsResponse as aQ, SigningCommitments as aR, SigningCommitments_SigningCommitmentsEntry as aS, UserSignedRefund as aT, InvoiceAmountProof as aU, InvoiceAmount as aV, InitiatePreimageSwapRequest as aW, InitiatePreimageSwapRequest_Reason as aX, initiatePreimageSwapRequest_ReasonFromJSON as aY, initiatePreimageSwapRequest_ReasonToJSON as aZ, InitiatePreimageSwapResponse as a_, TokenOutput as aa, SpentTokenOutputMetadata as ab, TokenTransactionConfirmationMetadata as ac, SignatureWithIndex as ad, TokenTransactionSignatures as ae, StartTokenTransactionRequest as af, StartTokenTransactionResponse as ag, OperatorSpecificTokenTransactionSignablePayload as ah, SignTokenTransactionRequest as ai, KeyshareWithIndex as aj, SignTokenTransactionResponse as ak, FinalizeTokenTransactionRequest as al, FreezeTokensPayload as am, FreezeTokensRequest as an, FreezeTokensResponse as ao, QueryTokenOutputsRequest as ap, QueryTokenTransactionsRequest as aq, QueryTokenTransactionsResponse as ar, QueryTokenOutputsResponse as as, FinalizeNodeSignaturesRequest as at, SecretShare as au, SecretProof as av, LeafRefundTxSigningJob as aw, StartUserSignedTransferRequest as ax, StartTransferRequest as ay, StartTransferResponse as az, TransferType as b, CooperativeExitRequest as b0, CooperativeExitResponse as b1, CounterLeafSwapRequest as b2, CounterLeafSwapResponse as b3, RefreshTimelockRequest as b4, RefreshTimelockSigningResult as b5, RefreshTimelockResponse as b6, ExtendLeafRequest as b7, ExtendLeafSigningResult as b8, ExtendLeafResponse as b9, QueryStaticDepositAddressesResponse as bA, QueryBalanceRequest as bB, QueryBalanceResponse as bC, QueryBalanceResponse_NodeBalancesEntry as bD, SparkAddress as bE, InitiateUtxoSwapRequest as bF, InitiateUtxoSwapResponse as bG, ExitingTree as bH, ExitSingleNodeTreeSigningResult as bI, BitcoinTransactionOutput as bJ, ExitSingleNodeTreesRequest as bK, ExitSingleNodeTreesResponse as bL, InvestigateLeavesRequest as bM, QueryNodesDistributionRequest as bN, QueryNodesDistributionResponse as bO, QueryNodesDistributionResponse_NodeDistributionEntry as bP, QueryNodesByValueRequest as bQ, QueryNodesByValueResponse as bR, QueryNodesByValueResponse_NodesEntry as bS, SparkServiceDefinition as bT, type SparkServiceImplementation as bU, type DeepPartial as bV, type ServerStreamingMethodResult as bW, type MessageFns as bX, AddressRequestNode as ba, PrepareTreeAddressRequest as bb, AddressNode as bc, PrepareTreeAddressResponse as bd, CreationNode as be, CreateTreeRequest as bf, CreationResponseNode as bg, CreateTreeResponse as bh, SigningOperatorInfo as bi, GetSigningOperatorListResponse as bj, GetSigningOperatorListResponse_SigningOperatorsEntry as bk, QueryUserSignedRefundsRequest as bl, QueryUserSignedRefundsResponse as bm, ProvidePreimageRequest as bn, ProvidePreimageResponse as bo, ReturnLightningPaymentRequest as bp, TreeNodeIds as bq, QueryNodesRequest as br, QueryNodesResponse as bs, QueryNodesResponse_NodesEntry as bt, CancelTransferRequest as bu, CancelTransferResponse as bv, QueryUnusedDepositAddressesRequest as bw, QueryStaticDepositAddressesRequest as bx, DepositAddressQueryResult as by, QueryUnusedDepositAddressesResponse as bz, common as c, TreeNode as d, TransferLeaf as e, Transfer as f, type SparkServiceClient as g, RequestedSigningCommitments as h, NodeSignatures as i, OutputWithPreviousTransactionData as j, TokenTransactionWithStatus as k, TransferPackage as l, networkToJSON as m, networkFromJSON as n, TokenTransactionStatus as o, protobufPackage as p, tokenTransactionStatusToJSON as q, transferStatusFromJSON as r, spark as s, tokenTransactionStatusFromJSON as t, transferStatusToJSON as u, transferTypeFromJSON as v, transferTypeToJSON as w, UtxoSwapRequestType as x, utxoSwapRequestTypeFromJSON as y, utxoSwapRequestTypeToJSON as z };
2131
+ export { SigningResult_PublicKeysEntry as $, SubscribeToEventsRequest as A, SubscribeToEventsResponse as B, ConnectedEvent as C, TransferEvent as D, Empty as E, FinalizeNodeSignaturesResponse as F, DepositEvent as G, DepositAddressProof as H, DepositAddressProof_AddressSignaturesEntry as I, GenerateDepositAddressRequest as J, Address as K, LeafRefundTxSigningResult as L, type MessageFns$2 as M, Network as N, OperatorSpecificOwnerSignature as O, PaymentIntentFields as P, QueryTransfersResponse as Q, RevocationSecretWithIndex as R, SigningKeyshare as S, TransferStatus as T, UserSignedTxSigningJob as U, GenerateDepositAddressResponse as V, UTXO as W, NodeOutput as X, SigningJob as Y, SigningKeyshare_PublicSharesEntry as Z, SigningResult as _, TransferType as a, InitiatePreimageSwapResponse as a$, SigningResult_SigningNonceCommitmentsEntry as a0, SigningResult_SignatureSharesEntry as a1, NodeSignatureShares as a2, StartTreeCreationRequest as a3, StartTreeCreationResponse as a4, StartDepositTreeCreationRequest as a5, StartDepositTreeCreationResponse as a6, TokenOutputToSpend as a7, TokenTransferInput as a8, TokenMintInput as a9, StartTransferResponse as aA, TransferPackage_KeyTweakPackageEntry as aB, SendLeafKeyTweaks as aC, SendLeafKeyTweak as aD, SendLeafKeyTweak_PubkeySharesTweakEntry as aE, FinalizeTransferRequest as aF, FinalizeTransferWithTransferPackageRequest as aG, FinalizeTransferResponse as aH, TransferFilter as aI, ClaimLeafKeyTweak as aJ, ClaimLeafKeyTweak_PubkeySharesTweakEntry as aK, ClaimTransferTweakKeysRequest as aL, ClaimTransferSignRefundsRequest as aM, ClaimTransferSignRefundsResponse as aN, StorePreimageShareRequest as aO, RequestedSigningCommitments_SigningNonceCommitmentsEntry as aP, GetSigningCommitmentsRequest as aQ, GetSigningCommitmentsResponse as aR, SigningCommitments as aS, SigningCommitments_SigningCommitmentsEntry as aT, UserSignedRefund as aU, InvoiceAmountProof as aV, InvoiceAmount as aW, InitiatePreimageSwapRequest as aX, InitiatePreimageSwapRequest_Reason as aY, initiatePreimageSwapRequest_ReasonFromJSON as aZ, initiatePreimageSwapRequest_ReasonToJSON as a_, TokenCreateInput as aa, TokenOutput as ab, SpentTokenOutputMetadata as ac, TokenTransactionConfirmationMetadata as ad, SignatureWithIndex as ae, TokenTransactionSignatures as af, StartTokenTransactionRequest as ag, StartTokenTransactionResponse as ah, OperatorSpecificTokenTransactionSignablePayload as ai, SignTokenTransactionRequest as aj, KeyshareWithIndex as ak, SignTokenTransactionResponse as al, FinalizeTokenTransactionRequest as am, FreezeTokensPayload as an, FreezeTokensRequest as ao, FreezeTokensResponse as ap, QueryTokenOutputsRequest as aq, QueryTokenTransactionsRequest as ar, QueryTokenTransactionsResponse as as, QueryTokenOutputsResponse as at, FinalizeNodeSignaturesRequest as au, SecretShare as av, SecretProof as aw, LeafRefundTxSigningJob as ax, StartUserSignedTransferRequest as ay, StartTransferRequest as az, TreeNode as b, OutPoint as b0, CooperativeExitRequest as b1, CooperativeExitResponse as b2, CounterLeafSwapRequest as b3, CounterLeafSwapResponse as b4, RefreshTimelockRequest as b5, RefreshTimelockSigningResult as b6, RefreshTimelockResponse as b7, ExtendLeafRequest as b8, ExtendLeafSigningResult as b9, QueryUnusedDepositAddressesResponse as bA, QueryStaticDepositAddressesResponse as bB, QueryBalanceRequest as bC, QueryBalanceResponse as bD, QueryBalanceResponse_NodeBalancesEntry as bE, SparkAddress as bF, InitiateUtxoSwapRequest as bG, InitiateUtxoSwapResponse as bH, ExitingTree as bI, ExitSingleNodeTreeSigningResult as bJ, BitcoinTransactionOutput as bK, ExitSingleNodeTreesRequest as bL, ExitSingleNodeTreesResponse as bM, InvestigateLeavesRequest as bN, QueryNodesDistributionRequest as bO, QueryNodesDistributionResponse as bP, QueryNodesDistributionResponse_NodeDistributionEntry as bQ, QueryNodesByValueRequest as bR, QueryNodesByValueResponse as bS, QueryNodesByValueResponse_NodesEntry as bT, SparkServiceDefinition as bU, type SparkServiceImplementation as bV, type DeepPartial as bW, type ServerStreamingMethodResult as bX, type MessageFns as bY, ExtendLeafResponse as ba, AddressRequestNode as bb, PrepareTreeAddressRequest as bc, AddressNode as bd, PrepareTreeAddressResponse as be, CreationNode as bf, CreateTreeRequest as bg, CreationResponseNode as bh, CreateTreeResponse as bi, SigningOperatorInfo as bj, GetSigningOperatorListResponse as bk, GetSigningOperatorListResponse_SigningOperatorsEntry as bl, QueryUserSignedRefundsRequest as bm, QueryUserSignedRefundsResponse as bn, ProvidePreimageRequest as bo, ProvidePreimageResponse as bp, ReturnLightningPaymentRequest as bq, TreeNodeIds as br, QueryNodesRequest as bs, QueryNodesResponse as bt, QueryNodesResponse_NodesEntry as bu, CancelTransferRequest as bv, CancelTransferResponse as bw, QueryUnusedDepositAddressesRequest as bx, QueryStaticDepositAddressesRequest as by, DepositAddressQueryResult as bz, common as c, TransferLeaf as d, Transfer as e, TokenTransaction as f, type SparkServiceClient as g, RequestedSigningCommitments as h, NodeSignatures as i, OutputWithPreviousTransactionData as j, TransferPackage as k, TokenTransactionWithStatus as l, networkToJSON as m, networkFromJSON as n, TokenTransactionStatus as o, protobufPackage as p, tokenTransactionStatusToJSON as q, transferStatusFromJSON as r, spark as s, tokenTransactionStatusFromJSON as t, transferStatusToJSON as u, transferTypeFromJSON as v, transferTypeToJSON as w, UtxoSwapRequestType as x, utxoSwapRequestTypeFromJSON as y, utxoSwapRequestTypeToJSON as z };