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

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPInvoiceState

rpc.proto:3756

Used in: Invoice

message AMPRecord

rpc.proto:3350

Used in: Hop

enum AddressType

rpc.proto:1272

`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:1672

Used in: ListAliasesResponse, routerrpc.AddAliasesRequest, routerrpc.AddAliasesResponse, routerrpc.DeleteAliasesRequest, routerrpc.DeleteAliasesResponse

message Amount

rpc.proto:3039

Used in: ChannelBalanceResponse

message BatchOpenChannel

rpc.proto:2241

Used in: BatchOpenChannelRequest

message BlindedHop

rpc.proto:3748

Used in: BlindedPath

message BlindedPath

rpc.proto:3733

Used in: BlindedPaymentPath

message BlindedPathConfig

rpc.proto:3980

Used in: Invoice

message BlindedPaymentPath

rpc.proto:3698

Used in: PayReq, QueryRoutesRequest

message Chain

rpc.proto:2068

Used in: GetInfoResponse

message ChanBackupSnapshot

rpc.proto:4774

Used as request type in: Lightning.VerifyChanBackup

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

message ChanPointShim

rpc.proto:2575

Used in: FundingShim

message Channel

rpc.proto:1467

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

rpc.proto:4742

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

rpc.proto:4788

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

rpc.proto:1695

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

rpc.proto:1723

Used in: ChannelCloseSummary

message ChannelCloseUpdate

rpc.proto:2105

Used in: CloseStatusUpdate

message ChannelConstraints

rpc.proto:1443

Used in: Channel

message ChannelEdge

rpc.proto:3493

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

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

rpc.proto:2986

Used in: ChannelEventUpdate

message ChannelFeeReport

rpc.proto:4523

Used in: FeeReportResponse

message ChannelOpenUpdate

rpc.proto:2084

Used in: OpenStatusUpdate

message ChannelPoint

rpc.proto:1077

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

Used in: Failure

message CloseOutput

rpc.proto:2088

Used in: ChannelCloseUpdate

message ClosedChannelUpdate

rpc.proto:3654

Used in: GraphTopologyUpdate

enum CoinSelectionStrategy

rpc.proto:1125

Used in: BatchOpenChannelRequest, EstimateFeeRequest, SendCoinsRequest, SendManyRequest

enum CommitmentType

rpc.proto:1393

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

message ConfirmationUpdate

rpc.proto:2077

message EdgeLocator

rpc.proto:3222

Used in: QueryRoutesRequest

message FailedUpdate

rpc.proto:4632

Used in: PolicyUpdateResponse

message Failure

rpc.proto:4877

Used in: HTLCAttempt, routerrpc.SendToRouteResponse

enum Failure.FailureCode

rpc.proto:4878

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

message Feature

rpc.proto:4515

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

enum FeatureBit

rpc.proto:4485

Used in: BlindedPaymentPath, QueryRoutesRequest, SendRequest, routerrpc.SendPaymentRequest

message FeeLimit

rpc.proto:796

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

rpc.proto:3555

Used in: NodeMetricsResponse

message ForwardingEvent

rpc.proto:4671

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

rpc.proto:2686

Used in: FundingTransitionMsg

message FundingPsbtVerify

rpc.proto:2660

Used in: FundingTransitionMsg

message FundingShim

rpc.proto:2639

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

rpc.proto:2655

Used in: FundingTransitionMsg

message GetTransactionsRequest

rpc.proto:747

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

message HTLC

rpc.proto:1364

Used in: Channel

message HTLCAttempt

rpc.proto:4302

Used as response type in: routerrpc.Router.SendToRouteV2

Used as field type in: Payment, routerrpc.PaymentStatus

enum HTLCAttempt.HTLCStatus

rpc.proto:4306

Used in: HTLCAttempt

message Hop

rpc.proto:3249

Used in: Route

message HopHint

rpc.proto:3666

Used in: RouteHint

message InboundFee

rpc.proto:4567

Used in: PolicyUpdateRequest

enum Initiator

rpc.proto:1688

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message InstantUpdate

rpc.proto:2185

Used in: CloseStatusUpdate

message InterceptFeedback

rpc.proto:5266

Used in: RPCMiddlewareResponse

message Invoice

rpc.proto:3770

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: invoicesrpc.HtlcModifyRequest, ListInvoiceResponse

enum Invoice.InvoiceState

rpc.proto:3909

Used in: Invoice

message InvoiceHTLC

rpc.proto:4016

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

rpc.proto:4009

Used in: AMPInvoiceState, InvoiceHTLC

message KeyDescriptor

rpc.proto:2563

Used in: ChanPointShim

message KeyLocator

rpc.proto:2555

Used in: KeyDescriptor

message LightningAddress

rpc.proto:1116

Used in: ConnectPeerRequest

message LightningNode

rpc.proto:3453

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

Used in: Hop

message MacaroonId

rpc.proto:5042

message MacaroonPermission

rpc.proto:4821

Used in: BakeMacaroonRequest, CheckMacPermRequest, MacaroonPermissionList

message MacaroonPermissionList

rpc.proto:4862

Used in: ListPermissionsResponse

message MetadataValues

rpc.proto:5152

Used in: RPCMiddlewareRequest

message MiddlewareRegistration

rpc.proto:5237

Used in: RPCMiddlewareResponse

message MultiChanBackup

rpc.proto:4757

Used in: ChanBackupSnapshot

message NodeAddress

rpc.proto:3465

Used in: LightningNode, NodeUpdate

enum NodeMetricType

rpc.proto:3534

Used in: NodeMetricsRequest

message NodePair

rpc.proto:3208

Used in: QueryRoutesRequest

message NodeUpdate

rpc.proto:3614

Used in: GraphTopologyUpdate

message Op

rpc.proto:5048

Used in: MacaroonId

message OpenChannelRequest

rpc.proto:2365

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

message OutPoint

rpc.proto:1096

Used in: FailedUpdate, OpenChannelRequest, Resolution, SendCoinsRequest, Utxo

message OutputDetail

rpc.proto:688

Used in: Transaction

enum OutputScriptType

rpc.proto:675

Used in: OutputDetail

message Payment

rpc.proto:4227

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

Used in: Payment

enum PaymentFailureReason

rpc.proto:4188

Used in: Payment, routerrpc.RouteFeeResponse

message Peer

rpc.proto:1851

Used in: ListPeersResponse

enum Peer.SyncType

rpc.proto:1876

Used in: Peer

enum PeerEvent.EventType

rpc.proto:1961

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

rpc.proto:2902

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

rpc.proto:2873

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

rpc.proto:2910

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

rpc.proto:2940

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

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

rpc.proto:2814

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

rpc.proto:2852

Used in: PendingChannelsResponse

message PendingHTLC

rpc.proto:2737

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

rpc.proto:2178

Used in: BatchOpenChannelResponse, ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PreviousOutPoint

rpc.proto:1107

Used in: Transaction

message PsbtShim

rpc.proto:2614

Used in: FundingShim

message RPCMessage

rpc.proto:5168

Used in: RPCMiddlewareRequest

message ReadyForPsbtFunding

rpc.proto:2192

Used in: OpenStatusUpdate

message Resolution

rpc.proto:1820

Used in: ChannelCloseSummary

enum ResolutionOutcome

rpc.proto:1791

Used in: Resolution

enum ResolutionType

rpc.proto:1767

Used in: Resolution

message Route

rpc.proto:3365

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

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

message RoutingPolicy

rpc.proto:3470

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

rpc.proto:817

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

message SendResponse

rpc.proto:924

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

message SendToRouteRequest

rpc.proto:931

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

message SetID

rpc.proto:3686

message StreamAuth

rpc.proto:5159

Used in: RPCMiddlewareRequest

message TimestampedError

rpc.proto:1933

Used in: Peer

message Transaction

rpc.proto:708

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

enum UpdateFailure

rpc.proto:4624

Used in: FailedUpdate

message Utxo

rpc.proto:655

Used in: ListUnspentResponse

message WalletAccountBalance

rpc.proto:2999

Used in: WalletBalanceResponse