electrum icon indicating copy to clipboard operation
electrum copied to clipboard

Electrum cli JSON-RPC notification

Open bsbits opened this issue 9 years ago • 1 comments

Hello,

I am running electrum on a linux server and want to get notified via RPC when an incoming transaction reaches 3 confirmations.

Currently, electrum notifies me when there is an incoming transaction with 0 confirmation. I need a notification when it reaches 3 confirmations so I can credit my users balances.

bsbits avatar Jun 30 '17 13:06 bsbits

Now with lightning support the merchant user base will grow. In order to properly use electrum in merchant mode, the CLI/RPC interface needs additional statuses for payment requests: Pending | Unpaid | Paid (unconfirmed) | Paid as initially proposed in #5597 -- so custom messages can be displayed by the merchants to the users in cases where they make an incomplete payment, a very low fee payment or to credit their balances / process their orders when the payment request is paid (if merchant uses 0 conf policy) or confirmed with N confirmations, depending on each merchant's policy (and maybe transaction value).

This is a little bit old, so I'm hoping we could bump its priority as per the possibilities of course. There are lots of requests coming for Electrum to be used in merchant mode due to the fact that it has become more and more expensive to run a full bitcoin node (impossible on a small vps) and without those additional statuses the users cannot provide a finished product to their customers.

gits7r avatar Apr 20 '21 21:04 gits7r