janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.58k stars 1.18k forks source link

new xyzpub API returns txids #436

Closed pointbiz closed 2 years ago

pointbiz commented 2 years ago

This new xyzpub API endpoint will return a list of txids associated with the xyzpub. If limit parameter is not set then it will grab all txids associated with the xyzpub. If limit is set it will grab only txids associated with the limit amount of receive and change addresses. Eg. limit is 1 means 1 receive and 1 change address, the first one in the bip32 path.

My plan is to use this endpoint with my bitcoin-reports.com site. I'm returning only unique txids to make the size of the result as small as possible. As well I do not want to fetch more than txids as it will slow down the endpoint.