-
public interface LdkNodeInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLdkNodeInterface.Companion
-
Method Summary
-
-
Method Detail
-
closeChannel
abstract Unit closeChannel(String channelId, String counterpartyNodeId)
-
connectOpenChannel
abstract Unit connectOpenChannel(String nodeId, String address, ULong channelAmountSats, ULong pushToCounterpartyMsat, ChannelConfig channelConfig, Boolean announceChannel)
-
disconnect
abstract Unit disconnect(String nodeId)
-
eventHandled
abstract Unit eventHandled()
-
listChannels
abstract List<ChannelDetails> listChannels()
-
listPayments
abstract List<PaymentDetails> listPayments()
-
listPeers
abstract List<PeerDetails> listPeers()
-
listeningAddresses
abstract List<String> listeningAddresses()
-
newOnchainAddress
abstract String newOnchainAddress()
-
payment
abstract PaymentDetails payment(String paymentHash)
-
receivePayment
abstract String receivePayment(ULong amountMsat, String description, UInt expirySecs)
-
receiveVariableAmountPayment
abstract String receiveVariableAmountPayment(String description, UInt expirySecs)
-
removePayment
abstract Unit removePayment(String paymentHash)
-
sendAllToOnchainAddress
abstract String sendAllToOnchainAddress(String address)
-
sendPayment
abstract String sendPayment(String invoice)
-
sendPaymentProbes
abstract Unit sendPaymentProbes(String invoice)
-
sendPaymentProbesUsingAmount
abstract Unit sendPaymentProbesUsingAmount(String invoice, ULong amountMsat)
-
sendPaymentUsingAmount
abstract String sendPaymentUsingAmount(String invoice, ULong amountMsat)
-
sendSpontaneousPayment
abstract String sendSpontaneousPayment(ULong amountMsat, String nodeId)
-
sendSpontaneousPaymentProbes
abstract Unit sendSpontaneousPaymentProbes(ULong amountMsat, String nodeId)
-
sendToOnchainAddress
abstract String sendToOnchainAddress(String address, ULong amountMsat)
-
signMessage
abstract String signMessage(List<UByte> msg)
-
spendableOnchainBalanceSats
abstract ULong spendableOnchainBalanceSats()
-
syncWallets
abstract Unit syncWallets()
-
totalOnchainBalanceSats
abstract ULong totalOnchainBalanceSats()
-
updateChannelConfig
abstract Unit updateChannelConfig(String channelId, String counterpartyNodeId, ChannelConfig channelConfig)
-
waitNextEvent
abstract Event waitNextEvent()
-
-
-
-