How can I build a hexadecimal block if I have all the needed information?

0 votes

I am not able to figure out how to build a hexadecimal block, if I have all the needed information (Hash, Merkel Root, etc.).

Please use this JSON formatted block as reference: Block #506398

I understand the first 64 bytes are the block header, however what about the rest of the bytes?

Thanks For Your Help!

Jul 20, 2018 in Blockchain by Johnathon
• 9,080 points
33 views

1 answer to this question.

0 votes

Here you have some articles about bitcoin block structure:

Please keep in mind that JSON is not compatible with bitcoin protocol. It is a easy to read representation of original block.

answered Jul 20, 2018 by Christine
• 15,790 points

Related Questions In Blockchain

+1 vote
2 answers

Can I include real world data in a smart contract? If so, how?

You cant access/embed real world data using ...READ MORE

answered Jul 17, 2018 in Blockchain by sapan
63 views
0 votes
1 answer
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

answered Sep 12, 2018 in Blockchain by digger
• 26,550 points
3,613 views
0 votes
1 answer
0 votes
1 answer

Python request module for bitcoin json rpc

This should work: #!/usr/bin/env python import getpass import json import requests ...READ MORE

answered Aug 28, 2018 in Blockchain by digger
• 26,550 points
258 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
490 views
+1 vote
2 answers