package lnrpc

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Lightning

lightning.proto:26

Lightning is the main RPC server of the daemon.

message AMP

lightning.proto:3059

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPRecord

lightning.proto:2548

Used in: Hop

enum AddressType

lightning.proto:1019

`AddressType` has to be one of: - `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0) - `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)

Used in: NewAddressRequest, Utxo

message Amount

lightning.proto:2292

Used in: ChannelBalanceResponse

message Chain

lightning.proto:1681

Used in: GetInfoResponse

message ChanBackupSnapshot

lightning.proto:3622

Used as request type in: Lightning.VerifyChanBackup

Used as response type in: Lightning.ExportAllChannelBackups, Lightning.SubscribeChannelBackups

message ChanPointShim

lightning.proto:1914

Used in: FundingShim

message Channel

lightning.proto:1169

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

lightning.proto:3590

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

lightning.proto:3636

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

lightning.proto:1346

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

lightning.proto:1374

Used in: ChannelCloseSummary

message ChannelCloseUpdate

lightning.proto:1700

Used in: CloseStatusUpdate

message ChannelConstraints

lightning.proto:1145

Used in: Channel

message ChannelEdge

lightning.proto:2668

A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an instance of ChannelEdgeInfo encapsulating the channels attributes is stored. The other portions relevant to routing policy of a channel are stored within a ChannelEdgePolicy for each direction of the channel.

Used as response type in: Lightning.GetChanInfo

Used as field type in: ChannelGraph, NodeInfo

message ChannelEdgeUpdate

lightning.proto:2803

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

lightning.proto:2255

Used in: ChannelEventUpdate

message ChannelFeeReport

lightning.proto:3445

Used in: FeeReportResponse

message ChannelOpenUpdate

lightning.proto:1696

Used in: OpenStatusUpdate

message ChannelPoint

lightning.proto:857

Used as response type in: Lightning.OpenChannelSync

Used as field type in: AbandonChannelRequest, ChanPointShim, ChannelBackup, ChannelEdgeUpdate, ChannelEventUpdate, ChannelOpenUpdate, CloseChannelRequest, ClosedChannelUpdate, ExportChannelBackupRequest, MultiChanBackup, PolicyUpdateRequest, routerrpc.UpdateChanStatusRequest

message ChannelUpdate

lightning.proto:3797

Used in: Failure

message ClosedChannelUpdate

lightning.proto:2820

Used in: GraphTopologyUpdate

enum CommitmentType

lightning.proto:1117

Used in: Channel, PendingChannelsResponse.PendingChannel

message ConfirmationUpdate

lightning.proto:1689

message EdgeLocator

lightning.proto:2450

Used in: QueryRoutesRequest

message Failure

lightning.proto:3716

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

lightning.proto:3717

Used in: Failure, routerrpc.LinkFailEvent

message Feature

lightning.proto:3437

Used in: GetInfoResponse, Invoice, LightningNode, NodeUpdate, PayReq, Peer

enum FeatureBit

lightning.proto:3409

Used in: QueryRoutesRequest, SendRequest, routerrpc.SendPaymentRequest

message FeeLimit

lightning.proto:596

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

lightning.proto:2727

Used in: NodeMetricsResponse

message ForwardingEvent

lightning.proto:3533

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

lightning.proto:2006

Used in: FundingTransitionMsg

message FundingPsbtVerify

lightning.proto:1994

Used in: FundingTransitionMsg

message FundingShim

lightning.proto:1973

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

lightning.proto:1989

Used in: FundingTransitionMsg

message GetTransactionsRequest

lightning.proto:571

Used as request type in: Lightning.GetTransactions, Lightning.SubscribeTransactions

message HTLC

lightning.proto:1095

Used in: Channel

message HTLCAttempt

lightning.proto:3274

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

lightning.proto:3278

Used in: HTLCAttempt

message Hop

lightning.proto:2477

Used in: Route

message HopHint

lightning.proto:2832

Used in: RouteHint

enum Initiator

lightning.proto:1339

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message Invoice

lightning.proto:2860

Used as request type in: Lightning.AddInvoice

Used as response type in: invoicesrpc.Invoices.SubscribeSingleInvoice, Lightning.LookupInvoice, Lightning.SubscribeInvoices

Used as field type in: ListInvoiceResponse

enum Invoice.InvoiceState

lightning.proto:2979

Used in: Invoice

message InvoiceHTLC

lightning.proto:3023

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

lightning.proto:3016

Used in: InvoiceHTLC

message KeyDescriptor

lightning.proto:1902

Used in: ChanPointShim

message KeyLocator

lightning.proto:1894

Used in: KeyDescriptor

message LightningAddress

lightning.proto:887

Used in: ConnectPeerRequest

message LightningNode

lightning.proto:2637

An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.

Used in: ChannelGraph, NodeInfo

message MPPRecord

lightning.proto:2530

Used in: Hop

message MacaroonId

lightning.proto:3880

message MacaroonPermission

lightning.proto:3666

Used in: BakeMacaroonRequest, MacaroonPermissionList

message MacaroonPermissionList

lightning.proto:3701

Used in: ListPermissionsResponse

message MultiChanBackup

lightning.proto:3605

Used in: ChanBackupSnapshot

message NodeAddress

lightning.proto:2646

Used in: LightningNode, NodeUpdate

enum NodeMetricType

lightning.proto:2706

Used in: NodeMetricsRequest

message NodePair

lightning.proto:2436

Used in: QueryRoutesRequest

message NodeUpdate

lightning.proto:2780

Used in: GraphTopologyUpdate

message Op

lightning.proto:3886

Used in: MacaroonId

message OpenChannelRequest

lightning.proto:1774

Used as request type in: Lightning.OpenChannel, Lightning.OpenChannelSync

message OutPoint

lightning.proto:876

Used in: Resolution, Utxo, walletrpc.BumpFeeRequest, walletrpc.LeaseOutputRequest, walletrpc.PendingSweep, walletrpc.ReleaseOutputRequest, walletrpc.TxTemplate, walletrpc.UtxoLease

message Payment

lightning.proto:3215

Used as response type in: routerrpc.Router.SendPaymentV2, routerrpc.Router.TrackPaymentV2

Used as field type in: ListPaymentsResponse

enum Payment.PaymentStatus

lightning.proto:3242

Used in: Payment

enum PaymentFailureReason

lightning.proto:3181

Used in: Payment

message Peer

lightning.proto:1489

Used in: ListPeersResponse

enum Peer.SyncType

lightning.proto:1514

Used in: Peer

enum PeerEvent.EventType

lightning.proto:1594

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

lightning.proto:2180

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

lightning.proto:2151

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

lightning.proto:2188

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

lightning.proto:2213

Used in: ForceClosedChannel

message PendingChannelsResponse.PendingChannel

lightning.proto:2084

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

lightning.proto:2110

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

lightning.proto:2137

Used in: PendingChannelsResponse

message PendingHTLC

lightning.proto:2057

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

lightning.proto:1747

Used in: ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PsbtShim

lightning.proto:1948

Used in: FundingShim

message ReadyForPsbtFunding

lightning.proto:1752

Used in: OpenStatusUpdate

message Resolution

lightning.proto:1458

Used in: ChannelCloseSummary

enum ResolutionOutcome

lightning.proto:1429

Used in: Resolution

enum ResolutionType

lightning.proto:1405

Used in: Resolution

message Route

lightning.proto:2563

A path through the channel graph which runs over one or more channels in succession. This struct carries all the information required to craft the Sphinx onion packet, and send the payment along the first hop in the path. A route is only selected as valid if all the channels have sufficient capacity to carry the initial payment amount after fees are accounted for.

Used in: HTLCAttempt, QueryRoutesResponse, SendResponse, SendToRouteRequest, routerrpc.BuildRouteResponse, routerrpc.SendToRouteRequest

message RouteHint

lightning.proto:2852

Used in: invoicesrpc.AddHoldInvoiceRequest, Invoice, PayReq, QueryRoutesRequest, routerrpc.SendPaymentRequest

message RoutingPolicy

lightning.proto:2651

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

lightning.proto:617

Used as request type in: Lightning.SendPayment, Lightning.SendPaymentSync

message SendResponse

lightning.proto:722

Used as response type in: Lightning.SendPayment, Lightning.SendPaymentSync, Lightning.SendToRoute, Lightning.SendToRouteSync

message SendToRouteRequest

lightning.proto:729

Used as request type in: Lightning.SendToRoute, Lightning.SendToRouteSync

message TimestampedError

lightning.proto:1566

Used in: Peer

message Transaction

lightning.proto:540

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message TransactionDetails

lightning.proto:591

Used as response type in: Lightning.GetTransactions

Used as field type in: walletrpc.ListSweepsResponse

message Utxo

lightning.proto:520

Used in: ListUnspentResponse, walletrpc.ListUnspentResponse

message WalletAccountBalance

lightning.proto:2267

Used in: WalletBalanceResponse