forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - Blockchain.info and fetching transactions for a address between dates
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

Blockchain.info and fetching transactions for a address between dates

Started by Bitcoin, Mar 30, 2022, 07:18 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

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