Hello everyone, I started using this service(blockchain.info) to receive automated payments
I got access to api
https://www.blockchain.com/ru/api/api_receiveCreated 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
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 addressesHow 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