package lnrpc

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

service Lightning

rpc.proto:211

service WalletUnlocker

rpc.proto:33

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

enum AddressType

rpc.proto:1014

* `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:1340

Used in: GetInfoResponse

message ChanBackupSnapshot

rpc.proto:2359

Used as request type in: Lightning.VerifyChanBackup

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

Used as field type in: InitWalletRequest, UnlockWalletRequest

message Channel

rpc.proto:1079

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

rpc.proto:2330

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

rpc.proto:2373

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

rpc.proto:1178

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

rpc.proto:1206

Used in: ChannelCloseSummary

message ChannelCloseUpdate

rpc.proto:1359

Used in: CloseStatusUpdate

message ChannelEdge

rpc.proto:1789

* 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:1874

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

rpc.proto:1569

Used in: ChannelEventUpdate

message ChannelFeeReport

rpc.proto:2230

Used in: FeeReportResponse

message ChannelOpenUpdate

rpc.proto:1355

Used in: OpenStatusUpdate

message ChannelPoint

rpc.proto:908

Used as response type in: Lightning.OpenChannelSync

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

message ClosedChannelUpdate

rpc.proto:1891

Used in: GraphTopologyUpdate

message ConfirmationUpdate

rpc.proto:1348

message EdgeLocator

rpc.proto:1639

Used in: QueryRoutesRequest

message FeeLimit

rpc.proto:828

Used in: QueryRoutesRequest, SendRequest

message ForwardingEvent

rpc.proto:2291

Used in: ForwardingHistoryResponse

message GetTransactionsRequest

rpc.proto:821

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

(message has no fields)

message HTLC

rpc.proto:1072

Used in: Channel

message Hop

rpc.proto:1656

Used in: Route

message HopHint

rpc.proto:1903

Used in: RouteHint

message Invoice

rpc.proto:1931

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

Used in: Invoice

message LightningAddress

rpc.proto:932

Used in: ConnectPeerRequest

message LightningNode

rpc.proto:1760

* 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 MultiChanBackup

rpc.proto:2344

Used in: ChanBackupSnapshot

message NodeAddress

rpc.proto:1768

Used in: LightningNode

message NodeUpdate

rpc.proto:1867

Used in: GraphTopologyUpdate

message OpenChannelRequest

rpc.proto:1395

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

message OutPoint

rpc.proto:921

Used in: Utxo

message Payment

rpc.proto:2137

Used in: ListPaymentsResponse

enum Payment.PaymentStatus

rpc.proto:2165

Used in: Payment

message Peer

rpc.proto:1232

Used in: ListPeersResponse

enum Peer.SyncType

rpc.proto:1257

Used in: Peer

message PendingChannelsResponse.ClosedChannel

rpc.proto:1508

Used in: PendingChannelsResponse

message PendingChannelsResponse.ForceClosedChannel

rpc.proto:1516

Used in: PendingChannelsResponse

message PendingChannelsResponse.PendingChannel

rpc.proto:1463

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

rpc.proto:1473

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

rpc.proto:1500

Used in: PendingChannelsResponse

message PendingHTLC

rpc.proto:1436

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

rpc.proto:1390

Used in: CloseStatusUpdate, OpenStatusUpdate

message Route

rpc.proto:1684

* 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: QueryRoutesResponse, SendResponse, SendToRouteRequest

message RouteHint

rpc.proto:1923

Used in: Invoice, PayReq

message RoutingPolicy

rpc.proto:1773

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

rpc.proto:838

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

message SendResponse

rpc.proto:888

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

message SendToRouteRequest

rpc.proto:895

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

message Transaction

rpc.proto:793

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message Utxo

rpc.proto:773

Used in: ListUnspentResponse