0

I'm looking for an API that accepts a tx id/hash as an input and returns all the inputs and outputs associated with that transaction hash. For example, the transaction described at https://www.blockchain.com/btc/tx/11311eabb41b46006c71b08df7a5261bcd9a96393713c3608cea1712296d20a7 has 1 input and 2 outputs. It would be also be useful to get the number of confirmations if possible. Is there any such API? I've seen several APIs that allow users to lookup the latest transactions by BTC address, but nothing that's quite like what I'm looking for. Is there anything out there, or some other way I can accomplish this?

My goal with this is to be able to associate a TXID with an address that is receiving from that transaction (i.e., the inputs are less important than outputs).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.