Best JavaScript code snippet using fast-check-monorepo
rpc_grpc_pb.d.ts
Source:rpc_grpc_pb.d.ts
1// package: lnrpc2// file: lnd/rpc.proto3/* tslint:disable */4/* eslint-disable */5import * as grpc from "grpc";6import * as lnd_rpc_pb from "../lnd/rpc_pb";7interface ILightningService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {8 walletBalance: ILightningService_IWalletBalance;9 channelBalance: ILightningService_IChannelBalance;10 getTransactions: ILightningService_IGetTransactions;11 estimateFee: ILightningService_IEstimateFee;12 sendCoins: ILightningService_ISendCoins;13 listUnspent: ILightningService_IListUnspent;14 subscribeTransactions: ILightningService_ISubscribeTransactions;15 sendMany: ILightningService_ISendMany;16 newAddress: ILightningService_INewAddress;17 signMessage: ILightningService_ISignMessage;18 verifyMessage: ILightningService_IVerifyMessage;19 connectPeer: ILightningService_IConnectPeer;20 disconnectPeer: ILightningService_IDisconnectPeer;21 listPeers: ILightningService_IListPeers;22 subscribePeerEvents: ILightningService_ISubscribePeerEvents;23 getInfo: ILightningService_IGetInfo;24 getRecoveryInfo: ILightningService_IGetRecoveryInfo;25 pendingChannels: ILightningService_IPendingChannels;26 listChannels: ILightningService_IListChannels;27 subscribeChannelEvents: ILightningService_ISubscribeChannelEvents;28 closedChannels: ILightningService_IClosedChannels;29 openChannelSync: ILightningService_IOpenChannelSync;30 openChannel: ILightningService_IOpenChannel;31 fundingStateStep: ILightningService_IFundingStateStep;32 channelAcceptor: ILightningService_IChannelAcceptor;33 closeChannel: ILightningService_ICloseChannel;34 abandonChannel: ILightningService_IAbandonChannel;35 sendPayment: ILightningService_ISendPayment;36 sendPaymentSync: ILightningService_ISendPaymentSync;37 sendToRoute: ILightningService_ISendToRoute;38 sendToRouteSync: ILightningService_ISendToRouteSync;39 addInvoice: ILightningService_IAddInvoice;40 listInvoices: ILightningService_IListInvoices;41 lookupInvoice: ILightningService_ILookupInvoice;42 subscribeInvoices: ILightningService_ISubscribeInvoices;43 decodePayReq: ILightningService_IDecodePayReq;44 listPayments: ILightningService_IListPayments;45 deleteAllPayments: ILightningService_IDeleteAllPayments;46 describeGraph: ILightningService_IDescribeGraph;47 getNodeMetrics: ILightningService_IGetNodeMetrics;48 getChanInfo: ILightningService_IGetChanInfo;49 getNodeInfo: ILightningService_IGetNodeInfo;50 queryRoutes: ILightningService_IQueryRoutes;51 getNetworkInfo: ILightningService_IGetNetworkInfo;52 stopDaemon: ILightningService_IStopDaemon;53 subscribeChannelGraph: ILightningService_ISubscribeChannelGraph;54 debugLevel: ILightningService_IDebugLevel;55 feeReport: ILightningService_IFeeReport;56 updateChannelPolicy: ILightningService_IUpdateChannelPolicy;57 forwardingHistory: ILightningService_IForwardingHistory;58 exportChannelBackup: ILightningService_IExportChannelBackup;59 exportAllChannelBackups: ILightningService_IExportAllChannelBackups;60 verifyChanBackup: ILightningService_IVerifyChanBackup;61 restoreChannelBackups: ILightningService_IRestoreChannelBackups;62 subscribeChannelBackups: ILightningService_ISubscribeChannelBackups;63 bakeMacaroon: ILightningService_IBakeMacaroon;64 listMacaroonIDs: ILightningService_IListMacaroonIDs;65 deleteMacaroonID: ILightningService_IDeleteMacaroonID;66 listPermissions: ILightningService_IListPermissions;67}68interface ILightningService_IWalletBalance extends grpc.MethodDefinition<lnd_rpc_pb.WalletBalanceRequest, lnd_rpc_pb.WalletBalanceResponse> {69 path: "/lnrpc.Lightning/WalletBalance";70 requestStream: false;71 responseStream: false;72 requestSerialize: grpc.serialize<lnd_rpc_pb.WalletBalanceRequest>;73 requestDeserialize: grpc.deserialize<lnd_rpc_pb.WalletBalanceRequest>;74 responseSerialize: grpc.serialize<lnd_rpc_pb.WalletBalanceResponse>;75 responseDeserialize: grpc.deserialize<lnd_rpc_pb.WalletBalanceResponse>;76}77interface ILightningService_IChannelBalance extends grpc.MethodDefinition<lnd_rpc_pb.ChannelBalanceRequest, lnd_rpc_pb.ChannelBalanceResponse> {78 path: "/lnrpc.Lightning/ChannelBalance";79 requestStream: false;80 responseStream: false;81 requestSerialize: grpc.serialize<lnd_rpc_pb.ChannelBalanceRequest>;82 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelBalanceRequest>;83 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelBalanceResponse>;84 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelBalanceResponse>;85}86interface ILightningService_IGetTransactions extends grpc.MethodDefinition<lnd_rpc_pb.GetTransactionsRequest, lnd_rpc_pb.TransactionDetails> {87 path: "/lnrpc.Lightning/GetTransactions";88 requestStream: false;89 responseStream: false;90 requestSerialize: grpc.serialize<lnd_rpc_pb.GetTransactionsRequest>;91 requestDeserialize: grpc.deserialize<lnd_rpc_pb.GetTransactionsRequest>;92 responseSerialize: grpc.serialize<lnd_rpc_pb.TransactionDetails>;93 responseDeserialize: grpc.deserialize<lnd_rpc_pb.TransactionDetails>;94}95interface ILightningService_IEstimateFee extends grpc.MethodDefinition<lnd_rpc_pb.EstimateFeeRequest, lnd_rpc_pb.EstimateFeeResponse> {96 path: "/lnrpc.Lightning/EstimateFee";97 requestStream: false;98 responseStream: false;99 requestSerialize: grpc.serialize<lnd_rpc_pb.EstimateFeeRequest>;100 requestDeserialize: grpc.deserialize<lnd_rpc_pb.EstimateFeeRequest>;101 responseSerialize: grpc.serialize<lnd_rpc_pb.EstimateFeeResponse>;102 responseDeserialize: grpc.deserialize<lnd_rpc_pb.EstimateFeeResponse>;103}104interface ILightningService_ISendCoins extends grpc.MethodDefinition<lnd_rpc_pb.SendCoinsRequest, lnd_rpc_pb.SendCoinsResponse> {105 path: "/lnrpc.Lightning/SendCoins";106 requestStream: false;107 responseStream: false;108 requestSerialize: grpc.serialize<lnd_rpc_pb.SendCoinsRequest>;109 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendCoinsRequest>;110 responseSerialize: grpc.serialize<lnd_rpc_pb.SendCoinsResponse>;111 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendCoinsResponse>;112}113interface ILightningService_IListUnspent extends grpc.MethodDefinition<lnd_rpc_pb.ListUnspentRequest, lnd_rpc_pb.ListUnspentResponse> {114 path: "/lnrpc.Lightning/ListUnspent";115 requestStream: false;116 responseStream: false;117 requestSerialize: grpc.serialize<lnd_rpc_pb.ListUnspentRequest>;118 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListUnspentRequest>;119 responseSerialize: grpc.serialize<lnd_rpc_pb.ListUnspentResponse>;120 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListUnspentResponse>;121}122interface ILightningService_ISubscribeTransactions extends grpc.MethodDefinition<lnd_rpc_pb.GetTransactionsRequest, lnd_rpc_pb.Transaction> {123 path: "/lnrpc.Lightning/SubscribeTransactions";124 requestStream: false;125 responseStream: true;126 requestSerialize: grpc.serialize<lnd_rpc_pb.GetTransactionsRequest>;127 requestDeserialize: grpc.deserialize<lnd_rpc_pb.GetTransactionsRequest>;128 responseSerialize: grpc.serialize<lnd_rpc_pb.Transaction>;129 responseDeserialize: grpc.deserialize<lnd_rpc_pb.Transaction>;130}131interface ILightningService_ISendMany extends grpc.MethodDefinition<lnd_rpc_pb.SendManyRequest, lnd_rpc_pb.SendManyResponse> {132 path: "/lnrpc.Lightning/SendMany";133 requestStream: false;134 responseStream: false;135 requestSerialize: grpc.serialize<lnd_rpc_pb.SendManyRequest>;136 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendManyRequest>;137 responseSerialize: grpc.serialize<lnd_rpc_pb.SendManyResponse>;138 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendManyResponse>;139}140interface ILightningService_INewAddress extends grpc.MethodDefinition<lnd_rpc_pb.NewAddressRequest, lnd_rpc_pb.NewAddressResponse> {141 path: "/lnrpc.Lightning/NewAddress";142 requestStream: false;143 responseStream: false;144 requestSerialize: grpc.serialize<lnd_rpc_pb.NewAddressRequest>;145 requestDeserialize: grpc.deserialize<lnd_rpc_pb.NewAddressRequest>;146 responseSerialize: grpc.serialize<lnd_rpc_pb.NewAddressResponse>;147 responseDeserialize: grpc.deserialize<lnd_rpc_pb.NewAddressResponse>;148}149interface ILightningService_ISignMessage extends grpc.MethodDefinition<lnd_rpc_pb.SignMessageRequest, lnd_rpc_pb.SignMessageResponse> {150 path: "/lnrpc.Lightning/SignMessage";151 requestStream: false;152 responseStream: false;153 requestSerialize: grpc.serialize<lnd_rpc_pb.SignMessageRequest>;154 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SignMessageRequest>;155 responseSerialize: grpc.serialize<lnd_rpc_pb.SignMessageResponse>;156 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SignMessageResponse>;157}158interface ILightningService_IVerifyMessage extends grpc.MethodDefinition<lnd_rpc_pb.VerifyMessageRequest, lnd_rpc_pb.VerifyMessageResponse> {159 path: "/lnrpc.Lightning/VerifyMessage";160 requestStream: false;161 responseStream: false;162 requestSerialize: grpc.serialize<lnd_rpc_pb.VerifyMessageRequest>;163 requestDeserialize: grpc.deserialize<lnd_rpc_pb.VerifyMessageRequest>;164 responseSerialize: grpc.serialize<lnd_rpc_pb.VerifyMessageResponse>;165 responseDeserialize: grpc.deserialize<lnd_rpc_pb.VerifyMessageResponse>;166}167interface ILightningService_IConnectPeer extends grpc.MethodDefinition<lnd_rpc_pb.ConnectPeerRequest, lnd_rpc_pb.ConnectPeerResponse> {168 path: "/lnrpc.Lightning/ConnectPeer";169 requestStream: false;170 responseStream: false;171 requestSerialize: grpc.serialize<lnd_rpc_pb.ConnectPeerRequest>;172 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ConnectPeerRequest>;173 responseSerialize: grpc.serialize<lnd_rpc_pb.ConnectPeerResponse>;174 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ConnectPeerResponse>;175}176interface ILightningService_IDisconnectPeer extends grpc.MethodDefinition<lnd_rpc_pb.DisconnectPeerRequest, lnd_rpc_pb.DisconnectPeerResponse> {177 path: "/lnrpc.Lightning/DisconnectPeer";178 requestStream: false;179 responseStream: false;180 requestSerialize: grpc.serialize<lnd_rpc_pb.DisconnectPeerRequest>;181 requestDeserialize: grpc.deserialize<lnd_rpc_pb.DisconnectPeerRequest>;182 responseSerialize: grpc.serialize<lnd_rpc_pb.DisconnectPeerResponse>;183 responseDeserialize: grpc.deserialize<lnd_rpc_pb.DisconnectPeerResponse>;184}185interface ILightningService_IListPeers extends grpc.MethodDefinition<lnd_rpc_pb.ListPeersRequest, lnd_rpc_pb.ListPeersResponse> {186 path: "/lnrpc.Lightning/ListPeers";187 requestStream: false;188 responseStream: false;189 requestSerialize: grpc.serialize<lnd_rpc_pb.ListPeersRequest>;190 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListPeersRequest>;191 responseSerialize: grpc.serialize<lnd_rpc_pb.ListPeersResponse>;192 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListPeersResponse>;193}194interface ILightningService_ISubscribePeerEvents extends grpc.MethodDefinition<lnd_rpc_pb.PeerEventSubscription, lnd_rpc_pb.PeerEvent> {195 path: "/lnrpc.Lightning/SubscribePeerEvents";196 requestStream: false;197 responseStream: true;198 requestSerialize: grpc.serialize<lnd_rpc_pb.PeerEventSubscription>;199 requestDeserialize: grpc.deserialize<lnd_rpc_pb.PeerEventSubscription>;200 responseSerialize: grpc.serialize<lnd_rpc_pb.PeerEvent>;201 responseDeserialize: grpc.deserialize<lnd_rpc_pb.PeerEvent>;202}203interface ILightningService_IGetInfo extends grpc.MethodDefinition<lnd_rpc_pb.GetInfoRequest, lnd_rpc_pb.GetInfoResponse> {204 path: "/lnrpc.Lightning/GetInfo";205 requestStream: false;206 responseStream: false;207 requestSerialize: grpc.serialize<lnd_rpc_pb.GetInfoRequest>;208 requestDeserialize: grpc.deserialize<lnd_rpc_pb.GetInfoRequest>;209 responseSerialize: grpc.serialize<lnd_rpc_pb.GetInfoResponse>;210 responseDeserialize: grpc.deserialize<lnd_rpc_pb.GetInfoResponse>;211}212interface ILightningService_IGetRecoveryInfo extends grpc.MethodDefinition<lnd_rpc_pb.GetRecoveryInfoRequest, lnd_rpc_pb.GetRecoveryInfoResponse> {213 path: "/lnrpc.Lightning/GetRecoveryInfo";214 requestStream: false;215 responseStream: false;216 requestSerialize: grpc.serialize<lnd_rpc_pb.GetRecoveryInfoRequest>;217 requestDeserialize: grpc.deserialize<lnd_rpc_pb.GetRecoveryInfoRequest>;218 responseSerialize: grpc.serialize<lnd_rpc_pb.GetRecoveryInfoResponse>;219 responseDeserialize: grpc.deserialize<lnd_rpc_pb.GetRecoveryInfoResponse>;220}221interface ILightningService_IPendingChannels extends grpc.MethodDefinition<lnd_rpc_pb.PendingChannelsRequest, lnd_rpc_pb.PendingChannelsResponse> {222 path: "/lnrpc.Lightning/PendingChannels";223 requestStream: false;224 responseStream: false;225 requestSerialize: grpc.serialize<lnd_rpc_pb.PendingChannelsRequest>;226 requestDeserialize: grpc.deserialize<lnd_rpc_pb.PendingChannelsRequest>;227 responseSerialize: grpc.serialize<lnd_rpc_pb.PendingChannelsResponse>;228 responseDeserialize: grpc.deserialize<lnd_rpc_pb.PendingChannelsResponse>;229}230interface ILightningService_IListChannels extends grpc.MethodDefinition<lnd_rpc_pb.ListChannelsRequest, lnd_rpc_pb.ListChannelsResponse> {231 path: "/lnrpc.Lightning/ListChannels";232 requestStream: false;233 responseStream: false;234 requestSerialize: grpc.serialize<lnd_rpc_pb.ListChannelsRequest>;235 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListChannelsRequest>;236 responseSerialize: grpc.serialize<lnd_rpc_pb.ListChannelsResponse>;237 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListChannelsResponse>;238}239interface ILightningService_ISubscribeChannelEvents extends grpc.MethodDefinition<lnd_rpc_pb.ChannelEventSubscription, lnd_rpc_pb.ChannelEventUpdate> {240 path: "/lnrpc.Lightning/SubscribeChannelEvents";241 requestStream: false;242 responseStream: true;243 requestSerialize: grpc.serialize<lnd_rpc_pb.ChannelEventSubscription>;244 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelEventSubscription>;245 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelEventUpdate>;246 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelEventUpdate>;247}248interface ILightningService_IClosedChannels extends grpc.MethodDefinition<lnd_rpc_pb.ClosedChannelsRequest, lnd_rpc_pb.ClosedChannelsResponse> {249 path: "/lnrpc.Lightning/ClosedChannels";250 requestStream: false;251 responseStream: false;252 requestSerialize: grpc.serialize<lnd_rpc_pb.ClosedChannelsRequest>;253 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ClosedChannelsRequest>;254 responseSerialize: grpc.serialize<lnd_rpc_pb.ClosedChannelsResponse>;255 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ClosedChannelsResponse>;256}257interface ILightningService_IOpenChannelSync extends grpc.MethodDefinition<lnd_rpc_pb.OpenChannelRequest, lnd_rpc_pb.ChannelPoint> {258 path: "/lnrpc.Lightning/OpenChannelSync";259 requestStream: false;260 responseStream: false;261 requestSerialize: grpc.serialize<lnd_rpc_pb.OpenChannelRequest>;262 requestDeserialize: grpc.deserialize<lnd_rpc_pb.OpenChannelRequest>;263 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelPoint>;264 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelPoint>;265}266interface ILightningService_IOpenChannel extends grpc.MethodDefinition<lnd_rpc_pb.OpenChannelRequest, lnd_rpc_pb.OpenStatusUpdate> {267 path: "/lnrpc.Lightning/OpenChannel";268 requestStream: false;269 responseStream: true;270 requestSerialize: grpc.serialize<lnd_rpc_pb.OpenChannelRequest>;271 requestDeserialize: grpc.deserialize<lnd_rpc_pb.OpenChannelRequest>;272 responseSerialize: grpc.serialize<lnd_rpc_pb.OpenStatusUpdate>;273 responseDeserialize: grpc.deserialize<lnd_rpc_pb.OpenStatusUpdate>;274}275interface ILightningService_IFundingStateStep extends grpc.MethodDefinition<lnd_rpc_pb.FundingTransitionMsg, lnd_rpc_pb.FundingStateStepResp> {276 path: "/lnrpc.Lightning/FundingStateStep";277 requestStream: false;278 responseStream: false;279 requestSerialize: grpc.serialize<lnd_rpc_pb.FundingTransitionMsg>;280 requestDeserialize: grpc.deserialize<lnd_rpc_pb.FundingTransitionMsg>;281 responseSerialize: grpc.serialize<lnd_rpc_pb.FundingStateStepResp>;282 responseDeserialize: grpc.deserialize<lnd_rpc_pb.FundingStateStepResp>;283}284interface ILightningService_IChannelAcceptor extends grpc.MethodDefinition<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest> {285 path: "/lnrpc.Lightning/ChannelAcceptor";286 requestStream: true;287 responseStream: true;288 requestSerialize: grpc.serialize<lnd_rpc_pb.ChannelAcceptResponse>;289 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelAcceptResponse>;290 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelAcceptRequest>;291 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelAcceptRequest>;292}293interface ILightningService_ICloseChannel extends grpc.MethodDefinition<lnd_rpc_pb.CloseChannelRequest, lnd_rpc_pb.CloseStatusUpdate> {294 path: "/lnrpc.Lightning/CloseChannel";295 requestStream: false;296 responseStream: true;297 requestSerialize: grpc.serialize<lnd_rpc_pb.CloseChannelRequest>;298 requestDeserialize: grpc.deserialize<lnd_rpc_pb.CloseChannelRequest>;299 responseSerialize: grpc.serialize<lnd_rpc_pb.CloseStatusUpdate>;300 responseDeserialize: grpc.deserialize<lnd_rpc_pb.CloseStatusUpdate>;301}302interface ILightningService_IAbandonChannel extends grpc.MethodDefinition<lnd_rpc_pb.AbandonChannelRequest, lnd_rpc_pb.AbandonChannelResponse> {303 path: "/lnrpc.Lightning/AbandonChannel";304 requestStream: false;305 responseStream: false;306 requestSerialize: grpc.serialize<lnd_rpc_pb.AbandonChannelRequest>;307 requestDeserialize: grpc.deserialize<lnd_rpc_pb.AbandonChannelRequest>;308 responseSerialize: grpc.serialize<lnd_rpc_pb.AbandonChannelResponse>;309 responseDeserialize: grpc.deserialize<lnd_rpc_pb.AbandonChannelResponse>;310}311interface ILightningService_ISendPayment extends grpc.MethodDefinition<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse> {312 path: "/lnrpc.Lightning/SendPayment";313 requestStream: true;314 responseStream: true;315 requestSerialize: grpc.serialize<lnd_rpc_pb.SendRequest>;316 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendRequest>;317 responseSerialize: grpc.serialize<lnd_rpc_pb.SendResponse>;318 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendResponse>;319}320interface ILightningService_ISendPaymentSync extends grpc.MethodDefinition<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse> {321 path: "/lnrpc.Lightning/SendPaymentSync";322 requestStream: false;323 responseStream: false;324 requestSerialize: grpc.serialize<lnd_rpc_pb.SendRequest>;325 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendRequest>;326 responseSerialize: grpc.serialize<lnd_rpc_pb.SendResponse>;327 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendResponse>;328}329interface ILightningService_ISendToRoute extends grpc.MethodDefinition<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse> {330 path: "/lnrpc.Lightning/SendToRoute";331 requestStream: true;332 responseStream: true;333 requestSerialize: grpc.serialize<lnd_rpc_pb.SendToRouteRequest>;334 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendToRouteRequest>;335 responseSerialize: grpc.serialize<lnd_rpc_pb.SendResponse>;336 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendResponse>;337}338interface ILightningService_ISendToRouteSync extends grpc.MethodDefinition<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse> {339 path: "/lnrpc.Lightning/SendToRouteSync";340 requestStream: false;341 responseStream: false;342 requestSerialize: grpc.serialize<lnd_rpc_pb.SendToRouteRequest>;343 requestDeserialize: grpc.deserialize<lnd_rpc_pb.SendToRouteRequest>;344 responseSerialize: grpc.serialize<lnd_rpc_pb.SendResponse>;345 responseDeserialize: grpc.deserialize<lnd_rpc_pb.SendResponse>;346}347interface ILightningService_IAddInvoice extends grpc.MethodDefinition<lnd_rpc_pb.Invoice, lnd_rpc_pb.AddInvoiceResponse> {348 path: "/lnrpc.Lightning/AddInvoice";349 requestStream: false;350 responseStream: false;351 requestSerialize: grpc.serialize<lnd_rpc_pb.Invoice>;352 requestDeserialize: grpc.deserialize<lnd_rpc_pb.Invoice>;353 responseSerialize: grpc.serialize<lnd_rpc_pb.AddInvoiceResponse>;354 responseDeserialize: grpc.deserialize<lnd_rpc_pb.AddInvoiceResponse>;355}356interface ILightningService_IListInvoices extends grpc.MethodDefinition<lnd_rpc_pb.ListInvoiceRequest, lnd_rpc_pb.ListInvoiceResponse> {357 path: "/lnrpc.Lightning/ListInvoices";358 requestStream: false;359 responseStream: false;360 requestSerialize: grpc.serialize<lnd_rpc_pb.ListInvoiceRequest>;361 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListInvoiceRequest>;362 responseSerialize: grpc.serialize<lnd_rpc_pb.ListInvoiceResponse>;363 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListInvoiceResponse>;364}365interface ILightningService_ILookupInvoice extends grpc.MethodDefinition<lnd_rpc_pb.PaymentHash, lnd_rpc_pb.Invoice> {366 path: "/lnrpc.Lightning/LookupInvoice";367 requestStream: false;368 responseStream: false;369 requestSerialize: grpc.serialize<lnd_rpc_pb.PaymentHash>;370 requestDeserialize: grpc.deserialize<lnd_rpc_pb.PaymentHash>;371 responseSerialize: grpc.serialize<lnd_rpc_pb.Invoice>;372 responseDeserialize: grpc.deserialize<lnd_rpc_pb.Invoice>;373}374interface ILightningService_ISubscribeInvoices extends grpc.MethodDefinition<lnd_rpc_pb.InvoiceSubscription, lnd_rpc_pb.Invoice> {375 path: "/lnrpc.Lightning/SubscribeInvoices";376 requestStream: false;377 responseStream: true;378 requestSerialize: grpc.serialize<lnd_rpc_pb.InvoiceSubscription>;379 requestDeserialize: grpc.deserialize<lnd_rpc_pb.InvoiceSubscription>;380 responseSerialize: grpc.serialize<lnd_rpc_pb.Invoice>;381 responseDeserialize: grpc.deserialize<lnd_rpc_pb.Invoice>;382}383interface ILightningService_IDecodePayReq extends grpc.MethodDefinition<lnd_rpc_pb.PayReqString, lnd_rpc_pb.PayReq> {384 path: "/lnrpc.Lightning/DecodePayReq";385 requestStream: false;386 responseStream: false;387 requestSerialize: grpc.serialize<lnd_rpc_pb.PayReqString>;388 requestDeserialize: grpc.deserialize<lnd_rpc_pb.PayReqString>;389 responseSerialize: grpc.serialize<lnd_rpc_pb.PayReq>;390 responseDeserialize: grpc.deserialize<lnd_rpc_pb.PayReq>;391}392interface ILightningService_IListPayments extends grpc.MethodDefinition<lnd_rpc_pb.ListPaymentsRequest, lnd_rpc_pb.ListPaymentsResponse> {393 path: "/lnrpc.Lightning/ListPayments";394 requestStream: false;395 responseStream: false;396 requestSerialize: grpc.serialize<lnd_rpc_pb.ListPaymentsRequest>;397 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListPaymentsRequest>;398 responseSerialize: grpc.serialize<lnd_rpc_pb.ListPaymentsResponse>;399 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListPaymentsResponse>;400}401interface ILightningService_IDeleteAllPayments extends grpc.MethodDefinition<lnd_rpc_pb.DeleteAllPaymentsRequest, lnd_rpc_pb.DeleteAllPaymentsResponse> {402 path: "/lnrpc.Lightning/DeleteAllPayments";403 requestStream: false;404 responseStream: false;405 requestSerialize: grpc.serialize<lnd_rpc_pb.DeleteAllPaymentsRequest>;406 requestDeserialize: grpc.deserialize<lnd_rpc_pb.DeleteAllPaymentsRequest>;407 responseSerialize: grpc.serialize<lnd_rpc_pb.DeleteAllPaymentsResponse>;408 responseDeserialize: grpc.deserialize<lnd_rpc_pb.DeleteAllPaymentsResponse>;409}410interface ILightningService_IDescribeGraph extends grpc.MethodDefinition<lnd_rpc_pb.ChannelGraphRequest, lnd_rpc_pb.ChannelGraph> {411 path: "/lnrpc.Lightning/DescribeGraph";412 requestStream: false;413 responseStream: false;414 requestSerialize: grpc.serialize<lnd_rpc_pb.ChannelGraphRequest>;415 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelGraphRequest>;416 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelGraph>;417 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelGraph>;418}419interface ILightningService_IGetNodeMetrics extends grpc.MethodDefinition<lnd_rpc_pb.NodeMetricsRequest, lnd_rpc_pb.NodeMetricsResponse> {420 path: "/lnrpc.Lightning/GetNodeMetrics";421 requestStream: false;422 responseStream: false;423 requestSerialize: grpc.serialize<lnd_rpc_pb.NodeMetricsRequest>;424 requestDeserialize: grpc.deserialize<lnd_rpc_pb.NodeMetricsRequest>;425 responseSerialize: grpc.serialize<lnd_rpc_pb.NodeMetricsResponse>;426 responseDeserialize: grpc.deserialize<lnd_rpc_pb.NodeMetricsResponse>;427}428interface ILightningService_IGetChanInfo extends grpc.MethodDefinition<lnd_rpc_pb.ChanInfoRequest, lnd_rpc_pb.ChannelEdge> {429 path: "/lnrpc.Lightning/GetChanInfo";430 requestStream: false;431 responseStream: false;432 requestSerialize: grpc.serialize<lnd_rpc_pb.ChanInfoRequest>;433 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChanInfoRequest>;434 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelEdge>;435 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelEdge>;436}437interface ILightningService_IGetNodeInfo extends grpc.MethodDefinition<lnd_rpc_pb.NodeInfoRequest, lnd_rpc_pb.NodeInfo> {438 path: "/lnrpc.Lightning/GetNodeInfo";439 requestStream: false;440 responseStream: false;441 requestSerialize: grpc.serialize<lnd_rpc_pb.NodeInfoRequest>;442 requestDeserialize: grpc.deserialize<lnd_rpc_pb.NodeInfoRequest>;443 responseSerialize: grpc.serialize<lnd_rpc_pb.NodeInfo>;444 responseDeserialize: grpc.deserialize<lnd_rpc_pb.NodeInfo>;445}446interface ILightningService_IQueryRoutes extends grpc.MethodDefinition<lnd_rpc_pb.QueryRoutesRequest, lnd_rpc_pb.QueryRoutesResponse> {447 path: "/lnrpc.Lightning/QueryRoutes";448 requestStream: false;449 responseStream: false;450 requestSerialize: grpc.serialize<lnd_rpc_pb.QueryRoutesRequest>;451 requestDeserialize: grpc.deserialize<lnd_rpc_pb.QueryRoutesRequest>;452 responseSerialize: grpc.serialize<lnd_rpc_pb.QueryRoutesResponse>;453 responseDeserialize: grpc.deserialize<lnd_rpc_pb.QueryRoutesResponse>;454}455interface ILightningService_IGetNetworkInfo extends grpc.MethodDefinition<lnd_rpc_pb.NetworkInfoRequest, lnd_rpc_pb.NetworkInfo> {456 path: "/lnrpc.Lightning/GetNetworkInfo";457 requestStream: false;458 responseStream: false;459 requestSerialize: grpc.serialize<lnd_rpc_pb.NetworkInfoRequest>;460 requestDeserialize: grpc.deserialize<lnd_rpc_pb.NetworkInfoRequest>;461 responseSerialize: grpc.serialize<lnd_rpc_pb.NetworkInfo>;462 responseDeserialize: grpc.deserialize<lnd_rpc_pb.NetworkInfo>;463}464interface ILightningService_IStopDaemon extends grpc.MethodDefinition<lnd_rpc_pb.StopRequest, lnd_rpc_pb.StopResponse> {465 path: "/lnrpc.Lightning/StopDaemon";466 requestStream: false;467 responseStream: false;468 requestSerialize: grpc.serialize<lnd_rpc_pb.StopRequest>;469 requestDeserialize: grpc.deserialize<lnd_rpc_pb.StopRequest>;470 responseSerialize: grpc.serialize<lnd_rpc_pb.StopResponse>;471 responseDeserialize: grpc.deserialize<lnd_rpc_pb.StopResponse>;472}473interface ILightningService_ISubscribeChannelGraph extends grpc.MethodDefinition<lnd_rpc_pb.GraphTopologySubscription, lnd_rpc_pb.GraphTopologyUpdate> {474 path: "/lnrpc.Lightning/SubscribeChannelGraph";475 requestStream: false;476 responseStream: true;477 requestSerialize: grpc.serialize<lnd_rpc_pb.GraphTopologySubscription>;478 requestDeserialize: grpc.deserialize<lnd_rpc_pb.GraphTopologySubscription>;479 responseSerialize: grpc.serialize<lnd_rpc_pb.GraphTopologyUpdate>;480 responseDeserialize: grpc.deserialize<lnd_rpc_pb.GraphTopologyUpdate>;481}482interface ILightningService_IDebugLevel extends grpc.MethodDefinition<lnd_rpc_pb.DebugLevelRequest, lnd_rpc_pb.DebugLevelResponse> {483 path: "/lnrpc.Lightning/DebugLevel";484 requestStream: false;485 responseStream: false;486 requestSerialize: grpc.serialize<lnd_rpc_pb.DebugLevelRequest>;487 requestDeserialize: grpc.deserialize<lnd_rpc_pb.DebugLevelRequest>;488 responseSerialize: grpc.serialize<lnd_rpc_pb.DebugLevelResponse>;489 responseDeserialize: grpc.deserialize<lnd_rpc_pb.DebugLevelResponse>;490}491interface ILightningService_IFeeReport extends grpc.MethodDefinition<lnd_rpc_pb.FeeReportRequest, lnd_rpc_pb.FeeReportResponse> {492 path: "/lnrpc.Lightning/FeeReport";493 requestStream: false;494 responseStream: false;495 requestSerialize: grpc.serialize<lnd_rpc_pb.FeeReportRequest>;496 requestDeserialize: grpc.deserialize<lnd_rpc_pb.FeeReportRequest>;497 responseSerialize: grpc.serialize<lnd_rpc_pb.FeeReportResponse>;498 responseDeserialize: grpc.deserialize<lnd_rpc_pb.FeeReportResponse>;499}500interface ILightningService_IUpdateChannelPolicy extends grpc.MethodDefinition<lnd_rpc_pb.PolicyUpdateRequest, lnd_rpc_pb.PolicyUpdateResponse> {501 path: "/lnrpc.Lightning/UpdateChannelPolicy";502 requestStream: false;503 responseStream: false;504 requestSerialize: grpc.serialize<lnd_rpc_pb.PolicyUpdateRequest>;505 requestDeserialize: grpc.deserialize<lnd_rpc_pb.PolicyUpdateRequest>;506 responseSerialize: grpc.serialize<lnd_rpc_pb.PolicyUpdateResponse>;507 responseDeserialize: grpc.deserialize<lnd_rpc_pb.PolicyUpdateResponse>;508}509interface ILightningService_IForwardingHistory extends grpc.MethodDefinition<lnd_rpc_pb.ForwardingHistoryRequest, lnd_rpc_pb.ForwardingHistoryResponse> {510 path: "/lnrpc.Lightning/ForwardingHistory";511 requestStream: false;512 responseStream: false;513 requestSerialize: grpc.serialize<lnd_rpc_pb.ForwardingHistoryRequest>;514 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ForwardingHistoryRequest>;515 responseSerialize: grpc.serialize<lnd_rpc_pb.ForwardingHistoryResponse>;516 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ForwardingHistoryResponse>;517}518interface ILightningService_IExportChannelBackup extends grpc.MethodDefinition<lnd_rpc_pb.ExportChannelBackupRequest, lnd_rpc_pb.ChannelBackup> {519 path: "/lnrpc.Lightning/ExportChannelBackup";520 requestStream: false;521 responseStream: false;522 requestSerialize: grpc.serialize<lnd_rpc_pb.ExportChannelBackupRequest>;523 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ExportChannelBackupRequest>;524 responseSerialize: grpc.serialize<lnd_rpc_pb.ChannelBackup>;525 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelBackup>;526}527interface ILightningService_IExportAllChannelBackups extends grpc.MethodDefinition<lnd_rpc_pb.ChanBackupExportRequest, lnd_rpc_pb.ChanBackupSnapshot> {528 path: "/lnrpc.Lightning/ExportAllChannelBackups";529 requestStream: false;530 responseStream: false;531 requestSerialize: grpc.serialize<lnd_rpc_pb.ChanBackupExportRequest>;532 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChanBackupExportRequest>;533 responseSerialize: grpc.serialize<lnd_rpc_pb.ChanBackupSnapshot>;534 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChanBackupSnapshot>;535}536interface ILightningService_IVerifyChanBackup extends grpc.MethodDefinition<lnd_rpc_pb.ChanBackupSnapshot, lnd_rpc_pb.VerifyChanBackupResponse> {537 path: "/lnrpc.Lightning/VerifyChanBackup";538 requestStream: false;539 responseStream: false;540 requestSerialize: grpc.serialize<lnd_rpc_pb.ChanBackupSnapshot>;541 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChanBackupSnapshot>;542 responseSerialize: grpc.serialize<lnd_rpc_pb.VerifyChanBackupResponse>;543 responseDeserialize: grpc.deserialize<lnd_rpc_pb.VerifyChanBackupResponse>;544}545interface ILightningService_IRestoreChannelBackups extends grpc.MethodDefinition<lnd_rpc_pb.RestoreChanBackupRequest, lnd_rpc_pb.RestoreBackupResponse> {546 path: "/lnrpc.Lightning/RestoreChannelBackups";547 requestStream: false;548 responseStream: false;549 requestSerialize: grpc.serialize<lnd_rpc_pb.RestoreChanBackupRequest>;550 requestDeserialize: grpc.deserialize<lnd_rpc_pb.RestoreChanBackupRequest>;551 responseSerialize: grpc.serialize<lnd_rpc_pb.RestoreBackupResponse>;552 responseDeserialize: grpc.deserialize<lnd_rpc_pb.RestoreBackupResponse>;553}554interface ILightningService_ISubscribeChannelBackups extends grpc.MethodDefinition<lnd_rpc_pb.ChannelBackupSubscription, lnd_rpc_pb.ChanBackupSnapshot> {555 path: "/lnrpc.Lightning/SubscribeChannelBackups";556 requestStream: false;557 responseStream: true;558 requestSerialize: grpc.serialize<lnd_rpc_pb.ChannelBackupSubscription>;559 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ChannelBackupSubscription>;560 responseSerialize: grpc.serialize<lnd_rpc_pb.ChanBackupSnapshot>;561 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ChanBackupSnapshot>;562}563interface ILightningService_IBakeMacaroon extends grpc.MethodDefinition<lnd_rpc_pb.BakeMacaroonRequest, lnd_rpc_pb.BakeMacaroonResponse> {564 path: "/lnrpc.Lightning/BakeMacaroon";565 requestStream: false;566 responseStream: false;567 requestSerialize: grpc.serialize<lnd_rpc_pb.BakeMacaroonRequest>;568 requestDeserialize: grpc.deserialize<lnd_rpc_pb.BakeMacaroonRequest>;569 responseSerialize: grpc.serialize<lnd_rpc_pb.BakeMacaroonResponse>;570 responseDeserialize: grpc.deserialize<lnd_rpc_pb.BakeMacaroonResponse>;571}572interface ILightningService_IListMacaroonIDs extends grpc.MethodDefinition<lnd_rpc_pb.ListMacaroonIDsRequest, lnd_rpc_pb.ListMacaroonIDsResponse> {573 path: "/lnrpc.Lightning/ListMacaroonIDs";574 requestStream: false;575 responseStream: false;576 requestSerialize: grpc.serialize<lnd_rpc_pb.ListMacaroonIDsRequest>;577 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListMacaroonIDsRequest>;578 responseSerialize: grpc.serialize<lnd_rpc_pb.ListMacaroonIDsResponse>;579 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListMacaroonIDsResponse>;580}581interface ILightningService_IDeleteMacaroonID extends grpc.MethodDefinition<lnd_rpc_pb.DeleteMacaroonIDRequest, lnd_rpc_pb.DeleteMacaroonIDResponse> {582 path: "/lnrpc.Lightning/DeleteMacaroonID";583 requestStream: false;584 responseStream: false;585 requestSerialize: grpc.serialize<lnd_rpc_pb.DeleteMacaroonIDRequest>;586 requestDeserialize: grpc.deserialize<lnd_rpc_pb.DeleteMacaroonIDRequest>;587 responseSerialize: grpc.serialize<lnd_rpc_pb.DeleteMacaroonIDResponse>;588 responseDeserialize: grpc.deserialize<lnd_rpc_pb.DeleteMacaroonIDResponse>;589}590interface ILightningService_IListPermissions extends grpc.MethodDefinition<lnd_rpc_pb.ListPermissionsRequest, lnd_rpc_pb.ListPermissionsResponse> {591 path: "/lnrpc.Lightning/ListPermissions";592 requestStream: false;593 responseStream: false;594 requestSerialize: grpc.serialize<lnd_rpc_pb.ListPermissionsRequest>;595 requestDeserialize: grpc.deserialize<lnd_rpc_pb.ListPermissionsRequest>;596 responseSerialize: grpc.serialize<lnd_rpc_pb.ListPermissionsResponse>;597 responseDeserialize: grpc.deserialize<lnd_rpc_pb.ListPermissionsResponse>;598}599export const LightningService: ILightningService;600export interface ILightningServer {601 walletBalance: grpc.handleUnaryCall<lnd_rpc_pb.WalletBalanceRequest, lnd_rpc_pb.WalletBalanceResponse>;602 channelBalance: grpc.handleUnaryCall<lnd_rpc_pb.ChannelBalanceRequest, lnd_rpc_pb.ChannelBalanceResponse>;603 getTransactions: grpc.handleUnaryCall<lnd_rpc_pb.GetTransactionsRequest, lnd_rpc_pb.TransactionDetails>;604 estimateFee: grpc.handleUnaryCall<lnd_rpc_pb.EstimateFeeRequest, lnd_rpc_pb.EstimateFeeResponse>;605 sendCoins: grpc.handleUnaryCall<lnd_rpc_pb.SendCoinsRequest, lnd_rpc_pb.SendCoinsResponse>;606 listUnspent: grpc.handleUnaryCall<lnd_rpc_pb.ListUnspentRequest, lnd_rpc_pb.ListUnspentResponse>;607 subscribeTransactions: grpc.handleServerStreamingCall<lnd_rpc_pb.GetTransactionsRequest, lnd_rpc_pb.Transaction>;608 sendMany: grpc.handleUnaryCall<lnd_rpc_pb.SendManyRequest, lnd_rpc_pb.SendManyResponse>;609 newAddress: grpc.handleUnaryCall<lnd_rpc_pb.NewAddressRequest, lnd_rpc_pb.NewAddressResponse>;610 signMessage: grpc.handleUnaryCall<lnd_rpc_pb.SignMessageRequest, lnd_rpc_pb.SignMessageResponse>;611 verifyMessage: grpc.handleUnaryCall<lnd_rpc_pb.VerifyMessageRequest, lnd_rpc_pb.VerifyMessageResponse>;612 connectPeer: grpc.handleUnaryCall<lnd_rpc_pb.ConnectPeerRequest, lnd_rpc_pb.ConnectPeerResponse>;613 disconnectPeer: grpc.handleUnaryCall<lnd_rpc_pb.DisconnectPeerRequest, lnd_rpc_pb.DisconnectPeerResponse>;614 listPeers: grpc.handleUnaryCall<lnd_rpc_pb.ListPeersRequest, lnd_rpc_pb.ListPeersResponse>;615 subscribePeerEvents: grpc.handleServerStreamingCall<lnd_rpc_pb.PeerEventSubscription, lnd_rpc_pb.PeerEvent>;616 getInfo: grpc.handleUnaryCall<lnd_rpc_pb.GetInfoRequest, lnd_rpc_pb.GetInfoResponse>;617 getRecoveryInfo: grpc.handleUnaryCall<lnd_rpc_pb.GetRecoveryInfoRequest, lnd_rpc_pb.GetRecoveryInfoResponse>;618 pendingChannels: grpc.handleUnaryCall<lnd_rpc_pb.PendingChannelsRequest, lnd_rpc_pb.PendingChannelsResponse>;619 listChannels: grpc.handleUnaryCall<lnd_rpc_pb.ListChannelsRequest, lnd_rpc_pb.ListChannelsResponse>;620 subscribeChannelEvents: grpc.handleServerStreamingCall<lnd_rpc_pb.ChannelEventSubscription, lnd_rpc_pb.ChannelEventUpdate>;621 closedChannels: grpc.handleUnaryCall<lnd_rpc_pb.ClosedChannelsRequest, lnd_rpc_pb.ClosedChannelsResponse>;622 openChannelSync: grpc.handleUnaryCall<lnd_rpc_pb.OpenChannelRequest, lnd_rpc_pb.ChannelPoint>;623 openChannel: grpc.handleServerStreamingCall<lnd_rpc_pb.OpenChannelRequest, lnd_rpc_pb.OpenStatusUpdate>;624 fundingStateStep: grpc.handleUnaryCall<lnd_rpc_pb.FundingTransitionMsg, lnd_rpc_pb.FundingStateStepResp>;625 channelAcceptor: grpc.handleBidiStreamingCall<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;626 closeChannel: grpc.handleServerStreamingCall<lnd_rpc_pb.CloseChannelRequest, lnd_rpc_pb.CloseStatusUpdate>;627 abandonChannel: grpc.handleUnaryCall<lnd_rpc_pb.AbandonChannelRequest, lnd_rpc_pb.AbandonChannelResponse>;628 sendPayment: grpc.handleBidiStreamingCall<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;629 sendPaymentSync: grpc.handleUnaryCall<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;630 sendToRoute: grpc.handleBidiStreamingCall<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;631 sendToRouteSync: grpc.handleUnaryCall<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;632 addInvoice: grpc.handleUnaryCall<lnd_rpc_pb.Invoice, lnd_rpc_pb.AddInvoiceResponse>;633 listInvoices: grpc.handleUnaryCall<lnd_rpc_pb.ListInvoiceRequest, lnd_rpc_pb.ListInvoiceResponse>;634 lookupInvoice: grpc.handleUnaryCall<lnd_rpc_pb.PaymentHash, lnd_rpc_pb.Invoice>;635 subscribeInvoices: grpc.handleServerStreamingCall<lnd_rpc_pb.InvoiceSubscription, lnd_rpc_pb.Invoice>;636 decodePayReq: grpc.handleUnaryCall<lnd_rpc_pb.PayReqString, lnd_rpc_pb.PayReq>;637 listPayments: grpc.handleUnaryCall<lnd_rpc_pb.ListPaymentsRequest, lnd_rpc_pb.ListPaymentsResponse>;638 deleteAllPayments: grpc.handleUnaryCall<lnd_rpc_pb.DeleteAllPaymentsRequest, lnd_rpc_pb.DeleteAllPaymentsResponse>;639 describeGraph: grpc.handleUnaryCall<lnd_rpc_pb.ChannelGraphRequest, lnd_rpc_pb.ChannelGraph>;640 getNodeMetrics: grpc.handleUnaryCall<lnd_rpc_pb.NodeMetricsRequest, lnd_rpc_pb.NodeMetricsResponse>;641 getChanInfo: grpc.handleUnaryCall<lnd_rpc_pb.ChanInfoRequest, lnd_rpc_pb.ChannelEdge>;642 getNodeInfo: grpc.handleUnaryCall<lnd_rpc_pb.NodeInfoRequest, lnd_rpc_pb.NodeInfo>;643 queryRoutes: grpc.handleUnaryCall<lnd_rpc_pb.QueryRoutesRequest, lnd_rpc_pb.QueryRoutesResponse>;644 getNetworkInfo: grpc.handleUnaryCall<lnd_rpc_pb.NetworkInfoRequest, lnd_rpc_pb.NetworkInfo>;645 stopDaemon: grpc.handleUnaryCall<lnd_rpc_pb.StopRequest, lnd_rpc_pb.StopResponse>;646 subscribeChannelGraph: grpc.handleServerStreamingCall<lnd_rpc_pb.GraphTopologySubscription, lnd_rpc_pb.GraphTopologyUpdate>;647 debugLevel: grpc.handleUnaryCall<lnd_rpc_pb.DebugLevelRequest, lnd_rpc_pb.DebugLevelResponse>;648 feeReport: grpc.handleUnaryCall<lnd_rpc_pb.FeeReportRequest, lnd_rpc_pb.FeeReportResponse>;649 updateChannelPolicy: grpc.handleUnaryCall<lnd_rpc_pb.PolicyUpdateRequest, lnd_rpc_pb.PolicyUpdateResponse>;650 forwardingHistory: grpc.handleUnaryCall<lnd_rpc_pb.ForwardingHistoryRequest, lnd_rpc_pb.ForwardingHistoryResponse>;651 exportChannelBackup: grpc.handleUnaryCall<lnd_rpc_pb.ExportChannelBackupRequest, lnd_rpc_pb.ChannelBackup>;652 exportAllChannelBackups: grpc.handleUnaryCall<lnd_rpc_pb.ChanBackupExportRequest, lnd_rpc_pb.ChanBackupSnapshot>;653 verifyChanBackup: grpc.handleUnaryCall<lnd_rpc_pb.ChanBackupSnapshot, lnd_rpc_pb.VerifyChanBackupResponse>;654 restoreChannelBackups: grpc.handleUnaryCall<lnd_rpc_pb.RestoreChanBackupRequest, lnd_rpc_pb.RestoreBackupResponse>;655 subscribeChannelBackups: grpc.handleServerStreamingCall<lnd_rpc_pb.ChannelBackupSubscription, lnd_rpc_pb.ChanBackupSnapshot>;656 bakeMacaroon: grpc.handleUnaryCall<lnd_rpc_pb.BakeMacaroonRequest, lnd_rpc_pb.BakeMacaroonResponse>;657 listMacaroonIDs: grpc.handleUnaryCall<lnd_rpc_pb.ListMacaroonIDsRequest, lnd_rpc_pb.ListMacaroonIDsResponse>;658 deleteMacaroonID: grpc.handleUnaryCall<lnd_rpc_pb.DeleteMacaroonIDRequest, lnd_rpc_pb.DeleteMacaroonIDResponse>;659 listPermissions: grpc.handleUnaryCall<lnd_rpc_pb.ListPermissionsRequest, lnd_rpc_pb.ListPermissionsResponse>;660}661export interface ILightningClient {662 walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;663 walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;664 walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;665 channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;666 channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;667 channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;668 getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;669 getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;670 getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;671 estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;672 estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;673 estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;674 sendCoins(request: lnd_rpc_pb.SendCoinsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;675 sendCoins(request: lnd_rpc_pb.SendCoinsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;676 sendCoins(request: lnd_rpc_pb.SendCoinsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;677 listUnspent(request: lnd_rpc_pb.ListUnspentRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;678 listUnspent(request: lnd_rpc_pb.ListUnspentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;679 listUnspent(request: lnd_rpc_pb.ListUnspentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;680 subscribeTransactions(request: lnd_rpc_pb.GetTransactionsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Transaction>;681 subscribeTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Transaction>;682 sendMany(request: lnd_rpc_pb.SendManyRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;683 sendMany(request: lnd_rpc_pb.SendManyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;684 sendMany(request: lnd_rpc_pb.SendManyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;685 newAddress(request: lnd_rpc_pb.NewAddressRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;686 newAddress(request: lnd_rpc_pb.NewAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;687 newAddress(request: lnd_rpc_pb.NewAddressRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;688 signMessage(request: lnd_rpc_pb.SignMessageRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;689 signMessage(request: lnd_rpc_pb.SignMessageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;690 signMessage(request: lnd_rpc_pb.SignMessageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;691 verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;692 verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;693 verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;694 connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;695 connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;696 connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;697 disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;698 disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;699 disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;700 listPeers(request: lnd_rpc_pb.ListPeersRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;701 listPeers(request: lnd_rpc_pb.ListPeersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;702 listPeers(request: lnd_rpc_pb.ListPeersRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;703 subscribePeerEvents(request: lnd_rpc_pb.PeerEventSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.PeerEvent>;704 subscribePeerEvents(request: lnd_rpc_pb.PeerEventSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.PeerEvent>;705 getInfo(request: lnd_rpc_pb.GetInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;706 getInfo(request: lnd_rpc_pb.GetInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;707 getInfo(request: lnd_rpc_pb.GetInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;708 getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;709 getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;710 getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;711 pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;712 pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;713 pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;714 listChannels(request: lnd_rpc_pb.ListChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;715 listChannels(request: lnd_rpc_pb.ListChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;716 listChannels(request: lnd_rpc_pb.ListChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;717 subscribeChannelEvents(request: lnd_rpc_pb.ChannelEventSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChannelEventUpdate>;718 subscribeChannelEvents(request: lnd_rpc_pb.ChannelEventSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChannelEventUpdate>;719 closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;720 closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;721 closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;722 openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;723 openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;724 openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;725 openChannel(request: lnd_rpc_pb.OpenChannelRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.OpenStatusUpdate>;726 openChannel(request: lnd_rpc_pb.OpenChannelRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.OpenStatusUpdate>;727 fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;728 fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;729 fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;730 channelAcceptor(): grpc.ClientDuplexStream<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;731 channelAcceptor(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;732 channelAcceptor(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;733 closeChannel(request: lnd_rpc_pb.CloseChannelRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.CloseStatusUpdate>;734 closeChannel(request: lnd_rpc_pb.CloseChannelRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.CloseStatusUpdate>;735 abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;736 abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;737 abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;738 sendPayment(): grpc.ClientDuplexStream<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;739 sendPayment(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;740 sendPayment(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;741 sendPaymentSync(request: lnd_rpc_pb.SendRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;742 sendPaymentSync(request: lnd_rpc_pb.SendRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;743 sendPaymentSync(request: lnd_rpc_pb.SendRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;744 sendToRoute(): grpc.ClientDuplexStream<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;745 sendToRoute(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;746 sendToRoute(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;747 sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;748 sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;749 sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;750 addInvoice(request: lnd_rpc_pb.Invoice, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;751 addInvoice(request: lnd_rpc_pb.Invoice, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;752 addInvoice(request: lnd_rpc_pb.Invoice, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;753 listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;754 listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;755 listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;756 lookupInvoice(request: lnd_rpc_pb.PaymentHash, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;757 lookupInvoice(request: lnd_rpc_pb.PaymentHash, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;758 lookupInvoice(request: lnd_rpc_pb.PaymentHash, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;759 subscribeInvoices(request: lnd_rpc_pb.InvoiceSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Invoice>;760 subscribeInvoices(request: lnd_rpc_pb.InvoiceSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Invoice>;761 decodePayReq(request: lnd_rpc_pb.PayReqString, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;762 decodePayReq(request: lnd_rpc_pb.PayReqString, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;763 decodePayReq(request: lnd_rpc_pb.PayReqString, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;764 listPayments(request: lnd_rpc_pb.ListPaymentsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;765 listPayments(request: lnd_rpc_pb.ListPaymentsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;766 listPayments(request: lnd_rpc_pb.ListPaymentsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;767 deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;768 deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;769 deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;770 describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;771 describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;772 describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;773 getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;774 getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;775 getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;776 getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;777 getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;778 getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;779 getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;780 getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;781 getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;782 queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;783 queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;784 queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;785 getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;786 getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;787 getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;788 stopDaemon(request: lnd_rpc_pb.StopRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;789 stopDaemon(request: lnd_rpc_pb.StopRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;790 stopDaemon(request: lnd_rpc_pb.StopRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;791 subscribeChannelGraph(request: lnd_rpc_pb.GraphTopologySubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.GraphTopologyUpdate>;792 subscribeChannelGraph(request: lnd_rpc_pb.GraphTopologySubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.GraphTopologyUpdate>;793 debugLevel(request: lnd_rpc_pb.DebugLevelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;794 debugLevel(request: lnd_rpc_pb.DebugLevelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;795 debugLevel(request: lnd_rpc_pb.DebugLevelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;796 feeReport(request: lnd_rpc_pb.FeeReportRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;797 feeReport(request: lnd_rpc_pb.FeeReportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;798 feeReport(request: lnd_rpc_pb.FeeReportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;799 updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;800 updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;801 updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;802 forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;803 forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;804 forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;805 exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;806 exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;807 exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;808 exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;809 exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;810 exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;811 verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;812 verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;813 verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;814 restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;815 restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;816 restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;817 subscribeChannelBackups(request: lnd_rpc_pb.ChannelBackupSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChanBackupSnapshot>;818 subscribeChannelBackups(request: lnd_rpc_pb.ChannelBackupSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChanBackupSnapshot>;819 bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;820 bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;821 bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;822 listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;823 listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;824 listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;825 deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;826 deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;827 deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;828 listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;829 listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;830 listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;831}832export class LightningClient extends grpc.Client implements ILightningClient {833 constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);834 public walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;835 public walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;836 public walletBalance(request: lnd_rpc_pb.WalletBalanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.WalletBalanceResponse) => void): grpc.ClientUnaryCall;837 public channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;838 public channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;839 public channelBalance(request: lnd_rpc_pb.ChannelBalanceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBalanceResponse) => void): grpc.ClientUnaryCall;840 public getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;841 public getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;842 public getTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.TransactionDetails) => void): grpc.ClientUnaryCall;843 public estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;844 public estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;845 public estimateFee(request: lnd_rpc_pb.EstimateFeeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.EstimateFeeResponse) => void): grpc.ClientUnaryCall;846 public sendCoins(request: lnd_rpc_pb.SendCoinsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;847 public sendCoins(request: lnd_rpc_pb.SendCoinsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;848 public sendCoins(request: lnd_rpc_pb.SendCoinsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendCoinsResponse) => void): grpc.ClientUnaryCall;849 public listUnspent(request: lnd_rpc_pb.ListUnspentRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;850 public listUnspent(request: lnd_rpc_pb.ListUnspentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;851 public listUnspent(request: lnd_rpc_pb.ListUnspentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListUnspentResponse) => void): grpc.ClientUnaryCall;852 public subscribeTransactions(request: lnd_rpc_pb.GetTransactionsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Transaction>;853 public subscribeTransactions(request: lnd_rpc_pb.GetTransactionsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Transaction>;854 public sendMany(request: lnd_rpc_pb.SendManyRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;855 public sendMany(request: lnd_rpc_pb.SendManyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;856 public sendMany(request: lnd_rpc_pb.SendManyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendManyResponse) => void): grpc.ClientUnaryCall;857 public newAddress(request: lnd_rpc_pb.NewAddressRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;858 public newAddress(request: lnd_rpc_pb.NewAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;859 public newAddress(request: lnd_rpc_pb.NewAddressRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NewAddressResponse) => void): grpc.ClientUnaryCall;860 public signMessage(request: lnd_rpc_pb.SignMessageRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;861 public signMessage(request: lnd_rpc_pb.SignMessageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;862 public signMessage(request: lnd_rpc_pb.SignMessageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SignMessageResponse) => void): grpc.ClientUnaryCall;863 public verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;864 public verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;865 public verifyMessage(request: lnd_rpc_pb.VerifyMessageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyMessageResponse) => void): grpc.ClientUnaryCall;866 public connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;867 public connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;868 public connectPeer(request: lnd_rpc_pb.ConnectPeerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ConnectPeerResponse) => void): grpc.ClientUnaryCall;869 public disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;870 public disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;871 public disconnectPeer(request: lnd_rpc_pb.DisconnectPeerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DisconnectPeerResponse) => void): grpc.ClientUnaryCall;872 public listPeers(request: lnd_rpc_pb.ListPeersRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;873 public listPeers(request: lnd_rpc_pb.ListPeersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;874 public listPeers(request: lnd_rpc_pb.ListPeersRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPeersResponse) => void): grpc.ClientUnaryCall;875 public subscribePeerEvents(request: lnd_rpc_pb.PeerEventSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.PeerEvent>;876 public subscribePeerEvents(request: lnd_rpc_pb.PeerEventSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.PeerEvent>;877 public getInfo(request: lnd_rpc_pb.GetInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;878 public getInfo(request: lnd_rpc_pb.GetInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;879 public getInfo(request: lnd_rpc_pb.GetInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetInfoResponse) => void): grpc.ClientUnaryCall;880 public getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;881 public getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;882 public getRecoveryInfo(request: lnd_rpc_pb.GetRecoveryInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.GetRecoveryInfoResponse) => void): grpc.ClientUnaryCall;883 public pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;884 public pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;885 public pendingChannels(request: lnd_rpc_pb.PendingChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PendingChannelsResponse) => void): grpc.ClientUnaryCall;886 public listChannels(request: lnd_rpc_pb.ListChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;887 public listChannels(request: lnd_rpc_pb.ListChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;888 public listChannels(request: lnd_rpc_pb.ListChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListChannelsResponse) => void): grpc.ClientUnaryCall;889 public subscribeChannelEvents(request: lnd_rpc_pb.ChannelEventSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChannelEventUpdate>;890 public subscribeChannelEvents(request: lnd_rpc_pb.ChannelEventSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChannelEventUpdate>;891 public closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;892 public closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;893 public closedChannels(request: lnd_rpc_pb.ClosedChannelsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ClosedChannelsResponse) => void): grpc.ClientUnaryCall;894 public openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;895 public openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;896 public openChannelSync(request: lnd_rpc_pb.OpenChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelPoint) => void): grpc.ClientUnaryCall;897 public openChannel(request: lnd_rpc_pb.OpenChannelRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.OpenStatusUpdate>;898 public openChannel(request: lnd_rpc_pb.OpenChannelRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.OpenStatusUpdate>;899 public fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;900 public fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;901 public fundingStateStep(request: lnd_rpc_pb.FundingTransitionMsg, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FundingStateStepResp) => void): grpc.ClientUnaryCall;902 public channelAcceptor(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;903 public channelAcceptor(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.ChannelAcceptResponse, lnd_rpc_pb.ChannelAcceptRequest>;904 public closeChannel(request: lnd_rpc_pb.CloseChannelRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.CloseStatusUpdate>;905 public closeChannel(request: lnd_rpc_pb.CloseChannelRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.CloseStatusUpdate>;906 public abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;907 public abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;908 public abandonChannel(request: lnd_rpc_pb.AbandonChannelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AbandonChannelResponse) => void): grpc.ClientUnaryCall;909 public sendPayment(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;910 public sendPayment(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendRequest, lnd_rpc_pb.SendResponse>;911 public sendPaymentSync(request: lnd_rpc_pb.SendRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;912 public sendPaymentSync(request: lnd_rpc_pb.SendRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;913 public sendPaymentSync(request: lnd_rpc_pb.SendRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;914 public sendToRoute(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;915 public sendToRoute(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_rpc_pb.SendToRouteRequest, lnd_rpc_pb.SendResponse>;916 public sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;917 public sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;918 public sendToRouteSync(request: lnd_rpc_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.SendResponse) => void): grpc.ClientUnaryCall;919 public addInvoice(request: lnd_rpc_pb.Invoice, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;920 public addInvoice(request: lnd_rpc_pb.Invoice, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;921 public addInvoice(request: lnd_rpc_pb.Invoice, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.AddInvoiceResponse) => void): grpc.ClientUnaryCall;922 public listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;923 public listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;924 public listInvoices(request: lnd_rpc_pb.ListInvoiceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListInvoiceResponse) => void): grpc.ClientUnaryCall;925 public lookupInvoice(request: lnd_rpc_pb.PaymentHash, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;926 public lookupInvoice(request: lnd_rpc_pb.PaymentHash, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;927 public lookupInvoice(request: lnd_rpc_pb.PaymentHash, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.Invoice) => void): grpc.ClientUnaryCall;928 public subscribeInvoices(request: lnd_rpc_pb.InvoiceSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Invoice>;929 public subscribeInvoices(request: lnd_rpc_pb.InvoiceSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Invoice>;930 public decodePayReq(request: lnd_rpc_pb.PayReqString, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;931 public decodePayReq(request: lnd_rpc_pb.PayReqString, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;932 public decodePayReq(request: lnd_rpc_pb.PayReqString, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PayReq) => void): grpc.ClientUnaryCall;933 public listPayments(request: lnd_rpc_pb.ListPaymentsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;934 public listPayments(request: lnd_rpc_pb.ListPaymentsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;935 public listPayments(request: lnd_rpc_pb.ListPaymentsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPaymentsResponse) => void): grpc.ClientUnaryCall;936 public deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;937 public deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;938 public deleteAllPayments(request: lnd_rpc_pb.DeleteAllPaymentsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteAllPaymentsResponse) => void): grpc.ClientUnaryCall;939 public describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;940 public describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;941 public describeGraph(request: lnd_rpc_pb.ChannelGraphRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelGraph) => void): grpc.ClientUnaryCall;942 public getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;943 public getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;944 public getNodeMetrics(request: lnd_rpc_pb.NodeMetricsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeMetricsResponse) => void): grpc.ClientUnaryCall;945 public getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;946 public getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;947 public getChanInfo(request: lnd_rpc_pb.ChanInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelEdge) => void): grpc.ClientUnaryCall;948 public getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;949 public getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;950 public getNodeInfo(request: lnd_rpc_pb.NodeInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NodeInfo) => void): grpc.ClientUnaryCall;951 public queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;952 public queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;953 public queryRoutes(request: lnd_rpc_pb.QueryRoutesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.QueryRoutesResponse) => void): grpc.ClientUnaryCall;954 public getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;955 public getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;956 public getNetworkInfo(request: lnd_rpc_pb.NetworkInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.NetworkInfo) => void): grpc.ClientUnaryCall;957 public stopDaemon(request: lnd_rpc_pb.StopRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;958 public stopDaemon(request: lnd_rpc_pb.StopRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;959 public stopDaemon(request: lnd_rpc_pb.StopRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.StopResponse) => void): grpc.ClientUnaryCall;960 public subscribeChannelGraph(request: lnd_rpc_pb.GraphTopologySubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.GraphTopologyUpdate>;961 public subscribeChannelGraph(request: lnd_rpc_pb.GraphTopologySubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.GraphTopologyUpdate>;962 public debugLevel(request: lnd_rpc_pb.DebugLevelRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;963 public debugLevel(request: lnd_rpc_pb.DebugLevelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;964 public debugLevel(request: lnd_rpc_pb.DebugLevelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DebugLevelResponse) => void): grpc.ClientUnaryCall;965 public feeReport(request: lnd_rpc_pb.FeeReportRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;966 public feeReport(request: lnd_rpc_pb.FeeReportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;967 public feeReport(request: lnd_rpc_pb.FeeReportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.FeeReportResponse) => void): grpc.ClientUnaryCall;968 public updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;969 public updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;970 public updateChannelPolicy(request: lnd_rpc_pb.PolicyUpdateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.PolicyUpdateResponse) => void): grpc.ClientUnaryCall;971 public forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;972 public forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;973 public forwardingHistory(request: lnd_rpc_pb.ForwardingHistoryRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ForwardingHistoryResponse) => void): grpc.ClientUnaryCall;974 public exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;975 public exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;976 public exportChannelBackup(request: lnd_rpc_pb.ExportChannelBackupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChannelBackup) => void): grpc.ClientUnaryCall;977 public exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;978 public exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;979 public exportAllChannelBackups(request: lnd_rpc_pb.ChanBackupExportRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ChanBackupSnapshot) => void): grpc.ClientUnaryCall;980 public verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;981 public verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;982 public verifyChanBackup(request: lnd_rpc_pb.ChanBackupSnapshot, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.VerifyChanBackupResponse) => void): grpc.ClientUnaryCall;983 public restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;984 public restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;985 public restoreChannelBackups(request: lnd_rpc_pb.RestoreChanBackupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.RestoreBackupResponse) => void): grpc.ClientUnaryCall;986 public subscribeChannelBackups(request: lnd_rpc_pb.ChannelBackupSubscription, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChanBackupSnapshot>;987 public subscribeChannelBackups(request: lnd_rpc_pb.ChannelBackupSubscription, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.ChanBackupSnapshot>;988 public bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;989 public bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;990 public bakeMacaroon(request: lnd_rpc_pb.BakeMacaroonRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.BakeMacaroonResponse) => void): grpc.ClientUnaryCall;991 public listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;992 public listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;993 public listMacaroonIDs(request: lnd_rpc_pb.ListMacaroonIDsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListMacaroonIDsResponse) => void): grpc.ClientUnaryCall;994 public deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;995 public deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;996 public deleteMacaroonID(request: lnd_rpc_pb.DeleteMacaroonIDRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.DeleteMacaroonIDResponse) => void): grpc.ClientUnaryCall;997 public listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;998 public listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;999 public listPermissions(request: lnd_rpc_pb.ListPermissionsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.ListPermissionsResponse) => void): grpc.ClientUnaryCall;...
router_grpc_pb.d.ts
Source:router_grpc_pb.d.ts
1// package: routerrpc2// file: lnd/router.proto3/* tslint:disable */4/* eslint-disable */5import * as grpc from "grpc";6import * as lnd_router_pb from "../lnd/router_pb";7import * as lnd_rpc_pb from "../lnd/rpc_pb";8interface IRouterService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {9 sendPaymentV2: IRouterService_ISendPaymentV2;10 trackPaymentV2: IRouterService_ITrackPaymentV2;11 estimateRouteFee: IRouterService_IEstimateRouteFee;12 sendToRoute: IRouterService_ISendToRoute;13 sendToRouteV2: IRouterService_ISendToRouteV2;14 resetMissionControl: IRouterService_IResetMissionControl;15 queryMissionControl: IRouterService_IQueryMissionControl;16 getMissionControlConfig: IRouterService_IGetMissionControlConfig;17 setMissionControlConfig: IRouterService_ISetMissionControlConfig;18 queryProbability: IRouterService_IQueryProbability;19 buildRoute: IRouterService_IBuildRoute;20 subscribeHtlcEvents: IRouterService_ISubscribeHtlcEvents;21 sendPayment: IRouterService_ISendPayment;22 trackPayment: IRouterService_ITrackPayment;23 htlcInterceptor: IRouterService_IHtlcInterceptor;24}25interface IRouterService_ISendPaymentV2 extends grpc.MethodDefinition<lnd_router_pb.SendPaymentRequest, lnd_rpc_pb.Payment> {26 path: "/routerrpc.Router/SendPaymentV2";27 requestStream: false;28 responseStream: true;29 requestSerialize: grpc.serialize<lnd_router_pb.SendPaymentRequest>;30 requestDeserialize: grpc.deserialize<lnd_router_pb.SendPaymentRequest>;31 responseSerialize: grpc.serialize<lnd_rpc_pb.Payment>;32 responseDeserialize: grpc.deserialize<lnd_rpc_pb.Payment>;33}34interface IRouterService_ITrackPaymentV2 extends grpc.MethodDefinition<lnd_router_pb.TrackPaymentRequest, lnd_rpc_pb.Payment> {35 path: "/routerrpc.Router/TrackPaymentV2";36 requestStream: false;37 responseStream: true;38 requestSerialize: grpc.serialize<lnd_router_pb.TrackPaymentRequest>;39 requestDeserialize: grpc.deserialize<lnd_router_pb.TrackPaymentRequest>;40 responseSerialize: grpc.serialize<lnd_rpc_pb.Payment>;41 responseDeserialize: grpc.deserialize<lnd_rpc_pb.Payment>;42}43interface IRouterService_IEstimateRouteFee extends grpc.MethodDefinition<lnd_router_pb.RouteFeeRequest, lnd_router_pb.RouteFeeResponse> {44 path: "/routerrpc.Router/EstimateRouteFee";45 requestStream: false;46 responseStream: false;47 requestSerialize: grpc.serialize<lnd_router_pb.RouteFeeRequest>;48 requestDeserialize: grpc.deserialize<lnd_router_pb.RouteFeeRequest>;49 responseSerialize: grpc.serialize<lnd_router_pb.RouteFeeResponse>;50 responseDeserialize: grpc.deserialize<lnd_router_pb.RouteFeeResponse>;51}52interface IRouterService_ISendToRoute extends grpc.MethodDefinition<lnd_router_pb.SendToRouteRequest, lnd_router_pb.SendToRouteResponse> {53 path: "/routerrpc.Router/SendToRoute";54 requestStream: false;55 responseStream: false;56 requestSerialize: grpc.serialize<lnd_router_pb.SendToRouteRequest>;57 requestDeserialize: grpc.deserialize<lnd_router_pb.SendToRouteRequest>;58 responseSerialize: grpc.serialize<lnd_router_pb.SendToRouteResponse>;59 responseDeserialize: grpc.deserialize<lnd_router_pb.SendToRouteResponse>;60}61interface IRouterService_ISendToRouteV2 extends grpc.MethodDefinition<lnd_router_pb.SendToRouteRequest, lnd_rpc_pb.HTLCAttempt> {62 path: "/routerrpc.Router/SendToRouteV2";63 requestStream: false;64 responseStream: false;65 requestSerialize: grpc.serialize<lnd_router_pb.SendToRouteRequest>;66 requestDeserialize: grpc.deserialize<lnd_router_pb.SendToRouteRequest>;67 responseSerialize: grpc.serialize<lnd_rpc_pb.HTLCAttempt>;68 responseDeserialize: grpc.deserialize<lnd_rpc_pb.HTLCAttempt>;69}70interface IRouterService_IResetMissionControl extends grpc.MethodDefinition<lnd_router_pb.ResetMissionControlRequest, lnd_router_pb.ResetMissionControlResponse> {71 path: "/routerrpc.Router/ResetMissionControl";72 requestStream: false;73 responseStream: false;74 requestSerialize: grpc.serialize<lnd_router_pb.ResetMissionControlRequest>;75 requestDeserialize: grpc.deserialize<lnd_router_pb.ResetMissionControlRequest>;76 responseSerialize: grpc.serialize<lnd_router_pb.ResetMissionControlResponse>;77 responseDeserialize: grpc.deserialize<lnd_router_pb.ResetMissionControlResponse>;78}79interface IRouterService_IQueryMissionControl extends grpc.MethodDefinition<lnd_router_pb.QueryMissionControlRequest, lnd_router_pb.QueryMissionControlResponse> {80 path: "/routerrpc.Router/QueryMissionControl";81 requestStream: false;82 responseStream: false;83 requestSerialize: grpc.serialize<lnd_router_pb.QueryMissionControlRequest>;84 requestDeserialize: grpc.deserialize<lnd_router_pb.QueryMissionControlRequest>;85 responseSerialize: grpc.serialize<lnd_router_pb.QueryMissionControlResponse>;86 responseDeserialize: grpc.deserialize<lnd_router_pb.QueryMissionControlResponse>;87}88interface IRouterService_IGetMissionControlConfig extends grpc.MethodDefinition<lnd_router_pb.GetMissionControlConfigRequest, lnd_router_pb.GetMissionControlConfigResponse> {89 path: "/routerrpc.Router/GetMissionControlConfig";90 requestStream: false;91 responseStream: false;92 requestSerialize: grpc.serialize<lnd_router_pb.GetMissionControlConfigRequest>;93 requestDeserialize: grpc.deserialize<lnd_router_pb.GetMissionControlConfigRequest>;94 responseSerialize: grpc.serialize<lnd_router_pb.GetMissionControlConfigResponse>;95 responseDeserialize: grpc.deserialize<lnd_router_pb.GetMissionControlConfigResponse>;96}97interface IRouterService_ISetMissionControlConfig extends grpc.MethodDefinition<lnd_router_pb.SetMissionControlConfigRequest, lnd_router_pb.SetMissionControlConfigResponse> {98 path: "/routerrpc.Router/SetMissionControlConfig";99 requestStream: false;100 responseStream: false;101 requestSerialize: grpc.serialize<lnd_router_pb.SetMissionControlConfigRequest>;102 requestDeserialize: grpc.deserialize<lnd_router_pb.SetMissionControlConfigRequest>;103 responseSerialize: grpc.serialize<lnd_router_pb.SetMissionControlConfigResponse>;104 responseDeserialize: grpc.deserialize<lnd_router_pb.SetMissionControlConfigResponse>;105}106interface IRouterService_IQueryProbability extends grpc.MethodDefinition<lnd_router_pb.QueryProbabilityRequest, lnd_router_pb.QueryProbabilityResponse> {107 path: "/routerrpc.Router/QueryProbability";108 requestStream: false;109 responseStream: false;110 requestSerialize: grpc.serialize<lnd_router_pb.QueryProbabilityRequest>;111 requestDeserialize: grpc.deserialize<lnd_router_pb.QueryProbabilityRequest>;112 responseSerialize: grpc.serialize<lnd_router_pb.QueryProbabilityResponse>;113 responseDeserialize: grpc.deserialize<lnd_router_pb.QueryProbabilityResponse>;114}115interface IRouterService_IBuildRoute extends grpc.MethodDefinition<lnd_router_pb.BuildRouteRequest, lnd_router_pb.BuildRouteResponse> {116 path: "/routerrpc.Router/BuildRoute";117 requestStream: false;118 responseStream: false;119 requestSerialize: grpc.serialize<lnd_router_pb.BuildRouteRequest>;120 requestDeserialize: grpc.deserialize<lnd_router_pb.BuildRouteRequest>;121 responseSerialize: grpc.serialize<lnd_router_pb.BuildRouteResponse>;122 responseDeserialize: grpc.deserialize<lnd_router_pb.BuildRouteResponse>;123}124interface IRouterService_ISubscribeHtlcEvents extends grpc.MethodDefinition<lnd_router_pb.SubscribeHtlcEventsRequest, lnd_router_pb.HtlcEvent> {125 path: "/routerrpc.Router/SubscribeHtlcEvents";126 requestStream: false;127 responseStream: true;128 requestSerialize: grpc.serialize<lnd_router_pb.SubscribeHtlcEventsRequest>;129 requestDeserialize: grpc.deserialize<lnd_router_pb.SubscribeHtlcEventsRequest>;130 responseSerialize: grpc.serialize<lnd_router_pb.HtlcEvent>;131 responseDeserialize: grpc.deserialize<lnd_router_pb.HtlcEvent>;132}133interface IRouterService_ISendPayment extends grpc.MethodDefinition<lnd_router_pb.SendPaymentRequest, lnd_router_pb.PaymentStatus> {134 path: "/routerrpc.Router/SendPayment";135 requestStream: false;136 responseStream: true;137 requestSerialize: grpc.serialize<lnd_router_pb.SendPaymentRequest>;138 requestDeserialize: grpc.deserialize<lnd_router_pb.SendPaymentRequest>;139 responseSerialize: grpc.serialize<lnd_router_pb.PaymentStatus>;140 responseDeserialize: grpc.deserialize<lnd_router_pb.PaymentStatus>;141}142interface IRouterService_ITrackPayment extends grpc.MethodDefinition<lnd_router_pb.TrackPaymentRequest, lnd_router_pb.PaymentStatus> {143 path: "/routerrpc.Router/TrackPayment";144 requestStream: false;145 responseStream: true;146 requestSerialize: grpc.serialize<lnd_router_pb.TrackPaymentRequest>;147 requestDeserialize: grpc.deserialize<lnd_router_pb.TrackPaymentRequest>;148 responseSerialize: grpc.serialize<lnd_router_pb.PaymentStatus>;149 responseDeserialize: grpc.deserialize<lnd_router_pb.PaymentStatus>;150}151interface IRouterService_IHtlcInterceptor extends grpc.MethodDefinition<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest> {152 path: "/routerrpc.Router/HtlcInterceptor";153 requestStream: true;154 responseStream: true;155 requestSerialize: grpc.serialize<lnd_router_pb.ForwardHtlcInterceptResponse>;156 requestDeserialize: grpc.deserialize<lnd_router_pb.ForwardHtlcInterceptResponse>;157 responseSerialize: grpc.serialize<lnd_router_pb.ForwardHtlcInterceptRequest>;158 responseDeserialize: grpc.deserialize<lnd_router_pb.ForwardHtlcInterceptRequest>;159}160export const RouterService: IRouterService;161export interface IRouterServer {162 sendPaymentV2: grpc.handleServerStreamingCall<lnd_router_pb.SendPaymentRequest, lnd_rpc_pb.Payment>;163 trackPaymentV2: grpc.handleServerStreamingCall<lnd_router_pb.TrackPaymentRequest, lnd_rpc_pb.Payment>;164 estimateRouteFee: grpc.handleUnaryCall<lnd_router_pb.RouteFeeRequest, lnd_router_pb.RouteFeeResponse>;165 sendToRoute: grpc.handleUnaryCall<lnd_router_pb.SendToRouteRequest, lnd_router_pb.SendToRouteResponse>;166 sendToRouteV2: grpc.handleUnaryCall<lnd_router_pb.SendToRouteRequest, lnd_rpc_pb.HTLCAttempt>;167 resetMissionControl: grpc.handleUnaryCall<lnd_router_pb.ResetMissionControlRequest, lnd_router_pb.ResetMissionControlResponse>;168 queryMissionControl: grpc.handleUnaryCall<lnd_router_pb.QueryMissionControlRequest, lnd_router_pb.QueryMissionControlResponse>;169 getMissionControlConfig: grpc.handleUnaryCall<lnd_router_pb.GetMissionControlConfigRequest, lnd_router_pb.GetMissionControlConfigResponse>;170 setMissionControlConfig: grpc.handleUnaryCall<lnd_router_pb.SetMissionControlConfigRequest, lnd_router_pb.SetMissionControlConfigResponse>;171 queryProbability: grpc.handleUnaryCall<lnd_router_pb.QueryProbabilityRequest, lnd_router_pb.QueryProbabilityResponse>;172 buildRoute: grpc.handleUnaryCall<lnd_router_pb.BuildRouteRequest, lnd_router_pb.BuildRouteResponse>;173 subscribeHtlcEvents: grpc.handleServerStreamingCall<lnd_router_pb.SubscribeHtlcEventsRequest, lnd_router_pb.HtlcEvent>;174 sendPayment: grpc.handleServerStreamingCall<lnd_router_pb.SendPaymentRequest, lnd_router_pb.PaymentStatus>;175 trackPayment: grpc.handleServerStreamingCall<lnd_router_pb.TrackPaymentRequest, lnd_router_pb.PaymentStatus>;176 htlcInterceptor: grpc.handleBidiStreamingCall<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;177}178export interface IRouterClient {179 sendPaymentV2(request: lnd_router_pb.SendPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;180 sendPaymentV2(request: lnd_router_pb.SendPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;181 trackPaymentV2(request: lnd_router_pb.TrackPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;182 trackPaymentV2(request: lnd_router_pb.TrackPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;183 estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;184 estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;185 estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;186 sendToRoute(request: lnd_router_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;187 sendToRoute(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;188 sendToRoute(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;189 sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;190 sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;191 sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;192 resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;193 resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;194 resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;195 queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;196 queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;197 queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;198 getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;199 getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;200 getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;201 setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;202 setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;203 setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;204 queryProbability(request: lnd_router_pb.QueryProbabilityRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;205 queryProbability(request: lnd_router_pb.QueryProbabilityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;206 queryProbability(request: lnd_router_pb.QueryProbabilityRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;207 buildRoute(request: lnd_router_pb.BuildRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;208 buildRoute(request: lnd_router_pb.BuildRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;209 buildRoute(request: lnd_router_pb.BuildRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;210 subscribeHtlcEvents(request: lnd_router_pb.SubscribeHtlcEventsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.HtlcEvent>;211 subscribeHtlcEvents(request: lnd_router_pb.SubscribeHtlcEventsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.HtlcEvent>;212 sendPayment(request: lnd_router_pb.SendPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;213 sendPayment(request: lnd_router_pb.SendPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;214 trackPayment(request: lnd_router_pb.TrackPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;215 trackPayment(request: lnd_router_pb.TrackPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;216 htlcInterceptor(): grpc.ClientDuplexStream<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;217 htlcInterceptor(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;218 htlcInterceptor(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;219}220export class RouterClient extends grpc.Client implements IRouterClient {221 constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);222 public sendPaymentV2(request: lnd_router_pb.SendPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;223 public sendPaymentV2(request: lnd_router_pb.SendPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;224 public trackPaymentV2(request: lnd_router_pb.TrackPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;225 public trackPaymentV2(request: lnd_router_pb.TrackPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_rpc_pb.Payment>;226 public estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;227 public estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;228 public estimateRouteFee(request: lnd_router_pb.RouteFeeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.RouteFeeResponse) => void): grpc.ClientUnaryCall;229 public sendToRoute(request: lnd_router_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;230 public sendToRoute(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;231 public sendToRoute(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SendToRouteResponse) => void): grpc.ClientUnaryCall;232 public sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;233 public sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;234 public sendToRouteV2(request: lnd_router_pb.SendToRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_rpc_pb.HTLCAttempt) => void): grpc.ClientUnaryCall;235 public resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;236 public resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;237 public resetMissionControl(request: lnd_router_pb.ResetMissionControlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.ResetMissionControlResponse) => void): grpc.ClientUnaryCall;238 public queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;239 public queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;240 public queryMissionControl(request: lnd_router_pb.QueryMissionControlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryMissionControlResponse) => void): grpc.ClientUnaryCall;241 public getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;242 public getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;243 public getMissionControlConfig(request: lnd_router_pb.GetMissionControlConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.GetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;244 public setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;245 public setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;246 public setMissionControlConfig(request: lnd_router_pb.SetMissionControlConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.SetMissionControlConfigResponse) => void): grpc.ClientUnaryCall;247 public queryProbability(request: lnd_router_pb.QueryProbabilityRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;248 public queryProbability(request: lnd_router_pb.QueryProbabilityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;249 public queryProbability(request: lnd_router_pb.QueryProbabilityRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.QueryProbabilityResponse) => void): grpc.ClientUnaryCall;250 public buildRoute(request: lnd_router_pb.BuildRouteRequest, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;251 public buildRoute(request: lnd_router_pb.BuildRouteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;252 public buildRoute(request: lnd_router_pb.BuildRouteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: lnd_router_pb.BuildRouteResponse) => void): grpc.ClientUnaryCall;253 public subscribeHtlcEvents(request: lnd_router_pb.SubscribeHtlcEventsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.HtlcEvent>;254 public subscribeHtlcEvents(request: lnd_router_pb.SubscribeHtlcEventsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.HtlcEvent>;255 public sendPayment(request: lnd_router_pb.SendPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;256 public sendPayment(request: lnd_router_pb.SendPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;257 public trackPayment(request: lnd_router_pb.TrackPaymentRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;258 public trackPayment(request: lnd_router_pb.TrackPaymentRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<lnd_router_pb.PaymentStatus>;259 public htlcInterceptor(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;260 public htlcInterceptor(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<lnd_router_pb.ForwardHtlcInterceptResponse, lnd_router_pb.ForwardHtlcInterceptRequest>;...
progbar.js
Source:progbar.js
1/*2 * Copyright (c) 2018, Joyent, Inc.3 */4var mod_readline = require('readline');5var mod_fs = require('fs');6var mod_tty = require('tty');7var mod_stream = require('stream');8if (!mod_stream.Transform) {9 mod_stream = require('readable-stream');10}11var mod_assert = require('assert-plus');12var mod_extsprintf = require('extsprintf');13var sprintf = mod_extsprintf.sprintf;14/*15 * Human-readable Units:16 */17var KILOBYTE = 1024;18var MEGABYTE = KILOBYTE * 1024;19var GIGABYTE = MEGABYTE * 1024;20var THOUSAND = 1000;21var MILLION = THOUSAND * 1000;22var BILLION = MILLION * 1000;23/*24 * How long should we wait (in ms) before considering our average/rate25 * fit to print?26 */27var WARMUP_DELAY = 2000;28/*29 * ECMA-48 terminal handling support:30 */31var ECMA48 = {32 ESC: '\x1b',33 CSI: '\x1b[',34 CHA: 'G'35};36var ECMA48_TERMINAL = false;37if (process.env.TERM) {38 if (process.env.TERM.match(/^xterm/) ||39 process.env.TERM.match(/^rxvt/) ||40 process.env.TERM.match(/^screen/) ||41 process.env.TERM === 'ansi') {42 ECMA48_TERMINAL = true;43 }44}45/*46 * DEC Private Modes:47 * (generally VT300 and later, but certainly xterms)48 */49var DEC = {50 RST: 'l',51 SET: 'h',52 TCEM: '?25'53};54var DEC_TERMINAL = false;55if (process.env.TERM) {56 if (process.env.TERM.match(/^xterm/) ||57 process.env.TERM.match(/^rxvt/) ||58 process.env.TERM.match(/^screen/)) {59 DEC_TERMINAL = true;60 }61}62/*63 * On UNIX platforms, we can generally just write to the TTY.64 */65var UNIX_PLATFORMS = [ 'sunos', 'solaris', 'darwin', 'linux', 'openbsd',66 'netbsd', 'freebsd' ];67var USE_READLINE = (UNIX_PLATFORMS.indexOf(process.platform) === -1);68/*69 * Utility Functions:70 */71function72caplength(str, len)73{74 if (str.length > len) {75 return ('...' + str.slice(str.length - len + 3,76 str.length));77 } else {78 while (str.length < len)79 str += ' ';80 return (str);81 }82}83function84formattime(seconds)85{86 var hours, minutes;87 hours = Math.floor(seconds / 3600);88 seconds -= hours * 3600;89 minutes = Math.floor(seconds / 60);90 seconds -= minutes * 60;91 if (hours > 99) {92 return (sprintf('%dh', hours));93 } else if (hours > 0) {94 return (sprintf('%2dh%2dm', hours, minutes));95 } else if (minutes > 0) {96 return (sprintf('%2dm%2ds', minutes, seconds));97 } else {98 return (sprintf('%2ds', seconds));99 }100}101function102formatsize(bytes)103{104 if (bytes >= GIGABYTE) {105 return ((bytes / GIGABYTE).toFixed(2) + 'GB');106 } else if (bytes >= MEGABYTE) {107 return ((bytes / MEGABYTE).toFixed(2) + 'MB');108 } else if (bytes >= KILOBYTE) {109 return ((bytes / KILOBYTE).toFixed(2) + 'KB');110 } else {111 return (bytes + 'B');112 }113}114function115formatcount(elems)116{117 if (elems >= BILLION) {118 return ((elems / BILLION).toFixed(2) + 'B');119 } else if (elems >= MILLION) {120 return ((elems / MILLION).toFixed(2) + 'M');121 } else if (elems >= THOUSAND) {122 return ((elems / THOUSAND).toFixed(2) + 'K');123 } else {124 return (elems);125 }126}127function128init_readline(_tty)129{130 /*131 * We don't want to connect Readline up to the actual stdin,132 * lest it consume input and generally mess around. Instead,133 * we fake up a barely passable Streams object that acts a bit134 * like /dev/null ...135 */136 var rlif;137 var fakeStdin = {138 listeners: function () { return ([]); },139 on: function () {},140 removeListener: function () {},141 resume: function () {},142 pause: function () {},143 listenerCount: function () { return (0); }144 };145 rlif = mod_readline.createInterface(fakeStdin, _tty);146 rlif.setPrompt('');147 return (rlif);148}149/*150 * ProgressBar -- the main class.151 */152function153ProgressBar(options)154{155 var self = this;156 mod_assert.object(options, 'options');157 mod_assert.string(options.filename, 'options.filename');158 mod_assert.optionalBool(options.hidecursor, 'options.hidecursor');159 mod_assert.optionalNumber(options.maxdrawfreq, 'options.maxdrawfreq');160 mod_assert.optionalBool(options.bytes, 'options.bytes');161 mod_assert.optionalBool(options.devtty, 'options.devtty');162 if (options.nosize) {163 mod_assert.bool(options.nosize);164 mod_assert.ok(typeof (options.size) === 'undefined',165 'nosize and size are mutually exclusive');166 } else {167 mod_assert.number(options.size, 'options.size');168 mod_assert.ok(options.size >= 0, 'options.size 0 or more');169 }170 if (options.bytes === false) {171 self.pb_fmtfunc = formatcount;172 } else {173 self.pb_fmtfunc = formatsize;174 }175 self.pb_hide_cursor = options.hidecursor ? true : false;176 self.pb_filename = options.filename;177 if (options.nosize) {178 self.pb_nosize = true;179 self.pb_size = 0;180 } else {181 self.pb_nosize = false;182 self.pb_size = options.size;183 }184 self.pb_progress = 0;185 self.pb_done = false;186 self.pb_ttyfd = -1;187 self.pb_tty = process.stderr;188 if (options.devtty) {189 /*190 * Some processes will have their stdio file descriptors191 * redirected, for example to a log file capturing both stdout192 * and stderr. In this event, on UNIX systems, it is possible193 * to open the controlling terminal via the special device194 * "/dev/tty". We do not do this by default as it can violate195 * the principle of least astonishment for users.196 *197 * We can make direct use of the less-than-public WriteStream198 * class in the "tty" module to get some semblance of regular199 * node TTY handling (including reading the terminal size).200 * This has been tested on node 0.8.26 and node 0.10.18, but201 * may require changes in the future.202 */203 mod_assert.ok(!USE_READLINE, 'devtty only valid on UNIX ' +204 'systems');205 self.pb_ttyfd = mod_fs.openSync('/dev/tty', 'r+');206 self.pb_tty = new mod_tty.WriteStream(self.pb_ttyfd);207 }208 self.pb_rlif = null;209 if (USE_READLINE || !ECMA48_TERMINAL) {210 self.pb_rlif = init_readline(self.pb_tty);211 }212 /*213 * Node itself will handle resize signals on the "process.stdout" tty214 * stream. Register a resize handler for whatever tty we end up215 * binding to:216 */217 self.pb_sigwinch = self._sigwinch.bind(self);218 process.on('SIGWINCH', self.pb_sigwinch);219 if (options.maxdrawfreq !== undefined) {220 mod_assert.ok(options.maxdrawfreq > 0,221 'options.maxdrawfreq > 0');222 self.pb_drawperiod = Math.floor((1 / options.maxdrawfreq) *223 1000);224 } else {225 self.pb_drawperiod = 500; /* 2 Hz */226 }227 self.pb_lastdrawtime = 0;228 self.pb_lastdrawwidth = 0;229 self.pb_startat = Date.now();230 self.pb_readings = 0;231 self.pb_stream = null;232}233ProgressBar.prototype._sigwinch = function234_sigwinch()235{236 var self = this;237 try {238 self.pb_tty._refreshSize();239 } catch (ex) {240 }241};242ProgressBar.prototype._cleanup = function243_cleanup()244{245 var self = this;246 var rlif = self.pb_rlif;247 if (rlif !== null)248 rlif.close();249 if (self.pb_sigwinch !== null) {250 process.removeListener('SIGWINCH', self.pb_sigwinch);251 self.pb_sigwinch = null;252 }253 /*254 * We opened a file descriptor for access to /dev/tty, so we must255 * clean up the TTY WriteStream here:256 */257 if (self.pb_ttyfd !== -1) {258 self.pb_tty.end();259 self.pb_tty = null;260 self.pb_ttyfd = -1;261 }262};263ProgressBar.prototype._write = function264_write(data, clear_first)265{266 var self = this;267 var rlif = self.pb_rlif;268 var tty = self.pb_tty;269 if (rlif !== null) {270 if (clear_first && ECMA48_TERMINAL) {271 /*272 * On an ECMA-48 compliant terminal, we can use:273 *274 * 8.3.9 CHA - CURSOR CHARACTER ABSOLUTE275 * CSI Pn 04/07276 *277 * to return the cursor to column 1. We then278 * overwrite the previous progress bar with a new279 * one, resulting in less flicker than erasing280 * the entire line before printing again.281 */282 rlif.write(ECMA48.CSI + '1' + ECMA48.CHA);283 } else if (clear_first) {284 /*285 * Otherwise, assume readline knows how to clear286 * the line before we repaint it.287 */288 rlif.write(null, { ctrl: true, name: 'u' });289 }290 if (data)291 rlif.write(data);292 } else {293 mod_assert.ok(ECMA48_TERMINAL, 'ECMA48_TERMINAL');294 if (clear_first)295 tty.write(ECMA48.CSI + '1' + ECMA48.CHA);296 if (data)297 tty.write(data);298 }299};300ProgressBar.prototype.stream = function301stream(stream_opts)302{303 var self = this;304 if (self.pb_stream === null) {305 if (!stream_opts) {306 /*307 * If the user does not pass in stream options,308 * create a basic options field without any buffering.309 */310 stream_opts = {311 highWaterMark: 0312 };313 }314 /*315 * Detect if the user requested an Object Mode stream or not.316 */317 var was_object_mode = false;318 if (stream_opts.objectMode) {319 was_object_mode = true;320 }321 self.pb_stream = new mod_stream.Transform(stream_opts);322 self.pb_stream._transform = function (data, _, done) {323 this.push(data);324 if (was_object_mode) {325 /*326 * Each _transform() call represents one327 * object in the stream.328 */329 self.advance(1);330 } else {331 /*332 * Each _transform() call should receive333 * either a Buffer or a String, both of334 * which ought to have a numeric length335 * property.336 */337 mod_assert.number(data.length, 'data.length');338 self.advance(data.length);339 }340 done();341 };342 self.pb_stream._flush = function (done) {343 self.end();344 done();345 };346 }347 return (self.pb_stream);348};349ProgressBar.prototype.end = function350end(options)351{352 var self = this;353 mod_assert.optionalObject(options, 'options');354 if (!options)355 options = {};356 mod_assert.optionalBool(options.nocomplete, 'options.nocomplete');357 /*358 * Re-enable the cursor if we turned it off:359 */360 if (self.pb_hide_cursor && DEC_TERMINAL)361 self._write(ECMA48.CSI + DEC.TCEM + DEC.SET, false);362 if (self.pb_done)363 return;364 if (!self.pb_nosize && !options.nocomplete)365 self.pb_progress = self.pb_size;366 self.draw();367 self._write('\n', false);368 self._cleanup();369 self.pb_done = true;370};371ProgressBar.prototype.resize = function372resize(newsize)373{374 var self = this;375 mod_assert.ok(!self.pb_done, 'cannot resize a finished progress bar');376 if (!newsize) {377 self.pb_nosize = true;378 self.pb_size = 0;379 } else {380 mod_assert.number(newsize, 'new size must be false or a ' +381 'number');382 self.pb_nosize = false;383 self.pb_size = newsize;384 }385 /*386 * Redraw with the new configuration:387 */388 self.advance(0);389};390ProgressBar.prototype.advance = function391advance(progress)392{393 var self = this;394 if (self.pb_done)395 return;396 self.pb_readings++;397 self.pb_progress += progress;398 if (!self.pb_nosize && self.pb_progress >= self.pb_size) {399 /*400 * We're finished.401 */402 self.end();403 return;404 }405 var now = Date.now();406 if (now - self.pb_lastdrawtime > self.pb_drawperiod)407 self.draw();408};409ProgressBar.prototype.draw = function410draw()411{412 var self = this;413 if (self.pb_done)414 return;415 /*416 * If this is our first drawing run, and we believe we have417 * support for hiding the cursor, then do so:418 */419 if (self.pb_hide_cursor && DEC_TERMINAL && self.pb_lastdrawtime === 0)420 self._write(ECMA48.CSI + DEC.TCEM + DEC.RST);421 var ratestr = '';422 var etastr = '';423 var now = Date.now();424 if ((self.pb_nosize || self.pb_size > 0) && self.pb_readings > 5 &&425 (now - self.pb_startat) > WARMUP_DELAY) {426 var period = (now - self.pb_startat) / 1000;427 var rate = Math.floor(self.pb_progress / period);428 ratestr = self.pb_fmtfunc(rate) + '/s';429 if (!self.pb_nosize && self.pb_progress < self.pb_size) {430 var remaining = Math.floor((self.pb_size -431 self.pb_progress) / rate);432 etastr = formattime(remaining);433 } else {434 etastr = formattime(period);435 }436 }437 var bar = '';438 var filestr;439 var infostr;440 var filewidth;441 if (self.pb_nosize) {442 infostr = sprintf(' %8s %10s %6s',443 self.pb_fmtfunc(self.pb_progress), ratestr, etastr);444 filewidth = self.pb_tty.columns - infostr.length - 2;445 filestr = caplength(self.pb_filename, filewidth) + ' ';446 } else {447 var percent = self.pb_size === 0 ? 100 :448 Math.floor((self.pb_progress / self.pb_size) * 100);449 infostr = sprintf(' %3d%% %8s %10s %6s', percent,450 self.pb_fmtfunc(self.pb_progress), ratestr, etastr);451 filewidth = Math.floor(self.pb_tty.columns / 4);452 filestr = caplength(self.pb_filename, filewidth) + ' ';453 var barwidth = self.pb_tty.columns - filestr.length -454 infostr.length - 3;455 var donlen = self.pb_size === 0 ? barwidth :456 Math.floor(barwidth * (self.pb_progress / self.pb_size));457 while (bar.length < donlen - 1)458 bar += '=';459 while (bar.length < donlen)460 bar += '>';461 while (bar.length < barwidth)462 bar += ' ';463 bar = '[' + bar + ']';464 }465 self._write(filestr + bar + infostr, true);466 self.pb_lastdrawwidth = filestr.length + bar.length + infostr.length;467 self.pb_lastdrawtime = Date.now();468};469/*470 * Write a line of log-style text so that it scrolls up the screen _above_471 * the progress bar, then redraw the progress bar.472 */473ProgressBar.prototype.log = function474log(str)475{476 var self = this;477 mod_assert.string(str, 'must provide a string to log');478 /*479 * The logged string must not contain newlines:480 */481 mod_assert.ok(!str.match(/\n/), 'log string must not contain ' +482 'newlines');483 if (self.pb_done) {484 /*485 * We've already drawn the final progress bar line, so486 * just write and get out.487 */488 self._write(str + '\n', false);489 return;490 }491 if (self.pb_lastdrawwidth !== 0) {492 /*493 * We already drew a progress bar. Make sure the log message494 * will overwrite the whole thing. If not, extend it with495 * spaces to cover the shortfall.496 */497 while (str.length < self.pb_lastdrawwidth)498 str += ' ';499 }500 self._write(str + '\n', true);501 self.draw();502};503module.exports = {504 ProgressBar: ProgressBar505};...
Using AI Code Generation
1const { pb } = require('fast-check-monorepo')2console.log(pb())3const { pb } = require('fast-check')4console.log(pb())5const { pb } = require('fast-check-1')6console.log(pb())7const { pb } = require('fast-check-2')8console.log(pb())9const { pb } = require('fast-check-3')10console.log(pb())11const { pb } = require('fast-check-4')12console.log(pb())13const { pb } = require('fast-check-5')14console.log(pb())15const { pb } = require('fast-check-6')16console.log(pb())17const { pb } = require('fast-check-7')18console.log(pb())19const { pb } = require('fast-check-8')20console.log(pb())21const { pb } = require('fast-check-9')22console.log(pb())23const { pb } = require('fast-check-10')24console.log(pb())25const { pb } = require('fast-check-11')26console.log(pb())27const { pb } = require('fast-check-12')28console.log(pb())29const { pb } = require('fast-check-13')30console.log(pb())31const { pb } = require('fast-check-14')32console.log(pb())33const { pb } = require('fast-check-15')34console.log(pb())35const { pb } = require('fast-check-16')36console.log(pb())
Using AI Code Generation
1import { pb } from 'fast-check-monorepo';2test('test pb', () => {3 expect(pb()).toBe('pb');4});5{6 "compilerOptions": {7 "paths": {8 }9 },10}11{12 "scripts": {13 },14 "devDependencies": {15 },16 "dependencies": {17 }18}19module.exports = {20 moduleNameMapper: {21 },22};23{
Using AI Code Generation
1import { pb } from 'fast-check-monorepo';2import { pb } from 'fast-check';3import { pb } from 'fast-check';4import { pb } from 'fast-check';5import { pb } from 'fast-check';6import { pb } from 'fast-check';7import { pb } from 'fast-check';8import { pb } from 'fast-check';9import { pb } from 'fast-check';10import { pb } from 'fast-check';11import { pb
Using AI Code Generation
1const { pb } = require('fast-check');2const fc = require('fast-check');3const { Random } = require('fast-check');4const isPrime = (n) => {5 if (n < 2) return false;6 for (let i = 2; i < n; i++) {7 if (n % i === 0) return false;8 }9 return true;10};11const isPrimeGen = fc.integer(2, 1000).filter(isPrime);12const isEven = (n) => n % 2 === 0;13const isOdd = (n) => n % 2 !== 0;14const isEvenGen = fc.integer().filter(isEven);15const isOddGen = fc.integer().filter(isOdd);16const isEvenOrOdd = (n) => isEven(n) || isOdd(n);17const isEvenOrOddGen = fc.integer().filter(isEvenOrOdd);18const isEvenAndOdd = (n) => isEven(n) && isOdd(n);19const isEvenAndOddGen = fc.integer().filter(isEvenAndOdd);20const isEvenOrOddAndOdd = (n) => (isEven(n) || isOdd(n)) && isOdd(n);21const isEvenOrOddAndOddGen = fc.integer().filter(isEvenOrOddAndOdd);22const isEvenAndOddOrOdd = (n) => isEven(n) && (isOdd(n) || isOdd(n));23const isEvenAndOddOrOddGen = fc.integer().filter(isEvenAndOddOrOdd);24const isEvenOrOddOrOdd = (n) => isEven(n) || isOdd(n) || isOdd(n);25const isEvenOrOddOrOddGen = fc.integer().filter(isEvenOrOddOrOdd);26const isEvenAndOddAndOdd = (n) => isEven(n) && isOdd(n) && isOdd(n);27const isEvenAndOddAndOddGen = fc.integer().filter(isEvenAndOddAndOdd);28const isEvenOrOddAndOddAndOdd = (n) => (isEven(n) || isOdd(n)) && isOdd(n) && isOdd(n);29const isEvenOrOddAndOddAndOddGen = fc.integer().filter(isEvenOrOddAndOddAndOdd);30const isEvenAndOddOrOddAndOdd = (n) => isEven(n) && (isOdd(n) || is
Using AI Code Generation
1const { pb } = require('fast-check');2const fc = require('fast-check');3const arb = fc.integer(1, 100);4const prop = (n) => n > 0;5const seed = 42;6const numRuns = 100;7const p = pb({ seed, numRuns, verbose: true });8p.assert(prop, arb);9const { pb } = require('fast-check');10const fc = require('fast-check/lib/fast-check-default');11const arb = fc.integer(1, 100);12const prop = (n) => n > 0;13const seed = 42;14const numRuns = 100;15const p = pb({ seed, numRuns, verbose: true });16p.assert(prop, arb);17at Object. (test.js:19:6)18at Module._compile (internal/modules/cjs/loader.js:1137:30)19at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)20at Module.load (internal/modules/cjs/loader.js:986:32)21at Function.Module._load (internal/modules/cjs/loader.js:879:14)22at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)23import { pb } from 'fast-check';24SyntaxError: Cannot use import statement outside a module25at wrapSafe (internal/modules/cjs/loader.js:1056:16)26at Module._compile (internal/modules/cjs/loader.js:1104:27)27at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)28at Module.load (internal/modules/cjs/loader.js:986:32)29at Function.Module._load (internal/modules/cjs/loader.js:879:14)30at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!