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

By pplny

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다