Expand description
The core for Spark proto types and service definitions. This module contains spark.proto
and spark_tree.proto
files.
Modules§
- create_
tree_ request - Nested message and enum types in
CreateTreeRequest
. - initiate_
preimage_ swap_ request - Nested message and enum types in
InitiatePreimageSwapRequest
. - prepare_
tree_ address_ request - Nested message and enum types in
PrepareTreeAddressRequest
. - query_
nodes_ request - Nested message and enum types in
QueryNodesRequest
. - spark_
service_ client - Generated client implementations.
- spark_
tree_ service_ client - Generated client implementations.
- subscribe_
to_ events_ response - Nested message and enum types in
SubscribeToEventsResponse
. - token_
transaction - Nested message and enum types in
TokenTransaction
. - transfer_
filter - Nested message and enum types in
TransferFilter
.
Structs§
- Address
- Address
Node - Address
Request Node - Aggregate
Nodes Request - Aggregate
Nodes Response - Cancel
Signed Token Transaction Request - Cancel
Transfer Request - Cancel
Transfer Response - Claim
Leaf KeyTweak - Claim
Transfer Sign Refunds Request - Claim
Transfer Sign Refunds Response - Claim
Transfer Tweak Keys Request - Connected
Event - Cooperative
Exit Request - Cooperative
Exit Response - Counter
Leaf Swap Request - Counter
Leaf Swap Response - Create
Tree Request - Create
Tree Response - Creation
Node - Creation
Response Node - Deposit
Address Proof - Deposit
Address Query Result - Deposit
Event - Extend
Leaf Request - Extend
Leaf Response - Extend
Leaf Signing Result - Fetch
Polarity Score Request - Finalize
Node Signatures Request - Finalize
Node Signatures Response - Finalize
Token Transaction Request - Finalize
Transfer Request - Finalize
Transfer Response - Freeze
Tokens Payload - Freeze
Tokens Request - Freeze
Tokens Response - Generate
Deposit Address Request - Generate
Deposit Address Response - GetLeaf
Denomination Counts Request - GetLeaf
Denomination Counts Response - GetSigning
Commitments Request - GetSigning
Commitments Response - GetSigning
Operator List Response - Initiate
Preimage Swap Request - Initiate
Preimage Swap Response - Invoice
Amount - Invoice
Amount Proof - Keyshare
With Index - Leaf
Refund TxSigning Job - Leaf
Refund TxSigning Result - Node
Output - Node
Signature Shares - Node
Signatures - Operator
Specific Owner Signature - This message allows the sender of a output being spent to provide final evidence that it owns a output to an SO when requesting signing and release of the revocation keyshare.
- Operator
Specific Token Transaction Signable Payload - OutPoint
- Output
With Previous Transaction Data - Polarity
Score - Prepare
Tree Address Request - Prepare
Tree Address Response - Propose
Tree - Propose
Tree Denominations Request - Propose
Tree Denominations Response - Provide
Preimage Request - Provide
Preimage Response - Query
Balance Request - Query
Balance Response - Query
Nodes Request - Query
Nodes Response - Query
Token Outputs Request - Query
Token Outputs Response - Query
Token Transactions Request - Request constraints are combined using an AND relation.
- Query
Token Transactions Response - Query
Transfers Response - Query
Unused Deposit Addresses Request - Query
Unused Deposit Addresses Response - Query
User Signed Refunds Request - Query
User Signed Refunds Response - Refresh
Timelock Request - Refresh
Timelock Response - Refresh
Timelock Signing Result - Requested
Signing Commitments - Return
Lightning Payment Request - Revocation
Secret With Index - Secret
Proof - Secret
Share - Send
Leaf KeyTweak - Sign
Token Transaction Request - Sign
Token Transaction Response - Signature
With Index - Signing
Commitments - Signing
Job - Signing
Keyshare - Signing
Operator Info - Signing
Result - Spark
Address - Start
Deposit Tree Creation Request - Start
Deposit Tree Creation Response - Start
Token Transaction Request - Start
Token Transaction Response - Start
Transfer Request - Start
Transfer Response - Start
Tree Creation Request - Start
Tree Creation Response - Start
User Signed Transfer Request - Store
Preimage Share Request - Subscribe
ToEvents Request - Subscribe
ToEvents Response - Token
Mint Input - Token
Output - This proto is constructed by the wallet to specify outputs it wants to create as part of a token transaction. Output id and revocation public key should remain unfilled so that the SE can fill them as part of the StartTokenTransaction() call.
- Token
Output ToSpend - This proto is constructed by the wallet to specify leaves it wants to spend as part of the token transaction.
- Token
Transaction - This proto is constructed by the wallet and is the core transaction data structure. This proto is deterministically hashed to generate the token_transaction_hash that is cooperatively signed by the SO group to confirm a token transaction.
- Token
Transaction Signatures - Token
Transaction With Status - Token
Transfer Input - Transfer
- Transfer
Event - Transfer
Filter - Transfer
Leaf - Tree
Node - Tree
Node Ids - User
Signed Refund - User
Signed TxSigning Job - Utxo