ln-service
Advanced tools
Changelog
39.0.0
All previously cbk type functions can now also be used as Promises
subscribeToBackup
emits named eventssubscribeToBlocks
emits named eventssubscribeToChannels
emits named eventssubscribeToGraph
emits named eventssubscribeToInvoice
emits named eventssubscribeToInvoices
emits named eventsChangelog
48.2.0
broadcastChainTransaction
: Add support for transaction description
getChainTransactions
: Add support for transaction description
sendToChainAddress
: Add support for adding a description
sendToChainAddresses
: Add support for adding a description
Changelog
48.1.0
getChainTransactions
: Add after
and before
to specify height rangesgetSweepTransactions
: Add support for fetching 2nd level sweep transactionsgetWalletVersion
: Add version
to return known release version stringspayViaPaymentDetails
: Add support for specifying max_paths
payViaPaymentDetails
: Add support for specifying outgoing_channels
payViaPaymentRequest
: Add support for specifying max_paths
payViaPaymentRequest
: Add support for specifying outgoing_channels
subscribeToPayViaDetails
: Add support for specifying max_paths
subscribeToPayViaDetails
: Add support for specifying outgoing_channels
subscribeToPayViaRequest
: Add support for specifying max_paths
subscribeToPayViaRequest
: Add support for specifying outgoing_channels
subscribeToTransactions
: Change confirmation_count
zero to undefinedsubscribeToTransactions
: Return confirmation_height
attribute when definedsubscribeToTransactions
: Return created_at
attributesubscribeToTransactions
: Change fee
zero fee to undefinedsubscribeToTransactions
: Add output_addresses
attributesubscribeToTransactions
: Add tokens
attributesubscribeToTransactions
: Add transaction
attribute when definedsubscribeToTransactions
: Suppress errors when there are no error listenersChangelog
38.0.0
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
replaces fee
outgoing_channel
replaces out
timeout_height
replaces timeout
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
Changelog
57.1.0
getBlockHeader
: Add method to get the header portion of a blockChangelog
47.0.0
getForwardingConfidence
: Add method to get forwarding confidence of
forwarding between two peersgetPaymentOdds
: Rename to getRouteConfidence
getForwardingReputations
: Rename "odds" to "confidence"
probability
attribute changes to confidence
general_success_odds
attribute to confidence
success_odds
attribute changes to confidence