package lnrpc

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

service Lightning

rpc.proto:191

Lightning is the main RPC server of the daemon.

service WalletUnlocker

rpc.proto:28

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

rpc.proto:1071

`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

rpc.proto:1687

Used in: GetInfoResponse

message ChanBackupSnapshot

rpc.proto:3465

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

rpc.proto:1904

Used in: FundingShim

message Channel

rpc.proto:1194

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

rpc.proto:3433

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

rpc.proto:3479

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

rpc.proto:1371

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

rpc.proto:1399

Used in: ChannelCloseSummary

message ChannelCloseUpdate

rpc.proto:1706

Used in: CloseStatusUpdate

message ChannelConstraints

rpc.proto:1170

Used in: Channel

message ChannelEdge

rpc.proto:2600

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

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

rpc.proto:2244

Used in: ChannelEventUpdate

message ChannelFeeReport

rpc.proto:3292

Used in: FeeReportResponse

message ChannelOpenUpdate

rpc.proto:1702

Used in: OpenStatusUpdate

message ChannelPoint

rpc.proto:947

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

rpc.proto:3620

Used in: Failure

message ClosedChannelUpdate

rpc.proto:2736

Used in: GraphTopologyUpdate

enum CommitmentType

rpc.proto:1142

Used in: Channel, PendingChannelsResponse.PendingChannel

message ConfirmationUpdate

rpc.proto:1695

message EdgeLocator

rpc.proto:2400

Used in: QueryRoutesRequest

message Failure

rpc.proto:3540

Used in: HTLCAttempt

enum Failure.FailureCode

rpc.proto:3541

Used in: Failure

message Feature

rpc.proto:3284

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

enum FeatureBit

rpc.proto:3264

Used in: QueryRoutesRequest, SendRequest

message FeeLimit

rpc.proto:743

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

rpc.proto:2659

Used in: NodeMetricsResponse

message ForwardingEvent

rpc.proto:3380

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

rpc.proto:1996

Used in: FundingTransitionMsg

message FundingPsbtVerify

rpc.proto:1984

Used in: FundingTransitionMsg

message FundingShim

rpc.proto:1963

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

rpc.proto:1979

Used in: FundingTransitionMsg

message GetTransactionsRequest

rpc.proto:721

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

message HTLC

rpc.proto:1135

Used in: Channel

message HTLCAttempt

rpc.proto:3146

Used in: Payment

enum HTLCAttempt.HTLCStatus

rpc.proto:3147

Used in: HTLCAttempt

message Hop

rpc.proto:2427

Used in: Route

message HopHint

rpc.proto:2748

Used in: RouteHint

enum Initiator

rpc.proto:1364

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message Invoice

rpc.proto:2776

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

Used in: Invoice

message InvoiceHTLC

rpc.proto:2927

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

rpc.proto:2920

Used in: InvoiceHTLC

message KeyDescriptor

rpc.proto:1892

Used in: ChanPointShim

message KeyLocator

rpc.proto:1884

Used in: KeyDescriptor

message LightningAddress

rpc.proto:977

Used in: ConnectPeerRequest

message LightningNode

rpc.proto:2569

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

Used in: Hop

message MacaroonId

rpc.proto:3703

message MacaroonPermission

rpc.proto:3509

Used in: BakeMacaroonRequest, MacaroonPermissionList

message MacaroonPermissionList

rpc.proto:3525

Used in: ListPermissionsResponse

message MultiChanBackup

rpc.proto:3448

Used in: ChanBackupSnapshot

message NodeAddress

rpc.proto:2578

Used in: LightningNode

enum NodeMetricType

rpc.proto:2638

Used in: NodeMetricsRequest

message NodePair

rpc.proto:2386

Used in: QueryRoutesRequest

message NodeUpdate

rpc.proto:2712

Used in: GraphTopologyUpdate

message Op

rpc.proto:3709

Used in: MacaroonId

message OpenChannelRequest

rpc.proto:1775

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

message OutPoint

rpc.proto:966

Used in: Resolution, Utxo

message Payment

rpc.proto:3087

Used in: ListPaymentsResponse

enum Payment.PaymentStatus

rpc.proto:3114

Used in: Payment

enum PaymentFailureReason

rpc.proto:3053

Used in: Payment

message Peer

rpc.proto:1514

Used in: ListPeersResponse

enum Peer.SyncType

rpc.proto:1539

Used in: Peer

enum PeerEvent.EventType

rpc.proto:1600

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

rpc.proto:2170

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

rpc.proto:2141

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

rpc.proto:2178

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

rpc.proto:2203

Used in: ForceClosedChannel

message PendingChannelsResponse.PendingChannel

rpc.proto:2074

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

rpc.proto:2100

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

rpc.proto:2127

Used in: PendingChannelsResponse

message PendingHTLC

rpc.proto:2047

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

rpc.proto:1748

Used in: ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PsbtShim

rpc.proto:1938

Used in: FundingShim

message ReadyForPsbtFunding

rpc.proto:1753

Used in: OpenStatusUpdate

message Resolution

rpc.proto:1483

Used in: ChannelCloseSummary

enum ResolutionOutcome

rpc.proto:1454

Used in: Resolution

enum ResolutionType

rpc.proto:1430

Used in: Resolution

message Route

rpc.proto:2495

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

message RouteHint

rpc.proto:2768

Used in: Invoice, PayReq, QueryRoutesRequest

message RoutingPolicy

rpc.proto:2583

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

rpc.proto:764

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

message SendResponse

rpc.proto:864

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

message SendToRouteRequest

rpc.proto:871

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

message TimestampedError

rpc.proto:1572

Used in: Peer

message Transaction

rpc.proto:690

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message Utxo

rpc.proto:670

Used in: ListUnspentResponse