package lnrpc

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

service Lightning

lightning.proto:27

Lightning is the main RPC server of the daemon.

message AMP

lightning.proto:3881

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPInvoiceState

lightning.proto:3627

Used in: Invoice

message AMPRecord

lightning.proto:3241

Used in: Hop

enum AddressType

lightning.proto:1240

`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) - `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 4)

Used in: NewAddressRequest, Utxo

message AliasMap

lightning.proto:1618

Used in: ListAliasesResponse

message Amount

lightning.proto:2936

Used in: ChannelBalanceResponse

message BatchOpenChannel

lightning.proto:2145

Used in: BatchOpenChannelRequest

message BlindedHop

lightning.proto:3619

Used in: BlindedPath

message BlindedPath

lightning.proto:3604

Used in: BlindedPaymentPath

message BlindedPaymentPath

lightning.proto:3569

Used in: QueryRoutesRequest

message Chain

lightning.proto:2010

Used in: GetInfoResponse

message ChanBackupSnapshot

lightning.proto:4552

Used as request type in: Lightning.VerifyChanBackup

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

message ChanPointShim

lightning.proto:2479

Used in: FundingShim

message Channel

lightning.proto:1418

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

lightning.proto:4520

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

lightning.proto:4566

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

lightning.proto:1641

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

lightning.proto:1669

Used in: ChannelCloseSummary

message ChannelCloseUpdate

lightning.proto:2030

Used in: CloseStatusUpdate

message ChannelConstraints

lightning.proto:1394

Used in: Channel

message ChannelEdge

lightning.proto:3370

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:3508

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

lightning.proto:2884

Used in: ChannelEventUpdate

message ChannelFeeReport

lightning.proto:4329

Used in: FeeReportResponse

message ChannelOpenUpdate

lightning.proto:2026

Used in: OpenStatusUpdate

message ChannelPoint

lightning.proto:1047

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:4734

Used in: Failure

message ClosedChannelUpdate

lightning.proto:3525

Used in: GraphTopologyUpdate

enum CoinSelectionStrategy

lightning.proto:1095

Used in: BatchOpenChannelRequest, EstimateFeeRequest, SendCoinsRequest, SendManyRequest

enum CommitmentType

lightning.proto:1350

Used in: BatchOpenChannel, Channel, ChannelAcceptRequest, OpenChannelRequest, PendingChannelsResponse.PendingChannel

message ConfirmationUpdate

lightning.proto:2019

message EdgeLocator

lightning.proto:3113

Used in: QueryRoutesRequest

message FailedUpdate

lightning.proto:4418

Used in: PolicyUpdateResponse

message Failure

lightning.proto:4652

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

lightning.proto:4653

Used in: Failure, routerrpc.ForwardHtlcInterceptResponse, routerrpc.LinkFailEvent

message Feature

lightning.proto:4321

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

enum FeatureBit

lightning.proto:4291

Used in: BlindedPaymentPath, QueryRoutesRequest, SendRequest, routerrpc.SendPaymentRequest

message FeeLimit

lightning.proto:766

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

lightning.proto:3432

Used in: NodeMetricsResponse

message ForwardingEvent

lightning.proto:4457

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

lightning.proto:2590

Used in: FundingTransitionMsg

message FundingPsbtVerify

lightning.proto:2564

Used in: FundingTransitionMsg

message FundingShim

lightning.proto:2543

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

lightning.proto:2559

Used in: FundingTransitionMsg

message GetTransactionsRequest

lightning.proto:741

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

message HTLC

lightning.proto:1328

Used in: Channel

message HTLCAttempt

lightning.proto:4115

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

lightning.proto:4119

Used in: HTLCAttempt

message Hop

lightning.proto:3140

Used in: Route

message HopHint

lightning.proto:3537

Used in: RouteHint

enum Initiator

lightning.proto:1634

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message InstantUpdate

lightning.proto:2093

Used in: CloseStatusUpdate

(message has no fields)

message InterceptFeedback

lightning.proto:5025

Used in: RPCMiddlewareResponse

message Invoice

lightning.proto:3641

Used as request type in: Lightning.AddInvoice

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

Used as field type in: ListInvoiceResponse

enum Invoice.InvoiceState

lightning.proto:3780

Used in: Invoice

message InvoiceHTLC

lightning.proto:3845

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

lightning.proto:3838

Used in: AMPInvoiceState, InvoiceHTLC

message KeyDescriptor

lightning.proto:2467

Used in: ChanPointShim

message KeyLocator

lightning.proto:2459

Used in: KeyDescriptor

message LightningAddress

lightning.proto:1086

Used in: ConnectPeerRequest

message LightningNode

lightning.proto:3330

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:3222

Used in: Hop

message MacaroonId

lightning.proto:4817

message MacaroonPermission

lightning.proto:4596

Used in: BakeMacaroonRequest, CheckMacPermRequest, MacaroonPermissionList

message MacaroonPermissionList

lightning.proto:4637

Used in: ListPermissionsResponse

message MiddlewareRegistration

lightning.proto:4996

Used in: RPCMiddlewareResponse

message MultiChanBackup

lightning.proto:4535

Used in: ChanBackupSnapshot

message NodeAddress

lightning.proto:3342

Used in: LightningNode, NodeUpdate

enum NodeMetricType

lightning.proto:3411

Used in: NodeMetricsRequest

message NodePair

lightning.proto:3099

Used in: QueryRoutesRequest

message NodeUpdate

lightning.proto:3485

Used in: GraphTopologyUpdate

message Op

lightning.proto:4823

Used in: MacaroonId

message OpenChannelRequest

lightning.proto:2269

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

message OutPoint

lightning.proto:1066

Used in: FailedUpdate, OpenChannelRequest, Resolution, Utxo

message OutputDetail

lightning.proto:682

Used in: Transaction

enum OutputScriptType

lightning.proto:669

Used in: OutputDetail

message Payment

lightning.proto:4046

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

Used as field type in: ListPaymentsResponse

enum Payment.PaymentStatus

lightning.proto:4073

Used in: Payment

enum PaymentFailureReason

lightning.proto:4012

Used in: Payment

message Peer

lightning.proto:1793

Used in: ListPeersResponse

enum Peer.SyncType

lightning.proto:1818

Used in: Peer

enum PeerEvent.EventType

lightning.proto:1903

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

lightning.proto:2801

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

lightning.proto:2772

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

lightning.proto:2809

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

lightning.proto:2839

There are three resolution states for the anchor: limbo, lost and recovered. Derive the current state from the limbo and recovered balances.

Used in: ForceClosedChannel

message PendingChannelsResponse.PendingChannel

lightning.proto:2671

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

lightning.proto:2713

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

lightning.proto:2751

Used in: PendingChannelsResponse

message PendingHTLC

lightning.proto:2641

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

lightning.proto:2088

Used in: BatchOpenChannelResponse, ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PreviousOutPoint

lightning.proto:1077

Used in: Transaction

message PsbtShim

lightning.proto:2518

Used in: FundingShim

message RPCMessage

lightning.proto:4927

Used in: RPCMiddlewareRequest

message ReadyForPsbtFunding

lightning.proto:2096

Used in: OpenStatusUpdate

message Resolution

lightning.proto:1762

Used in: ChannelCloseSummary

enum ResolutionOutcome

lightning.proto:1733

Used in: Resolution

enum ResolutionType

lightning.proto:1709

Used in: Resolution

message Route

lightning.proto:3256

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:3561

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

message RoutingPolicy

lightning.proto:3347

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

lightning.proto:787

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

message SendResponse

lightning.proto:894

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

message SendToRouteRequest

lightning.proto:901

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

message SetID

lightning.proto:3557

message StreamAuth

lightning.proto:4918

Used in: RPCMiddlewareRequest

message TimestampedError

lightning.proto:1875

Used in: Peer

message Transaction

lightning.proto:702

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

enum UpdateFailure

lightning.proto:4410

Used in: FailedUpdate

message Utxo

lightning.proto:649

Used in: ListUnspentResponse

message WalletAccountBalance

lightning.proto:2896

Used in: WalletBalanceResponse