<blockquote>
  <p>But How can I get the incoming Bitcoin Transaction Details which are
  perform out side my wallet?</p>
</blockquote>

<p>Unless you are using bitcoin-core wallet (e.g. <a href="https://bitcoincore.org/en/doc/0.16.2/rpc/wallet/listreceivedbyaddress/" rel="nofollow noreferrer"><code>listreceivedbyaddress</code></a>), there isn't a way to query bitcoin-core for transactions by address. To do this, you will need to parse the blockchain and create your own database indexed by address.</p>

<p>An example implementation that can be used for reference is Bitpay Insight: <a href="https://github.com/bitpay/insight" rel="nofollow noreferrer">https://github.com/bitpay/insight</a></p>

CC BY-SA 4.0
2018-09-14T04:34:14.840Z
Oh man! really! I am using a blockcypher apis for my wallet. Is there any other way to achieve this? Or Other way is I will display Tx list which performed only within Wallet. If it's acceptable!! Don't know.
Maroon5
CC BY-SA 4.0
2018-09-14T04:38:57.530Z
Yes, if you want to use a 3rd party api. I'd recommend looking into this endpoint, it returns a list of tx related to an address: https://www.blockcypher.com/dev/bitcoin/#address-full-endpoint
JBaczuk
CC BY-SA 4.0
2018-09-14T04:40:48.793Z
But imagine if 100 addresses will be there in a wallet and to fetch all the Txs of all the 100 addresses will have to query 100 times and to get details again for that much iterations?
Maroon5
CC BY-SA 4.0
2018-09-14T04:46:32.167Z
Yep. That's a good reason to parse the blockchain into your own database to reduce the latency
JBaczuk
CC BY-SA 4.0
2018-09-13T14:37:44.700Z
2018-09-13T14:37:44.700Z
JBaczuk
<p>The way I go now is to record the address in the wallet in mongodb, and then parse the address in the block and the database for comparison. If it is the address in the wallet, record it</p>

CC BY-SA 4.0
2018-09-16T15:28:06.267Z
2018-09-16T15:28:06.267Z
老板鱼丸粗面
<p>I have gone through various references including </p>

<p><a href="https://bitcoin.stackexchange.com/questions/19457/how-to-get-a-history-of-incoming-and-outgoing-transactions-for-a-certain-address">How to get a history of incoming and outgoing transactions for a certain address?</a></p>

<p><a href="https://bitcoin.stackexchange.com/questions/70900/fetch-list-of-transaction-where-i-have-received-the-bitcoin">Fetch list of transaction where i have received the bitcoin?</a></p>

<p>I am creating a Bitcoin Wallet, </p>

<p>And I want to display transaction list as a part of my Wallet.</p>

<p>To achieve this goal I can make a local database entry of all the <strong>send transactions</strong> which are within the Wallet. </p>

<p>But How can I get the <strong>incoming Bitcoin Transaction</strong> Details which are perform out side my wallet?</p>

CC BY-SA 4.0
2018-09-13T14:00:40.643Z
Did this answer not help you? https://bitcoin.stackexchange.com/a/19516/60443
JBaczuk
CC BY-SA 4.0
2018-09-13T14:28:44.793Z
No It didn't exactly. From the link I believe We can have the Tx list from addresses. But imagine if 100 addresses will be there in a wallet and to fetch all the Txs of all the 100 addresses will have to query 100 times and to get details again for that much iterations. :D
Maroon5
<transactions><blockchain><android>
How to display a list of incoming bitcoin Transaction history in my own wallet?
Maroon5
# How to display a list of incoming bitcoin Transaction history in my own wallet?

(Asked by: username_0 on 2018-09-13)

I have gone through various references including

[How to get a history of incoming and outgoing transactions for a certain address?](https://bitcoin.stackexchange.com/questions/19457/how-to-get-a-history-of-incoming-and-outgoing-transactions-for-a-certain-address)

[Fetch list of transaction where i have received the bitcoin?](https://bitcoin.stackexchange.com/questions/70900/fetch-list-of-transaction-where-i-have-received-the-bitcoin)

I am creating a Bitcoin Wallet,

And I want to display transaction list as a part of my Wallet.

To achieve this goal I can make a local database entry of all the **send transactions** which are within the Wallet.

But How can I get the **incoming Bitcoin Transaction** Details which are perform out side my wallet?

**Tags:** transactions, blockchain, android

> **Comments:**
> **username_1**: Did this answer not help you? https://bitcoin.stackexchange.com/a/19516/60443  
> **username_0**: No It didn't exactly. From the link I believe We can have the Tx list from addresses. But imagine if 100 addresses will be there in a wallet and to fetch all the Txs of all the 100 addresses will have to query 100 times and to get details again for that much iterations. :D  

---

## 2 answers

### Answer by username_1 on 2018-09-13. Score: 2 | Accepted answer

> But How can I get the incoming Bitcoin Transaction Details which are
> perform out side my wallet?

Unless you are using bitcoin-core wallet (e.g. [`listreceivedbyaddress`](https://bitcoincore.org/en/doc/0.16.2/rpc/wallet/listreceivedbyaddress/)), there isn't a way to query bitcoin-core for transactions by address. To do this, you will need to parse the blockchain and create your own database indexed by address.

An example implementation that can be used for reference is Bitpay Insight: <https://github.com/bitpay/insight>

> **Comments:**
> **username_0**: Oh man! really! I am using a blockcypher apis for my wallet. Is there any other way to achieve this? Or Other way is I will display Tx list which performed only within Wallet. If it's acceptable!! Don't know.  
> **username_1**: Yes, if you want to use a 3rd party api. I'd recommend looking into this endpoint, it returns a list of tx related to an address: https://www.blockcypher.com/dev/bitcoin/#address-full-endpoint  
> **username_0**: But imagine if 100 addresses will be there in a wallet and to fetch all the Txs of all the 100 addresses will have to query 100 times and to get details again for that much iterations?  
> **username_1**: Yep. That's a good reason to parse the blockchain into your own database to reduce the latency  

---

### Answer by username_2 on 2018-09-16. Score: 1

The way I go now is to record the address in the wallet in mongodb, and then parse the address in the block and the database for comparison. If it is the address in the wallet, record it


---

