package lnrpc

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

service Lightning

lightning.api.proto:33

Lightning is the main RPC server of the daemon.

service State

stateservice.proto:33

State service is a always running service that exposes the current state of the wallet and RPC server.

service WalletUnlocker

walletunlocker.proto:35

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.

message AMP

lightning.api.proto:3720

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPInvoiceState

lightning.api.proto:3467

Used in: Invoice

message AMPRecord

lightning.api.proto:3142

Used in: Hop

enum AddressType

lightning.api.proto:1217

`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.api.proto:1595

Used in: ListAliasesResponse

message Amount

lightning.api.proto:2876

Used in: ChannelBalanceResponse

message BatchOpenChannel

lightning.api.proto:2097

Used in: BatchOpenChannelRequest

message Chain

lightning.api.proto:1975

Used in: GetInfoResponse

message ChanBackupSnapshot

lightning.api.proto:4363

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

lightning.api.proto:2431

Used in: FundingShim

message Channel

lightning.api.proto:1395

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

lightning.api.proto:4331

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

lightning.api.proto:4377

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

lightning.api.proto:1618

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

lightning.api.proto:1646

Used in: ChannelCloseSummary

message ChannelCloseUpdate

lightning.api.proto:1994

Used in: CloseStatusUpdate

message ChannelConstraints

lightning.api.proto:1371

Used in: Channel

message ChannelEdge

lightning.api.proto:3268

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.api.proto:3406

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

lightning.api.proto:2829

Used in: ChannelEventUpdate

message ChannelFeeReport

lightning.api.proto:4152

Used in: FeeReportResponse

message ChannelGraph

lightning.api.proto:3301

Returns a new instance of the directed channel graph.

Used as request type in: devrpc.Dev.ImportGraph

Used as response type in: Lightning.DescribeGraph

message ChannelOpenUpdate

lightning.api.proto:1990

Used in: OpenStatusUpdate

message ChannelPoint

lightning.api.proto:1045

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.api.proto:4544

Used in: Failure

message ClosedChannelUpdate

lightning.api.proto:3423

Used in: GraphTopologyUpdate

enum CommitmentType

lightning.api.proto:1327

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

message ConfirmationUpdate

lightning.api.proto:1983

message EdgeLocator

lightning.api.proto:3041

Used in: QueryRoutesRequest

message FailedUpdate

lightning.api.proto:4229

Used in: PolicyUpdateResponse

message Failure

lightning.api.proto:4463

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

lightning.api.proto:4464

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

message Feature

lightning.api.proto:4144

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

enum FeatureBit

lightning.api.proto:4116

Used in: QueryRoutesRequest, SendRequest, peersrpc.UpdateFeatureAction, routerrpc.SendPaymentRequest

message FeeLimit

lightning.api.proto:765

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

lightning.api.proto:3330

Used in: NodeMetricsResponse

message ForwardingEvent

lightning.api.proto:4268

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

lightning.api.proto:2542

Used in: FundingTransitionMsg

message FundingPsbtVerify

lightning.api.proto:2516

Used in: FundingTransitionMsg

message FundingShim

lightning.api.proto:2495

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

lightning.api.proto:2511

Used in: FundingTransitionMsg

message GetTransactionsRequest

lightning.api.proto:740

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

message HTLC

lightning.api.proto:1305

Used in: Channel

message HTLCAttempt

lightning.api.proto:3944

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

lightning.api.proto:3948

Used in: HTLCAttempt

message Hop

lightning.api.proto:3068

Used in: Route

message HopHint

lightning.api.proto:3435

Used in: RouteHint

enum Initiator

lightning.api.proto:1611

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message InterceptFeedback

lightning.api.proto:4835

Used in: RPCMiddlewareResponse

message Invoice

lightning.api.proto:3481

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.api.proto:3620

Used in: Invoice

message InvoiceHTLC

lightning.api.proto:3684

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

lightning.api.proto:3677

Used in: AMPInvoiceState, InvoiceHTLC

message KeyDescriptor

lightning.api.proto:2419

Used in: ChanPointShim

message KeyLocator

lightning.api.proto:2411

Used in: KeyDescriptor

message LightningAddress

lightning.api.proto:1084

Used in: ConnectPeerRequest

message LightningNode

lightning.api.proto:3231

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.api.proto:3124

Used in: Hop

message MacaroonId

lightning.api.proto:4627

message MacaroonPermission

lightning.api.proto:4407

Used in: BakeMacaroonRequest, CheckMacPermRequest, MacaroonPermissionList

message MacaroonPermissionList

lightning.api.proto:4448

Used in: ListPermissionsResponse

message MiddlewareRegistration

lightning.api.proto:4806

Used in: RPCMiddlewareResponse

message MultiChanBackup

lightning.api.proto:4346

Used in: ChanBackupSnapshot

message NodeAddress

lightning.api.proto:3243

Used in: LightningNode, NodeUpdate

enum NodeMetricType

lightning.api.proto:3309

Used in: NodeMetricsRequest

message NodePair

lightning.api.proto:3027

Used in: QueryRoutesRequest

message NodeUpdate

lightning.api.proto:3383

Used in: GraphTopologyUpdate

message Op

lightning.api.proto:4633

Used in: MacaroonId, peersrpc.NodeAnnouncementUpdateResponse

message OpenChannelRequest

lightning.api.proto:2221

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

message OutPoint

lightning.api.proto:1064

Used in: FailedUpdate, OpenChannelRequest, Resolution, Utxo, walletrpc.BumpFeeRequest, walletrpc.LeaseOutputRequest, walletrpc.PendingSweep, walletrpc.ReleaseOutputRequest, walletrpc.TxTemplate, walletrpc.UtxoLease

message OutputDetail

lightning.api.proto:681

Used in: Transaction

enum OutputScriptType

lightning.api.proto:668

Used in: OutputDetail

message Payment

lightning.api.proto:3885

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

Used as field type in: ListPaymentsResponse

enum Payment.PaymentStatus

lightning.api.proto:3912

Used in: Payment

enum PaymentFailureReason

lightning.api.proto:3851

Used in: Payment

message Peer

lightning.api.proto:1770

Used in: ListPeersResponse

enum Peer.SyncType

lightning.api.proto:1795

Used in: Peer

enum PeerEvent.EventType

lightning.api.proto:1880

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

lightning.api.proto:2746

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

lightning.api.proto:2717

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

lightning.api.proto:2754

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

lightning.api.proto:2784

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.api.proto:2620

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

lightning.api.proto:2662

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

lightning.api.proto:2700

Used in: PendingChannelsResponse

message PendingHTLC

lightning.api.proto:2593

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

lightning.api.proto:2046

Used in: BatchOpenChannelResponse, ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PreviousOutPoint

lightning.api.proto:1075

Used in: Transaction

message PsbtShim

lightning.api.proto:2470

Used in: FundingShim

message RPCMessage

lightning.api.proto:4737

Used in: RPCMiddlewareRequest

message ReadyForPsbtFunding

lightning.api.proto:2051

Used in: OpenStatusUpdate

message Resolution

lightning.api.proto:1739

Used in: ChannelCloseSummary

enum ResolutionOutcome

lightning.api.proto:1710

Used in: Resolution

enum ResolutionType

lightning.api.proto:1686

Used in: Resolution

message Route

lightning.api.proto:3157

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.api.proto:3459

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

message RoutingPolicy

lightning.api.proto:3248

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

lightning.api.proto:786

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

message SendResponse

lightning.api.proto:892

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

message SendToRouteRequest

lightning.api.proto:899

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

message SetID

lightning.api.proto:3455

message StreamAuth

lightning.api.proto:4728

Used in: RPCMiddlewareRequest

message TimestampedError

lightning.api.proto:1852

Used in: Peer

message Transaction

lightning.api.proto:701

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message TransactionDetails

lightning.api.proto:760

Used as response type in: Lightning.GetTransactions

Used as field type in: walletrpc.ListSweepsResponse

enum UpdateFailure

lightning.api.proto:4221

Used in: FailedUpdate

message Utxo

lightning.api.proto:648

Used in: ListUnspentResponse, walletrpc.ListUnspentResponse

message WalletAccountBalance

lightning.api.proto:2841

Used in: WalletBalanceResponse

enum WalletState

stateservice.proto:44

Used in: GetStateResponse, SubscribeStateResponse

message WatchOnly

walletunlocker.proto:210

Used in: InitWalletRequest

message WatchOnlyAccount

walletunlocker.proto:238

Used in: WatchOnly