I’m using bitcoind for an ecommerce website. Walletnotify setting in bitcoin.conf only fires twice (once the payment appears on the network and then when the payment is confimed the first time by a block).
The issue is that i need to set the number of confirmations before the payment is submitted. Could you please give me some help on how to proceed?
You could use the
listunspent RPC command. It takes a parameter which allows you to filter out UTXOs which have less than
Example (from the manpage):
bitcoin-cli listunspent 6 9999999 "["bc1INVALIDq09vm5lfy0j5reeulh4x5752q25uqqvz34hufd","bc1INVALIDq02ad21edsxd23d32dfgqqsz4vv4nmtfzuklhy3"]"
Answered by darosior on December 13, 2020
1 Asked on November 29, 2020 by libertarian-monarchist-bot
1 Asked on November 18, 2020 by austinfoss
3 Asked on November 8, 2020 by mirsab-jastram
2 Asked on September 22, 2020 by dujon-w
1 Asked on September 3, 2020 by adam-mitchell
1 Asked on August 29, 2020 by nicklessguy
1 Asked on August 22, 2020 by isaac-chen
Get help from others!