createFundedPsbt
: Add support forchange_format
for change address type
fundPsbt
: Add support forchange_format
to specify change address type
- Add support for LND 0.18.3
payViaPaymentRequest
,subscribeToPayViaRequest
: Addindex
to response for payment offset number in payments set
-
createInvoice
: addis_encrypting_routes
to enable blinded paths feature -
pay
,subscribeToPastPayment
,subscribeToPayViaDetails
,subscribeToPayViaRequest
,subscribeToPayments
: Addis_canceled
for when the payment loop was explicitly canceled.
getMinimumRelayFee
: Add method to get the chain backend minimum relay fee
getFeeRates
: Add support forinbound_base_discount_mtokens
,inbound_rate_discount
for inbound fee policy discounts
getClosedChannels
: Add support for anchor resolution status via new attributesanchor_is_confirmed
,anchor_is_pending
,anchor_spent_by
, andanchor_vout
authenticatedLndGrpc
,unauthenticatedLndGrpc
: Addpath
to specify the protos directory
getChannel
: Add support for specifyingtransaction_id
andtransaction_vout
instead ofid
getWalletInfo
: Add support for LND 0.18.0subscribeToGraph
: Add support forinbound_base_discount_mtokens
andinbound_rate_discount
createFundedPsbt
: Add method to create a funded PSBT given inputs/outputs
getChannel
,getNetworkGraph
,getNode
: Addinbound_base_discount_mtokens
andinbound_rate_discount
getChainFeeEstimate
: Add default chain fee conf target when none is passed
closeChannel
,openChannel
,sendToChainAddress
,sendToChainAddresses
: Add default chain fee conf target when no chain fee is specified
getPendingSweeps
: Add method to get the list of pending outpoints to sweeprequestBatchedFeeIncrease
: Add method to batch a CPFP sweep of an outpoint
- Add support for LND 0.17.5
fundPsbt
,getChainFeeEstimate
,sendToChainAddress
,sendToChainAddresses
,sendToChainOutputScripts
: Addutxo_selection
to specify preferred coin selection behavior.
pay
and payment via request methods: disallow features 30/31 from payments
removeAdvertisedFeature
: Add method to remove a feature bit support ad
getPendingChannels
: Add support forclose_transaction
to return raw tx
addAdvertisedFeature
: Add method to advertise a feature bit support
getSweepTransactions
: Addafter
to scope sweep result set
getConnectedWatchtowers
: Addis_taproot
to get P2TR channels
getConfiguration
: Add method to return configuration information
deleteChainTransaction
: Add method to delete a chain transactiongetChainTransaction
: Add method to get a chain transaction
- Add support for LND 0.17.3
- Add support for LND 0.17.2
- Add support for LND 0.17.1
getBlockHeader
: Add method to get the header portion of a block
- Add support for LND 0.17.0
- End support for node.js 16, require 18 or higher
- Remove method
grpcProxyServer
openChannel
: Addis_allowing_minimal_reserve
to allow no reserve on peer
openChannels
: Addis_simplified_taproot
to make a simplified taproot chan
openChannel
: Addis_simplified_taproot
to make a simplified taproot chan
openChannel
: Addinputs
to select inputs for channel open funding
createInvoice
,createHodlInvoice
: Addroutes
to customize the hop hints
openChannel
: Addis_trusted_funding
to support skipping confirmation wait
subscribeToForwards
: Cancel subscription when there are no event listeners
getPendingChannels
: Addblocks_until_expiry
for opening funding expiry
isDestinationPayable
: Correct behavior for passing variations of amounts
getPendingChannels
: Adddescription
to return pending channel descriptiongetPendingChannels
: Addis_private
to show pending channel announcement
getPendingChannels
: Addtype
to return pending channel type
getPendingChannels
: Fix returning closing transaction id for waiting close
getWalletInfo
: Add support for LND 0.16.3
getChannels
: Adddescription
to show the channel descriptionopenChannel
,openChannels
,proposeChannel
: Adddescription
to set the channel descriptionsubscribeToChannels
: Adddescription
tochannel_opened
subscribeToRpcRequests
: Adddescription
toopen_channel_request
subscribeToPastPayment
,subscribeToPayViaDetails
,subscribeToPayViaRequest
,subscribeToPayments
: Addid
forfailed
payment hash
getChannels
: Add support fortype
to show channel typegetWalletInfo
: Add support for LND 0.16.2subscribeToChannels
: Add support forchannel_opened
type
to show type
getWalletInfo
: Add support for LND 0.16.1subscribeToOpenRequests
: Addtype
for channel request commitment type
- Minimum version of node.js is moved up from 14 to 16
openChannel
: Addis_max_funding
to fund a channel maximallysubscribeToRpcRequests
: Add support for returningis_max_funding
inopen_channel_request
subscribeToRpcRequests
:open_channel_request
:local_tokens
is now an optional value
signChainAddressMessage
: Add method to sign a message given a chain addressverifyChainAddressMessage
: Add method to verify a chain address message
getChainAddresses
: Add method to get the list of chain addresses
subscribeToRpcRequests
: addmax_tokens_per_vbyte
to RPC close requests
getBlock
: addheight
to allow fetching a raw block at a specified height
getBlock
: Add method to retrieve the raw bytes of a block in the chain
getFailedPayments
,getInvoices
,getPayments
,getPendingPayments
: add support for date based filtering withcreated_after
andcreated_before
arguments
subscribeToRpcRequests
:open_channel_request
add support forfee_rate
,base_fee_mtokens
getWalletInfo
: Add support for LND 0.15.5
createUnsignedRequest
: Fix support for empty description requests
getSettlementStatus
: Add method to lookup received htlc settlement status
getWalletInfo
: Add support for LND 0.14.5
getWalletInfo
: Add support for LND 0.15.4
getWalletInfo
: Add support for LND 0.15.3
getWalletInfo
: Add support for LND 0.14.4
-
getWalletInfo
: Add support for LND 0.15.2 -
Due to LND chain sync failure prior to LND 0.15.2, those versions are no longer supported
openChannel
,openChannels
: Addbase_fee_mtokens
,fee_rate
to set initial routing fee rate.
subscribeToRpcRequests
: Fix support for LND 0.15.1
subscribeToPayments
: Add method to listen to all outgoing payments
- Versions of Node.js before 14 are no longer supported
getChainFeeEstimate
: Add support for specifying minutxo_confirmations
parsePaymentRequest
: Add support for parsing payment request metadata
getLockedUtxos
: Add support for locked UTXOoutput_script
,tokens
closeChannel
: Add support formax_tokens_per_vbyte
to set max fee rategetChainTransactions
: Addinputs
support for previous outpointssubscribeToTransactions
: Addinputs
support for previous outpoints
signBytes
: Addtype
and support for specifyingschnorr
type signingverifyBytesSignature
: Add support for verifying Schnorr signatures
getChannels
: Add support foris_trusted_funding
andother_ids
getClosedChannels
: Add support forother_ids
getEphemeralChannelIds
: Add method to get other channel idsopenChannels
: Add support foris_trusted_funding
for instant openingsubscribeToChannels
: Add support foris_trusted_funding
,other_ids
subscribeToOpenRequests
: Add support foris_trusted_funding
signTransaction
: Addroot_hash
to support Taproot signatures with scripts
getFailedPayments
,getPayments
,getPendingPayments
: Removeconfirmed_at
date when a payment is not confirmed, addcreated_at
andfailed_at
dates for attempt start and attempt failed dates.
beginGroupSigningSession
: Add method to start a MuSig2 signing sessionendGroupSigningSession
: Add method to complete a MuSig2 signing sessionupdateGroupSigningSession
: Add method to add nonces to a MuSig2 session
getRouteToDestination
,isDestinationPayable
,pay
,payViaPaymentDetails
,payViaPaymentRequest
,probeForRoute
,subscribeToPayViaDetails
,subscribeToPayViaRequest
,subscribeToProbeForRoute
- add support for pathfindingconfidence
signTransaction
: Fix multi-input signing for upcoming Taproot API changes
addExternalSocket
: Add method to add a socket to graph announcementsremoveExternalSocket
: Add method to remove sockets from graph announcements
getWalletVersion
: Add support for LND 0.14.3-beta
updateAlias
: Add method to update the node graph announcement aliasupdateColor
: Add method to update the node graph announcement color
- Use TLV for all hops when sending HTLCs along routes
signTransaction
: Addspending
attribute for specifying external inputs
createChainAddress
: Add support for creating P2TR addressesgetUtxos
: Add support for showing P2TR address types
getPendingPayments
: Add method to get payments in flight
fundPsbt
: Fix bip32 key derivation error
getMasterPublicKeys
: Add method to get bip32 master public keys
payViaRoutes
,subscribeToPayViaRoutes
: Add support for relay messages
partiallySignPsbt
: Add method to add a partial signature to a PSBT
getPayments
: Correct paging issue that prevented paging through all results
createWallet
: Add support for returning the adminmacaroon
pay
,payViaPaymentRequest
: Fix support foroutgoing_channels
constraint
deletePendingChannel
: Add method to remove a stuck pending channel open
getInvoices
: Addis_unconfirmed
to filter out canceled/settled invoices
getPendingChannels
: Add support for channelcapacity
openChannels
: Fixcooperative_close_address
not being set on channels
- Add support for LND 0.14.1
openChannels
: Addis_avoiding_broadcast
to avoid all funding broadcast
-
Removed support for determining the type of channel to support LND 0.14.0.
-
createChainAddress
: Make address format optional and add p2wpkh as default -
sendToChainOutputScripts
: Fix specification offee_tokens_per_vbyte
getChannels
,getPendingChannels
,subscribeToChannels
: Remove attributesis_anchor
,is_static_remote_key
,is_variable_remote_key
.
subscribeToPayViaDetails
,subscribeToPayViaRequest
: Addpaying
, androuting_failure
events to follow in-flight attempts and encountered routing failures
getPayment
,subscribeToPastPayment
: Addpending
for pending payment details
probeForRoute
,subscribeToProbeForRoute
,subscribeToPayViaRoutes
,payViaRoutes
: When probing (no hash), delete the payment failure record after the probe
- Add method
sendMessageToPeer
to send a custom peer message - Add method
subscribeToPeerMessages
to be notified on custom peer messages
getFailedPayments
: Add method to get payments that failed
subscribeToRpcRequests
: Addid
to provide for explicitly named middlewaresubscribeToRpcRequests
: Addis_intercepting_close_channel_requests
for closessubscribeToRpcRequests
: Addis_intercepting_open_channel_requests
for openssubscribeToRpcRequests
: Addis_intercepting_pay_via_routes_requests
for route pay
grantAccess
: Fix support for non-working methods
getWalletVersion
: Add support for LND v0.13.3-beta
getChannels
: Addpast_states
to reflect the number of updatessubscribeToChannels
: Addpast_states
to reflect to number of updatessubscribeToRpcRequests
: Add method to intercept RPC requests and responses
grantAccess
: Add support for specifyingmethods
for permissions
updateRoutingFees
: Addfailures
to result to indicate failed policy updates
verifyAccess
: Add method to check if a macaroon is granted permissions
getPayment
: Addcreated_at
to indicate the creation date of the paymentgetPayment
: Addrequest
to indicate serialized payment requestsubscribeToPastPayment
: Addcreated_at
to indicate the creation date of the paymentsubscribeToPastPayment
: Addrequest
to indicate serialized payment requestsubscribeToPastPayments
: Addcreated_at
to indicate the creation date of the paymentsubscribeToPastPayments
: Addrequest
to indicate serialized payment request
getPayment
: Adddestination
to indicate the destination of the paymentsubscribeToPastPayment
: Adddestination
to indicate the destination of the paymentsubscribeToPastPayments
: Adddestination
to indicate the destination of the payment
deletePayment
: Add method to delete a single paymentdeleteFailedPayAttempts
: Addid
argument to delete attempts for a single paymentgetWalletStatus
:is_ready
: Add wallet server ready statussubscribeToWalletStatus
: Addready
event to indicate server ready status
getPayment
: Addconfirmed_at
to indicate when payment resolved successfullygetPayments
: Addconfirmed_at
to indicate when payments resolve successfullypay
: Addconfirmed_at
to indicate when payment resolved successfullypayViaPaymentDetails
: Addconfirmed_at
to indicate when payment was sentpayViaPaymentRequest
: Addconfirmed_at
to indicate when payment was sentpayViaRoutes
: Addconfirmed_at
to indicate when payment resolved successfullysubscribeToPastPayment
: Addconfirmed_at
to indicate when payment succeededsubscribeToPastPayments
: Addconfirmed_at
to indicate when payments succeedsubscribeToPayViaDetails
: Addconfirmed_at
to indicate when payment was sentsubscribeToPayViaRequest
: Addconfirmed_at
to indicate when payment was sentsubscribeToPayViaRoutes
: Addconfirmed_at
to indicate when payment was sent
getPendingChannels
: Addis_timelocked
andtimelock_blocks
to force closes
subscribeToPastPayments
: Add method to subscribe to successful past payments
lockUtxo
: Return correct error message when attempting to lock an unknown UTXOlockUtxo
: Fix error when specifying a custom lock identifier
- Switch to
sendToRouteV2
to execute payments over a specific route
getWalletStatus
: Add method to do a one-off query of the wallet state
- Node.js version 12 or higher is now required
getWalletVersion
: Add support for LND 0.13.1-betafundPsbt
: Add support formin_confirmations
subscribeToForwards
: Addsecret
attribute to settle forward events
getNode
: Return to fallback channels lookup when version commit hash is unavailablegetWalletVersion
: Add support for builds that do not report a commit hash
getNode
: Improve performance on LND 0.13.0+ by using returned channel data
Support AMP push payments in invoices
parsePaymentRequest
: Return zero values when mtokens are undefined
getWalletVersion
: Add support for LND 0.13.0
pay
: Fix error when paying a zero amount invoice but specifying mtokenssubscribeToInvoices
: Fix restart timeout to add longer default timeout
requestChainFeeIncrease
: Add method to increase the relative fee of an unconfirmed UTXO
sendToChainOutputScripts
: Add method to send to arbitrary output scripts
getLockedUtxos
: Add method to list leased UTXOslockUtxo
: Addexpires_at
attribute to specify lock expiration date
subscribeToForwards
: Fix documentation offorward
event fee attributessubscribeToWalletStatus
: Add method to subscribe to the status of the node
disableChannel
: Add method to mark a channel as disabled for outgoing paymentsenableChannel
: Add method to mark a channel as enabled for outgoing payments
getPathfindingSettings
: Retrieve configuration settings of pathfinding systemupdatePathfindingSettings
: Update configuration settings of pathfinding system
deleteFailedPayAttempts
: Delete records of attempts to make payments that faileddeleteFailedPayments
: Delete records of payments that failed to pay
pay
: Addmax_path_mtokens
to control path splitting when not specifying routespayViaPaymentDetails
: Addmax_path_mtokens
to control path splittingpayViaPaymentRequest
: Addmax_path_mtokens
to control path splittingsubscribeToPayViaDetails
: Addmax_path_mtokens
to control path splittingsubscribeToPayViaRequest
: Addmax_path_mtokens
to control path splitting
- Remove
calculateHops
,calculatePaths
methods, abstracted out toln-pathfinding
authenticatedLndGrpc
: Remove requirement for passing a macaroon
grpcProxyServer
: Fix issue with subscriptions not being closed when ws is closedpayViaPaymentDetails
: Add support for payment identifier noncesubscribeToPayViaDetails
: Add support for payment identifier nonce
decodePaymentRequest
: Addcreated_at
date,is_expired
attributesgetInvoices
: Addcltv_delta
,confirmed_index
,index
, and HTLCtimeout
getPendingChannels
: Addis_anchor
to indicate if a channel is an anchor channel
subscribeToOpenRequests
: Addis_private
attribute to open channel requests
subscribeToChainAddress
: Correct byte ordering in tx hash when specifying tx id
subscribeToGraph
: Use native graph updates when feature flags are available
getChannels
: Add support foris_anchor
andis_variable_remote_key
chan typessubscribeToChannels
: Add support foris_anchor
,is_variable_remote_key
chan types
addInvoice
: Returnpayment
record identifier in responsegetConnectedWatchtowers
: Addis_anchor
to get anchor tower infogetInvoice
: Returnpayment
record identifier in responsegetInvoices
: Returnpayment
record identifier in responsesubscribeToInvoice
: Returnpayment
record identifier in responsesubscribeToInvoices
: Returnpayment
record identifier in response
fundPsbt
: Fix issue specifying a transaction feegetPublicKey
: Support omittingindex
to generate a fresh public keyprepareForChannelProposal
: Add method to prepare for a channel proposalproposeChannel
: Add method to propose a channel to a prepared peer
createInvoice
: Add support for specifyingmtokens
instead oftokens
getChannels
: Showcooperative_close_delay_height
to indicate coop close deny heightsubscribeToChannels
: Showcooperative_close_delay_height
for coop close deny height
getForwardingReputations
: Fix broken attributes from unsupported LND versionsgetForwardingReputations
: Addfailed_tokens
,last_failed_forward_at
getForwardingReputations
: Addforwarded_tokens
,last_forward_at
subscribeToOpenRequests
: Addcooperative_close_address
,remote_csv
toaccept()
subscribeToOpenRequests
: Addmin_confirmations
,remote_reserve
toaccept()
subscribeToOpenRequests
: Addremote_max_htlcs
,remote_max_pending_mtokens
subscribeToOpenRequests
: Addremote_min_htlc_mtokens
to accept()subscribeToOpenRequests
: Addreason
to reject()
createInvoice
: Decrease default expiration timegetSweepTransactions
: Fix method returning error when sweep tx were missing from dbsubscribeToForwardRequests
: Add suppoort for surfacing the rawonion
package
getChannels
: Add support forin_channel
,in_payment
,is_forward
,out_channel
,out_payment
, andpayment
fields to surface forwarding details
Update grpc
dependency to native JS version.
pay
: Fix unhandled error in failure condition
pay
: Fix method to use non-deprecated APIspay
: Addincoming_peer
argument to specify last forwarding nodepay
: Addmax_fee_mtokens
argument to specify maximum fees in mtokenspay
: Addmax_paths
argument to enable multi-path paymentspay
: Addmessages
argument to pass messages to the destinationpay
: Addmtokens
argument to specify the amount to pay in mtokenspay
: Addoutgoing_channels
to specify multiple outgoing channels to pay out of
subscribeToBlocks
: Fix blockhash
endian output
getHeight
: method added to get the current block height
Due to security issues, versions of LND lower than v0.11.0 should not be used and are no longer supported.
getChannels
:is_static_remote_key
is now always definedgetChannels
:local_csv
,local_dust
,local_max_htlcs
are now always definedgetChannels
:local_max_pending_mtokens
,local_min_htlc_mtokens
are now definedgetChannels
:remote_csv
,remote_dust
,remote_max_htlcs
are now always definedgetChannels
:remote_max_pending_mtokens
,remote_min_htlc_mtokens
are now definedgetChannels
:time_offline
andtime_online
is now always definedgetFeeRates
:id
is now always definedgetForwards
:mtokens
is now always definedgetIdentity
: Convenience method added to get the backing node's identity public keylockUtxo
: Specifying a custom id for a UTXO lock is now supportedsubscribeToChannels
:is_static_remote_key
is now always defined
- Versions of LND v0.7.1 through v0.10.4 are no longer supported
getRoutes
: method is removed, usegetRouteToDestination
insteadpay
:wss
is no longer supportedprobe
: method is removed, useprobeForRoute
insteadsubscribeToProbe
: method is removed, usesubscribeToProbeForRoute
instead
subscribeToBackups
: Improve error handling and subscription removalsubscribeToTransactions
: Improve error handling and subscription removal
fundPsbt
: Setup a PSBT with internal funding or an internal change outputsignPsbt
: Finalize and sign a PSBT where internal keys are specified
sendToChainAddress
: Addutxo_confirmations
to set confs required for UTXO selectionsendToChainAddresses
: Addutxo_confirmations
to set confs required for UTXO selection
probeForRoute
: Fix specifyingtotal_mtokens
when probing for a route
probeForRoute
: Add support for specifying onlymtokens
in a probe for a route
getChannelBalance
: Add support forchannel_balance_mtokens
to show local mtokensgetChannelBalance
: Add support forinbound
,inbound_mtokens
to show remote balancegetChannelBalance
: Add support forpending_inbound
to show pending remote balancegetChannelBalance
: Add support forunsettled_balance
to show HTLCs balancegetChannelBalance
: Add support forunsettled_balance_mtokens
to show HTLCs balance
addPeer
: Allow specifying atimeout
in milliseconds to abort a connect attemptopenChannels
: Fix giving tokens to peers
getPeers
: Returnlast_reconnected
to indicate last reconnection dategetPeers
: Returnreconnection_rate
to indicate frequency of reconnections
createUnsignedRequest
: Add support for empty descriptionsparsePaymentRequest
: Improve consistency withdecodePaymentRequest
getMethods
: Add method to list available methods and related permissions
getAccessIds
: Add method to list macaroon root ids granted accessgrantAccess
: Add support forid
to specify a root id number for a macaroonrevokeAccess
: Add method to revoke access to macaroons with a root id number
subscribeToChannels
: Makechannel_closed
consistent w/getClosedChannels
subscribeToChannels
: Makechannel_opened
values consistent w/getChannels
subscribeToGraph
: Correct consistency issues in event valuessubscribeToGraph
: Add support forfeatures
in node announcements
createHodlInvoice
: Add support fordescription_hash
createInvoice
: Add support fordescription_hash
payViaPaymentRequest
: Fix validation ofoutgoing_channel
getRouteThroughHops
: Add support for specifying MPP records and TLV messagesrouteFromChannels
: Add support for specifying TLV messages
updateRoutingFees
: Allow specifying zerobase_fee_tokens
,fee_rate
getFeeRates
: Add support forbase_fee_mtokens
to show precise base fees
getClosedChannels
: Addclose_balance_spent_by
to show close sweep txgetClosedChannels
: Addclose_balance_vout
to show close sweep txoutgetClosedChannels
: Addclose_payments
to show on-chain HTLCs
updateRoutingFees
: Allow specifyingbase_fee_mtokens
forwarding fee
subscribeToForwards
: Attempt to restart subscription if it is terminated
getChannels
: Add support for csv, dust value, max htlcs, max pending amount, min htlc size
subscribeToForwardRequests
: Add method to control forwarding of HTLCs
subscribeToChainAddress
: Propagate remove listeners to original subscription
probeForRoute
: returnconfidence
score of returned routeprobeForRoute
: allow specifyingfeatures
of destination nodeprobeForRoute
: allow specifyingincoming_peer
for the final hop forwardprobeForRoute
: allow specifyingmessages
for messages to destinationprobeForRoute
: allow specifyingpayment
to set the payment identifierprobeForRoute
: allow specifyingtotal_mtokens
for updated payment protocol
Method probeForRoute
pathfinding drops support for options:
- Specifying
is_ignoring_past_failures
is no longer supported in LND 0.10.0+ - Specifying
is_strict_hints
is not supported in LND 0.10 or above
Use --ignore
and --incoming_peer
instead of these options where possible.
lockUtxo
: Add method to obtain a temporary lock on a UTXOunlockUtxo
: Add method to release the temporary lock on a UTXO
getWalletVersion
: Add 0.10.1-beta recognition
updateChainTransaction
: Add support for updating chain transaction label
broadcastChainTransaction
: Add support for transactiondescription
getChainTransactions
: Add support for transactiondescription
sendToChainAddress
: Add support for adding adescription
sendToChainAddresses
: Add support for adding adescription
getChainTransactions
: Addafter
andbefore
to specify height rangesgetSweepTransactions
: Add support for fetching 2nd level sweep transactionsgetWalletVersion
: Addversion
to return known release version stringspayViaPaymentDetails
: Add support for specifyingmax_paths
payViaPaymentDetails
: Add support for specifyingoutgoing_channels
payViaPaymentRequest
: Add support for specifyingmax_paths
payViaPaymentRequest
: Add support for specifyingoutgoing_channels
subscribeToPayViaDetails
: Add support for specifyingmax_paths
subscribeToPayViaDetails
: Add support for specifyingoutgoing_channels
subscribeToPayViaRequest
: Add support for specifyingmax_paths
subscribeToPayViaRequest
: Add support for specifyingoutgoing_channels
subscribeToTransactions
: Changeconfirmation_count
zero to undefinedsubscribeToTransactions
: Returnconfirmation_height
attribute when definedsubscribeToTransactions
: Returncreated_at
attributesubscribeToTransactions
: Changefee
zero fee to undefinedsubscribeToTransactions
: Addoutput_addresses
attributesubscribeToTransactions
: Addtokens
attributesubscribeToTransactions
: Addtransaction
attribute when definedsubscribeToTransactions
: Suppress errors when there are no error listeners
getPayments
: Add support for add index
authenticatedLndGrpc
: Fix support for hex encoded macaroons
addPeer
: Addretry_delay
to specify delay to retry connectionauthenticatedLndGrpc
: Addrouter_legacy
for LND 0.9.2 and belowauthenticatedLndGrpc
: Addversion
for version server methodscancelPendingChannel
: Add method to cancel a pending opening channelfundPendingChannel
: Add method to pay to a pending open channel addressgetNetworkCentrality
: Add method to calculate node betweenness centralitygetPayments
: Addlimit
andtoken
methods for paging paymentsgetWalletVersion
: Add method to determine the version of the LND walletgrantAccess
: Addpermissions
to directly specify and view permissionsopenChannels
: Add method to open channels with external fundingpayViaPaymentDetails
: Addpaths
to return all payment pathspayViaPaymentRequest
: Addpaths
to return all payment pathssubscribeToPayViaDetails
: Addpaths
to return all payment pathssubscribeToPayViaRequest
: Addpaths
to return all payment paths
Support for the REST server is eliminated. Use grpcProxyServer
instead
getPendingChainBalance
: limbo balance from pending channels is removedpayViaPaymentDetails
: Attributehops
now returns only the first path hopspayViaPaymentRequest
: Attributehops
now returns only the first path hopssubscribeToPayViaDetails
: Attributehops
now returns only first path hopssubscribeToPayViaRequest
: Attributehops
now returns only first path hops
getPendingChannels
: show initiator withis_partner_initiated
attributegetChannels
: addpartner_public_key
argument to filter channels by pubkeygetChannels
: show push amounts vialocal_given
andremote_given
getFeeRates
: addid
attribute to show the short channel id of channelsgetForwardingConfidence
: removepast_failure_at
,past_failure_tokens
getForwardingConfidence
: removepast_success_at
getPayment
: addfee
andforward
to hops to show rounded up amountsgetPayment
: addis_insufficient_balance
to payment statuspayViaPaymentRequest
: addis_insufficient_balance
to payment methodssubscribeToForwards
: add method to get HTLC event notificationsubscribeToPastPayment
: addfee
,forward
in hops for rounded up amountssubscribeToPastPayment
: addis_insufficient_balance
to payment statussubscribeToPayViaDetails
: addis_insufficient_balance
to payment statussubscribeToPayViaRequest
: addis_insufficient_balance
to payment status
Improve support for node version 10
getClosedChannels
: indicateis_partner_closed
andis_partner_initiated
getNode
: Return feature bits as numbers instead of strings
- Increase message maximum limit for gRPC to accomodate large responses
Fix issue with circular payments failing due to LND circular payment ban
getNode
: rollback lookup improvement due to sometimes policy mismatch
getNode
: improve with-channels lookup speed when a node has features
subscribeToChannels
: addchannel_opening
event for new channels
subscribeToProbeForRoute
: add method to probe for a route using TLV
decodePaymentRequest
: addpayment
attribute for payment identifiergetRouteToDestination
: add method to get a route to a destination with TLV
diffieHellmanComputeSecret
: add method to create shared key
getChannels
: Fix partner initiated inaccurate outputgetInvoice
: Addis_push
to indicate push paymentgetInvoices
: Addis_push
to indicate push paymentsubscribeToInvoices
: Addis_push
to indicate push payment
If a payment is a push payment, request
may now be undefined on an invoice
getInvoice
: Add support forfeatures
andmessages
getInvoices
: Add support forfeatures
andmessages
payViaPaymentDetails
: Add support for specifyingfeatures
andmessages
payViaPaymentRequest
: Add support formessages
payViaRoutes
: Add support for specifyingmessages
subscribeToInvoice
: Add support forfeatures
andmessages
subscribeToInvoices
: Add support formessages
subscribeToPayViaRoutes
: Add support for specifyingmessages
subscribeToPayViaDetails
: Add support for specifyingfeatures
,messages
subscribeToPayViaRequest
: Add support for specifyingmessages
getChannels
: addcooperative_close_address
to show coop close addressgetWalletInfo
: addfeatures
for listing supported featuresopenChannel
: addcooperative_close_address
to specify coop close addresssubscribeToPeers
: added method to listen for peer connects and disconnects
createUnsignedRequest
: Add support forfeatures
andpayment
identifiergetNode
: Add support forfeatures
feature flag listgetPeers
: Add support forfeatures
feature flag listparsePaymentRequest
: Add support forfeatures
andpayment
identifier
grantAccess
: Addis_ok_to_sign_bytes
to allow signing arbitrary bytesgrantAccess
: Addis_ok_to_verify_bytes_signatures
to verify the signatures
closeChannel
: Addaddress
to specify address to attempt to send funds tocreateUnsignedRequest
: Addpreimage
attribute for hash to sign preimagedecodePaymentRequest
: Fix zero value invoice parsing, add invoice featuressignBytes
: Add arbitrary bytes signer methodupdateRoutingFees
: Add argumentmin_htlc_mtokens
to update minimum HTLCverifyBytesSignature
: Add signature validation method
subscribeToChannels
: Fix incorrect error emission
Introducing safe_fee
and safe_tokens
for payments. This represents token
values as rounded up versions of themselves to avoid unsafely ignoring the
amount spent as millitokens.
decodePaymentRequest
: addmtokens
decodePaymentRequest
: addsafe_tokens
getPayment
: addsafe_fee
andsafe_tokens
getRoutes
: addsafe_fee
andsafe_tokens
pay
: addsafe_fee
andsafe_tokens
payViaPaymentDetails
: addsafe_fee
andsafe_tokens
payViaPaymentRequest
: addsafe_fee
andsafe_tokens
payViaRoutes
: addsafe_fee
andsafe_tokens
probeForRoute
: addsafe_fee
andsafe_tokens
subscribeToPastPayment
: addsafe_fee
andsafe_tokens
subscribeToPayViaDetails
: addsafe_fee
andsafe_tokens
subscribeToPayViaRequest
: addsafe_fee
andsafe_tokens
subscribeToPayViaRoutes
: addsafe_fee
andsafe_tokens
subscribeToProbe
: addsafe_fee
andsafe_tokens
getRoutes
: allow overflowing the payment sizeopenChannel
: addpartner_socket
to attempt connecting before opening
payViaPaymentDetails
: addfee
attribute for fee tokens paidpayViaPaymentRequest
: addfee
attribute for fee tokens paidsubscribeToPayViaDetails
: addfee
attribute for fee tokens paidsubscribeToPayViaRequest
: addfee
attribute for fee tokens paid
getPayments
: Addattempts
attribute for HTLC details related to a payment
isDestinationPayable
: Addincoming_peer
to specify last hop peerpayViaPaymentDetails
: Addincoming_peer
to specify last hop peerpayViaPaymentRequest
: Addincoming_peer
to specify last hop peersubscribeToPayViaDetails
: Addincoming_peer
to specify last hop peersubscribeToPayViaRequest
: Addincoming_peer
to specify last hop peerrestrictMacaroon
: Add method to add ip/timeout restrictions to a macaroon
createHodlInvoice
: Add support formtokens
subscribeToInvoice
: Add supportmtokens
parsePaymentRequest
: support uppercase payment requests
getPayment
: addtokens
to indicate amount paidpayViaPaymentDetails
: addmax_fee_mtokens
,mtokens
to specify mtokenspayViaPaymentRequest
: addmax_fee_mtokens
,mtokens
to specify mtokensprobeForRoute
: addmax_fee_mtokens
,mtokens
to specify mtokenssubscribeToPastPayment
: addtokens
to indicate amount paidsubscribeToPayViaDetails
: addmax_fee_mtokens
,mtokens
for mtokenssubscribeToPayViaRequest
: addmax_fee_mtokens
,mtokens
for mtokenssubscribeToPayViaRequest
: addmax_fee_mtokens
,mtokens
for mtokenssubscribeToProbe
: addmax_fee_mtokens
,mtokens
to specify mtokens
getForwards
: Fix issue where new forward mtokens field was not included
-
Add support for future TLV payment id and amount fields in routes
-
Improve robustness of invoices subscription.
-
getRoutes
: Add argspayment
andtotal_mtokens
-
payViaRoutes
: Add argspayment
andtotal_mtokens
-
subscribeToInvoices
: Addadded_after
arg to specify minimum invoice index -
subscribeToInvoices
: Addconfirmed_after
arg to specify min confirm index -
subscribeToInvoices
: add support for add and confirm indexes -
subscribeToInvoices
: now restarts automatically on failure -
subscribeToInvoices
: new argrestart_delay_ms
to specify restart delay -
subscribeToPayViaRoutes
: Add argspayment
andtotal_mtokens
-
subscribeToProbe
: Add argspayment
andtotal_mtokens
-
routeFromChannels
: Add argspayment
andtotal_mtokens
getForwardingConfidence
: Add method to get forwarding confidence of forwarding between two peers
getPaymentOdds
: Rename togetRouteConfidence
getForwardingReputations
: Rename "odds" to "confidence"probability
attribute changes toconfidence
general_success_odds
attribute toconfidence
success_odds
attribute changes toconfidence
getChannels
: addtime_offline
andtime_online
to show channel livenessgrantAccess
: add method to create authorization macaroons
getRoutes
: correct issues in route finding with CLTV values
getForwards
: addmtokens
to show forwarded millitokens for a forward.
getRoutes
: addmax_timeout_height
to limit the maximum CLTV height when pathfinding.
getRoutes
: addconfidence
score to indicate quality of route resultsubscribeToProbe
: addconfidence
toprobing
event
subscribeToTransactions
: Added attributeconfirmation_height
tochain_transaction
eventupdateRoutingFees
: add support for adjustingmax_htlc_mtokens
getRouteThroughHops
: Added method to convert a set of public keys to a full route
getChannels
:is_static_remote_key
added to indicate static remote keyssubscribeToOpenRequests
: Added method to listen and accept/reject open channel requests
- Support for
lnd-v0.7.0
is removed.
subscribeToPayViaRoutes
: Addedindex
torouting_failure
indicating which hop failed
getInvoice
: Addedpayments
to show HTLC payments to the invoicegetInvoices
: Addedpayments
subscribeToInvoice
: Addedpayments
subscribeToInvoices
: Addedpayments
getInvoices
: Remove attributeroutes
. To get private routes decode the payment request
getRoutes
Improve route construction correctnessrouteFromChannels
,routeFromHops
, standardizecltv
argument ascltv_delta
routeFromChannels
argumentcltv
is renamedcltv_delta
routeFromHops
method removed, userouteFromChannels
insteadsubscribeToChainAddress
argumentmin_height
is now requiredsubscribeToChainSpend
argumentmin_height
is now required
getNode
addedis_omitting_channels
. This is recommended if not getting channels.
subscribeToTransactions
include the derived output addresses in chain_transaction event
getForwardingReputations
add support for general peer reputations
getForwardingReputations
returns either channel or peer odds depending on lnd version
- Fix
closeChannel
to allow specifying a channel id when closing a channel - Add
connectWatchtower
to connect to a watchtower - Add
disconnectWatchtower
to disconnect a watchtower - Add
getConnectedWatchtowers
to get watchtowers and watchtower info - Add
isDestinationPayable
to check if a destination is payable - Add
probeForRoute
optionis_ignoring_past_failures
to ignore mission control in probe - Add
updateConnectedWatchtower
to update a connected watchtower
getRoutes
:timeout
argument for the final cltv delta is renamedcltv_delta
getRoutes
:fee
argument for the max fee is renamedmax_fee
pay
max timeout rename:timeout_height
tomax_timeout_height
payViaPaymentDetails
: max cltv rename:timeout_height
tomax_timeout_height
payViaPaymentRequest
: max cltv rename:timeout_height
tomax_timeout_height
probeForRoute
: Ignoring below probability optionignore_probability_below
eliminatedsubscribeToPayViaDetails
: max cltv rename:timeout_height
tomax_timeout_height
subscribeToProbe
: max cltv rename:timeout_height
tomax_timeout_height
subscribeToProbe
: removeignore_probability_below
- Add hop hints strictness option to getRoutes to only find routes that go through specified routes
- Add hop hints strictness to subscribeToProbe, probeForRoute
- Add outgoing channel support to getRoutes
- Pad the final CLTV of getRoutes output
- Add is_synced_to_graph to getWalletInfo
- Add watchtower server status method
- Improve compatibility with lnd 0.7.1
- Abstract out accounting methods to ln-accounting
- Standardize the output of
verify_message
to match expectations
- Add support for route hints in payment details
- Add support for failure reasons in router rpc payments
- Add support for reserve tokens in get channels
- Allow using mission control probabilities in probing
- Add support for getting chain receives in accounting report
- Add support for deleting all payments
- Avoid returning null transaction ids in graph updates
- Add uris to getWalletInfo method
- Add getPaymentOdds method to calculate the odds of a successful payment
Fixes:
- Add missing subscribeToPayViaRequest
All previously cbk type functions can now also be used as Promises
- Add deleteForwardingReputations to clear mission control reputations
- Add getForwardingReputations to get mission control reputations
- Add getPayment method to lookup a payment
- Add payViaPaymentDetails method to make a payment using deconstructed details
- Add payViaPaymentRequest method to make a payment using BOLT 11 pay request
- Add subscribeToPastPayment to subscribe to a payment's status
- Add subscribeToPayViaDetails to make a payment using details and sub to it
- Add subscribeToPayViaRequest to make a payment using a request and sub to it
- All promisified methods are removed
- Response type strings are being phased out
- Open channel static fee amount is no longer subtracted
- Open channel requires an explicit local amount
subscribeToBackup
emits named eventssubscribeToBlocks
emits named eventssubscribeToChannels
emits named eventssubscribeToGraph
emits named eventssubscribeToInvoice
emits named eventssubscribeToInvoices
emits named events
- Add helper method for probing to find a route
- Emit a payment in flight event for pay via routes subscription
- Add support for returning original payment request in getPayments
- Add support for paying via routes in the routerrpc API.
- Add support for node color in getWalletInfo
- Add support for watching arbitrary output scripts when subscribing to address
- Add support for returning chain ids in getWalletInfo
lightningDaemon
is renamed to authenticatedLndGrpc
and
unauthenticatedLndGrpc
and there is no more need to pass a service argument.
These two methods also now return their result wrapped in lnd
in an object.
Pass the object wrapped in lnd
to methods and they will now select the
appropriate service automatically.
pay
arguments have been renamed:
max_fee
replacesfee
outgoing_channel
replacesout
timeout_height
replacestimeout
pay
also has a new argument for use when specifying a path:
pathfinding_timeout
. This is the cutoff time for starting a new pay attempt.
There have been multiple error codes changed