package lnrpc

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

service Lightning

rpc.proto:26

Lightning is the main RPC server of the daemon.

message AMP

rpc.proto:3713

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPInvoiceState

rpc.proto:3460

Used in: Invoice

message AMPRecord

rpc.proto:3135

Used in: Hop

enum AddressType

rpc.proto:1210

`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

rpc.proto:1588

Used in: ListAliasesResponse

message Amount

rpc.proto:2869

Used in: ChannelBalanceResponse

message BatchOpenChannel

rpc.proto:2090

Used in: BatchOpenChannelRequest

message Chain

rpc.proto:1968

Used in: GetInfoResponse

message ChanBackupSnapshot

rpc.proto:4356

Used as request type in: Lightning.VerifyChanBackup

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

message ChanPointShim

rpc.proto:2424

Used in: FundingShim

message Channel

rpc.proto:1388

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

rpc.proto:4324

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

rpc.proto:4370

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

rpc.proto:1611

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

rpc.proto:1639

Used in: ChannelCloseSummary

message ChannelCloseUpdate

rpc.proto:1987

Used in: CloseStatusUpdate

message ChannelConstraints

rpc.proto:1364

Used in: Channel

message ChannelEdge

rpc.proto:3261

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

rpc.proto:3399

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

rpc.proto:2822

Used in: ChannelEventUpdate

message ChannelFeeReport

rpc.proto:4145

Used in: FeeReportResponse

message ChannelOpenUpdate

rpc.proto:1983

Used in: OpenStatusUpdate

message ChannelPoint

rpc.proto:1038

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

rpc.proto:4537

Used in: Failure

message ClosedChannelUpdate

rpc.proto:3416

Used in: GraphTopologyUpdate

enum CommitmentType

rpc.proto:1320

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

message ConfirmationUpdate

rpc.proto:1976

message EdgeLocator

rpc.proto:3034

Used in: QueryRoutesRequest

message FailedUpdate

rpc.proto:4222

Used in: PolicyUpdateResponse

message Failure

rpc.proto:4456

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

rpc.proto:4457

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

message Feature

rpc.proto:4137

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

enum FeatureBit

rpc.proto:4109

Used in: QueryRoutesRequest, SendRequest, routerrpc.SendPaymentRequest

message FeeLimit

rpc.proto:758

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

rpc.proto:3323

Used in: NodeMetricsResponse

message ForwardingEvent

rpc.proto:4261

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

rpc.proto:2535

Used in: FundingTransitionMsg

message FundingPsbtVerify

rpc.proto:2509

Used in: FundingTransitionMsg

message FundingShim

rpc.proto:2488

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

rpc.proto:2504

Used in: FundingTransitionMsg

message GetTransactionsRequest

rpc.proto:733

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

message HTLC

rpc.proto:1298

Used in: Channel

message HTLCAttempt

rpc.proto:3937

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

rpc.proto:3941

Used in: HTLCAttempt

message Hop

rpc.proto:3061

Used in: Route

message HopHint

rpc.proto:3428

Used in: RouteHint

enum Initiator

rpc.proto:1604

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message InterceptFeedback

rpc.proto:4828

Used in: RPCMiddlewareResponse

message Invoice

rpc.proto:3474

Used as request type in: Lightning.AddInvoice

Used as response type in: Lightning.LookupInvoice, Lightning.SubscribeInvoices

Used as field type in: ListInvoiceResponse

enum Invoice.InvoiceState

rpc.proto:3613

Used in: Invoice

message InvoiceHTLC

rpc.proto:3677

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

rpc.proto:3670

Used in: AMPInvoiceState, InvoiceHTLC

message KeyDescriptor

rpc.proto:2412

Used in: ChanPointShim

message KeyLocator

rpc.proto:2404

Used in: KeyDescriptor

message LightningAddress

rpc.proto:1077

Used in: ConnectPeerRequest

message LightningNode

rpc.proto:3224

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

rpc.proto:3117

Used in: Hop

message MacaroonId

rpc.proto:4620

message MacaroonPermission

rpc.proto:4400

Used in: BakeMacaroonRequest, CheckMacPermRequest, MacaroonPermissionList

message MacaroonPermissionList

rpc.proto:4441

Used in: ListPermissionsResponse

message MiddlewareRegistration

rpc.proto:4799

Used in: RPCMiddlewareResponse

message MultiChanBackup

rpc.proto:4339

Used in: ChanBackupSnapshot

message NodeAddress

rpc.proto:3236

Used in: LightningNode, NodeUpdate

enum NodeMetricType

rpc.proto:3302

Used in: NodeMetricsRequest

message NodePair

rpc.proto:3020

Used in: QueryRoutesRequest

message NodeUpdate

rpc.proto:3376

Used in: GraphTopologyUpdate

message Op

rpc.proto:4626

Used in: MacaroonId

message OpenChannelRequest

rpc.proto:2214

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

message OutPoint

rpc.proto:1057

Used in: FailedUpdate, OpenChannelRequest, Resolution, Utxo

message OutputDetail

rpc.proto:674

Used in: Transaction

enum OutputScriptType

rpc.proto:661

Used in: OutputDetail

message Payment

rpc.proto:3878

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

Used as field type in: ListPaymentsResponse

enum Payment.PaymentStatus

rpc.proto:3905

Used in: Payment

enum PaymentFailureReason

rpc.proto:3844

Used in: Payment

message Peer

rpc.proto:1763

Used in: ListPeersResponse

enum Peer.SyncType

rpc.proto:1788

Used in: Peer

enum PeerEvent.EventType

rpc.proto:1873

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

rpc.proto:2739

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

rpc.proto:2710

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

rpc.proto:2747

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

rpc.proto:2777

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

rpc.proto:2613

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

rpc.proto:2655

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

rpc.proto:2693

Used in: PendingChannelsResponse

message PendingHTLC

rpc.proto:2586

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

rpc.proto:2039

Used in: BatchOpenChannelResponse, ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PreviousOutPoint

rpc.proto:1068

Used in: Transaction

message PsbtShim

rpc.proto:2463

Used in: FundingShim

message RPCMessage

rpc.proto:4730

Used in: RPCMiddlewareRequest

message ReadyForPsbtFunding

rpc.proto:2044

Used in: OpenStatusUpdate

message Resolution

rpc.proto:1732

Used in: ChannelCloseSummary

enum ResolutionOutcome

rpc.proto:1703

Used in: Resolution

enum ResolutionType

rpc.proto:1679

Used in: Resolution

message Route

rpc.proto:3150

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

rpc.proto:3452

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

message RoutingPolicy

rpc.proto:3241

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

rpc.proto:779

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

message SendResponse

rpc.proto:885

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

message SendToRouteRequest

rpc.proto:892

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

message SetID

rpc.proto:3448

message StreamAuth

rpc.proto:4721

Used in: RPCMiddlewareRequest

message TimestampedError

rpc.proto:1845

Used in: Peer

message Transaction

rpc.proto:694

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

enum UpdateFailure

rpc.proto:4214

Used in: FailedUpdate

message Utxo

rpc.proto:641

Used in: ListUnspentResponse

message WalletAccountBalance

rpc.proto:2834

Used in: WalletBalanceResponse