how to get non-walllet transaction confirmations? and single wallet all transactions? #8100

issue JokerCatz opened this issue on May 26, 2016
  1. JokerCatz commented at 2:09 AM on May 26, 2016: none

    Hi , all , I want to build a service like blockchain.org , I used txindex=1 and -rescan ( ... take few days ... )

    now I can get any txid details , like use

    bitcoin-cli getrawtransaction TXID 1
    

    but not include confirmations , so how to get it , and can I get any wallet all transactions ?

    or I need another [type , kind] full node solution to help me to get another information?

  2. djpnewton commented at 2:47 AM on May 27, 2016: contributor
  3. JokerCatz commented at 4:38 AM on May 27, 2016: none

    hmm ... zeromq look like useless to get confirmations , and I will try to use "toshi" ......

  4. JokerCatz closed this on May 27, 2016

  5. jonasschnelli commented at 12:59 PM on May 27, 2016: contributor

    You can use the REST interface. If you have enabled the -txindex you can get every tx (including confirmations if already mined) over GET /rest/tx/<TX-HASH>.<bin|hex|json>.

    https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md

  6. DrahtBot locked this on Sep 8, 2021

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-04-29 03:15 UTC

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