About blockchain.info API HELP

1

1

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?

millypop

Posted 2017-04-25T19:56:56.157

Reputation: 11

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 2017-05-02T12:52:40.513

Answers

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).

Hamza Azerhouni

Posted 2017-04-25T19:56:56.157

Reputation: 11