Uses of Class
net.osslabz.lnd.ApiResponse
Packages that use ApiResponse
-
Uses of ApiResponse in net.osslabz.lnd
Methods in net.osslabz.lnd that return ApiResponseModifier and TypeMethodDescription<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. -
Uses of ApiResponse in net.osslabz.lnd.api
Methods in net.osslabz.lnd.api that return ApiResponseModifier and TypeMethodDescriptionLightningApi.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.addHoldInvoiceWithHttpInfo(InvoicesrpcAddHoldInvoiceRequest body) AddHoldInvoice creates a hold invoice.LightningApi.addInvoiceWithHttpInfo(LnrpcInvoice body) lncli: `addinvoice` AddInvoice attempts to add a new invoice to the invoice database.LightningApi.bakeMacaroonWithHttpInfo(LnrpcBakeMacaroonRequest body) lncli: `bakemacaroon` BakeMacaroon allows the creation of a new macaroon with custom read and write permissions.LightningApi.batchOpenChannelWithHttpInfo(LnrpcBatchOpenChannelRequest body) lncli: `batchopenchannel` BatchOpenChannel attempts to open multiple single-funded channels in a single transaction in an atomic way.InvoicesApi.cancelInvoiceWithHttpInfo(InvoicesrpcCancelInvoiceMsg body) CancelInvoice cancels a currently open invoice.LightningApi.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.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.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.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.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.connectPeerWithHttpInfo(LnrpcConnectPeerRequest body) lncli: `connect` ConnectPeer attempts to establish a connection to a remote peer.LightningApi.debugLevelWithHttpInfo(LnrpcDebugLevelRequest body) lncli: `debuglevel` DebugLevel allows a caller to programmatically set the logging verbosity of lnd.LightningApi.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.deleteAllPaymentsWithHttpInfo(Boolean failedPaymentsOnly, Boolean failedHtlcsOnly) DeleteAllPayments deletes all outgoing payments from DB.LightningApi.deleteMacaroonIDWithHttpInfo(String rootKeyId) lncli: `deletemacaroonid` DeleteMacaroonID deletes the specified macaroon ID and invalidates all macaroons derived from that ID.LightningApi.deletePaymentWithHttpInfo(byte[] paymentHash, Boolean failedHtlcsOnly) DeletePayment deletes an outgoing payment from DB.LightningApi.describeGraphWithHttpInfo(Boolean includeUnannounced) lncli: `describegraph` DescribeGraph returns a description of the latest graph state from the point of view of the node.LightningApi.disconnectPeerWithHttpInfo(String pubKey) lncli: `disconnect` DisconnectPeer attempts to disconnect one peer from another identified by a given pubKey.LightningApi.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.exportAllChannelBackupsWithHttpInfo()ExportAllChannelBackups returns static channel backups for all existing channels known to lnd.LightningApi.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.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.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.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.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.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.getNetworkInfoWithHttpInfo()lncli: `getnetworkinfo` GetNetworkInfo returns some basic stats about the known channel graph from the point of view of the node.LightningApi.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.getNodeMetricsWithHttpInfo(List<String> types) lncli: `getnodemetrics` GetNodeMetrics returns node metrics calculated from the graph.LightningApi.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.getTransactionsWithHttpInfo(Integer startHeight, Integer endHeight, String account) lncli: `listchaintxns` GetTransactions returns a list describing all the known transactions relevant to the wallet.LightningApi.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.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.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.listMacaroonIDsWithHttpInfo()lncli: `listmacaroonids` ListMacaroonIDs returns all root key IDs that are in use.LightningApi.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.LightningApi.listPeersWithHttpInfo(Boolean latestError) lncli: `listpeers` ListPeers returns a verbose listing of all currently active peers.LightningApi.listPermissionsWithHttpInfo()lncli: `listpermissions` ListPermissions lists all RPC method URIs and their required macaroon permissions to access them.LightningApi.listUnspentWithHttpInfo(Integer minConfs, Integer maxConfs, String account) lncli: `listunspent` Deprecated, use walletrpc.ListUnspent instead.LightningApi.lookupHtlcResolutionWithHttpInfo(String chanId, String htlcIndex) LookupHtlcResolution retrieves a final htlc resolution from the database.InvoicesApi.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.newAddressWithHttpInfo(String type, String account) lncli: `newaddress` NewAddress creates a new address under control of the local wallet.LightningApi.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.pendingChannelsWithHttpInfo()lncli: `pendingchannels` PendingChannels returns a list of all the channels that are currently considered \"pending\".LightningApi.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.LightningApi.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.registerRPCMiddlewareWithHttpInfo()RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain.LightningApi.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.sendCoinsWithHttpInfo(LnrpcSendCoinsRequest body) lncli: `sendcoins` SendCoins executes a request to send coins to a particular address.LightningApi.sendCustomMessageWithHttpInfo(LnrpcSendCustomMessageRequest body) lncli: `sendcustom` SendCustomMessage sends a custom peer message.LightningApi.sendManyWithHttpInfo(LnrpcSendManyRequest body) lncli: `sendmany` SendMany handles a request for a transaction that creates multiple specified outputs in parallel.LightningApi.sendPaymentSyncWithHttpInfo(LnrpcSendRequest body) SendPaymentSync is the synchronous non-streaming version of SendPayment.LightningApi.sendPaymentWithHttpInfo(LnrpcSendRequest body) lncli: `sendpayment` Deprecated, use routerrpc.SendPaymentV2.LightningApi.sendToRouteSyncWithHttpInfo(LnrpcSendToRouteRequest body) SendToRouteSync is a synchronous version of SendToRoute.InvoicesApi.settleInvoiceWithHttpInfo(InvoicesrpcSettleInvoiceMsg body) SettleInvoice settles an accepted invoice.LightningApi.signMessageWithHttpInfo(LnrpcSignMessageRequest body) lncli: `signmessage` SignMessage signs a message with this node's private key.LightningApi.stopDaemonWithHttpInfo(Object body) lncli: `stop` StopDaemon will send a shutdown request to the interrupt handler, triggering a graceful shutdown of the daemon.LightningApi.subscribeChannelBackupsWithHttpInfo()SubscribeChannelBackups allows a client to sub-subscribe to the most up to date information concerning the state of all channel backups.LightningApi.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.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.subscribeCustomMessagesWithHttpInfo()lncli: `subscribecustom` SubscribeCustomMessages subscribes to a stream of incoming custom peer messages.LightningApi.subscribeInvoicesWithHttpInfo(String addIndex, String settleIndex) SubscribeInvoices returns a uni-directional stream (server -> client) for notifying the client of newly added/settled invoices.LightningApi.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.subscribeSingleInvoiceWithHttpInfo(byte[] rHash) SubscribeSingleInvoice returns a uni-directional stream (server -> client) to notify the client of state transitions of the specified invoice.LightningApi.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.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.verifyChanBackupWithHttpInfo(LnrpcChanBackupSnapshot body) VerifyChanBackup allows a caller to verify the integrity of a channel backup snapshot.LightningApi.verifyMessageWithHttpInfo(LnrpcVerifyMessageRequest body) lncli: `verifymessage` VerifyMessage verifies a signature over a msg.LightningApi.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.