Blocks
Last updated
Last updated
Find a block by its identifier. This endpoint returns the given block as JSON.
Identifier of the block.
"0xf532a53545103276b46876c473846d98648ee418468bce76df4868648dd73e5d"
Successful operation.
A block is the object nodes gossip around in the network. It always references two other blocks that are known as parents. It is stored as a vertex on the tangle data structure that the nodes maintain. A block can have a maximum size of 32Kb.
Submit a block. The node takes care of missing* fields and tries to build the block. On success, the block will be stored in the Tangle. This endpoint will return the identifier of the built block. *The node will try to auto-fill the following fields in case they are missing: parents
, nonce
. If payload
is missing, the block will be built without a payload. protocolVersion
is always required!
Protocol version number of the block. It also tells which protocol rules apply to the block.
The identifiers of the blocks this block references. Hex-encoded with 0x prefix.
The nonce which lets this block fulfill the Proof-of-Work requirement. Hex-encoded with 0x prefix.
Successful operation.
The block identifier of the submitted block. Hex-encoded with 0x prefix.