package lnrpc

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

service Lightning

lndrpc.proto:26

Lightning is the main RPC server of the daemon.

service WalletUnlocker

lndwalletunlocker.proto:29

WalletUnlocker is a service that is used to set up a wallet password for lnd at first startup, and unlock a previously set up wallet.

enum AddressType

lndrpc.proto:897

`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 Chain

lndrpc.proto:1513

Used in: GetInfoResponse

message ChanBackupSnapshot

lndrpc.proto:3276

Used as request type in: Lightning.VerifyChanBackup

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

Used as field type in: InitWalletRequest, UnlockWalletRequest

message ChanPointShim

lndrpc.proto:1724

Used in: FundingShim

message Channel

lndrpc.proto:1020

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

lndrpc.proto:3244

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

lndrpc.proto:3290

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

lndrpc.proto:1197

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

lndrpc.proto:1225

Used in: ChannelCloseSummary

message ChannelCloseUpdate

lndrpc.proto:1532

Used in: CloseStatusUpdate

message ChannelConstraints

lndrpc.proto:996

Used in: Channel

message ChannelEdge

lndrpc.proto:2413

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

lndrpc.proto:2532

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

lndrpc.proto:2057

Used in: ChannelEventUpdate

message ChannelFeeReport

lndrpc.proto:3103

Used in: FeeReportResponse

message ChannelOpenUpdate

lndrpc.proto:1528

Used in: OpenStatusUpdate

message ChannelPoint

lndrpc.proto:773

Used as response type in: Lightning.OpenChannelSync

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

message ChannelUpdate

lndrpc.proto:3416

Used in: Failure

message ClosedChannelUpdate

lndrpc.proto:2549

Used in: GraphTopologyUpdate

enum CommitmentType

lndrpc.proto:968

Used in: Channel, PendingChannelsResponse.PendingChannel

message ConfirmationUpdate

lndrpc.proto:1521

message EdgeLocator

lndrpc.proto:2213

Used in: QueryRoutesRequest

message Failure

lndrpc.proto:3336

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

lndrpc.proto:3337

Used in: Failure, routerrpc.LinkFailEvent

message Feature

lndrpc.proto:3095

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

enum FeatureBit

lndrpc.proto:3075

Used in: QueryRoutesRequest, SendRequest, routerrpc.SendPaymentRequest

message FeeLimit

lndrpc.proto:569

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

lndrpc.proto:2472

Used in: NodeMetricsResponse

message ForwardingEvent

lndrpc.proto:3191

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

lndrpc.proto:1816

Used in: FundingTransitionMsg

message FundingPsbtVerify

lndrpc.proto:1804

Used in: FundingTransitionMsg

message FundingShim

lndrpc.proto:1783

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

lndrpc.proto:1799

Used in: FundingTransitionMsg

message GetTransactionsRequest

lndrpc.proto:547

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

message HTLC

lndrpc.proto:961

Used in: Channel

message HTLCAttempt

lndrpc.proto:2959

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

lndrpc.proto:2960

Used in: HTLCAttempt

message Hop

lndrpc.proto:2240

Used in: Route

message HopHint

lndrpc.proto:2561

Used in: RouteHint

enum Initiator

lndrpc.proto:1190

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message Invoice

lndrpc.proto:2589

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

lndrpc.proto:2708

Used in: Invoice

message InvoiceHTLC

lndrpc.proto:2740

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

lndrpc.proto:2733

Used in: InvoiceHTLC

message KeyDescriptor

lndrpc.proto:1712

Used in: ChanPointShim

message KeyLocator

lndrpc.proto:1704

Used in: KeyDescriptor

message LightningAddress

lndrpc.proto:803

Used in: ConnectPeerRequest

message LightningNode

lndrpc.proto:2382

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

lndrpc.proto:2283

Used in: Hop

message MacaroonPermission

lndrpc.proto:3320

Used in: BakeMacaroonRequest

message MultiChanBackup

lndrpc.proto:3259

Used in: ChanBackupSnapshot

message NodeAddress

lndrpc.proto:2391

Used in: LightningNode

enum NodeMetricType

lndrpc.proto:2451

Used in: NodeMetricsRequest

message NodePair

lndrpc.proto:2199

Used in: QueryRoutesRequest

message NodeUpdate

lndrpc.proto:2525

Used in: GraphTopologyUpdate

message OpenChannelRequest

lndrpc.proto:1601

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

message OutPoint

lndrpc.proto:792

Used in: Resolution, Utxo

message Payment

lndrpc.proto:2900

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

Used as field type in: ListPaymentsResponse

enum Payment.PaymentStatus

lndrpc.proto:2927

Used in: Payment

enum PaymentFailureReason

lndrpc.proto:2866

Used in: Payment

message Peer

lndrpc.proto:1340

Used in: ListPeersResponse

enum Peer.SyncType

lndrpc.proto:1365

Used in: Peer

enum PeerEvent.EventType

lndrpc.proto:1426

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

lndrpc.proto:1983

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

lndrpc.proto:1954

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

lndrpc.proto:1991

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

lndrpc.proto:2016

Used in: ForceClosedChannel

message PendingChannelsResponse.PendingChannel

lndrpc.proto:1887

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

lndrpc.proto:1913

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

lndrpc.proto:1940

Used in: PendingChannelsResponse

message PendingHTLC

lndrpc.proto:1860

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

lndrpc.proto:1574

Used in: ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PsbtShim

lndrpc.proto:1758

Used in: FundingShim

message ReadyForPsbtFunding

lndrpc.proto:1579

Used in: OpenStatusUpdate

message Resolution

lndrpc.proto:1309

Used in: ChannelCloseSummary

enum ResolutionOutcome

lndrpc.proto:1280

Used in: Resolution

enum ResolutionType

lndrpc.proto:1256

Used in: Resolution

message Route

lndrpc.proto:2308

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

lndrpc.proto:2581

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

message RoutingPolicy

lndrpc.proto:2396

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

lndrpc.proto:590

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

message SendResponse

lndrpc.proto:690

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

message SendToRouteRequest

lndrpc.proto:697

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

message TimestampedError

lndrpc.proto:1398

Used in: Peer

message Transaction

lndrpc.proto:516

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message Utxo

lndrpc.proto:496

Used in: ListUnspentResponse