Blockchain.info API Lost money on generated addresses. How to return the money?

by skvoshiz   Last Updated July 11, 2019 11:27 AM - source

I started using this service(blockchain.info) to receive automated payments I got access to api https://www.blockchain.com/ru/api/api_receive Created a button on the site by which addresses were generated:

https://api.blockchain.info/v2/receive?xpub=xxx&callback=xxx&key=xxx&gap_limit=3000

I used it &gap_limit=3000 because I found it in the example.

Only then I understood about it:

As defined in BIP 44, wallet software will not scan past 20 unused addresses. Given enough requests from this API that don't have a matching payment, you could generate addresses past this horizon, which would make spending funds paid to those addresses quite difficult. For this reason, this API will return an error and refuse to generate new addresses if it detects it would create a gap of over 20 unused addresses. If you encounter this error, you will either need to switch to a new xPub (within the same wallet is fine), or receive a payment to one of the previous 20 created addresses

A lot of money has come to the generated addresses, and all of them are not visible on the main wallet I realized that the whole problem is due to the gap

In order to solve it, I need to throw off some money at previous addresses

How can I get all generated addresses via API?

Or what other ways you can get money?

I have already written in support, but they do not respond for a long time



Related Questions


bitcoin-transaction npm showing Bad Request in response

Updated December 20, 2018 14:27 PM



Steps for running lightningd, lightning-cli?

Updated February 12, 2018 12:27 PM