Module msgs

Module msgs 

Source
Expand description

Message, request, and other primitive types used to implement LSPS1.

Structs§

Bolt11PaymentInfo
A Lightning payment using BOLT 11.
ChannelInfo
Details regarding the state of an ordered channel.
CreateOrderRequest
A request made to an LSP to create an order.
CreateOrderResponse
A response to a CreateOrderRequest.
GetInfoRequest
A request made to an LSP to retrieve the supported options.
GetInfoResponse
A response to a GetInfoRequest.
GetOrderRequest
A request made to an LSP to retrieve information about an previously made order.
LSPS1Options
An object representing the supported protocol options.
OnchainPayment
Details regarding a detected on-chain payment.
OnchainPaymentInfo
An onchain payment.
OrderId
The identifier of an order.
OrderParameters
An object representing an LSPS1 channel order.
PaymentInfo
Details regarding how to pay for an order.

Enums§

LSPS1Message
An enum that captures all valid JSON-RPC messages in the LSPS1 protocol.
LSPS1Request
An enum that captures all the valid JSON-RPC requests in the LSPS1 protocol.
LSPS1Response
An enum that captures all the valid JSON-RPC responses in the LSPS1 protocol.
OrderState
An object representing the state of an order.
PaymentState
The state of a payment.