2

I've looked at some of the more popular blockchain explorers, but none of them seem to provide the feature I'm looking for. I'd like to find a blockchain explorer that allows you to see raw Tx data and raw block headers. The explorer's I've seen parse the raw data and present it in a more human readable format. Are there any that provide the raw data?

Thank you!

4

You can get this info from blockchain.info, by simply adding ?format=hexto the end of the relevant URL.

For example, here is a recent block (height 509,244):

https://blockchain.info/block/0000000000000000000635bda771916ca727db53fea5441508f7161386e066be

And here is the raw data for that block, in hex:

https://blockchain.info/block/0000000000000000000635bda771916ca727db53fea5441508f7161386e066be?format=hex

(Note that you will need to parse the block header out of this data, as that URL will dump the raw data for the entire block)

Similarly, here is a transaction from that block:

https://blockchain.info/tx/74d350ca44c324f4643274b98801f9a023b2b8b72e8e895879fd9070a68f7f1f

And here is the raw data from that transaction, in hex

https://blockchain.info/tx/74d350ca44c324f4643274b98801f9a023b2b8b72e8e895879fd9070a68f7f1f?format=hex

  • Thank you, didn't know about this! Just what I was looking for. – Hendeca Feb 15 '18 at 5:42
1

You can use insight by bitpay:

/insight-api/rawblock/[:blockHash]
/insight-api/rawblock/[:blockHeight]
/insight-api/rawtx/[:rawid]
  • This is also a great option, only accepting the other answer because it's more in line with what I was looking for, AKA online block explorer with that functionality. – Hendeca Feb 15 '18 at 5:42
-1

Feel free to use Blockchair API to find information about raw transactions. Look up "raw transactions" headline here: https://blockchair.com/api.

  • 4
    Hi Blockchair, please see our promotion guidelines, aptly titled how to not be a spammer. When recommending your own product you are required to disclose your affiliation to it in your answer. Please beware that if you keep promoting your product on multiple sites without engaging in good-faith answering practices and conforming with the promotion guidelines, you will start to be considered a spammer and may lose access to Stack Exchange network sites. – doppelgreener Feb 6 at 19:55

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.