Blocks
Last updated
Last updated
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!
/api/core/v2/blocks
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.
Find a block by its identifier. This endpoint returns the given block as JSON.
/api/core/v2/blocks/{blockId}
Identifier of the block.
0xf532a53545103276b46876c473846d98648ee418468bce76df4868648dd73e5d