how can i get all transactions of a specific address ? #13642

issue 369pie opened this issue on July 12, 2018
  1. 369pie commented at 10:02 AM on July 12, 2018: none

    i found that listtransactions does not work what i think it does. i also found listreceivedbyaddress can get all received tx. but there is no listsentbyaddress or listtransactionsbyaddress, should i write it myself or i just missed something?

    thanks for any response & advice :)

  2. StayCoolDK commented at 2:15 PM on July 12, 2018: none

    Listtransactions accepts an account parameter which is optional, if you leave it out all transactions are shown. There is no RPC command for listing transactions based on addresses. You should loop through the addresses returned from listtransactions. Remember when sending transactions there is no "from address", only a receiving address. Any address in the wallet can be used for any transaction.

  3. 369pie commented at 3:43 PM on July 12, 2018: none

    please check out this. https://tokenview.com/en/btc/address/35SySvJgDkZ1j4psYBA9jScbdffMwyAiA4

    he just listed all transactions by an address in 1 seconds. how did he do it?

  4. sipa commented at 3:46 PM on July 12, 2018: member

    @StayCoolDK Wrong, it only lists transactions in your own wallet. @efvhi It's hard to guess what you think these RPCs do if you don't explain what you're trying to do.

    Please take this to bitcoin.stackexchange.com. This is an issue tracksr, not a support forum.

  5. sipa closed this on Jul 12, 2018

  6. 369pie commented at 3:49 PM on July 12, 2018: none

    @sipa i am trying to implement something like this url doing https://tokenview.com/en/btc/address/35SySvJgDkZ1j4psYBA9jScbdffMwyAiA4 but i think if i scan every block to find related transactions. that will take a lot time. there must be an another way to do it.

  7. sipa commented at 3:56 PM on July 12, 2018: member

    Okay, have a look on bitcoin.stackexchange.com. There are plenty of questions about this topic, and you can ask more yourself.

  8. 369pie commented at 4:22 PM on July 12, 2018: none

    well, thanks for your advice.

  9. MarcoFalke 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-26 06:15 UTC

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