2

I search for a online block explorer that has a raw view for blocks.

Preferably in the getblocks.bin binary format as hex string.

It would also be great if it had testnet network.

A bonus would be if the explorer is open source somewhere.

Edit:

For bitcoin its something like this In json and here in hex.

I am searching for the "block_complete_entry" data of a single block, there should be also pruned tx data in there.

struct block_complete_entry { blobdata block; std::vector<blobdata> txs; BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(block) KV_SERIALIZE(txs) END_KV_SERIALIZE_MAP() };

1 Answer 1

1

https://xmrchain.net (source: https://github.com/moneroexamples/onion-monero-blockchain-explorer).

Open source and has various methods to call. E.g.:

https://xmrchain.net/api/rawblock/1637504

Bonus, yes has testnet to.

4
  • I am searching for the "block_complete_entry" data of a block. there is also pruned tx in there.
    – onefox
    Commented Aug 12, 2018 at 19:06
  • Look at the source to xmrchain and modify to your needs if there isn't an existing method to get the data you're after.
    – jtgrassie
    Commented Aug 12, 2018 at 20:34
  • block_complete_entry is not part of the block, it's a RPC comms structure. You want block in cryptonote_basic.h.
    – user36303
    Commented Aug 12, 2018 at 21:22
  • @user36303 what about the --enable-as-hex flag from the explorer? I think that is the data that I wanted.
    – onefox
    Commented Sep 17, 2018 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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