Expand description
Message, request, and other primitive types used to implement LSPS1.
Structs§
- Bolt11
Payment Info - A Lightning payment using BOLT 11.
- Channel
Info - Details regarding the state of an ordered channel.
- Create
Order Request - A request made to an LSP to create an order.
- Create
Order Response - A response to a
CreateOrderRequest
. - GetInfo
Request - A request made to an LSP to retrieve the supported options.
- GetInfo
Response - A response to a
GetInfoRequest
. - GetOrder
Request - A request made to an LSP to retrieve information about an previously made order.
- LSPS1
Options - An object representing the supported protocol options.
- Onchain
Payment - Details regarding a detected on-chain payment.
- Onchain
Payment Info - An onchain payment.
- OrderId
- The identifier of an order.
- Order
Parameters - An object representing an LSPS1 channel order.
- Payment
Info - Details regarding how to pay for an order.
Enums§
- LSPS1
Message - An enum that captures all valid JSON-RPC messages in the LSPS1 protocol.
- LSPS1
Request - An enum that captures all the valid JSON-RPC requests in the LSPS1 protocol.
- LSPS1
Response - An enum that captures all the valid JSON-RPC responses in the LSPS1 protocol.
- Order
State - An object representing the state of an order.
- Payment
State - The state of a payment.