Eclair Adds Api Method to Check if Payment Request Has Been Paid
The eclair project, one of the popular Lightning Network clients, merged GitHub PR #312 adding a feature to check if a payment request has actually been paid. The new feature adds two methods: allpayments and payments. Both methods may be used through the JSON RPC API. By querying the node for a paymentHash, if the payment is found, then it has been received and if it is not found, then the payment has not been received.
Support us and the authors of this article by donating to the following address:3PfxQ1gyEPQE4zbJrSihcNzDcTgJZKGner