{"name":"lightning","version":"3.2.2","keywords":["grpc","lightning-network","lnd"],"author":{"url":"https://twitter.com/alexbosworth","name":"Alex Bosworth"},"license":"MIT","_id":"lightning@3.2.2","maintainers":[{"name":"alexbosworth","email":"alex.bosworth+npm@gmail.com"}],"homepage":"https://github.com/alexbosworth/lightning#readme","bugs":{"url":"https://github.com/alexbosworth/lightning/issues"},"tsd":{"directory":"test/typescript"},"dist":{"shasum":"c43a88832725ddf7e3c25e31129adfa77ab5f42c","tarball":"http://registry-npm.ywwl.com/lightning/download/lightning-3.2.2.tgz","fileCount":487,"integrity":"sha512-x0tsb6njmOnumqoxlna9V9uAtVSA/NCJmcb+IX1PVhAnJtrRtC4Eg5LaElItVtji2iQVlhDsMHpd3Zkr+pgs/w==","signatures":[{"sig":"MEQCIEqU4KJbg8vuN4RE1HKr7rcq9VIDHWUYvmkMKbsL9CmDAiA/e/3SA3nVRN5IJot0mbCZcLGRa9U36VyUVp6uhfpF9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1420192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEP2QCRA9TVsSAnZWagAADx0P/AsomVSdqKV7b8RBayQI\ne7uIyMyJpAppJUYxU6TuuBLsZE4ly9hsP2PiZrnbYMtNeW4im/N8kToGJW/k\nLw4g0lhy/db63Z0IrddCIJqliAN8QqppPUBWfaqtCRgv0iaESdPgK/sACDD7\niCaFPE/wit6rBly7MKZv8NLmaEgRgqWL8xClv9tnL4zMa+XbgJpqmTx2JiI7\nllbLjo/1+rMTdKW3WU/tzS5B0+StfJVEUZqrqvUZVCsilITy0XS+lrHeK9Yt\n9M5x3o46WLea7Amo4kO0yojUHOgyQ5yd8jq7yFwKp1Jes5hbSFi29USqGXyY\nYpfAMZFf05lIOs+Fn4oG38T9R9E63bgX+RhPNC7+ClUhyyNXdAM13utntlXt\neiExWzYp0Pi6mZ7P9PM4lRZsHO2Dnwjt0qoynr6ldw/xye+titWvnOwC0oIt\nPnOZCGSUHxPDhKH0yu90p256sJUtotiRVrOL5Pcskx+R+gj/zOZhkA4PI54U\nfBZnwDTAc6Bv5logQZTmWFF7QUAvuTCK/yviSCP/gLufbiov0CT0k+V+4qfR\nmPzv61Ge8zK1Fkck9Vn8QHYrNgfLrAA+dtztH+pJYCj8tiphP0K04tNJ6D5h\nV4M7i9ghnmX0fDJuL5x0ODxJ7xzOOVK5jMcPTQuORgXehhlPtnqBgtw8mBzC\nQtxx\r\n=f+HH\r\n-----END PGP SIGNATURE-----\r\n","size":265603,"noattachment":false,"key":"/lightning/-/lightning-3.2.2.tgz"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10.10.0"},"gitHead":"98ccb26049a2d3abd3364b4066b7f9dc4d62ecfc","scripts":{"test":"tap test/arrays/*.js test/bolt00/*.js test/bolt02/*.js test/lnd_gateway/*.js test/lnd_grpc/*.js test/lnd_methods/address/*.js test/lnd_methods/generic/*.js test/lnd_methods/info/*.js test/lnd_methods/invoices/*.js test/lnd_methods/macaroon/*.js test/lnd_methods/message/*.js test/lnd_methods/offchain/*.js test/lnd_methods/onchain/*.js test/lnd_methods/peers/*.js test/lnd_methods/signer/*.js test/lnd_methods/tower_client/*.js test/lnd_requests/*.js test/lnd_responses/*.js && npm run test:types","test:types":"tsd"},"_npmUser":{"name":"alexbosworth","email":"alex.bosworth+npm@gmail.com"},"repository":{"url":"git+https://github.com/alexbosworth/lightning.git","type":"git"},"_npmVersion":"6.14.11","description":"Lightning Network client library","directories":{},"_nodeVersion":"14.15.3","dependencies":{"cbor":"6.0.1","psbt":"1.1.7","async":"3.2.0","bn.js":"5.1.3","bolt07":"1.6.0","bolt09":"0.1.3","express":"4.17.1","invoices":"1.1.4","@types/ws":"7.4.0","@types/node":"14.14.22","body-parser":"1.19.0","asyncjs-util":"1.2.3","@grpc/grpc-js":"1.2.5","bitcoinjs-lib":"5.2.0","@types/express":"4.17.11","@types/request":"2.48.5","@grpc/proto-loader":"0.5.6"},"_hasShrinkwrap":false,"devDependencies":{"ws":"7.4.2","tap":"14.11.0","tsd":"0.14.0","typescript":"4.1.3","request-promise-native":"1.0.9"},"_npmOperationalInternal":{"tmp":"tmp/lightning_3.2.2_1611726223906_0.22442285823344177","host":"s3://npm-registry-packages"},"readme":"# Lightning\n\n[![npm version](https://badge.fury.io/js/lightning.svg)](https://badge.fury.io/js/lightning)\n\nMethods for working with the Lightning Network\n\n## Selected Projects using Lightning\n\n- [bitpay.com crypto-rpc](https://bitpay.com/) -\n    https://github.com/bitpay/crypto-rpc\n- [channel.ninja](https://channel.ninja/) -\n    https://github.com/channelninja/channel.ninja\n- [coinos.io](https://coinos.io/) - https://github.com/coinos/coinos-server\n- [Galoy](https://galoy.io/) - https://github.com/GaloyMoney/galoy\n- [Lightning Poker](https://lightning-poker.com/) -\n    https://github.com/igreshev/lightning-poker\n- [Lightning Roulette](https://lightning-roulette.com/) -\n    https://github.com/igreshev/lightning-roulette\n- [Lightning Shell](https://lightningshell.app/) -\n    https://github.com/ibz/lightning-shell\n- [LNMarkets](https://twitter.com/lnmarkets) -\n    https://github.com/lnmarkets/umbrel\n- [LNPingBot](https://github.com/swissrouting/lnpingbot) -\n    https://github.com/swissrouting/lnpingbot\n- [MutinyWallet faucet](https://github.com/MutinyWallet/mutinynet-faucet) -\n    https://www.mutinywallet.com/\n- [p2plnbot](https://telegram.me/lnp2pbot) - https://github.com/grunch/p2plnbot\n- [rekr](https://rekr.app/) - https://github.com/ryan-lingle/rekr\n- [stackernews](https://stacker.news/) -\n    https://github.com/stackernews/stacker.news\n- [Suredbits API](https://suredbits.com/) -\n    https://github.com/Suredbits/sb-api-lnd\n- [Synonym Blocktank server](https://synonym.to) -\n    https://github.com/synonymdev/blocktank-server/\n- [Tarnhelm](https://www.tarnhelm.app/) - https://github.com/bkiac/tarnhelm\n- [tbtcswaps](https://tbtcswaps.com/) -\n    https://github.com/keep-community/tbtcswaps\n- [Thunderhub](https://www.thunderhub.io/) -\n    https://github.com/apotdevin/thunderhub\n\n## LND Authentication\n\nTo connect to an LND node, authentication details are required.\n\nExport credentials via CLI:\n[balanceofsatoshis](https://github.com/alexbosworth/balanceofsatoshis):\n`npm install -g balanceofsatoshis` and export via `bos credentials --cleartext`\n\nOr export them manually:\n\nRun `base64` on the tls.cert and admin.macaroon files to get the encoded\nauthentication data to create the LND connection. You can find these files in\nthe LND directory. (~/.lnd or ~/Library/Application Support/Lnd)\n\n    base64 -w0 ~/.lnd/tls.cert\n    base64 -w0 ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon\n\nYou can then use these to interact with your LND node directly:\n\n```node\nconst {authenticatedLndGrpc} = require('lightning');\n\nconst {lnd} = authenticatedLndGrpc({\n  cert: 'base64 encoded tls.cert file',\n  macaroon: 'base64 encoded admin.macaroon file',\n  socket: '127.0.0.1:10009',\n});\n```\n\nTo access unauthenticated methods like the wallet unlocker, use \n`unauthenticatedLndGrpc` instead.\n\n## Debugging\n\nIf you encounter any issues connecting and wish to view detailed information\nabout the underlying grpc calls, you can run Node with these environment\nvariables set:\n\n    GRPC_VERBOSITY=DEBUG GRPC_TRACE=all node YOURSCRIPTNAME.js\n\n## Methods\n\n- [addAdvertisedFeature](https://github.com/alexbosworth/ln-service#addadvertisedfeature):\n    Add a new supported feature to the graph node announcement\n- [addExternalSocket](https://github.com/alexbosworth/ln-service#addexternalsocket):\n    Add a new LN p2p network socket to node advertisement\n- [addPeer](https://github.com/alexbosworth/ln-service#addpeer): Connect to a new peer\n- [authenticatedLndGrpc](https://github.com/alexbosworth/ln-service#authenticatedlndgrpc): \n    Instantiate connection to authenticated lnd methods.\n- [beginGroupSigningSession](https://github.com/alexbosworth/ln-service#begingroupsigningsession):\n    Start a new MuSig2 signing session\n- [broadcastChainTransaction](https://github.com/alexbosworth/ln-service#broadcastchaintransaction):\n    Publish an on-chain transaction to the network.\n- [cancelHodlInvoice](https://github.com/alexbosworth/ln-service#cancelhodlinvoice): Cancel an\n    open invoice.\n- [cancelPendingChannel](https://github.com/alexbosworth/ln-service#cancelpendingchannel):\n    Cancel a pending channel.\n- [closeChannel](https://github.com/alexbosworth/ln-service#closechannel): Close a channel out to\n    the chain.\n- [changePassword](https://github.com/alexbosworth/ln-service#changepassword): Update the\n    wallet encryption passphrase.\n- [connectWatchtower](https://github.com/alexbosworth/ln-service#connectwatchtower): Connect a\n    new watchtower.\n- [createChainAddress](https://github.com/alexbosworth/ln-service#createchainaddress): Generate\n    a chain address to receive on-chain funds.\n- [createFundedPsbt](https://github.com/alexbosworth/ln-service#createfundedpsbt):\n    Create a funded PSBT given inputs and outputs\n- [createHodlInvoice](https://github.com/alexbosworth/ln-service#createhodlinvoice): Make a new\n    off-chain invoice that will not automatically accept payment.\n- [createInvoice](https://github.com/alexbosworth/ln-service#createinvoice): Make a new off-chain\n    invoice.\n- [createSeed](https://github.com/alexbosworth/ln-service#createseed): Generate a random wallet\n    HD seed.\n- [createWallet](https://github.com/alexbosworth/ln-service#createwallet): Make a new wallet.\n- [decodePaymentRequest](https://github.com/alexbosworth/ln-service#decodepaymentrequest):\n    Get parsed details for a payment request.\n- [deleteChainTransaction](https://github.com/alexbosworth/ln-service#deletechaintransaction)\n    Delete a broadcast chain transaction\n- [deleteFailedPayAttempts](https://github.com/alexbosworth/ln-service#deletefailedpayattempts)\n    Remove failed payment paths from database.\n- [deleteFailedPayments](https://github.com/alexbosworth/ln-service#deletefailedpayments)\n    Remove failed payments from the database.\n- [deleteForwardingReputations](https://github.com/alexbosworth/ln-service#deleteforwardingreputations)\n    Clear pathfinding reputations of routing nodes and channels.\n- [deletePayment](https://github.com/alexbosworth/ln-service#deletepayment): Remove a\n    past payment record.\n- [deletePayments](https://github.com/alexbosworth/ln-service#deletepayments): Remove all\n    past payment records.\n- [diffieHellmanComputeSecret](https://github.com/alexbosworth/ln-service#diffiehellmancomputesecret):\n    Calculate a shared secret to enable symmetric encryption of data to another node.\n- [disableChannel](https://github.com/alexbosworth/ln-service#disablechannel): Signal disabled\n    forwarding to a peer\n- [disconnectWatchtower](https://github.com/alexbosworth/ln-service#disconnectwatchtower):\n    Remove a connected watchtower\n- [enableChannel](https://github.com/alexbosworth/ln-service#enablechannel): Signal forwarding\n    enabled towards a peer.\n- [endGroupSigningSession](https://github.com/alexbosworth/ln-service#endgroupsigningsession):\n    End a MuSig2 signing session\n- [fundPendingChannels](https://github.com/alexbosworth/ln-service#fundpendingchannels):\n    Provide a signed funding source for opening channels.\n- [fundPsbt](https://github.com/alexbosworth/ln-service#fundpsbt): Make a PSBT with funds and\n    change to setup a future on-chain spend.\n- [getAccessIds](https://github.com/alexbosworth/ln-service#getaccessids): List the access tokens\n    granted permission to access the node.\n- [getAutopilot](https://github.com/alexbosworth/ln-service#getautopilot): Retrieve channel open\n    autopilot configuration.\n- [getBackup](https://github.com/alexbosworth/ln-service#getbackup): Get recovery details for a\n    specific channel.\n- [getBackups](https://github.com/alexbosworth/ln-service#getbackups): Get recovery details for\n    all channels.\n- [getBlock](https://github.com/alexbosworth/ln-service#getblock): Get a block\n- [getBlockHeader](https://github.com/alexbosworth/ln-service#getblockheader):\n    Get a block header\n- [getChainAddresses](https://github.com/alexbosworth/ln-service#getchainaddresses):\n    Get a list of created chain addresses\n- [getChainBalance](https://github.com/alexbosworth/ln-service#getchainbalance): Get the amount\n    of on-chain funds.\n- [getChainFeeEstimate](https://github.com/alexbosworth/ln-service#getchainfeeestimate):\n    Estimate a chain fee to send funds to an address.\n- [getChainFeeRate](https://github.com/alexbosworth/ln-service#getchainfeerate): Get an estimate\n    for an on-chain fee rate.\n- [getChainTransaction](https://github.com/alexbosworth/ln-service#getchaintransaction):\n    Get a wallet on-chain transaction.\n- [getChainTransactions](https://github.com/alexbosworth/ln-service#getchaintransactions): List\n    past on-chain transactions.\n- [getChannel](https://github.com/alexbosworth/ln-service#getchannel): Lookup network graph\n    details about a channel.\n- [getChannelBalance](https://github.com/alexbosworth/ln-service#getchannelbalance): Calculate\n    the total off-chain balance on the node.\n- [getChannels](https://github.com/alexbosworth/ln-service#getchannels): List open channels on\n    the node.\n- [getClosedChannels](https://github.com/alexbosworth/ln-service#getclosedchannels): List closed\n    channels on the node.\n- [getConfiguration](https://github.com/alexbosworth/ln-service#getconfiguration):\n    Get the configuration file settings for the node and the log.\n- [getConnectedWatchtowers](https://github.com/alexbosworth/ln-service#getconnectedwatchtowers):\n    List watchtowers that were added\n- [getEphemeralChannelIds](https://github.com/alexbosworth/ln-service#getephemeralchannelids):\n    List other channel ids for channels\n- [getFailedPayments](https://github.com/alexbosworth/ln-service#getfailedpayments): List out\n    past payments that failed.\n- [getFeeRates](https://github.com/alexbosworth/ln-service#getfeerates): List routing fee rates\n    and routing policies of channels on the node.\n- [getForwardingConfidence](https://github.com/alexbosworth/ln-service#getforwardingconfidence):\n    Calculate the pathfinding confidence score for routing a payment.\n- [getForwardingReputations](https://github.com/alexbosworth/ln-service#getforwardingreputations):\n    List the pathfinding reputations for payment routing.\n- [getForwards](https://github.com/alexbosworth/ln-service#getforwards): List past forwards routed\n    through the node.\n- [getHeight](https://github.com/alexbosworth/ln-service#getheight): Lookup the current best chain\n    height.\n- [getIdentity](https://github.com/alexbosworth/ln-service#getidentity): Derive the identity public\n    key of the node.\n- [getInvoice](https://github.com/alexbosworth/ln-service#getinvoice): Lookup the status of an\n    invoice.\n- [getInvoices](https://github.com/alexbosworth/ln-service#getinvoices): List details of all past\n    open invoices and received payments.\n- [getLockedUtxos](https://github.com/alexbosworth/ln-service#getlockedutxos): List the UTXOs\n    that are currently reserved and unavailable to coin selection.\n- [getMasterPublicKeys](https://github.com/alexbosworth/ln-service#getmasterpublickeys):\n    List out master seed derived extended public keys and derivation paths.\n- [getMethods](https://github.com/alexbosworth/ln-service#getmethods): List RPC methods and\n    permissions required to use them.\n- [getMinimumRelayFee](https://github.com/alexbosworth/ln-service#getminimumrelayfee):\n    Get the minimum relayable fee for publishing a chain transaction\n- [getNetworkCentrality](https://github.com/alexbosworth/ln-service#getnetworkcentrality):\n    Calculate the graph centrality score of a node.\n- [getNetworkGraph](https://github.com/alexbosworth/ln-service#getnetworkgraph): List all graph\n    routing nodes and all channels.\n- [getNetworkInfo](https://github.com/alexbosworth/ln-service#getnetworkinfo): Calculate network\n    graph statistics.\n- [getNode](https://github.com/alexbosworth/ln-service#getnode): Retrieve graph details for a\n    node and optionally list its channels.\n- [getPathfindingSettings](https://github.com/alexbosworth/ln-service#getpathfindingsettings):\n    List out configuration options set for routing.\n- [getPayment](https://github.com/alexbosworth/ln-service#getpayment): Lookup details about a\n    past payment.\n- [getPayments](https://github.com/alexbosworth/ln-service#getpayments): List details about past\n    payment attempts and paid payment requests.\n- [getPeers](https://github.com/alexbosworth/ln-service#getpeers): List details of connected nodes.\n- [getPendingChainBalance](https://github.com/alexbosworth/ln-service#getpendingchainbalance):\n    Calculate the unconfirmed on-chain balance.\n- [getPendingChannels](https://github.com/alexbosworth/ln-service#getpendingchannels): List\n    details of opening or closing channels.\n- [getPendingPayments](https://github.com/alexbosworth/ln-service#getpendingpayments): List out\n    past pending payments.\n- [getPendingSweeps](https://github.com/alexbosworth/ln-service#getpendingsweeps):\n    List out queued outpoints that are being swept\n- [getPublicKey](https://github.com/alexbosworth/ln-service#getpublickey): Derive a public key at\n    a given index.\n- [getRouteConfidence](https://github.com/alexbosworth/ln-service#getrouteconfidence): Check a\n    route to see the pathfinding confidence score that a payment would succeed.\n- [getRouteThroughHops](https://github.com/alexbosworth/ln-service#getroutethroughhops):\n    Calculate a route through specified nodes.\n- [getRouteToDestination](https://github.com/alexbosworth/ln-service#getroutetodestination):\n    Calculate a route through the graph to a destination.\n- [getRoutingFeeEstimate](https://github.com/alexbosworth/ln-service#getroutingfeeestimate):\n    Make a test payment to find a working routing fee for a payment request\n- [getSettlementStatus](https://github.com/alexbosworth/ln-service#getsettlementstatus):\n    Lookup the status of a received payment output\n- [getSweepTransactions](https://github.com/alexbosworth/ln-service#getsweeptransactions): List\n    transactions that are sweeping funds on-chain.\n- [getTowerServerInfo](https://github.com/alexbosworth/ln-service#gettowerserverinfo): General\n    information about a watchtower server running.\n- [getUtxos](https://github.com/alexbosworth/ln-service#getutxos): List unspent transaction outputs\n    in the on-chain wallet.\n- [getWalletInfo](https://github.com/alexbosworth/ln-service#getwalletinfo): Lookup general details\n    about the node.\n- [getWalletStatus](https://github.com/alexbosworth/ln-service#getwalletstatus): Fetch the current\n    state of the wallet.\n- [getWalletVersion](https://github.com/alexbosworth/ln-service#getwalletversion): Retrieve the\n    version and build tags of the node.\n- [grantAccess](https://github.com/alexbosworth/ln-service#grantaccess): Create an access\n    credential macaroon to access the API.\n- [isDestinationPayable](https://github.com/alexbosworth/ln-service#isdestinationpayable): Check\n    if a destination can be paid\n- [lockUtxo](https://github.com/alexbosworth/ln-service#lockutxo): Lease a UTXO so it cannot be\n    chosen to be spent.\n- [openChannel](https://github.com/alexbosworth/ln-service#openchannel): Create a new channel\n    to another node.\n- [openChannels](https://github.com/alexbosworth/ln-service#openchannels): Open\n     multiple channels in a single on-chain transaction batch.\n- [partiallySignPsbt](https://github.com/alexbosworth/ln-service#partiallysignpsbt):\n    Add a partial signature to a PSBT\n- [pay](https://github.com/alexbosworth/ln-service#pay): Make an off-chain payment.\n- [payViaPaymentDetails](https://github.com/alexbosworth/ln-service#payviapaymentdetails): Pay\n    off-chain using details about a destination invoice.\n- [payViaPaymentRequest](https://github.com/alexbosworth/ln-service#payviapaymentrequest):\n    Pay a payment request off-chain.\n- [payViaRoutes](https://github.com/alexbosworth/ln-service#payviaroutes):  Pay to a destination\n    using a specified route or routes.\n- [prepareForChannelProposal](https://github.com/alexbosworth/ln-service#prepareforchannelproposal):\n    Prepare to receive a custom channel proposal.\n- [probeForRoute](https://github.com/alexbosworth/ln-service#probeforroute): Run a probe to find a\n    route to pay to a destination.\n- [proposeChannel](https://github.com/alexbosworth/ln-service#proposechannel): Propose a new\n    channel to a peer who has prepared for the channel proposal.\n- [recoverFundsFromChannel](https://github.com/alexbosworth/ln-service#recoverfundsfromchannel):\n    Attempt to recover channel funds from a specific channel backup.\n- [recoverFundsFromChannels](https://github.com/alexbosworth/ln-service#recoverfundsfromchannels):\n    Attempt to recover funds from multiple channels using a multiple channel backup.\n- [removeAdvertisedFeature](https://github.com/alexbosworth/ln-service#removeadvertisedfeature):\n    Remove a supported feature from the graph node announcement\n- [removeExternalSocket](https://github.com/alexbosworth/ln-service#removeexternalsocket):\n    Remove a LN p2p network socket from the node advertisement\n- [removePeer](https://github.com/alexbosworth/ln-service#removepeer): Disconnect from a\n    connected peer.\n- [requestBatchedFeeIncrease](https://github.com/alexbosworth/ln-service#requestbatchedfeeincrease):\n    Ask for a batched CPFP chain fee rate increase on a pending confirm UTXO\n- [requestChainFeeIncrease](https://github.com/alexbosworth/ln-service#requestchainfeeincrease):\n    Ask for a CPFP chain fee rate increase on a pending confirm UTXO.\n- [revokeAccess](https://github.com/alexbosworth/ln-service#revokeaccess): Remove the access\n    privileges of a previously issued access token macaroon credential.\n- [sendMessage](https://github.com/alexbosworth/ln-service#sendmessage): Send an onion message\n    over the network into a published blinded path.\n- [sendMessageToPeer](https://github.com/alexbosworth/ln-service#sendmessagetopeer): Send\n    message to a connected peer.\n- [sendToChainAddress](https://github.com/alexbosworth/ln-service#sendtochainaddress): Send\n    funds on-chain to an address.\n- [sendToChainAddresses](https://github.com/alexbosworth/ln-service#sendtochainaddresses):\n    Send funds on-chain to multiple chain addresses.\n- [sendToChainOutputScripts](https://github.com/alexbosworth/ln-service#sendtochainoutputscripts):\n    Send funds on-chain to multiple chain destinations, specifying outputs scripts, not addresses.\n- [setAutopilot](https://github.com/alexbosworth/ln-service#setautopilot): Set the open channel\n    autopilot configuration settings.\n- [settleHodlInvoice](https://github.com/alexbosworth/ln-service#settlehodlinvoice): Take incoming\n      off-chain funds when an invoice has held funds from an incoming payment.\n- [signBytes](https://github.com/alexbosworth/ln-service#signbytes): Use node keys to sign over an\n    arbitrary set of bytes.\n- [signChainAddressMessage](https://github.com/alexbosworth/ln-service#signchainaddressmessage):\n    Sign a message using the public key behind a chain address with ECDSA\n- [signMessage](https://github.com/alexbosworth/ln-service#signmessage): Use the node identity\n    key to generate a signed message that represents the public graph node identity.\n- [signPsbt](https://github.com/alexbosworth/ln-service#signpsbt): Sign inputs and finalize a\n    partially signed transaction in the PSBT format to prepare it for broadcast.\n- [signTransaction](https://github.com/alexbosworth/ln-service#signtransaction): Generate\n    signatures required for inputs on a transaction.\n- [stopDaemon](https://github.com/alexbosworth/ln-service#stopdaemon): Send a shutdown\n    request to cleanly kill the daemon.\n- [subscribeToBackups](https://github.com/alexbosworth/ln-service#subscribetobackups): Get\n    notified on channel funds recovery backup file updates.\n- [subscribeToBlocks](https://github.com/alexbosworth/ln-service#subscribetoblocks): Get notified\n    when the Blockchain is updated.\n- [subscribeToChainAddress](https://github.com/alexbosworth/ln-service#subscribetochainaddress):\n    Get notified when funds are sent to an on-chain address.\n- [subscribeToChainSpend](https://github.com/alexbosworth/ln-service#subscribetochainspend):\n    Get notified when a UTXO is spent.\n- [subscribeToChannels](https://github.com/alexbosworth/ln-service#subscribetochannels): Get\n    notified when the set of active channels is updated.\n- [subscribeToForwardRequests](https://github.com/alexbosworth/ln-service#subscribetoforwardrequests):\n    Get notified on requests to begin forward flows and interactively accept or reject or settle them.\n- [subscribeToForwards](https://github.com/alexbosworth/ln-service#subscribetoforwards): Get\n    notified on off-chain routed payment events.\n- [subscribeToGraph](https://github.com/alexbosworth/ln-service#subscribetograph): Get notified\n    of changes to the public routing graph nodes and channels.\n- [subscribeToInvoice](https://github.com/alexbosworth/ln-service#subscribetoinvoice): Get notified\n    of status updates for incoming payments.\n- [subscribeToInvoices](https://github.com/alexbosworth/ln-service#subscribetoinvoices): Get\n    notified of status updates on past created invoices.\n- [subscribeToMessages](https://github.com/alexbosworth/ln-service#subscribetomessages):\n    Listen for incoming network onion messages.\n- [subscribeToOpenRequests](https://github.com/alexbosworth/ln-service#subscribetoopenrequests):\n    Get notified on requests to open an inbound channel and interactively accept or reject them.\n- [subscribeToPastPayment](https://github.com/alexbosworth/ln-service#subscribetopastpayment):\n    Get notified of the current and ongoing status of a past off-chain payment.\n- [subscribeToPastPayments](https://github.com/alexbosworth/ln-service#subscribetopastpayments):\n    Get notified of successful outgoing payments.\n- [subscribeToPayViaDetails](https://github.com/alexbosworth/ln-service#subscribetopayviadetails):\n    Make an off-chain payment using payment details and subscribe to the status of that payment.\n- [subscribeToPayViaRequest](https://github.com/alexbosworth/ln-service#subscribetopayviarequest):\n    Make an off-chain payment using a payment request and subscribe to the payment status.\n- [subscribeToPayViaRoutes](https://github.com/alexbosworth/ln-service#subscribetopayviaroutes):\n    Start an off-chain payment using specific payment routes and subscribe to the payment result.\n- [subscribeToPayments](https://github.com/alexbosworth/ln-service#subscribetopayments):\n    Subscribe to off-chain payments going out and being resolved\n- [subscribeToPeerMessages](https://github.com/alexbosworth/ln-service#subscribetopeermessages):\n    Listen for incoming peer messages.\n- [subscribeToPeers](https://github.com/alexbosworth/ln-service#subscribetopeers): Listen to peer\n    disconnect and connect events.\n- [subscribeToProbeForRoute](https://github.com/alexbosworth/ln-service#subscribetoprobeforroute):\n    Start an off-chain probe to find a payable route and get notified on the status of the probe.\n- [subscribeToRpcRequests](https://github.com/alexbosworth/ln-service#subscribetorpcrequests):\n    Intercept all incoming and outgoing traffic to the RPC\n- [subscribeToTransactions](https://github.com/alexbosworth/ln-service#subscribetotransactions):\n    Get notified on on-chain transaction activity.\n- [subscribeToWalletStatus](https://github.com/alexbosworth/ln-service#subscribetowalletstatus):\n    Listen to updates to wallet state\n- [unauthenticatedLndGrpc](https://github.com/alexbosworth/ln-service#unauthenticatedlndgrpc):\n    Create an lnd object for use with methods that do not require authentication credentials.\n- [unlockUtxo](https://github.com/alexbosworth/ln-service#unlockutxo): Release a lease on a wallet\n    UTXO to allow it to be selected for spending again.\n- [unlockWallet](https://github.com/alexbosworth/ln-service#unlockwallet): Decrypt the wallet and\n    start the daemon\n- [updateAlias](https://github.com/alexbosworth/ln-service#updatealias):\n    Update the advertised node alias\n- [updateChainTransaction](https://github.com/alexbosworth/ln-service#updatechaintransaction):\n    Edit the metadata of an on-chain transaction record.\n- [updateColor](https://github.com/alexbosworth/ln-service#updatecolor):\n    Update the advertised node color\n- [updateConnectedWatchtower](https://github.com/alexbosworth/ln-service#updateconnectedwatchtower):\n    Edit the settings on an added watchtower\n- [updateGroupSigningSession](https://github.com/alexbosworth/ln-service#updategroupsigningsession):\n    Update a MuSig2 signing session with nonces and get a partial signature\n- [updatePathfindingSettings](https://github.com/alexbosworth/ln-service#updatepathfindingsettings):\n    Edit the configuration for routing calculations\n- [updateRoutingFees](https://github.com/alexbosworth/ln-service#updateroutingfees): Set the\n    forwarding fees or other routing policies for a channel or all channels.\n- [verifyAccess](https://github.com/alexbosworth/ln-service#verifyaccess): Confirm a macaroon\n    has permission to access a given resource.\n- [verifyBackup](https://github.com/alexbosworth/ln-service#verifybackup): Check if a channel fund\n    recovery backup file is valid.\n- [verifyBackups](https://github.com/alexbosworth/ln-service#verifybackups): Check if multiple\n    channel fund recovery backups are valid.\n- [verifyBytesSignature](https://github.com/alexbosworth/ln-service#verifybytessignature): Check\n    that a signature over arbitrary bytes is valid.\n- [verifyChainAddressMessage](https://github.com/alexbosworth/ln-service#verifychainaddressmessage):\n    Verify that a chain address message has a valid ECDSA signature\n- [verifyMessage](https://github.com/alexbosworth/ln-service#verifymessage): Check that a\n    message from a node in the graph has a valid signature.\n","publish_time":1611726224162,"_cnpm_publish_time":1611726224162,"dist-tags":{"latest":"14.0.0"}}