@buildonspark/spark-sdk 0.1.43 → 0.1.45
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/CHANGELOG.md +16 -0
- package/dist/{RequestLightningSendInput-D7fZdT4A.d.ts → RequestLightningSendInput-DEPd_fPO.d.ts} +43 -4
- package/dist/{RequestLightningSendInput-Na1mHdWg.d.cts → RequestLightningSendInput-Du0z7Om7.d.cts} +43 -4
- package/dist/address/index.cjs +2 -2
- package/dist/address/index.d.cts +2 -2
- package/dist/address/index.d.ts +2 -2
- package/dist/address/index.js +2 -2
- package/dist/{chunk-IRW5TWMH.js → chunk-5FUB65LX.js} +7 -9
- package/dist/{chunk-BUTZWYBW.js → chunk-6264CGDM.js} +4 -4
- package/dist/{chunk-VFJQNBFX.js → chunk-7V6N75CC.js} +5 -2
- package/dist/{chunk-M6A4KFIG.js → chunk-BGGEVUJK.js} +1505 -445
- package/dist/{chunk-DQYKQJRZ.js → chunk-C2S227QR.js} +675 -52
- package/dist/{chunk-GYQR4B4P.js → chunk-GZ5IPPJ2.js} +2 -2
- package/dist/{chunk-6AFUC5M2.js → chunk-HWJWKEIU.js} +8 -2
- package/dist/{chunk-TOSP3INR.js → chunk-I54FARY2.js} +4 -2
- package/dist/{chunk-WWOTVNPP.js → chunk-J2IE4Z7Y.js} +544 -431
- package/dist/{chunk-O4RYNJNB.js → chunk-KMUMFYFX.js} +3 -3
- package/dist/chunk-LHRD2WT6.js +2374 -0
- package/dist/{chunk-ABZA6R5S.js → chunk-NTFKFRQ2.js} +1 -1
- package/dist/{chunk-MIVX3GHD.js → chunk-OBFKIEMP.js} +1 -1
- package/dist/{chunk-HRQRRDSS.js → chunk-PQN3C2MF.js} +15 -15
- package/dist/{chunk-DOA6QXYQ.js → chunk-R5PXJZQS.js} +3 -1
- package/dist/{chunk-TIUBYNN5.js → chunk-YUPMXTCJ.js} +4 -4
- package/dist/graphql/objects/index.d.cts +6 -43
- package/dist/graphql/objects/index.d.ts +6 -43
- package/dist/graphql/objects/index.js +1 -1
- package/dist/index-B2AwKW5J.d.cts +214 -0
- package/dist/index-CJDi1HWc.d.ts +214 -0
- package/dist/index.cjs +4150 -1026
- package/dist/index.d.cts +764 -19
- package/dist/index.d.ts +764 -19
- package/dist/index.js +17 -21
- package/dist/index.node.cjs +4153 -1033
- package/dist/index.node.d.cts +10 -8
- package/dist/index.node.d.ts +10 -8
- package/dist/index.node.js +20 -28
- package/dist/native/index.cjs +4166 -1042
- package/dist/native/index.d.cts +369 -108
- package/dist/native/index.d.ts +369 -108
- package/dist/native/index.js +4138 -1015
- package/dist/{network-xkBSpaTn.d.ts → network-BTJl-Sul.d.ts} +1 -1
- package/dist/{network-D5lKssVl.d.cts → network-CqgsdUF2.d.cts} +1 -1
- package/dist/proto/lrc20.cjs +222 -19
- package/dist/proto/lrc20.d.cts +1 -1
- package/dist/proto/lrc20.d.ts +1 -1
- package/dist/proto/lrc20.js +2 -2
- package/dist/proto/spark.cjs +1502 -442
- package/dist/proto/spark.d.cts +1 -1
- package/dist/proto/spark.d.ts +1 -1
- package/dist/proto/spark.js +5 -5
- package/dist/proto/spark_token.cjs +1515 -56
- package/dist/proto/spark_token.d.cts +153 -15
- package/dist/proto/spark_token.d.ts +153 -15
- package/dist/proto/spark_token.js +40 -4
- package/dist/{sdk-types-B-q9py_P.d.cts → sdk-types-B0SwjolI.d.cts} +1 -1
- package/dist/{sdk-types-BPoPgzda.d.ts → sdk-types-Cc4l4kb1.d.ts} +1 -1
- package/dist/services/config.cjs +7 -3
- package/dist/services/config.d.cts +5 -4
- package/dist/services/config.d.ts +5 -4
- package/dist/services/config.js +6 -6
- package/dist/services/connection.cjs +2938 -646
- package/dist/services/connection.d.cts +5 -4
- package/dist/services/connection.d.ts +5 -4
- package/dist/services/connection.js +4 -4
- package/dist/services/index.cjs +6381 -3461
- package/dist/services/index.d.cts +7 -6
- package/dist/services/index.d.ts +7 -6
- package/dist/services/index.js +15 -13
- package/dist/services/lrc-connection.cjs +227 -21
- package/dist/services/lrc-connection.d.cts +5 -4
- package/dist/services/lrc-connection.d.ts +5 -4
- package/dist/services/lrc-connection.js +4 -4
- package/dist/services/token-transactions.cjs +868 -244
- package/dist/services/token-transactions.d.cts +25 -7
- package/dist/services/token-transactions.d.ts +25 -7
- package/dist/services/token-transactions.js +5 -4
- package/dist/services/wallet-config.cjs +4 -1
- package/dist/services/wallet-config.d.cts +7 -5
- package/dist/services/wallet-config.d.ts +7 -5
- package/dist/services/wallet-config.js +3 -1
- package/dist/signer/signer.cjs +5 -2
- package/dist/signer/signer.d.cts +3 -2
- package/dist/signer/signer.d.ts +3 -2
- package/dist/signer/signer.js +2 -2
- package/dist/{signer-wqesWifN.d.ts → signer-BocS_J6B.d.ts} +2 -6
- package/dist/{signer-IO3oMRNj.d.cts → signer-DKS0AJkw.d.cts} +2 -6
- package/dist/{spark-CDm4gqS6.d.cts → spark-dM7EYXYQ.d.cts} +138 -42
- package/dist/{spark-CDm4gqS6.d.ts → spark-dM7EYXYQ.d.ts} +138 -42
- package/dist/spark_bindings/native/index.cjs +183 -0
- package/dist/spark_bindings/native/index.d.cts +14 -0
- package/dist/spark_bindings/native/index.d.ts +14 -0
- package/dist/spark_bindings/native/index.js +141 -0
- package/dist/spark_bindings/wasm/index.cjs +1093 -0
- package/dist/spark_bindings/wasm/index.d.cts +47 -0
- package/dist/spark_bindings/wasm/index.d.ts +47 -0
- package/dist/{chunk-K4C4W5FC.js → spark_bindings/wasm/index.js} +7 -6
- package/dist/types/index.cjs +1503 -443
- package/dist/types/index.d.cts +6 -5
- package/dist/types/index.d.ts +6 -5
- package/dist/types/index.js +3 -3
- package/dist/types-C-Rp0Oo7.d.cts +46 -0
- package/dist/types-C-Rp0Oo7.d.ts +46 -0
- package/dist/utils/index.cjs +358 -36
- package/dist/utils/index.d.cts +14 -134
- package/dist/utils/index.d.ts +14 -134
- package/dist/utils/index.js +8 -8
- package/package.json +21 -1
- package/src/constants.ts +5 -1
- package/src/graphql/client.ts +28 -0
- package/src/graphql/mutations/RequestCoopExit.ts +6 -0
- package/src/graphql/mutations/RequestSwapLeaves.ts +2 -0
- package/src/graphql/queries/GetCoopExitFeeQuote.ts +20 -0
- package/src/index.node.ts +0 -1
- package/src/index.ts +0 -1
- package/src/native/index.ts +1 -2
- package/src/proto/common.ts +5 -5
- package/src/proto/google/protobuf/descriptor.ts +34 -34
- package/src/proto/google/protobuf/duration.ts +2 -2
- package/src/proto/google/protobuf/empty.ts +2 -2
- package/src/proto/google/protobuf/timestamp.ts +2 -2
- package/src/proto/mock.ts +4 -4
- package/src/proto/spark.ts +1924 -525
- package/src/proto/spark_authn.ts +7 -7
- package/src/proto/spark_token.ts +1668 -105
- package/src/proto/validate/validate.ts +24 -24
- package/src/services/bolt11-spark.ts +62 -187
- package/src/services/coop-exit.ts +3 -0
- package/src/services/lrc20.ts +1 -1
- package/src/services/token-transactions.ts +209 -9
- package/src/services/transfer.ts +22 -3
- package/src/services/tree-creation.ts +13 -0
- package/src/services/wallet-config.ts +2 -1
- package/src/spark-wallet/spark-wallet.node.ts +3 -7
- package/src/spark-wallet/spark-wallet.ts +376 -232
- package/src/spark-wallet/types.ts +39 -3
- package/src/tests/bolt11-spark.test.ts +7 -15
- package/src/tests/integration/deposit.test.ts +16 -0
- package/src/tests/integration/ssp/coop-exit.test.ts +85 -21
- package/src/tests/integration/ssp/swap.test.ts +47 -0
- package/src/tests/integration/swap.test.ts +453 -433
- package/src/tests/integration/transfer.test.ts +261 -248
- package/src/tests/token-identifier.test.ts +54 -0
- package/src/tests/tokens.test.ts +218 -22
- package/src/utils/token-hashing.ts +346 -52
- package/src/utils/token-identifier.ts +88 -0
- package/src/utils/token-transaction-validation.ts +350 -5
- package/src/utils/token-transactions.ts +12 -8
- package/src/utils/transaction.ts +2 -8
- package/dist/chunk-VA7MV4MZ.js +0 -1073
- package/dist/index-7RYRH5wc.d.ts +0 -815
- package/dist/index-BJOc8Ur-.d.cts +0 -815
- package/dist/wasm-7OWFHDMS.js +0 -21
- package/src/logger.ts +0 -3
|
@@ -129,7 +129,7 @@ declare enum TransferStatus {
|
|
|
129
129
|
TRANSFER_STATUS_SENDER_KEY_TWEAK_PENDING = 1,
|
|
130
130
|
TRANSFER_STATUS_SENDER_KEY_TWEAKED = 2,
|
|
131
131
|
TRANSFER_STATUS_RECEIVER_KEY_TWEAKED = 3,
|
|
132
|
-
|
|
132
|
+
TRANSFER_STATUS_RECEIVER_REFUND_SIGNED = 4,
|
|
133
133
|
TRANSFER_STATUS_COMPLETED = 5,
|
|
134
134
|
TRANSFER_STATUS_EXPIRED = 6,
|
|
135
135
|
TRANSFER_STATUS_RETURNED = 7,
|
|
@@ -306,8 +306,19 @@ interface SigningKeyshare {
|
|
|
306
306
|
threshold: number;
|
|
307
307
|
/** The public key of the keyshare. */
|
|
308
308
|
publicKey: Uint8Array;
|
|
309
|
+
/** The public shares of the keyshare. */
|
|
310
|
+
publicShares: {
|
|
311
|
+
[key: string]: Uint8Array;
|
|
312
|
+
};
|
|
313
|
+
/** The latest update time of the keyshare. */
|
|
314
|
+
updatedTime: Date | undefined;
|
|
309
315
|
}
|
|
310
316
|
declare const SigningKeyshare: MessageFns<SigningKeyshare>;
|
|
317
|
+
interface SigningKeyshare_PublicSharesEntry {
|
|
318
|
+
key: string;
|
|
319
|
+
value: Uint8Array;
|
|
320
|
+
}
|
|
321
|
+
declare const SigningKeyshare_PublicSharesEntry: MessageFns<SigningKeyshare_PublicSharesEntry>;
|
|
311
322
|
/**
|
|
312
323
|
* SigningResult is the result of the signing job from the SE keyshare group.
|
|
313
324
|
* It contains all the information for user to sign their part. After user signs, the signature
|
|
@@ -358,6 +369,12 @@ interface NodeSignatureShares {
|
|
|
358
369
|
refundTxSigningResult: SigningResult | undefined;
|
|
359
370
|
/** The verifying key of the node. */
|
|
360
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;
|
|
361
378
|
}
|
|
362
379
|
declare const NodeSignatureShares: MessageFns<NodeSignatureShares>;
|
|
363
380
|
/**
|
|
@@ -367,10 +384,16 @@ declare const NodeSignatureShares: MessageFns<NodeSignatureShares>;
|
|
|
367
384
|
interface NodeSignatures {
|
|
368
385
|
/** The id of the node. */
|
|
369
386
|
nodeId: string;
|
|
370
|
-
/** 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. */
|
|
371
388
|
nodeTxSignature: Uint8Array;
|
|
372
|
-
/** 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. */
|
|
373
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;
|
|
374
397
|
}
|
|
375
398
|
declare const NodeSignatures: MessageFns<NodeSignatures>;
|
|
376
399
|
/** StartTreeCreationRequest is the request to start the tree creation for a tree root node. */
|
|
@@ -379,10 +402,16 @@ interface StartTreeCreationRequest {
|
|
|
379
402
|
identityPublicKey: Uint8Array;
|
|
380
403
|
/** The on-chain utxo to be used to be spent by the root node. */
|
|
381
404
|
onChainUtxo: UTXO | undefined;
|
|
382
|
-
/** The signing job for the root node's transaction. */
|
|
405
|
+
/** The signing job for the root node's cpfp transaction. */
|
|
383
406
|
rootTxSigningJob: SigningJob | undefined;
|
|
384
|
-
/** The signing job for the root node's refund transaction. */
|
|
407
|
+
/** The signing job for the root node's cpfp refund transaction. */
|
|
385
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;
|
|
386
415
|
}
|
|
387
416
|
declare const StartTreeCreationRequest: MessageFns<StartTreeCreationRequest>;
|
|
388
417
|
/** StartTreeCreationResponse is the response to the request to start the tree creation for a tree root node. */
|
|
@@ -403,6 +432,12 @@ interface StartDepositTreeCreationRequest {
|
|
|
403
432
|
rootTxSigningJob: SigningJob | undefined;
|
|
404
433
|
/** The signing job for the root node's refund transaction. */
|
|
405
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;
|
|
406
441
|
}
|
|
407
442
|
declare const StartDepositTreeCreationRequest: MessageFns<StartDepositTreeCreationRequest>;
|
|
408
443
|
/** StartDepositTreeCreationResponse is the response to the request to start the tree creation for a tree root node. */
|
|
@@ -438,8 +473,20 @@ interface TokenMintInput {
|
|
|
438
473
|
* random nonce would be favorable to populating this field.
|
|
439
474
|
*/
|
|
440
475
|
issuerProvidedTimestamp: number;
|
|
476
|
+
tokenIdentifier?: Uint8Array | undefined;
|
|
441
477
|
}
|
|
442
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>;
|
|
443
490
|
/**
|
|
444
491
|
* This proto is constructed by the wallet to specify outputs it wants to create
|
|
445
492
|
* as part of a token transaction. Output id and revocation public key should remain unfilled
|
|
@@ -451,7 +498,8 @@ interface TokenOutput {
|
|
|
451
498
|
revocationCommitment?: Uint8Array | undefined;
|
|
452
499
|
withdrawBondSats?: number | undefined;
|
|
453
500
|
withdrawRelativeBlockLocktime?: number | undefined;
|
|
454
|
-
tokenPublicKey
|
|
501
|
+
tokenPublicKey?: Uint8Array | undefined;
|
|
502
|
+
tokenIdentifier?: Uint8Array | undefined;
|
|
455
503
|
/** Decoded uint128 */
|
|
456
504
|
tokenAmount: Uint8Array;
|
|
457
505
|
}
|
|
@@ -462,16 +510,15 @@ declare const TokenOutput: MessageFns<TokenOutput>;
|
|
|
462
510
|
* is cooperatively signed by the SO group to confirm a token transaction.
|
|
463
511
|
*/
|
|
464
512
|
interface TokenTransaction {
|
|
465
|
-
/**
|
|
466
|
-
* For mint transactions issuer_public_key will be specified without any outputs_to_spend.
|
|
467
|
-
* For transfer transactions the token amount in the input leaves must match the token amount in the output leaves.
|
|
468
|
-
*/
|
|
469
513
|
tokenInputs?: {
|
|
470
514
|
$case: "mintInput";
|
|
471
515
|
mintInput: TokenMintInput;
|
|
472
516
|
} | {
|
|
473
517
|
$case: "transferInput";
|
|
474
518
|
transferInput: TokenTransferInput;
|
|
519
|
+
} | {
|
|
520
|
+
$case: "createInput";
|
|
521
|
+
createInput: TokenCreateInput;
|
|
475
522
|
} | undefined;
|
|
476
523
|
tokenOutputs: TokenOutput[];
|
|
477
524
|
sparkOperatorIdentityPublicKeys: Uint8Array[];
|
|
@@ -503,7 +550,7 @@ declare const SignatureWithIndex: MessageFns<SignatureWithIndex>;
|
|
|
503
550
|
interface TokenTransactionSignatures {
|
|
504
551
|
/**
|
|
505
552
|
* Filled by signing the partial token transaction hash with the owner/issuer private key.
|
|
506
|
-
* For mint transactions this will be one signature for the input
|
|
553
|
+
* For mint transactions this will be one signature for the input token_public_key
|
|
507
554
|
* For transfer transactions this will be one for each output for the output owner_public_key
|
|
508
555
|
*/
|
|
509
556
|
ownerSignatures: SignatureWithIndex[];
|
|
@@ -514,6 +561,7 @@ interface StartTokenTransactionRequest {
|
|
|
514
561
|
partialTokenTransaction: TokenTransaction | undefined;
|
|
515
562
|
/** List of ecdsa signatures authorizing movement of tokens from the token input. */
|
|
516
563
|
tokenTransactionSignatures: TokenTransactionSignatures | undefined;
|
|
564
|
+
sparkPaymentIntent: string;
|
|
517
565
|
}
|
|
518
566
|
declare const StartTokenTransactionRequest: MessageFns<StartTokenTransactionRequest>;
|
|
519
567
|
interface StartTokenTransactionResponse {
|
|
@@ -574,6 +622,7 @@ interface FinalizeTokenTransactionRequest {
|
|
|
574
622
|
*/
|
|
575
623
|
revocationSecrets: RevocationSecretWithIndex[];
|
|
576
624
|
identityPublicKey: Uint8Array;
|
|
625
|
+
sparkPaymentIntent: string;
|
|
577
626
|
}
|
|
578
627
|
declare const FinalizeTokenTransactionRequest: MessageFns<FinalizeTokenTransactionRequest>;
|
|
579
628
|
interface FreezeTokensPayload {
|
|
@@ -583,6 +632,7 @@ interface FreezeTokensPayload {
|
|
|
583
632
|
operatorIdentityPublicKey: Uint8Array;
|
|
584
633
|
/** Set to false when requesting a freeze. */
|
|
585
634
|
shouldUnfreeze: boolean;
|
|
635
|
+
tokenIdentifier?: Uint8Array | undefined;
|
|
586
636
|
}
|
|
587
637
|
declare const FreezeTokensPayload: MessageFns<FreezeTokensPayload>;
|
|
588
638
|
interface FreezeTokensRequest {
|
|
@@ -601,6 +651,7 @@ interface QueryTokenOutputsRequest {
|
|
|
601
651
|
ownerPublicKeys: Uint8Array[];
|
|
602
652
|
/** Optionally provide token public keys. If not set return leaves for all tokens. */
|
|
603
653
|
tokenPublicKeys: Uint8Array[];
|
|
654
|
+
tokenIdentifiers: Uint8Array[];
|
|
604
655
|
/** defaults to mainnet when no network is provided. */
|
|
605
656
|
network: Network;
|
|
606
657
|
}
|
|
@@ -613,6 +664,8 @@ interface QueryTokenTransactionsRequest {
|
|
|
613
664
|
ownerPublicKeys: Uint8Array[];
|
|
614
665
|
/** Returns transactions that related to this token public key. */
|
|
615
666
|
tokenPublicKeys: Uint8Array[];
|
|
667
|
+
/** Returns transactions that related to this token identifier. */
|
|
668
|
+
tokenIdentifiers: Uint8Array[];
|
|
616
669
|
/** Returns transactions that match the provided transaction hashes. */
|
|
617
670
|
tokenTransactionHashes: Uint8Array[];
|
|
618
671
|
limit: number;
|
|
@@ -644,7 +697,7 @@ interface TreeNode {
|
|
|
644
697
|
value: number;
|
|
645
698
|
/** The id of the parent node. */
|
|
646
699
|
parentNodeId?: string | undefined;
|
|
647
|
-
/** 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. */
|
|
648
701
|
nodeTx: Uint8Array;
|
|
649
702
|
/** The refund transaction of the node, this transaction is to pay to the user. */
|
|
650
703
|
refundTx: Uint8Array;
|
|
@@ -660,6 +713,18 @@ interface TreeNode {
|
|
|
660
713
|
status: string;
|
|
661
714
|
/** The network of the node. */
|
|
662
715
|
network: Network;
|
|
716
|
+
/** The creation time of the node. */
|
|
717
|
+
createdTime: Date | undefined;
|
|
718
|
+
/** The latest update time of the node. */
|
|
719
|
+
updatedTime: Date | undefined;
|
|
720
|
+
/** The signing public key of the owner of the node. */
|
|
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;
|
|
663
728
|
}
|
|
664
729
|
declare const TreeNode: MessageFns<TreeNode>;
|
|
665
730
|
/** FinalizeNodeSignaturesRequest is the request to finalize the signatures for a node. */
|
|
@@ -705,6 +770,8 @@ declare const SecretProof: MessageFns<SecretProof>;
|
|
|
705
770
|
interface LeafRefundTxSigningJob {
|
|
706
771
|
leafId: string;
|
|
707
772
|
refundTxSigningJob: SigningJob | undefined;
|
|
773
|
+
directRefundTxSigningJob: SigningJob | undefined;
|
|
774
|
+
directFromCpfpRefundTxSigningJob: SigningJob | undefined;
|
|
708
775
|
}
|
|
709
776
|
declare const LeafRefundTxSigningJob: MessageFns<LeafRefundTxSigningJob>;
|
|
710
777
|
interface UserSignedTxSigningJob {
|
|
@@ -720,6 +787,8 @@ interface LeafRefundTxSigningResult {
|
|
|
720
787
|
leafId: string;
|
|
721
788
|
refundTxSigningResult: SigningResult | undefined;
|
|
722
789
|
verifyingKey: Uint8Array;
|
|
790
|
+
directRefundTxSigningResult: SigningResult | undefined;
|
|
791
|
+
directFromCpfpRefundTxSigningResult: SigningResult | undefined;
|
|
723
792
|
}
|
|
724
793
|
declare const LeafRefundTxSigningResult: MessageFns<LeafRefundTxSigningResult>;
|
|
725
794
|
interface StartUserSignedTransferRequest {
|
|
@@ -728,6 +797,8 @@ interface StartUserSignedTransferRequest {
|
|
|
728
797
|
leavesToSend: UserSignedTxSigningJob[];
|
|
729
798
|
receiverIdentityPublicKey: Uint8Array;
|
|
730
799
|
expiryTime: Date | undefined;
|
|
800
|
+
directLeavesToSend: UserSignedTxSigningJob[];
|
|
801
|
+
directFromCpfpLeavesToSend: UserSignedTxSigningJob[];
|
|
731
802
|
}
|
|
732
803
|
declare const StartUserSignedTransferRequest: MessageFns<StartUserSignedTransferRequest>;
|
|
733
804
|
interface StartTransferRequest {
|
|
@@ -739,6 +810,7 @@ interface StartTransferRequest {
|
|
|
739
810
|
expiryTime: Date | undefined;
|
|
740
811
|
/** If this field is set, the leaves_to_send and key_tweak_proofs will be ignored. */
|
|
741
812
|
transferPackage: TransferPackage | undefined;
|
|
813
|
+
sparkPaymentIntent: string;
|
|
742
814
|
}
|
|
743
815
|
declare const StartTransferRequest: MessageFns<StartTransferRequest>;
|
|
744
816
|
interface StartTransferResponse {
|
|
@@ -752,7 +824,7 @@ declare const StartTransferResponse: MessageFns<StartTransferResponse>;
|
|
|
752
824
|
* the coordinator SO.
|
|
753
825
|
*/
|
|
754
826
|
interface TransferPackage {
|
|
755
|
-
/** The leaves to send, with user signed refunds and signing package. */
|
|
827
|
+
/** The leaves to send, with user signed cpfp refunds and signing package. */
|
|
756
828
|
leavesToSend: UserSignedTxSigningJob[];
|
|
757
829
|
/** The map of SO identifier to ciphertext of SendLeafTweaks. */
|
|
758
830
|
keyTweakPackage: {
|
|
@@ -760,6 +832,10 @@ interface TransferPackage {
|
|
|
760
832
|
};
|
|
761
833
|
/** The signature of user to prove that the key_tweak_package is not tampered. */
|
|
762
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[];
|
|
763
839
|
}
|
|
764
840
|
declare const TransferPackage: MessageFns<TransferPackage>;
|
|
765
841
|
interface TransferPackage_KeyTweakPackageEntry {
|
|
@@ -781,6 +857,8 @@ interface SendLeafKeyTweak {
|
|
|
781
857
|
/** Signature over Sha256(leaf_id||transfer_id||secret_cipher) */
|
|
782
858
|
signature: Uint8Array;
|
|
783
859
|
refundSignature: Uint8Array;
|
|
860
|
+
directRefundSignature: Uint8Array;
|
|
861
|
+
directFromCpfpRefundSignature: Uint8Array;
|
|
784
862
|
}
|
|
785
863
|
declare const SendLeafKeyTweak: MessageFns<SendLeafKeyTweak>;
|
|
786
864
|
interface SendLeafKeyTweak_PubkeySharesTweakEntry {
|
|
@@ -792,6 +870,7 @@ interface FinalizeTransferRequest {
|
|
|
792
870
|
transferId: string;
|
|
793
871
|
ownerIdentityPublicKey: Uint8Array;
|
|
794
872
|
leavesToSend: SendLeafKeyTweak[];
|
|
873
|
+
sparkPaymentIntent: string;
|
|
795
874
|
}
|
|
796
875
|
declare const FinalizeTransferRequest: MessageFns<FinalizeTransferRequest>;
|
|
797
876
|
interface FinalizeTransferWithTransferPackageRequest {
|
|
@@ -822,6 +901,8 @@ interface TransferLeaf {
|
|
|
822
901
|
secretCipher: Uint8Array;
|
|
823
902
|
signature: Uint8Array;
|
|
824
903
|
intermediateRefundTx: Uint8Array;
|
|
904
|
+
intermediateDirectRefundTx: Uint8Array;
|
|
905
|
+
intermediateDirectFromCpfpRefundTx: Uint8Array;
|
|
825
906
|
}
|
|
826
907
|
declare const TransferLeaf: MessageFns<TransferLeaf>;
|
|
827
908
|
interface TransferFilter {
|
|
@@ -843,6 +924,7 @@ interface TransferFilter {
|
|
|
843
924
|
types: TransferType[];
|
|
844
925
|
/** defaults to mainnet when no network is provided. */
|
|
845
926
|
network: Network;
|
|
927
|
+
statuses: TransferStatus[];
|
|
846
928
|
}
|
|
847
929
|
declare const TransferFilter: MessageFns<TransferFilter>;
|
|
848
930
|
interface QueryTransfersResponse {
|
|
@@ -879,20 +961,6 @@ interface ClaimTransferSignRefundsResponse {
|
|
|
879
961
|
signingResults: LeafRefundTxSigningResult[];
|
|
880
962
|
}
|
|
881
963
|
declare const ClaimTransferSignRefundsResponse: MessageFns<ClaimTransferSignRefundsResponse>;
|
|
882
|
-
interface AggregateNodesRequest {
|
|
883
|
-
nodeIds: string[];
|
|
884
|
-
signingJob: SigningJob | undefined;
|
|
885
|
-
/** Serves as a temporary identity public key, this should be get from auth process. */
|
|
886
|
-
ownerIdentityPublicKey: Uint8Array;
|
|
887
|
-
}
|
|
888
|
-
declare const AggregateNodesRequest: MessageFns<AggregateNodesRequest>;
|
|
889
|
-
interface AggregateNodesResponse {
|
|
890
|
-
aggregateSignature: SigningResult | undefined;
|
|
891
|
-
verifyingKey: Uint8Array;
|
|
892
|
-
parentNodeTx: Uint8Array;
|
|
893
|
-
parentNodeVout: number;
|
|
894
|
-
}
|
|
895
|
-
declare const AggregateNodesResponse: MessageFns<AggregateNodesResponse>;
|
|
896
964
|
interface StorePreimageShareRequest {
|
|
897
965
|
paymentHash: Uint8Array;
|
|
898
966
|
preimageShare: SecretShare | undefined;
|
|
@@ -983,6 +1051,8 @@ interface CounterLeafSwapRequest {
|
|
|
983
1051
|
transfer: StartTransferRequest | undefined;
|
|
984
1052
|
swapId: string;
|
|
985
1053
|
adaptorPublicKey: Uint8Array;
|
|
1054
|
+
directAdaptorPublicKey: Uint8Array;
|
|
1055
|
+
directFromCpfpAdaptorPublicKey: Uint8Array;
|
|
986
1056
|
}
|
|
987
1057
|
declare const CounterLeafSwapRequest: MessageFns<CounterLeafSwapRequest>;
|
|
988
1058
|
interface CounterLeafSwapResponse {
|
|
@@ -1011,6 +1081,9 @@ interface ExtendLeafRequest {
|
|
|
1011
1081
|
ownerIdentityPublicKey: Uint8Array;
|
|
1012
1082
|
nodeTxSigningJob: SigningJob | undefined;
|
|
1013
1083
|
refundTxSigningJob: SigningJob | undefined;
|
|
1084
|
+
directNodeTxSigningJob: SigningJob | undefined;
|
|
1085
|
+
directRefundTxSigningJob: SigningJob | undefined;
|
|
1086
|
+
directFromCpfpRefundTxSigningJob: SigningJob | undefined;
|
|
1014
1087
|
}
|
|
1015
1088
|
declare const ExtendLeafRequest: MessageFns<ExtendLeafRequest>;
|
|
1016
1089
|
interface ExtendLeafSigningResult {
|
|
@@ -1022,6 +1095,9 @@ interface ExtendLeafResponse {
|
|
|
1022
1095
|
leafId: string;
|
|
1023
1096
|
nodeTxSigningResult: ExtendLeafSigningResult | undefined;
|
|
1024
1097
|
refundTxSigningResult: ExtendLeafSigningResult | undefined;
|
|
1098
|
+
directNodeTxSigningResult: ExtendLeafSigningResult | undefined;
|
|
1099
|
+
directRefundTxSigningResult: ExtendLeafSigningResult | undefined;
|
|
1100
|
+
directFromCpfpRefundTxSigningResult: ExtendLeafSigningResult | undefined;
|
|
1025
1101
|
}
|
|
1026
1102
|
declare const ExtendLeafResponse: MessageFns<ExtendLeafResponse>;
|
|
1027
1103
|
interface AddressRequestNode {
|
|
@@ -1055,12 +1131,18 @@ interface PrepareTreeAddressResponse {
|
|
|
1055
1131
|
}
|
|
1056
1132
|
declare const PrepareTreeAddressResponse: MessageFns<PrepareTreeAddressResponse>;
|
|
1057
1133
|
interface CreationNode {
|
|
1058
|
-
/** This is the tx that spends the parent node's output. */
|
|
1134
|
+
/** This is the cpfp tx that spends the parent node's output. */
|
|
1059
1135
|
nodeTxSigningJob: SigningJob | undefined;
|
|
1060
1136
|
/** The refund tx can only exist if there's no children. */
|
|
1061
1137
|
refundTxSigningJob: SigningJob | undefined;
|
|
1062
1138
|
/** The children will spend the output of the node's tx. Vout is the index of the child. */
|
|
1063
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;
|
|
1064
1146
|
}
|
|
1065
1147
|
declare const CreationNode: MessageFns<CreationNode>;
|
|
1066
1148
|
interface CreateTreeRequest {
|
|
@@ -1082,6 +1164,9 @@ interface CreationResponseNode {
|
|
|
1082
1164
|
nodeTxSigningResult: SigningResult | undefined;
|
|
1083
1165
|
refundTxSigningResult: SigningResult | undefined;
|
|
1084
1166
|
children: CreationResponseNode[];
|
|
1167
|
+
directNodeTxSigningResult: SigningResult | undefined;
|
|
1168
|
+
directRefundTxSigningResult: SigningResult | undefined;
|
|
1169
|
+
directFromCpfpRefundTxSigningResult: SigningResult | undefined;
|
|
1085
1170
|
}
|
|
1086
1171
|
declare const CreationResponseNode: MessageFns<CreationResponseNode>;
|
|
1087
1172
|
interface CreateTreeResponse {
|
|
@@ -1178,6 +1263,10 @@ interface QueryUnusedDepositAddressesRequest {
|
|
|
1178
1263
|
identityPublicKey: Uint8Array;
|
|
1179
1264
|
/** defaults to mainnet when no network is provided. */
|
|
1180
1265
|
network: Network;
|
|
1266
|
+
/** defaults to 100 if not set. */
|
|
1267
|
+
limit: number;
|
|
1268
|
+
/** defaults to 0 if not set. */
|
|
1269
|
+
offset: number;
|
|
1181
1270
|
}
|
|
1182
1271
|
declare const QueryUnusedDepositAddressesRequest: MessageFns<QueryUnusedDepositAddressesRequest>;
|
|
1183
1272
|
interface QueryStaticDepositAddressesRequest {
|
|
@@ -1197,6 +1286,8 @@ interface DepositAddressQueryResult {
|
|
|
1197
1286
|
declare const DepositAddressQueryResult: MessageFns<DepositAddressQueryResult>;
|
|
1198
1287
|
interface QueryUnusedDepositAddressesResponse {
|
|
1199
1288
|
depositAddresses: DepositAddressQueryResult[];
|
|
1289
|
+
/** defaults to -1 if there are no more results */
|
|
1290
|
+
offset: number;
|
|
1200
1291
|
}
|
|
1201
1292
|
declare const QueryUnusedDepositAddressesResponse: MessageFns<QueryUnusedDepositAddressesResponse>;
|
|
1202
1293
|
interface QueryStaticDepositAddressesResponse {
|
|
@@ -1374,6 +1465,11 @@ declare const SparkServiceDefinition: {
|
|
|
1374
1465
|
readonly responseStream: false;
|
|
1375
1466
|
readonly options: {};
|
|
1376
1467
|
};
|
|
1468
|
+
/**
|
|
1469
|
+
* This is deprecated, please use finalize_transfer_with_transfer_package instead.
|
|
1470
|
+
*
|
|
1471
|
+
* @deprecated
|
|
1472
|
+
*/
|
|
1377
1473
|
readonly finalize_transfer: {
|
|
1378
1474
|
readonly name: "finalize_transfer";
|
|
1379
1475
|
readonly requestType: MessageFns<FinalizeTransferRequest>;
|
|
@@ -1430,14 +1526,6 @@ declare const SparkServiceDefinition: {
|
|
|
1430
1526
|
readonly responseStream: false;
|
|
1431
1527
|
readonly options: {};
|
|
1432
1528
|
};
|
|
1433
|
-
readonly aggregate_nodes: {
|
|
1434
|
-
readonly name: "aggregate_nodes";
|
|
1435
|
-
readonly requestType: MessageFns<AggregateNodesRequest>;
|
|
1436
|
-
readonly requestStream: false;
|
|
1437
|
-
readonly responseType: MessageFns<AggregateNodesResponse>;
|
|
1438
|
-
readonly responseStream: false;
|
|
1439
|
-
readonly options: {};
|
|
1440
|
-
};
|
|
1441
1529
|
readonly store_preimage_share: {
|
|
1442
1530
|
readonly name: "store_preimage_share";
|
|
1443
1531
|
readonly requestType: MessageFns<StorePreimageShareRequest>;
|
|
@@ -1706,6 +1794,11 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
1706
1794
|
start_tree_creation(request: StartTreeCreationRequest, context: CallContext & CallContextExt): Promise<DeepPartial<StartTreeCreationResponse>>;
|
|
1707
1795
|
finalize_node_signatures(request: FinalizeNodeSignaturesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<FinalizeNodeSignaturesResponse>>;
|
|
1708
1796
|
start_transfer(request: StartTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<StartTransferResponse>>;
|
|
1797
|
+
/**
|
|
1798
|
+
* This is deprecated, please use finalize_transfer_with_transfer_package instead.
|
|
1799
|
+
*
|
|
1800
|
+
* @deprecated
|
|
1801
|
+
*/
|
|
1709
1802
|
finalize_transfer(request: FinalizeTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<FinalizeTransferResponse>>;
|
|
1710
1803
|
finalize_transfer_with_transfer_package(request: FinalizeTransferWithTransferPackageRequest, context: CallContext & CallContextExt): Promise<DeepPartial<FinalizeTransferResponse>>;
|
|
1711
1804
|
cancel_transfer(request: CancelTransferRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CancelTransferResponse>>;
|
|
@@ -1713,7 +1806,6 @@ interface SparkServiceImplementation<CallContextExt = {}> {
|
|
|
1713
1806
|
query_all_transfers(request: TransferFilter, context: CallContext & CallContextExt): Promise<DeepPartial<QueryTransfersResponse>>;
|
|
1714
1807
|
claim_transfer_tweak_keys(request: ClaimTransferTweakKeysRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
1715
1808
|
claim_transfer_sign_refunds(request: ClaimTransferSignRefundsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<ClaimTransferSignRefundsResponse>>;
|
|
1716
|
-
aggregate_nodes(request: AggregateNodesRequest, context: CallContext & CallContextExt): Promise<DeepPartial<AggregateNodesResponse>>;
|
|
1717
1809
|
store_preimage_share(request: StorePreimageShareRequest, context: CallContext & CallContextExt): Promise<DeepPartial<Empty>>;
|
|
1718
1810
|
get_signing_commitments(request: GetSigningCommitmentsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetSigningCommitmentsResponse>>;
|
|
1719
1811
|
cooperative_exit(request: CooperativeExitRequest, context: CallContext & CallContextExt): Promise<DeepPartial<CooperativeExitResponse>>;
|
|
@@ -1771,6 +1863,11 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
1771
1863
|
start_tree_creation(request: DeepPartial<StartTreeCreationRequest>, options?: CallOptions & CallOptionsExt): Promise<StartTreeCreationResponse>;
|
|
1772
1864
|
finalize_node_signatures(request: DeepPartial<FinalizeNodeSignaturesRequest>, options?: CallOptions & CallOptionsExt): Promise<FinalizeNodeSignaturesResponse>;
|
|
1773
1865
|
start_transfer(request: DeepPartial<StartTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<StartTransferResponse>;
|
|
1866
|
+
/**
|
|
1867
|
+
* This is deprecated, please use finalize_transfer_with_transfer_package instead.
|
|
1868
|
+
*
|
|
1869
|
+
* @deprecated
|
|
1870
|
+
*/
|
|
1774
1871
|
finalize_transfer(request: DeepPartial<FinalizeTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<FinalizeTransferResponse>;
|
|
1775
1872
|
finalize_transfer_with_transfer_package(request: DeepPartial<FinalizeTransferWithTransferPackageRequest>, options?: CallOptions & CallOptionsExt): Promise<FinalizeTransferResponse>;
|
|
1776
1873
|
cancel_transfer(request: DeepPartial<CancelTransferRequest>, options?: CallOptions & CallOptionsExt): Promise<CancelTransferResponse>;
|
|
@@ -1778,7 +1875,6 @@ interface SparkServiceClient<CallOptionsExt = {}> {
|
|
|
1778
1875
|
query_all_transfers(request: DeepPartial<TransferFilter>, options?: CallOptions & CallOptionsExt): Promise<QueryTransfersResponse>;
|
|
1779
1876
|
claim_transfer_tweak_keys(request: DeepPartial<ClaimTransferTweakKeysRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
1780
1877
|
claim_transfer_sign_refunds(request: DeepPartial<ClaimTransferSignRefundsRequest>, options?: CallOptions & CallOptionsExt): Promise<ClaimTransferSignRefundsResponse>;
|
|
1781
|
-
aggregate_nodes(request: DeepPartial<AggregateNodesRequest>, options?: CallOptions & CallOptionsExt): Promise<AggregateNodesResponse>;
|
|
1782
1878
|
store_preimage_share(request: DeepPartial<StorePreimageShareRequest>, options?: CallOptions & CallOptionsExt): Promise<Empty>;
|
|
1783
1879
|
get_signing_commitments(request: DeepPartial<GetSigningCommitmentsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetSigningCommitmentsResponse>;
|
|
1784
1880
|
cooperative_exit(request: DeepPartial<CooperativeExitRequest>, options?: CallOptions & CallOptionsExt): Promise<CooperativeExitResponse>;
|
|
@@ -1850,8 +1946,6 @@ interface MessageFns<T> {
|
|
|
1850
1946
|
declare const spark_Address: typeof Address;
|
|
1851
1947
|
declare const spark_AddressNode: typeof AddressNode;
|
|
1852
1948
|
declare const spark_AddressRequestNode: typeof AddressRequestNode;
|
|
1853
|
-
declare const spark_AggregateNodesRequest: typeof AggregateNodesRequest;
|
|
1854
|
-
declare const spark_AggregateNodesResponse: typeof AggregateNodesResponse;
|
|
1855
1949
|
declare const spark_BitcoinTransactionOutput: typeof BitcoinTransactionOutput;
|
|
1856
1950
|
declare const spark_CancelTransferRequest: typeof CancelTransferRequest;
|
|
1857
1951
|
declare const spark_CancelTransferResponse: typeof CancelTransferResponse;
|
|
@@ -1966,6 +2060,7 @@ declare const spark_SigningCommitments: typeof SigningCommitments;
|
|
|
1966
2060
|
declare const spark_SigningCommitments_SigningCommitmentsEntry: typeof SigningCommitments_SigningCommitmentsEntry;
|
|
1967
2061
|
declare const spark_SigningJob: typeof SigningJob;
|
|
1968
2062
|
declare const spark_SigningKeyshare: typeof SigningKeyshare;
|
|
2063
|
+
declare const spark_SigningKeyshare_PublicSharesEntry: typeof SigningKeyshare_PublicSharesEntry;
|
|
1969
2064
|
declare const spark_SigningOperatorInfo: typeof SigningOperatorInfo;
|
|
1970
2065
|
declare const spark_SigningResult: typeof SigningResult;
|
|
1971
2066
|
declare const spark_SigningResult_PublicKeysEntry: typeof SigningResult_PublicKeysEntry;
|
|
@@ -1988,6 +2083,7 @@ declare const spark_StartUserSignedTransferRequest: typeof StartUserSignedTransf
|
|
|
1988
2083
|
declare const spark_StorePreimageShareRequest: typeof StorePreimageShareRequest;
|
|
1989
2084
|
declare const spark_SubscribeToEventsRequest: typeof SubscribeToEventsRequest;
|
|
1990
2085
|
declare const spark_SubscribeToEventsResponse: typeof SubscribeToEventsResponse;
|
|
2086
|
+
declare const spark_TokenCreateInput: typeof TokenCreateInput;
|
|
1991
2087
|
declare const spark_TokenMintInput: typeof TokenMintInput;
|
|
1992
2088
|
declare const spark_TokenOutput: typeof TokenOutput;
|
|
1993
2089
|
declare const spark_TokenOutputToSpend: typeof TokenOutputToSpend;
|
|
@@ -2029,7 +2125,7 @@ declare const spark_transferTypeToJSON: typeof transferTypeToJSON;
|
|
|
2029
2125
|
declare const spark_utxoSwapRequestTypeFromJSON: typeof utxoSwapRequestTypeFromJSON;
|
|
2030
2126
|
declare const spark_utxoSwapRequestTypeToJSON: typeof utxoSwapRequestTypeToJSON;
|
|
2031
2127
|
declare namespace spark {
|
|
2032
|
-
export { spark_Address as Address, spark_AddressNode as AddressNode, spark_AddressRequestNode as AddressRequestNode, spark_AggregateNodesRequest as AggregateNodesRequest, spark_AggregateNodesResponse as AggregateNodesResponse, 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_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 };
|
|
2033
2129
|
}
|
|
2034
2130
|
|
|
2035
|
-
export {
|
|
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, 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, 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, TransferType 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, 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 };
|