how to check for received payment? #14643

issue Viral opened this issue on November 2, 2018
  1. Viral commented at 4:56 PM on November 2, 2018: none

    sorry, I tried asking elsewhere and got zero response so I'm coming here... how should I be checking my bitcoind for received payments on my website? right now I do this from node.js:

    rpc.call('getreceivedbyaddress', [ address, 0 ], (error, result) => {
    // do stuff with result
    }
    

    how long should this take to alert me to a payment with 0 confirmations? is there a better/more efficient way to check for a transaction to an address in my wallet? I'm using Bech32 addresses. I've read the developer documentation about 5 times and this is the best I could come up with.... thank you!

  2. sipa commented at 6:14 PM on November 2, 2018: member

    This is not a support forum. For questions about usage, try https://bitcoin.stackexchange.com.

  3. sipa closed this on Nov 2, 2018

  4. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me