Uses of Class
net.osslabz.lnd.ApiException
Packages that use ApiException
-
Uses of ApiException in net.osslabz.lnd
Methods in net.osslabz.lnd with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoidThis is called when the API call fails.Methods in net.osslabz.lnd that throw ApiExceptionModifier and TypeMethodDescriptionokhttp3.CallApiClient.buildCall(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.<T> TApiClient.deserialize(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T>ApiClient.execute(okhttp3.Call call) <T> ApiResponse<T>Execute HTTP call and deserialize the HTTP response body into the given return type.<T> TApiClient.handleResponse(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.okhttp3.RequestBodySerialize the given Java object into request body according to the object's class and the request Content-Type.voidApiClient.updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Update query and header parameters based on authentication settings. -
Uses of ApiException in net.osslabz.lnd.api
Methods in net.osslabz.lnd.api that throw ApiExceptionModifier and TypeMethodDescriptionLightningApi.abandonChannel(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean pendingFundingShimOnly, Boolean iKnowWhatIAmDoing) lncli: `abandonchannel` AbandonChannel removes all channel state from the database except for a close summary.okhttp3.CallLightningApi.abandonChannelAsync(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean pendingFundingShimOnly, Boolean iKnowWhatIAmDoing, ApiCallback<Object> _callback) lncli: `abandonchannel` AbandonChannel removes all channel state from the database except for a close summary.okhttp3.CallLightningApi.abandonChannelCall(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean pendingFundingShimOnly, Boolean iKnowWhatIAmDoing, ApiCallback _callback) Build call for abandonChannelLightningApi.abandonChannelWithHttpInfo(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean pendingFundingShimOnly, Boolean iKnowWhatIAmDoing) lncli: `abandonchannel` AbandonChannel removes all channel state from the database except for a close summary.InvoicesApi.addHoldInvoice(InvoicesrpcAddHoldInvoiceRequest body) AddHoldInvoice creates a hold invoice.okhttp3.CallInvoicesApi.addHoldInvoiceAsync(InvoicesrpcAddHoldInvoiceRequest body, ApiCallback<InvoicesrpcAddHoldInvoiceResp> _callback) AddHoldInvoice creates a hold invoice.okhttp3.CallInvoicesApi.addHoldInvoiceCall(InvoicesrpcAddHoldInvoiceRequest body, ApiCallback _callback) Build call for addHoldInvoiceInvoicesApi.addHoldInvoiceWithHttpInfo(InvoicesrpcAddHoldInvoiceRequest body) AddHoldInvoice creates a hold invoice.LightningApi.addInvoice(LnrpcInvoice body) lncli: `addinvoice` AddInvoice attempts to add a new invoice to the invoice database.okhttp3.CallLightningApi.addInvoiceAsync(LnrpcInvoice body, ApiCallback<LnrpcAddInvoiceResponse> _callback) lncli: `addinvoice` AddInvoice attempts to add a new invoice to the invoice database.okhttp3.CallLightningApi.addInvoiceCall(LnrpcInvoice body, ApiCallback _callback) Build call for addInvoiceLightningApi.addInvoiceWithHttpInfo(LnrpcInvoice body) lncli: `addinvoice` AddInvoice attempts to add a new invoice to the invoice database.LightningApi.bakeMacaroon(LnrpcBakeMacaroonRequest body) lncli: `bakemacaroon` BakeMacaroon allows the creation of a new macaroon with custom read and write permissions.okhttp3.CallLightningApi.bakeMacaroonAsync(LnrpcBakeMacaroonRequest body, ApiCallback<LnrpcBakeMacaroonResponse> _callback) lncli: `bakemacaroon` BakeMacaroon allows the creation of a new macaroon with custom read and write permissions.okhttp3.CallLightningApi.bakeMacaroonCall(LnrpcBakeMacaroonRequest body, ApiCallback _callback) Build call for bakeMacaroonLightningApi.bakeMacaroonWithHttpInfo(LnrpcBakeMacaroonRequest body) lncli: `bakemacaroon` BakeMacaroon allows the creation of a new macaroon with custom read and write permissions.LightningApi.batchOpenChannel(LnrpcBatchOpenChannelRequest body) lncli: `batchopenchannel` BatchOpenChannel attempts to open multiple single-funded channels in a single transaction in an atomic way.okhttp3.CallLightningApi.batchOpenChannelAsync(LnrpcBatchOpenChannelRequest body, ApiCallback<LnrpcBatchOpenChannelResponse> _callback) lncli: `batchopenchannel` BatchOpenChannel attempts to open multiple single-funded channels in a single transaction in an atomic way.okhttp3.CallLightningApi.batchOpenChannelCall(LnrpcBatchOpenChannelRequest body, ApiCallback _callback) Build call for batchOpenChannelLightningApi.batchOpenChannelWithHttpInfo(LnrpcBatchOpenChannelRequest body) lncli: `batchopenchannel` BatchOpenChannel attempts to open multiple single-funded channels in a single transaction in an atomic way.InvoicesApi.cancelInvoice(InvoicesrpcCancelInvoiceMsg body) CancelInvoice cancels a currently open invoice.okhttp3.CallInvoicesApi.cancelInvoiceAsync(InvoicesrpcCancelInvoiceMsg body, ApiCallback<Object> _callback) CancelInvoice cancels a currently open invoice.okhttp3.CallInvoicesApi.cancelInvoiceCall(InvoicesrpcCancelInvoiceMsg body, ApiCallback _callback) Build call for cancelInvoiceInvoicesApi.cancelInvoiceWithHttpInfo(InvoicesrpcCancelInvoiceMsg body) CancelInvoice cancels a currently open invoice.LightningApi.channelAcceptor(LnrpcChannelAcceptResponse body) ChannelAcceptor dispatches a bi-directional streaming RPC in which OpenChannel requests are sent to the client and the client responds with a boolean that tells LND whether or not to accept the channel.okhttp3.CallLightningApi.channelAcceptorAsync(LnrpcChannelAcceptResponse body, ApiCallback<StreamResultOfLnrpcChannelAcceptRequest> _callback) ChannelAcceptor dispatches a bi-directional streaming RPC in which OpenChannel requests are sent to the client and the client responds with a boolean that tells LND whether or not to accept the channel.okhttp3.CallLightningApi.channelAcceptorCall(LnrpcChannelAcceptResponse body, ApiCallback _callback) Build call for channelAcceptorLightningApi.channelAcceptorWithHttpInfo(LnrpcChannelAcceptResponse body) ChannelAcceptor dispatches a bi-directional streaming RPC in which OpenChannel requests are sent to the client and the client responds with a boolean that tells LND whether or not to accept the channel.LightningApi.channelBalance()lncli: `channelbalance` ChannelBalance returns a report on the total funds across all open channels, categorized in local/remote, pending local/remote and unsettled local/remote balances.okhttp3.CallLightningApi.channelBalanceAsync(ApiCallback<LnrpcChannelBalanceResponse> _callback) lncli: `channelbalance` ChannelBalance returns a report on the total funds across all open channels, categorized in local/remote, pending local/remote and unsettled local/remote balances.okhttp3.CallLightningApi.channelBalanceCall(ApiCallback _callback) Build call for channelBalanceLightningApi.channelBalanceWithHttpInfo()lncli: `channelbalance` ChannelBalance returns a report on the total funds across all open channels, categorized in local/remote, pending local/remote and unsettled local/remote balances.LightningApi.checkMacaroonPermissions(LnrpcCheckMacPermRequest body) CheckMacaroonPermissions checks whether a request follows the constraints imposed on the macaroon and that the macaroon is authorized to follow the provided permissions.okhttp3.CallLightningApi.checkMacaroonPermissionsAsync(LnrpcCheckMacPermRequest body, ApiCallback<LnrpcCheckMacPermResponse> _callback) CheckMacaroonPermissions checks whether a request follows the constraints imposed on the macaroon and that the macaroon is authorized to follow the provided permissions.okhttp3.CallLightningApi.checkMacaroonPermissionsCall(LnrpcCheckMacPermRequest body, ApiCallback _callback) Build call for checkMacaroonPermissionsLightningApi.checkMacaroonPermissionsWithHttpInfo(LnrpcCheckMacPermRequest body) CheckMacaroonPermissions checks whether a request follows the constraints imposed on the macaroon and that the macaroon is authorized to follow the provided permissions.LightningApi.closeChannel(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean force, Integer targetConf, String satPerByte, String deliveryAddress, String satPerVbyte, String maxFeePerVbyte) lncli: `closechannel` CloseChannel attempts to close an active channel identified by its channel outpoint (ChannelPoint).okhttp3.CallLightningApi.closeChannelAsync(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean force, Integer targetConf, String satPerByte, String deliveryAddress, String satPerVbyte, String maxFeePerVbyte, ApiCallback<StreamResultOfLnrpcCloseStatusUpdate> _callback) lncli: `closechannel` CloseChannel attempts to close an active channel identified by its channel outpoint (ChannelPoint).okhttp3.CallLightningApi.closeChannelCall(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean force, Integer targetConf, String satPerByte, String deliveryAddress, String satPerVbyte, String maxFeePerVbyte, ApiCallback _callback) Build call for closeChannelLightningApi.closeChannelWithHttpInfo(String channelPointFundingTxidStr, Long channelPointOutputIndex, byte[] channelPointFundingTxidBytes, Boolean force, Integer targetConf, String satPerByte, String deliveryAddress, String satPerVbyte, String maxFeePerVbyte) lncli: `closechannel` CloseChannel attempts to close an active channel identified by its channel outpoint (ChannelPoint).LightningApi.closedChannels(Boolean cooperative, Boolean localForce, Boolean remoteForce, Boolean breach, Boolean fundingCanceled, Boolean abandoned) lncli: `closedchannels` ClosedChannels returns a description of all the closed channels that this node was a participant in.okhttp3.CallLightningApi.closedChannelsAsync(Boolean cooperative, Boolean localForce, Boolean remoteForce, Boolean breach, Boolean fundingCanceled, Boolean abandoned, ApiCallback<LnrpcClosedChannelsResponse> _callback) lncli: `closedchannels` ClosedChannels returns a description of all the closed channels that this node was a participant in.okhttp3.CallLightningApi.closedChannelsCall(Boolean cooperative, Boolean localForce, Boolean remoteForce, Boolean breach, Boolean fundingCanceled, Boolean abandoned, ApiCallback _callback) Build call for closedChannelsLightningApi.closedChannelsWithHttpInfo(Boolean cooperative, Boolean localForce, Boolean remoteForce, Boolean breach, Boolean fundingCanceled, Boolean abandoned) lncli: `closedchannels` ClosedChannels returns a description of all the closed channels that this node was a participant in.LightningApi.connectPeer(LnrpcConnectPeerRequest body) lncli: `connect` ConnectPeer attempts to establish a connection to a remote peer.okhttp3.CallLightningApi.connectPeerAsync(LnrpcConnectPeerRequest body, ApiCallback<Object> _callback) lncli: `connect` ConnectPeer attempts to establish a connection to a remote peer.okhttp3.CallLightningApi.connectPeerCall(LnrpcConnectPeerRequest body, ApiCallback _callback) Build call for connectPeerLightningApi.connectPeerWithHttpInfo(LnrpcConnectPeerRequest body) lncli: `connect` ConnectPeer attempts to establish a connection to a remote peer.LightningApi.debugLevel(LnrpcDebugLevelRequest body) lncli: `debuglevel` DebugLevel allows a caller to programmatically set the logging verbosity of lnd.okhttp3.CallLightningApi.debugLevelAsync(LnrpcDebugLevelRequest body, ApiCallback<LnrpcDebugLevelResponse> _callback) lncli: `debuglevel` DebugLevel allows a caller to programmatically set the logging verbosity of lnd.okhttp3.CallLightningApi.debugLevelCall(LnrpcDebugLevelRequest body, ApiCallback _callback) Build call for debugLevelLightningApi.debugLevelWithHttpInfo(LnrpcDebugLevelRequest body) lncli: `debuglevel` DebugLevel allows a caller to programmatically set the logging verbosity of lnd.LightningApi.decodePayReq(String payReq) lncli: `decodepayreq` DecodePayReq takes an encoded payment request string and attempts to decode it, returning a full description of the conditions encoded within the payment request.okhttp3.CallLightningApi.decodePayReqAsync(String payReq, ApiCallback<LnrpcPayReq> _callback) lncli: `decodepayreq` DecodePayReq takes an encoded payment request string and attempts to decode it, returning a full description of the conditions encoded within the payment request.okhttp3.CallLightningApi.decodePayReqCall(String payReq, ApiCallback _callback) Build call for decodePayReqLightningApi.decodePayReqWithHttpInfo(String payReq) lncli: `decodepayreq` DecodePayReq takes an encoded payment request string and attempts to decode it, returning a full description of the conditions encoded within the payment request.LightningApi.deleteAllPayments(Boolean failedPaymentsOnly, Boolean failedHtlcsOnly) DeleteAllPayments deletes all outgoing payments from DB.okhttp3.CallLightningApi.deleteAllPaymentsAsync(Boolean failedPaymentsOnly, Boolean failedHtlcsOnly, ApiCallback<Object> _callback) DeleteAllPayments deletes all outgoing payments from DB.okhttp3.CallLightningApi.deleteAllPaymentsCall(Boolean failedPaymentsOnly, Boolean failedHtlcsOnly, ApiCallback _callback) Build call for deleteAllPaymentsLightningApi.deleteAllPaymentsWithHttpInfo(Boolean failedPaymentsOnly, Boolean failedHtlcsOnly) DeleteAllPayments deletes all outgoing payments from DB.LightningApi.deleteMacaroonID(String rootKeyId) lncli: `deletemacaroonid` DeleteMacaroonID deletes the specified macaroon ID and invalidates all macaroons derived from that ID.okhttp3.CallLightningApi.deleteMacaroonIDAsync(String rootKeyId, ApiCallback<LnrpcDeleteMacaroonIDResponse> _callback) lncli: `deletemacaroonid` DeleteMacaroonID deletes the specified macaroon ID and invalidates all macaroons derived from that ID.okhttp3.CallLightningApi.deleteMacaroonIDCall(String rootKeyId, ApiCallback _callback) Build call for deleteMacaroonIDLightningApi.deleteMacaroonIDWithHttpInfo(String rootKeyId) lncli: `deletemacaroonid` DeleteMacaroonID deletes the specified macaroon ID and invalidates all macaroons derived from that ID.LightningApi.deletePayment(byte[] paymentHash, Boolean failedHtlcsOnly) DeletePayment deletes an outgoing payment from DB.okhttp3.CallLightningApi.deletePaymentAsync(byte[] paymentHash, Boolean failedHtlcsOnly, ApiCallback<Object> _callback) DeletePayment deletes an outgoing payment from DB.okhttp3.CallLightningApi.deletePaymentCall(byte[] paymentHash, Boolean failedHtlcsOnly, ApiCallback _callback) Build call for deletePaymentLightningApi.deletePaymentWithHttpInfo(byte[] paymentHash, Boolean failedHtlcsOnly) DeletePayment deletes an outgoing payment from DB.LightningApi.describeGraph(Boolean includeUnannounced) lncli: `describegraph` DescribeGraph returns a description of the latest graph state from the point of view of the node.okhttp3.CallLightningApi.describeGraphAsync(Boolean includeUnannounced, ApiCallback<LnrpcChannelGraph> _callback) lncli: `describegraph` DescribeGraph returns a description of the latest graph state from the point of view of the node.okhttp3.CallLightningApi.describeGraphCall(Boolean includeUnannounced, ApiCallback _callback) Build call for describeGraphLightningApi.describeGraphWithHttpInfo(Boolean includeUnannounced) lncli: `describegraph` DescribeGraph returns a description of the latest graph state from the point of view of the node.LightningApi.disconnectPeer(String pubKey) lncli: `disconnect` DisconnectPeer attempts to disconnect one peer from another identified by a given pubKey.okhttp3.CallLightningApi.disconnectPeerAsync(String pubKey, ApiCallback<Object> _callback) lncli: `disconnect` DisconnectPeer attempts to disconnect one peer from another identified by a given pubKey.okhttp3.CallLightningApi.disconnectPeerCall(String pubKey, ApiCallback _callback) Build call for disconnectPeerLightningApi.disconnectPeerWithHttpInfo(String pubKey) lncli: `disconnect` DisconnectPeer attempts to disconnect one peer from another identified by a given pubKey.LightningApi.estimateFee(Integer targetConf, Integer minConfs, Boolean spendUnconfirmed) lncli: `estimatefee` EstimateFee asks the chain backend to estimate the fee rate and total fees for a transaction that pays to multiple specified outputs.okhttp3.CallLightningApi.estimateFeeAsync(Integer targetConf, Integer minConfs, Boolean spendUnconfirmed, ApiCallback<LnrpcEstimateFeeResponse> _callback) lncli: `estimatefee` EstimateFee asks the chain backend to estimate the fee rate and total fees for a transaction that pays to multiple specified outputs.okhttp3.CallLightningApi.estimateFeeCall(Integer targetConf, Integer minConfs, Boolean spendUnconfirmed, ApiCallback _callback) Build call for estimateFeeLightningApi.estimateFeeWithHttpInfo(Integer targetConf, Integer minConfs, Boolean spendUnconfirmed) lncli: `estimatefee` EstimateFee asks the chain backend to estimate the fee rate and total fees for a transaction that pays to multiple specified outputs.LightningApi.exportAllChannelBackups()ExportAllChannelBackups returns static channel backups for all existing channels known to lnd.okhttp3.CallLightningApi.exportAllChannelBackupsAsync(ApiCallback<LnrpcChanBackupSnapshot> _callback) ExportAllChannelBackups returns static channel backups for all existing channels known to lnd.okhttp3.CallLightningApi.exportAllChannelBackupsCall(ApiCallback _callback) Build call for exportAllChannelBackupsLightningApi.exportAllChannelBackupsWithHttpInfo()ExportAllChannelBackups returns static channel backups for all existing channels known to lnd.LightningApi.exportChannelBackup(String chanPointFundingTxidStr, Long chanPointOutputIndex, byte[] chanPointFundingTxidBytes) lncli: `exportchanbackup` ExportChannelBackup attempts to return an encrypted static channel backup for the target channel identified by it channel point.okhttp3.CallLightningApi.exportChannelBackupAsync(String chanPointFundingTxidStr, Long chanPointOutputIndex, byte[] chanPointFundingTxidBytes, ApiCallback<LnrpcChannelBackup> _callback) lncli: `exportchanbackup` ExportChannelBackup attempts to return an encrypted static channel backup for the target channel identified by it channel point.okhttp3.CallLightningApi.exportChannelBackupCall(String chanPointFundingTxidStr, Long chanPointOutputIndex, byte[] chanPointFundingTxidBytes, ApiCallback _callback) Build call for exportChannelBackupLightningApi.exportChannelBackupWithHttpInfo(String chanPointFundingTxidStr, Long chanPointOutputIndex, byte[] chanPointFundingTxidBytes) lncli: `exportchanbackup` ExportChannelBackup attempts to return an encrypted static channel backup for the target channel identified by it channel point.LightningApi.feeReport()lncli: `feereport` FeeReport allows the caller to obtain a report detailing the current fee schedule enforced by the node globally for each channel.okhttp3.CallLightningApi.feeReportAsync(ApiCallback<LnrpcFeeReportResponse> _callback) lncli: `feereport` FeeReport allows the caller to obtain a report detailing the current fee schedule enforced by the node globally for each channel.okhttp3.CallLightningApi.feeReportCall(ApiCallback _callback) Build call for feeReportLightningApi.feeReportWithHttpInfo()lncli: `feereport` FeeReport allows the caller to obtain a report detailing the current fee schedule enforced by the node globally for each channel.LightningApi.forwardingHistory(LnrpcForwardingHistoryRequest body) lncli: `fwdinghistory` ForwardingHistory allows the caller to query the htlcswitch for a record of all HTLCs forwarded within the target time range, and integer offset within that time range, for a maximum number of events.okhttp3.CallLightningApi.forwardingHistoryAsync(LnrpcForwardingHistoryRequest body, ApiCallback<LnrpcForwardingHistoryResponse> _callback) lncli: `fwdinghistory` ForwardingHistory allows the caller to query the htlcswitch for a record of all HTLCs forwarded within the target time range, and integer offset within that time range, for a maximum number of events.okhttp3.CallLightningApi.forwardingHistoryCall(LnrpcForwardingHistoryRequest body, ApiCallback _callback) Build call for forwardingHistoryLightningApi.forwardingHistoryWithHttpInfo(LnrpcForwardingHistoryRequest body) lncli: `fwdinghistory` ForwardingHistory allows the caller to query the htlcswitch for a record of all HTLCs forwarded within the target time range, and integer offset within that time range, for a maximum number of events.LightningApi.fundingStateStep(LnrpcFundingTransitionMsg body) FundingStateStep is an advanced funding related call that allows the caller to either execute some preparatory steps for a funding workflow, or manually progress a funding workflow.okhttp3.CallLightningApi.fundingStateStepAsync(LnrpcFundingTransitionMsg body, ApiCallback<Object> _callback) FundingStateStep is an advanced funding related call that allows the caller to either execute some preparatory steps for a funding workflow, or manually progress a funding workflow.okhttp3.CallLightningApi.fundingStateStepCall(LnrpcFundingTransitionMsg body, ApiCallback _callback) Build call for fundingStateStepLightningApi.fundingStateStepWithHttpInfo(LnrpcFundingTransitionMsg body) FundingStateStep is an advanced funding related call that allows the caller to either execute some preparatory steps for a funding workflow, or manually progress a funding workflow.LightningApi.getChanInfo(String chanId) lncli: `getchaninfo` GetChanInfo returns the latest authenticated network announcement for the given channel identified by its channel ID: an 8-byte integer which uniquely identifies the location of transaction's funding output within the blockchain.okhttp3.CallLightningApi.getChanInfoAsync(String chanId, ApiCallback<LnrpcChannelEdge> _callback) lncli: `getchaninfo` GetChanInfo returns the latest authenticated network announcement for the given channel identified by its channel ID: an 8-byte integer which uniquely identifies the location of transaction's funding output within the blockchain.okhttp3.CallLightningApi.getChanInfoCall(String chanId, ApiCallback _callback) Build call for getChanInfoLightningApi.getChanInfoWithHttpInfo(String chanId) lncli: `getchaninfo` GetChanInfo returns the latest authenticated network announcement for the given channel identified by its channel ID: an 8-byte integer which uniquely identifies the location of transaction's funding output within the blockchain.LightningApi.getInfo()lncli: `getinfo` GetInfo returns general information concerning the lightning node including it's identity pubkey, alias, the chains it is connected to, and information concerning the number of open+pending channels.okhttp3.CallLightningApi.getInfoAsync(ApiCallback<LnrpcGetInfoResponse> _callback) lncli: `getinfo` GetInfo returns general information concerning the lightning node including it's identity pubkey, alias, the chains it is connected to, and information concerning the number of open+pending channels.okhttp3.CallLightningApi.getInfoCall(ApiCallback _callback) Build call for getInfoLightningApi.getInfoWithHttpInfo()lncli: `getinfo` GetInfo returns general information concerning the lightning node including it's identity pubkey, alias, the chains it is connected to, and information concerning the number of open+pending channels.LightningApi.getNetworkInfo()lncli: `getnetworkinfo` GetNetworkInfo returns some basic stats about the known channel graph from the point of view of the node.okhttp3.CallLightningApi.getNetworkInfoAsync(ApiCallback<LnrpcNetworkInfo> _callback) lncli: `getnetworkinfo` GetNetworkInfo returns some basic stats about the known channel graph from the point of view of the node.okhttp3.CallLightningApi.getNetworkInfoCall(ApiCallback _callback) Build call for getNetworkInfoLightningApi.getNetworkInfoWithHttpInfo()lncli: `getnetworkinfo` GetNetworkInfo returns some basic stats about the known channel graph from the point of view of the node.LightningApi.getNodeInfo(String pubKey, Boolean includeChannels) lncli: `getnodeinfo` GetNodeInfo returns the latest advertised, aggregated, and authenticated channel information for the specified node identified by its public key.okhttp3.CallLightningApi.getNodeInfoAsync(String pubKey, Boolean includeChannels, ApiCallback<LnrpcNodeInfo> _callback) lncli: `getnodeinfo` GetNodeInfo returns the latest advertised, aggregated, and authenticated channel information for the specified node identified by its public key.okhttp3.CallLightningApi.getNodeInfoCall(String pubKey, Boolean includeChannels, ApiCallback _callback) Build call for getNodeInfoLightningApi.getNodeInfoWithHttpInfo(String pubKey, Boolean includeChannels) lncli: `getnodeinfo` GetNodeInfo returns the latest advertised, aggregated, and authenticated channel information for the specified node identified by its public key.LightningApi.getNodeMetrics(List<String> types) lncli: `getnodemetrics` GetNodeMetrics returns node metrics calculated from the graph.okhttp3.CallLightningApi.getNodeMetricsAsync(List<String> types, ApiCallback<LnrpcNodeMetricsResponse> _callback) lncli: `getnodemetrics` GetNodeMetrics returns node metrics calculated from the graph.okhttp3.CallLightningApi.getNodeMetricsCall(List<String> types, ApiCallback _callback) Build call for getNodeMetricsLightningApi.getNodeMetricsWithHttpInfo(List<String> types) lncli: `getnodemetrics` GetNodeMetrics returns node metrics calculated from the graph.LightningApi.getRecoveryInfo()* lncli: `getrecoveryinfo` GetRecoveryInfo returns information concerning the recovery mode including whether it's in a recovery mode, whether the recovery is finished, and the progress made so far.okhttp3.CallLightningApi.getRecoveryInfoAsync(ApiCallback<LnrpcGetRecoveryInfoResponse> _callback) * lncli: `getrecoveryinfo` GetRecoveryInfo returns information concerning the recovery mode including whether it's in a recovery mode, whether the recovery is finished, and the progress made so far.okhttp3.CallLightningApi.getRecoveryInfoCall(ApiCallback _callback) Build call for getRecoveryInfoLightningApi.getRecoveryInfoWithHttpInfo()* lncli: `getrecoveryinfo` GetRecoveryInfo returns information concerning the recovery mode including whether it's in a recovery mode, whether the recovery is finished, and the progress made so far.LightningApi.getTransactions(Integer startHeight, Integer endHeight, String account) lncli: `listchaintxns` GetTransactions returns a list describing all the known transactions relevant to the wallet.okhttp3.CallLightningApi.getTransactionsAsync(Integer startHeight, Integer endHeight, String account, ApiCallback<LnrpcTransactionDetails> _callback) lncli: `listchaintxns` GetTransactions returns a list describing all the known transactions relevant to the wallet.okhttp3.CallLightningApi.getTransactionsCall(Integer startHeight, Integer endHeight, String account, ApiCallback _callback) Build call for getTransactionsLightningApi.getTransactionsWithHttpInfo(Integer startHeight, Integer endHeight, String account) lncli: `listchaintxns` GetTransactions returns a list describing all the known transactions relevant to the wallet.LightningApi.listAliases()lncli: `listaliases` ListAliases returns the set of all aliases that have ever existed with their confirmed SCID (if it exists) and/or the base SCID (in the case of zero conf).okhttp3.CallLightningApi.listAliasesAsync(ApiCallback<LnrpcListAliasesResponse> _callback) lncli: `listaliases` ListAliases returns the set of all aliases that have ever existed with their confirmed SCID (if it exists) and/or the base SCID (in the case of zero conf).okhttp3.CallLightningApi.listAliasesCall(ApiCallback _callback) Build call for listAliasesLightningApi.listAliasesWithHttpInfo()lncli: `listaliases` ListAliases returns the set of all aliases that have ever existed with their confirmed SCID (if it exists) and/or the base SCID (in the case of zero conf).LightningApi.listChannels(Boolean activeOnly, Boolean inactiveOnly, Boolean publicOnly, Boolean privateOnly, byte[] peer, Boolean peerAliasLookup) lncli: `listchannels` ListChannels returns a description of all the open channels that this node is a participant in.okhttp3.CallLightningApi.listChannelsAsync(Boolean activeOnly, Boolean inactiveOnly, Boolean publicOnly, Boolean privateOnly, byte[] peer, Boolean peerAliasLookup, ApiCallback<LnrpcListChannelsResponse> _callback) lncli: `listchannels` ListChannels returns a description of all the open channels that this node is a participant in.okhttp3.CallLightningApi.listChannelsCall(Boolean activeOnly, Boolean inactiveOnly, Boolean publicOnly, Boolean privateOnly, byte[] peer, Boolean peerAliasLookup, ApiCallback _callback) Build call for listChannelsLightningApi.listChannelsWithHttpInfo(Boolean activeOnly, Boolean inactiveOnly, Boolean publicOnly, Boolean privateOnly, byte[] peer, Boolean peerAliasLookup) lncli: `listchannels` ListChannels returns a description of all the open channels that this node is a participant in.LightningApi.listInvoices(Boolean pendingOnly, String indexOffset, String numMaxInvoices, Boolean reversed, String creationDateStart, String creationDateEnd) lncli: `listinvoices` ListInvoices returns a list of all the invoices currently stored within the database.okhttp3.CallLightningApi.listInvoicesAsync(Boolean pendingOnly, String indexOffset, String numMaxInvoices, Boolean reversed, String creationDateStart, String creationDateEnd, ApiCallback<LnrpcListInvoiceResponse> _callback) lncli: `listinvoices` ListInvoices returns a list of all the invoices currently stored within the database.okhttp3.CallLightningApi.listInvoicesCall(Boolean pendingOnly, String indexOffset, String numMaxInvoices, Boolean reversed, String creationDateStart, String creationDateEnd, ApiCallback _callback) Build call for listInvoicesLightningApi.listInvoicesWithHttpInfo(Boolean pendingOnly, String indexOffset, String numMaxInvoices, Boolean reversed, String creationDateStart, String creationDateEnd) lncli: `listinvoices` ListInvoices returns a list of all the invoices currently stored within the database.LightningApi.listMacaroonIDs()lncli: `listmacaroonids` ListMacaroonIDs returns all root key IDs that are in use.okhttp3.CallLightningApi.listMacaroonIDsAsync(ApiCallback<LnrpcListMacaroonIDsResponse> _callback) lncli: `listmacaroonids` ListMacaroonIDs returns all root key IDs that are in use.okhttp3.CallLightningApi.listMacaroonIDsCall(ApiCallback _callback) Build call for listMacaroonIDsLightningApi.listMacaroonIDsWithHttpInfo()lncli: `listmacaroonids` ListMacaroonIDs returns all root key IDs that are in use.LightningApi.listPayments(Boolean includeIncomplete, String indexOffset, String maxPayments, Boolean reversed, Boolean countTotalPayments, String creationDateStart, String creationDateEnd) lncli: `listpayments` ListPayments returns a list of all outgoing payments.okhttp3.CallLightningApi.listPaymentsAsync(Boolean includeIncomplete, String indexOffset, String maxPayments, Boolean reversed, Boolean countTotalPayments, String creationDateStart, String creationDateEnd, ApiCallback<LnrpcListPaymentsResponse> _callback) lncli: `listpayments` ListPayments returns a list of all outgoing payments.okhttp3.CallLightningApi.listPaymentsCall(Boolean includeIncomplete, String indexOffset, String maxPayments, Boolean reversed, Boolean countTotalPayments, String creationDateStart, String creationDateEnd, ApiCallback _callback) Build call for listPaymentsLightningApi.listPaymentsWithHttpInfo(Boolean includeIncomplete, String indexOffset, String maxPayments, Boolean reversed, Boolean countTotalPayments, String creationDateStart, String creationDateEnd) lncli: `listpayments` ListPayments returns a list of all outgoing payments.lncli: `listpeers` ListPeers returns a verbose listing of all currently active peers.okhttp3.CallLightningApi.listPeersAsync(Boolean latestError, ApiCallback<LnrpcListPeersResponse> _callback) lncli: `listpeers` ListPeers returns a verbose listing of all currently active peers.okhttp3.CallLightningApi.listPeersCall(Boolean latestError, ApiCallback _callback) Build call for listPeersLightningApi.listPeersWithHttpInfo(Boolean latestError) lncli: `listpeers` ListPeers returns a verbose listing of all currently active peers.LightningApi.listPermissions()lncli: `listpermissions` ListPermissions lists all RPC method URIs and their required macaroon permissions to access them.okhttp3.CallLightningApi.listPermissionsAsync(ApiCallback<LnrpcListPermissionsResponse> _callback) lncli: `listpermissions` ListPermissions lists all RPC method URIs and their required macaroon permissions to access them.okhttp3.CallLightningApi.listPermissionsCall(ApiCallback _callback) Build call for listPermissionsLightningApi.listPermissionsWithHttpInfo()lncli: `listpermissions` ListPermissions lists all RPC method URIs and their required macaroon permissions to access them.LightningApi.listUnspent(Integer minConfs, Integer maxConfs, String account) lncli: `listunspent` Deprecated, use walletrpc.ListUnspent instead.okhttp3.CallLightningApi.listUnspentAsync(Integer minConfs, Integer maxConfs, String account, ApiCallback<LnrpcListUnspentResponse> _callback) lncli: `listunspent` Deprecated, use walletrpc.ListUnspent instead.okhttp3.CallLightningApi.listUnspentCall(Integer minConfs, Integer maxConfs, String account, ApiCallback _callback) Build call for listUnspentLightningApi.listUnspentWithHttpInfo(Integer minConfs, Integer maxConfs, String account) lncli: `listunspent` Deprecated, use walletrpc.ListUnspent instead.LightningApi.lookupHtlcResolution(String chanId, String htlcIndex) LookupHtlcResolution retrieves a final htlc resolution from the database.okhttp3.CallLightningApi.lookupHtlcResolutionAsync(String chanId, String htlcIndex, ApiCallback<LnrpcLookupHtlcResolutionResponse> _callback) LookupHtlcResolution retrieves a final htlc resolution from the database.okhttp3.CallLightningApi.lookupHtlcResolutionCall(String chanId, String htlcIndex, ApiCallback _callback) Build call for lookupHtlcResolutionLightningApi.lookupHtlcResolutionWithHttpInfo(String chanId, String htlcIndex) LookupHtlcResolution retrieves a final htlc resolution from the database.LightningApi.lookupInvoice(String rHashStr, byte[] rHash) lncli: `lookupinvoice` LookupInvoice attempts to look up an invoice according to its payment hash.okhttp3.CallLightningApi.lookupInvoiceAsync(String rHashStr, byte[] rHash, ApiCallback<LnrpcInvoice> _callback) lncli: `lookupinvoice` LookupInvoice attempts to look up an invoice according to its payment hash.okhttp3.CallLightningApi.lookupInvoiceCall(String rHashStr, byte[] rHash, ApiCallback _callback) Build call for lookupInvoiceInvoicesApi.lookupInvoiceV2(byte[] paymentHash, byte[] paymentAddr, byte[] setId, String lookupModifier) LookupInvoiceV2 attempts to look up at invoice.okhttp3.CallInvoicesApi.lookupInvoiceV2Async(byte[] paymentHash, byte[] paymentAddr, byte[] setId, String lookupModifier, ApiCallback<LnrpcInvoice> _callback) LookupInvoiceV2 attempts to look up at invoice.okhttp3.CallInvoicesApi.lookupInvoiceV2Call(byte[] paymentHash, byte[] paymentAddr, byte[] setId, String lookupModifier, ApiCallback _callback) Build call for lookupInvoiceV2InvoicesApi.lookupInvoiceV2WithHttpInfo(byte[] paymentHash, byte[] paymentAddr, byte[] setId, String lookupModifier) LookupInvoiceV2 attempts to look up at invoice.LightningApi.lookupInvoiceWithHttpInfo(String rHashStr, byte[] rHash) lncli: `lookupinvoice` LookupInvoice attempts to look up an invoice according to its payment hash.LightningApi.newAddress(String type, String account) lncli: `newaddress` NewAddress creates a new address under control of the local wallet.okhttp3.CallLightningApi.newAddressAsync(String type, String account, ApiCallback<LnrpcNewAddressResponse> _callback) lncli: `newaddress` NewAddress creates a new address under control of the local wallet.okhttp3.CallLightningApi.newAddressCall(String type, String account, ApiCallback _callback) Build call for newAddressLightningApi.newAddressWithHttpInfo(String type, String account) lncli: `newaddress` NewAddress creates a new address under control of the local wallet.LightningApi.openChannel(LnrpcOpenChannelRequest body) lncli: `openchannel` OpenChannel attempts to open a singly funded channel specified in the request to a remote peer.okhttp3.CallLightningApi.openChannelAsync(LnrpcOpenChannelRequest body, ApiCallback<StreamResultOfLnrpcOpenStatusUpdate> _callback) lncli: `openchannel` OpenChannel attempts to open a singly funded channel specified in the request to a remote peer.okhttp3.CallLightningApi.openChannelCall(LnrpcOpenChannelRequest body, ApiCallback _callback) Build call for openChannelLightningApi.openChannelSync(LnrpcOpenChannelRequest body) OpenChannelSync is a synchronous version of the OpenChannel RPC call.okhttp3.CallLightningApi.openChannelSyncAsync(LnrpcOpenChannelRequest body, ApiCallback<LnrpcChannelPoint> _callback) OpenChannelSync is a synchronous version of the OpenChannel RPC call.okhttp3.CallLightningApi.openChannelSyncCall(LnrpcOpenChannelRequest body, ApiCallback _callback) Build call for openChannelSyncLightningApi.openChannelSyncWithHttpInfo(LnrpcOpenChannelRequest body) OpenChannelSync is a synchronous version of the OpenChannel RPC call.LightningApi.openChannelWithHttpInfo(LnrpcOpenChannelRequest body) lncli: `openchannel` OpenChannel attempts to open a singly funded channel specified in the request to a remote peer.LightningApi.pendingChannels()lncli: `pendingchannels` PendingChannels returns a list of all the channels that are currently considered \"pending\".okhttp3.CallLightningApi.pendingChannelsAsync(ApiCallback<LnrpcPendingChannelsResponse> _callback) lncli: `pendingchannels` PendingChannels returns a list of all the channels that are currently considered \"pending\".okhttp3.CallLightningApi.pendingChannelsCall(ApiCallback _callback) Build call for pendingChannelsLightningApi.pendingChannelsWithHttpInfo()lncli: `pendingchannels` PendingChannels returns a list of all the channels that are currently considered \"pending\".LightningApi.queryRoutes(String pubKey, String amt, String amtMsat, Integer finalCltvDelta, String feeLimitFixed, String feeLimitFixedMsat, String feeLimitPercent, List<byte[]> ignoredNodes, String sourcePubKey, Boolean useMissionControl, Long cltvLimit, String outgoingChanId, byte[] lastHopPubkey, List<String> destFeatures, Double timePref) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.LightningApi.queryRoutes2(String pubKey, String amt, InlineObject body) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.okhttp3.CallLightningApi.queryRoutes2Async(String pubKey, String amt, InlineObject body, ApiCallback<LnrpcQueryRoutesResponse> _callback) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.okhttp3.CallLightningApi.queryRoutes2Call(String pubKey, String amt, InlineObject body, ApiCallback _callback) Build call for queryRoutes2LightningApi.queryRoutes2WithHttpInfo(String pubKey, String amt, InlineObject body) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.okhttp3.CallLightningApi.queryRoutesAsync(String pubKey, String amt, String amtMsat, Integer finalCltvDelta, String feeLimitFixed, String feeLimitFixedMsat, String feeLimitPercent, List<byte[]> ignoredNodes, String sourcePubKey, Boolean useMissionControl, Long cltvLimit, String outgoingChanId, byte[] lastHopPubkey, List<String> destFeatures, Double timePref, ApiCallback<LnrpcQueryRoutesResponse> _callback) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.okhttp3.CallLightningApi.queryRoutesCall(String pubKey, String amt, String amtMsat, Integer finalCltvDelta, String feeLimitFixed, String feeLimitFixedMsat, String feeLimitPercent, List<byte[]> ignoredNodes, String sourcePubKey, Boolean useMissionControl, Long cltvLimit, String outgoingChanId, byte[] lastHopPubkey, List<String> destFeatures, Double timePref, ApiCallback _callback) Build call for queryRoutesLightningApi.queryRoutesWithHttpInfo(String pubKey, String amt, String amtMsat, Integer finalCltvDelta, String feeLimitFixed, String feeLimitFixedMsat, String feeLimitPercent, List<byte[]> ignoredNodes, String sourcePubKey, Boolean useMissionControl, Long cltvLimit, String outgoingChanId, byte[] lastHopPubkey, List<String> destFeatures, Double timePref) lncli: `queryroutes` QueryRoutes attempts to query the daemon's Channel Router for a possible route to a target destination capable of carrying a specific amount of satoshis.LightningApi.registerRPCMiddleware()RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain.okhttp3.CallLightningApi.registerRPCMiddlewareAsync(ApiCallback<StreamResultOfLnrpcRPCMiddlewareRequest> _callback) RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain.okhttp3.CallLightningApi.registerRPCMiddlewareCall(ApiCallback _callback) Build call for registerRPCMiddlewareLightningApi.registerRPCMiddlewareWithHttpInfo()RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain.LightningApi.restoreChannelBackups(LnrpcRestoreChanBackupRequest body) lncli: `restorechanbackup` RestoreChannelBackups accepts a set of singular channel backups, or a single encrypted multi-chan backup and attempts to recover any funds remaining within the channel.okhttp3.CallLightningApi.restoreChannelBackupsAsync(LnrpcRestoreChanBackupRequest body, ApiCallback<Object> _callback) lncli: `restorechanbackup` RestoreChannelBackups accepts a set of singular channel backups, or a single encrypted multi-chan backup and attempts to recover any funds remaining within the channel.okhttp3.CallLightningApi.restoreChannelBackupsCall(LnrpcRestoreChanBackupRequest body, ApiCallback _callback) Build call for restoreChannelBackupsLightningApi.restoreChannelBackupsWithHttpInfo(LnrpcRestoreChanBackupRequest body) lncli: `restorechanbackup` RestoreChannelBackups accepts a set of singular channel backups, or a single encrypted multi-chan backup and attempts to recover any funds remaining within the channel.LightningApi.sendCoins(LnrpcSendCoinsRequest body) lncli: `sendcoins` SendCoins executes a request to send coins to a particular address.okhttp3.CallLightningApi.sendCoinsAsync(LnrpcSendCoinsRequest body, ApiCallback<LnrpcSendCoinsResponse> _callback) lncli: `sendcoins` SendCoins executes a request to send coins to a particular address.okhttp3.CallLightningApi.sendCoinsCall(LnrpcSendCoinsRequest body, ApiCallback _callback) Build call for sendCoinsLightningApi.sendCoinsWithHttpInfo(LnrpcSendCoinsRequest body) lncli: `sendcoins` SendCoins executes a request to send coins to a particular address.LightningApi.sendCustomMessage(LnrpcSendCustomMessageRequest body) lncli: `sendcustom` SendCustomMessage sends a custom peer message.okhttp3.CallLightningApi.sendCustomMessageAsync(LnrpcSendCustomMessageRequest body, ApiCallback<Object> _callback) lncli: `sendcustom` SendCustomMessage sends a custom peer message.okhttp3.CallLightningApi.sendCustomMessageCall(LnrpcSendCustomMessageRequest body, ApiCallback _callback) Build call for sendCustomMessageLightningApi.sendCustomMessageWithHttpInfo(LnrpcSendCustomMessageRequest body) lncli: `sendcustom` SendCustomMessage sends a custom peer message.LightningApi.sendMany(LnrpcSendManyRequest body) lncli: `sendmany` SendMany handles a request for a transaction that creates multiple specified outputs in parallel.okhttp3.CallLightningApi.sendManyAsync(LnrpcSendManyRequest body, ApiCallback<LnrpcSendManyResponse> _callback) lncli: `sendmany` SendMany handles a request for a transaction that creates multiple specified outputs in parallel.okhttp3.CallLightningApi.sendManyCall(LnrpcSendManyRequest body, ApiCallback _callback) Build call for sendManyLightningApi.sendManyWithHttpInfo(LnrpcSendManyRequest body) lncli: `sendmany` SendMany handles a request for a transaction that creates multiple specified outputs in parallel.LightningApi.sendPayment(LnrpcSendRequest body) lncli: `sendpayment` Deprecated, use routerrpc.SendPaymentV2.okhttp3.CallLightningApi.sendPaymentAsync(LnrpcSendRequest body, ApiCallback<StreamResultOfLnrpcSendResponse> _callback) lncli: `sendpayment` Deprecated, use routerrpc.SendPaymentV2.okhttp3.CallLightningApi.sendPaymentCall(LnrpcSendRequest body, ApiCallback _callback) Build call for sendPaymentLightningApi.sendPaymentSync(LnrpcSendRequest body) SendPaymentSync is the synchronous non-streaming version of SendPayment.okhttp3.CallLightningApi.sendPaymentSyncAsync(LnrpcSendRequest body, ApiCallback<LnrpcSendResponse> _callback) SendPaymentSync is the synchronous non-streaming version of SendPayment.okhttp3.CallLightningApi.sendPaymentSyncCall(LnrpcSendRequest body, ApiCallback _callback) Build call for sendPaymentSyncLightningApi.sendPaymentSyncWithHttpInfo(LnrpcSendRequest body) SendPaymentSync is the synchronous non-streaming version of SendPayment.LightningApi.sendPaymentWithHttpInfo(LnrpcSendRequest body) lncli: `sendpayment` Deprecated, use routerrpc.SendPaymentV2.LightningApi.sendToRouteSync(LnrpcSendToRouteRequest body) SendToRouteSync is a synchronous version of SendToRoute.okhttp3.CallLightningApi.sendToRouteSyncAsync(LnrpcSendToRouteRequest body, ApiCallback<LnrpcSendResponse> _callback) SendToRouteSync is a synchronous version of SendToRoute.okhttp3.CallLightningApi.sendToRouteSyncCall(LnrpcSendToRouteRequest body, ApiCallback _callback) Build call for sendToRouteSyncLightningApi.sendToRouteSyncWithHttpInfo(LnrpcSendToRouteRequest body) SendToRouteSync is a synchronous version of SendToRoute.InvoicesApi.settleInvoice(InvoicesrpcSettleInvoiceMsg body) SettleInvoice settles an accepted invoice.okhttp3.CallInvoicesApi.settleInvoiceAsync(InvoicesrpcSettleInvoiceMsg body, ApiCallback<Object> _callback) SettleInvoice settles an accepted invoice.okhttp3.CallInvoicesApi.settleInvoiceCall(InvoicesrpcSettleInvoiceMsg body, ApiCallback _callback) Build call for settleInvoiceInvoicesApi.settleInvoiceWithHttpInfo(InvoicesrpcSettleInvoiceMsg body) SettleInvoice settles an accepted invoice.LightningApi.signMessage(LnrpcSignMessageRequest body) lncli: `signmessage` SignMessage signs a message with this node's private key.okhttp3.CallLightningApi.signMessageAsync(LnrpcSignMessageRequest body, ApiCallback<LnrpcSignMessageResponse> _callback) lncli: `signmessage` SignMessage signs a message with this node's private key.okhttp3.CallLightningApi.signMessageCall(LnrpcSignMessageRequest body, ApiCallback _callback) Build call for signMessageLightningApi.signMessageWithHttpInfo(LnrpcSignMessageRequest body) lncli: `signmessage` SignMessage signs a message with this node's private key.LightningApi.stopDaemon(Object body) lncli: `stop` StopDaemon will send a shutdown request to the interrupt handler, triggering a graceful shutdown of the daemon.okhttp3.CallLightningApi.stopDaemonAsync(Object body, ApiCallback<Object> _callback) lncli: `stop` StopDaemon will send a shutdown request to the interrupt handler, triggering a graceful shutdown of the daemon.okhttp3.CallLightningApi.stopDaemonCall(Object body, ApiCallback _callback) Build call for stopDaemonLightningApi.stopDaemonWithHttpInfo(Object body) lncli: `stop` StopDaemon will send a shutdown request to the interrupt handler, triggering a graceful shutdown of the daemon.LightningApi.subscribeChannelBackups()SubscribeChannelBackups allows a client to sub-subscribe to the most up to date information concerning the state of all channel backups.okhttp3.CallLightningApi.subscribeChannelBackupsAsync(ApiCallback<StreamResultOfLnrpcChanBackupSnapshot> _callback) SubscribeChannelBackups allows a client to sub-subscribe to the most up to date information concerning the state of all channel backups.okhttp3.CallLightningApi.subscribeChannelBackupsCall(ApiCallback _callback) Build call for subscribeChannelBackupsLightningApi.subscribeChannelBackupsWithHttpInfo()SubscribeChannelBackups allows a client to sub-subscribe to the most up to date information concerning the state of all channel backups.LightningApi.subscribeChannelEvents()SubscribeChannelEvents creates a uni-directional stream from the server to the client in which any updates relevant to the state of the channels are sent over.okhttp3.CallLightningApi.subscribeChannelEventsAsync(ApiCallback<StreamResultOfLnrpcChannelEventUpdate> _callback) SubscribeChannelEvents creates a uni-directional stream from the server to the client in which any updates relevant to the state of the channels are sent over.okhttp3.CallLightningApi.subscribeChannelEventsCall(ApiCallback _callback) Build call for subscribeChannelEventsLightningApi.subscribeChannelEventsWithHttpInfo()SubscribeChannelEvents creates a uni-directional stream from the server to the client in which any updates relevant to the state of the channels are sent over.LightningApi.subscribeChannelGraph()SubscribeChannelGraph launches a streaming RPC that allows the caller to receive notifications upon any changes to the channel graph topology from the point of view of the responding node.okhttp3.CallLightningApi.subscribeChannelGraphAsync(ApiCallback<StreamResultOfLnrpcGraphTopologyUpdate> _callback) SubscribeChannelGraph launches a streaming RPC that allows the caller to receive notifications upon any changes to the channel graph topology from the point of view of the responding node.okhttp3.CallLightningApi.subscribeChannelGraphCall(ApiCallback _callback) Build call for subscribeChannelGraphLightningApi.subscribeChannelGraphWithHttpInfo()SubscribeChannelGraph launches a streaming RPC that allows the caller to receive notifications upon any changes to the channel graph topology from the point of view of the responding node.LightningApi.subscribeCustomMessages()lncli: `subscribecustom` SubscribeCustomMessages subscribes to a stream of incoming custom peer messages.okhttp3.CallLightningApi.subscribeCustomMessagesAsync(ApiCallback<StreamResultOfLnrpcCustomMessage> _callback) lncli: `subscribecustom` SubscribeCustomMessages subscribes to a stream of incoming custom peer messages.okhttp3.CallLightningApi.subscribeCustomMessagesCall(ApiCallback _callback) Build call for subscribeCustomMessagesLightningApi.subscribeCustomMessagesWithHttpInfo()lncli: `subscribecustom` SubscribeCustomMessages subscribes to a stream of incoming custom peer messages.LightningApi.subscribeInvoices(String addIndex, String settleIndex) SubscribeInvoices returns a uni-directional stream (server -> client) for notifying the client of newly added/settled invoices.okhttp3.CallLightningApi.subscribeInvoicesAsync(String addIndex, String settleIndex, ApiCallback<StreamResultOfLnrpcInvoice> _callback) SubscribeInvoices returns a uni-directional stream (server -> client) for notifying the client of newly added/settled invoices.okhttp3.CallLightningApi.subscribeInvoicesCall(String addIndex, String settleIndex, ApiCallback _callback) Build call for subscribeInvoicesLightningApi.subscribeInvoicesWithHttpInfo(String addIndex, String settleIndex) SubscribeInvoices returns a uni-directional stream (server -> client) for notifying the client of newly added/settled invoices.LightningApi.subscribePeerEvents()SubscribePeerEvents creates a uni-directional stream from the server to the client in which any events relevant to the state of peers are sent over.okhttp3.CallLightningApi.subscribePeerEventsAsync(ApiCallback<StreamResultOfLnrpcPeerEvent> _callback) SubscribePeerEvents creates a uni-directional stream from the server to the client in which any events relevant to the state of peers are sent over.okhttp3.CallLightningApi.subscribePeerEventsCall(ApiCallback _callback) Build call for subscribePeerEventsLightningApi.subscribePeerEventsWithHttpInfo()SubscribePeerEvents creates a uni-directional stream from the server to the client in which any events relevant to the state of peers are sent over.InvoicesApi.subscribeSingleInvoice(byte[] rHash) SubscribeSingleInvoice returns a uni-directional stream (server -> client) to notify the client of state transitions of the specified invoice.okhttp3.CallInvoicesApi.subscribeSingleInvoiceAsync(byte[] rHash, ApiCallback<StreamResultOfLnrpcInvoice> _callback) SubscribeSingleInvoice returns a uni-directional stream (server -> client) to notify the client of state transitions of the specified invoice.okhttp3.CallInvoicesApi.subscribeSingleInvoiceCall(byte[] rHash, ApiCallback _callback) Build call for subscribeSingleInvoiceInvoicesApi.subscribeSingleInvoiceWithHttpInfo(byte[] rHash) SubscribeSingleInvoice returns a uni-directional stream (server -> client) to notify the client of state transitions of the specified invoice.LightningApi.subscribeTransactions(Integer startHeight, Integer endHeight, String account) SubscribeTransactions creates a uni-directional stream from the server to the client in which any newly discovered transactions relevant to the wallet are sent over.okhttp3.CallLightningApi.subscribeTransactionsAsync(Integer startHeight, Integer endHeight, String account, ApiCallback<StreamResultOfLnrpcTransaction> _callback) SubscribeTransactions creates a uni-directional stream from the server to the client in which any newly discovered transactions relevant to the wallet are sent over.okhttp3.CallLightningApi.subscribeTransactionsCall(Integer startHeight, Integer endHeight, String account, ApiCallback _callback) Build call for subscribeTransactionsLightningApi.subscribeTransactionsWithHttpInfo(Integer startHeight, Integer endHeight, String account) SubscribeTransactions creates a uni-directional stream from the server to the client in which any newly discovered transactions relevant to the wallet are sent over.LightningApi.updateChannelPolicy(LnrpcPolicyUpdateRequest body) lncli: `updatechanpolicy` UpdateChannelPolicy allows the caller to update the fee schedule and channel policies for all channels globally, or a particular channel.okhttp3.CallLightningApi.updateChannelPolicyAsync(LnrpcPolicyUpdateRequest body, ApiCallback<LnrpcPolicyUpdateResponse> _callback) lncli: `updatechanpolicy` UpdateChannelPolicy allows the caller to update the fee schedule and channel policies for all channels globally, or a particular channel.okhttp3.CallLightningApi.updateChannelPolicyCall(LnrpcPolicyUpdateRequest body, ApiCallback _callback) Build call for updateChannelPolicyLightningApi.updateChannelPolicyWithHttpInfo(LnrpcPolicyUpdateRequest body) lncli: `updatechanpolicy` UpdateChannelPolicy allows the caller to update the fee schedule and channel policies for all channels globally, or a particular channel.LightningApi.verifyChanBackup(LnrpcChanBackupSnapshot body) VerifyChanBackup allows a caller to verify the integrity of a channel backup snapshot.okhttp3.CallLightningApi.verifyChanBackupAsync(LnrpcChanBackupSnapshot body, ApiCallback<Object> _callback) VerifyChanBackup allows a caller to verify the integrity of a channel backup snapshot.okhttp3.CallLightningApi.verifyChanBackupCall(LnrpcChanBackupSnapshot body, ApiCallback _callback) Build call for verifyChanBackupLightningApi.verifyChanBackupWithHttpInfo(LnrpcChanBackupSnapshot body) VerifyChanBackup allows a caller to verify the integrity of a channel backup snapshot.LightningApi.verifyMessage(LnrpcVerifyMessageRequest body) lncli: `verifymessage` VerifyMessage verifies a signature over a msg.okhttp3.CallLightningApi.verifyMessageAsync(LnrpcVerifyMessageRequest body, ApiCallback<LnrpcVerifyMessageResponse> _callback) lncli: `verifymessage` VerifyMessage verifies a signature over a msg.okhttp3.CallLightningApi.verifyMessageCall(LnrpcVerifyMessageRequest body, ApiCallback _callback) Build call for verifyMessageLightningApi.verifyMessageWithHttpInfo(LnrpcVerifyMessageRequest body) lncli: `verifymessage` VerifyMessage verifies a signature over a msg.LightningApi.walletBalance()lncli: `walletbalance` WalletBalance returns total unspent outputs(confirmed and unconfirmed), all confirmed unspent outputs and all unconfirmed unspent outputs under control of the wallet.okhttp3.CallLightningApi.walletBalanceAsync(ApiCallback<LnrpcWalletBalanceResponse> _callback) lncli: `walletbalance` WalletBalance returns total unspent outputs(confirmed and unconfirmed), all confirmed unspent outputs and all unconfirmed unspent outputs under control of the wallet.okhttp3.CallLightningApi.walletBalanceCall(ApiCallback _callback) Build call for walletBalanceLightningApi.walletBalanceWithHttpInfo()lncli: `walletbalance` WalletBalance returns total unspent outputs(confirmed and unconfirmed), all confirmed unspent outputs and all unconfirmed unspent outputs under control of the wallet. -
Uses of ApiException in net.osslabz.lnd.auth
Methods in net.osslabz.lnd.auth that throw ApiExceptionModifier and TypeMethodDescriptionvoidApiKeyAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidAuthentication.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.voidHttpBasicAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidHttpBearerAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)