<p>Well, seems like a "gap" limitation problem !</p>

<p>As defined in BIP 44, wallet software will not scan past 20 unused addresses.</p>

<p>There is 2 solutions:</p>

<p>1 - do not show bitcoin address directly to user, generate 20 addresses, save them in into an database and once a user want to pay you using bitcoin, you fetch the address from your database.</p>

<p>2 - (solution provided by blockchain) You need to switch to a new xPub key after each 20 generated addresses (within the same wallet).</p>

CC BY-SA 3.0
2017-07-10T01:35:45.430Z
2017-07-10T01:35:45.430Z
Hamza Azerhouni
<p>I use the blockchain.info API to generate unique addresses each time to receive bitcoins.</p>

<p>This works. However, when an address was generated but a payment only gets confirmed a few days later, even if you login to blockchain.info, it will not appear in the transaction list.</p>

<p>The gap is not regenerated. What can I do?</p>

CC BY-SA 3.0
2017-05-02T12:52:40.513Z
Hi millypop, I've edited your text into what I think you were trying to ask. I hope that I got it right, else please edit it your liking. I think your best bet is to contact blockchain.info and discuss the issue with them. It seems to me that this may be a design bug or there may be a recovery option on the account somewhere.
Murch
<blockchain.info><api>
About blockchain.info API HELP
millypop
# About blockchain.info API HELP

(Asked by: username_0 on 2017-04-25)

I use the blockchain.info API to generate unique addresses each time to receive bitcoins.

This works. However, when an address was generated but a payment only gets confirmed a few days later, even if you login to blockchain.info, it will not appear in the transaction list.

The gap is not regenerated. What can I do?

**Tags:** blockchain.info, api

> **Comments:**
> **username_1**: Hi username_0, I've edited your text into what I think you were trying to ask. I hope that I got it right, else please edit it your liking. I think your best bet is to contact blockchain.info and discuss the issue with them. It seems to me that this may be a design bug or there may be a recovery option on the account somewhere.  

---

## 1 answers

### Answer by username_2 on 2017-07-10. Score: 1

Well, seems like a "gap" limitation problem !

As defined in BIP 44, wallet software will not scan past 20 unused addresses.

There is 2 solutions:

1 - do not show bitcoin address directly to user, generate 20 addresses, save them in into an database and once a user want to pay you using bitcoin, you fetch the address from your database.

2 - (solution provided by blockchain) You need to switch to a new xPub key after each 20 generated addresses (within the same wallet).


---

