forex.pm forex forum binary options trade

 Š”ryptocurrency exchanges => Binance - Š”ryptocurrency exchanges => Topic started by: Bitcoin on Mar 30, 2022, 07:18 pm

Title: Blockchain.info and fetching transactions for a address between dates
Post by: Bitcoin on Mar 30, 2022, 07:18 pm
Blockchain.info and fetching transactions for a address between dates

I'm trying to fetch transactions for a certain bitcoin address, but I only need to fetch transactions within a specific date range.



Now, I had a look at the blockchain.info api and it seems like the best solution to get transactions for a address is: https://blockchain.info/rawaddr/$bitcoin_address



(as seen on this page: https://blockchain.info/api/blockchain_api )



My problem is that the array of transactions returns all transactions, but I just want to fetch a small subset of transactions within 2 dates.



I know that I can then filter the transactions myself based on the expected date range, but I'd like to reduce the payload for the initial response, otherwise I can end up with hundreds or thousands of transactions that I don't need.



Question: Is there a recommended, easier method to get transactions, belonging to a specific address, but only within a certain date range?


Source: Blockchain.info and fetching transactions for a address between dates (https://bitcoin.stackexchange.com/questions/68460/blockchain-info-and-fetching-transactions-for-a-address-between-dates)