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

Details specific to AMP HTLCs.

Used in: InvoiceHTLC

message AMPRecord

rpc.proto:2545

Used in: Hop

enum AddressType

rpc.proto:1018

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

rpc.proto:2289

Used in: ChannelBalanceResponse

message Chain

rpc.proto:1680

Used in: GetInfoResponse

message ChanBackupSnapshot

rpc.proto:3612

Used as request type in: Lightning.VerifyChanBackup

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

message ChanPointShim

rpc.proto:1913

Used in: FundingShim

message Channel

rpc.proto:1168

Used in: ChannelEventUpdate, ListChannelsResponse

message ChannelBackup

rpc.proto:3580

Used as response type in: Lightning.ExportChannelBackup

Used as field type in: ChannelBackups

message ChannelBackups

rpc.proto:3626

Used in: ChanBackupSnapshot, RestoreChanBackupRequest

message ChannelCloseSummary

rpc.proto:1345

Used in: ChannelEventUpdate, ClosedChannelsResponse

enum ChannelCloseSummary.ClosureType

rpc.proto:1373

Used in: ChannelCloseSummary

message ChannelCloseUpdate

rpc.proto:1699

Used in: CloseStatusUpdate

message ChannelConstraints

rpc.proto:1144

Used in: Channel

message ChannelEdge

rpc.proto:2665

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

Used in: GraphTopologyUpdate

enum ChannelEventUpdate.UpdateType

rpc.proto:2253

Used in: ChannelEventUpdate

message ChannelFeeReport

rpc.proto:3435

Used in: FeeReportResponse

message ChannelOpenUpdate

rpc.proto:1695

Used in: OpenStatusUpdate

message ChannelPoint

rpc.proto:856

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

Used in: Failure

message ClosedChannelUpdate

rpc.proto:2817

Used in: GraphTopologyUpdate

enum CommitmentType

rpc.proto:1116

Used in: Channel, PendingChannelsResponse.PendingChannel

message ConfirmationUpdate

rpc.proto:1688

message EdgeLocator

rpc.proto:2447

Used in: QueryRoutesRequest

message Failure

rpc.proto:3706

Used in: HTLCAttempt

enum Failure.FailureCode

rpc.proto:3707

Used in: Failure

message Feature

rpc.proto:3427

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

enum FeatureBit

rpc.proto:3399

Used in: QueryRoutesRequest, SendRequest

message FeeLimit

rpc.proto:595

Used in: QueryRoutesRequest, SendRequest

message FloatMetric

rpc.proto:2724

Used in: NodeMetricsResponse

message ForwardingEvent

rpc.proto:3523

Used in: ForwardingHistoryResponse

message FundingPsbtFinalize

rpc.proto:2005

Used in: FundingTransitionMsg

message FundingPsbtVerify

rpc.proto:1993

Used in: FundingTransitionMsg

message FundingShim

rpc.proto:1972

Used in: FundingTransitionMsg, OpenChannelRequest

message FundingShimCancel

rpc.proto:1988

Used in: FundingTransitionMsg

message GetTransactionsRequest

rpc.proto:570

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

message HTLC

rpc.proto:1094

Used in: Channel

message HTLCAttempt

rpc.proto:3271

Used in: Payment

enum HTLCAttempt.HTLCStatus

rpc.proto:3275

Used in: HTLCAttempt

message Hop

rpc.proto:2474

Used in: Route

message HopHint

rpc.proto:2829

Used in: RouteHint

enum Initiator

rpc.proto:1338

Used in: ChannelCloseSummary, PendingChannelsResponse.PendingChannel

message Invoice

rpc.proto:2857

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

Used in: Invoice

message InvoiceHTLC

rpc.proto:3020

Details of an HTLC that paid to an invoice

Used in: Invoice

enum InvoiceHTLCState

rpc.proto:3013

Used in: InvoiceHTLC

message KeyDescriptor

rpc.proto:1901

Used in: ChanPointShim

message KeyLocator

rpc.proto:1893

Used in: KeyDescriptor

message LightningAddress

rpc.proto:886

Used in: ConnectPeerRequest

message LightningNode

rpc.proto:2634

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

Used in: Hop

message MacaroonId

rpc.proto:3870

message MacaroonPermission

rpc.proto:3656

Used in: BakeMacaroonRequest, MacaroonPermissionList

message MacaroonPermissionList

rpc.proto:3691

Used in: ListPermissionsResponse

message MultiChanBackup

rpc.proto:3595

Used in: ChanBackupSnapshot

message NodeAddress

rpc.proto:2643

Used in: LightningNode, NodeUpdate

enum NodeMetricType

rpc.proto:2703

Used in: NodeMetricsRequest

message NodePair

rpc.proto:2433

Used in: QueryRoutesRequest

message NodeUpdate

rpc.proto:2777

Used in: GraphTopologyUpdate

message Op

rpc.proto:3876

Used in: MacaroonId

message OpenChannelRequest

rpc.proto:1773

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

message OutPoint

rpc.proto:875

Used in: Resolution, Utxo

message Payment

rpc.proto:3212

Used in: ListPaymentsResponse

enum Payment.PaymentStatus

rpc.proto:3239

Used in: Payment

enum PaymentFailureReason

rpc.proto:3178

Used in: Payment

message Peer

rpc.proto:1488

Used in: ListPeersResponse

enum Peer.SyncType

rpc.proto:1513

Used in: Peer

enum PeerEvent.EventType

rpc.proto:1593

Used in: PeerEvent

message PendingChannelsResponse.ClosedChannel

rpc.proto:2179

Used in: PendingChannelsResponse

message PendingChannelsResponse.Commitments

rpc.proto:2150

Used in: WaitingCloseChannel

message PendingChannelsResponse.ForceClosedChannel

rpc.proto:2187

Used in: PendingChannelsResponse

enum PendingChannelsResponse.ForceClosedChannel.AnchorState

rpc.proto:2212

Used in: ForceClosedChannel

message PendingChannelsResponse.PendingChannel

rpc.proto:2083

Used in: ClosedChannel, ForceClosedChannel, PendingOpenChannel, WaitingCloseChannel

message PendingChannelsResponse.PendingOpenChannel

rpc.proto:2109

Used in: PendingChannelsResponse

message PendingChannelsResponse.WaitingCloseChannel

rpc.proto:2136

Used in: PendingChannelsResponse

message PendingHTLC

rpc.proto:2056

Used in: PendingChannelsResponse.ForceClosedChannel

message PendingUpdate

rpc.proto:1746

Used in: ChannelEventUpdate, CloseStatusUpdate, OpenStatusUpdate

message PsbtShim

rpc.proto:1947

Used in: FundingShim

message ReadyForPsbtFunding

rpc.proto:1751

Used in: OpenStatusUpdate

message Resolution

rpc.proto:1457

Used in: ChannelCloseSummary

enum ResolutionOutcome

rpc.proto:1428

Used in: Resolution

enum ResolutionType

rpc.proto:1404

Used in: Resolution

message Route

rpc.proto:2560

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

Used in: Invoice, PayReq, QueryRoutesRequest

message RoutingPolicy

rpc.proto:2648

Used in: ChannelEdge, ChannelEdgeUpdate

message SendRequest

rpc.proto:616

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

message SendResponse

rpc.proto:721

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

message SendToRouteRequest

rpc.proto:728

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

message TimestampedError

rpc.proto:1565

Used in: Peer

message Transaction

rpc.proto:539

Used as response type in: Lightning.SubscribeTransactions

Used as field type in: TransactionDetails

message Utxo

rpc.proto:519

Used in: ListUnspentResponse

message WalletAccountBalance

rpc.proto:2264

Used in: WalletBalanceResponse