User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:s_cli:05_contents:03_prt:08_basic_dido_objects:01_block:start

This is an old revision of the document!


Block Class

Return to Basic DIDO Objects

The Block Class represents a block used by Ethereum Blockchain. A block is a package of data that contains zero or more transactions.

See: https://docs.google.com/spreadsheets/d/1ehCIQxjSZcVLnddDWHBzhPb8h83mHWZxvyX9eckghbU/edit#gid=293649320

Figure 1: The Ethereum Block Class

id

Return to Top

Description The unique id for the Block
Datatype BlockHashType
Example 0x000000708550f340a1297eefe721a3b0631d8dc4cc5a3462abaeef1a79726f6b

number

Return to Top

Description Block height (indicates the lenght of the blockchain)
Datatype BlockHeightType
Example 5537029

hash

Return to Top

Description Hash of the Block Headwr
Datatype HashType
Example 0x000000708550f340a1297eefe721a3b0631d8dc4cc5a3462abaeef1a79726f6b

parent Hash

Return to Top

Description Hash of the preceding Block
Datatype HashType
Example 0x3102ee1ed005d33fecb07105fb36d4b3113f6cf0c8a87316095bbc2fb15f717d

nonce

Return to Top

Description Value in a block which can be adjusted in order to try to satisfy the proof of work condition. Guard against replay attacks.
Datatype NounceType
Example 0x7cd714340ea379db

step

Return to Top

Description
Datatype
Example

signature

Return to Top

Description The identifier of the sender. This is generated when the sender's private key signs the transaction and confirms the sender has authorised this transaction
Datatype
Example

sha3 Uncles

Return to Top

Description SHA3 hash of the uncles data in the block
Datatype
Example 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347

logs Bloom

Return to Top

Description A kind of index about the data contained in the block, used in native queries to the blockchain via the node
Datatype
Example

0x22293840281b28808259200ec8300080202058ac0a10094400002f01002a84680808027610e5cd202212068002310c4212536420008584840040220000e1280 c024002412902149d5110490881048895540e410200a84140801343e40305109008200620024e401012484010000908010344a0044e2da0e44004101505b42020 3320900050010082942001010404d01413a0803152c802b4cc048000000ea0000204165e004961341750a0095d40980400008413000280020b32c040041c50032 01a0702090c62120031000408002202280a200c900a808504000026200460090071011220e68c4c04008ce19423e9a4d26e6222008000810428100408004114

transaction Root

Return to Top

Description A kind of index about the data contained in the block, used in native queries to the blockchain via the node
Datatype
Example

state Root

Return to Top

Description A kind of index about the data contained in the block, used in native queries to the blockchain via the node
Datatype
Example

receipts Root

Return to Top

Description A kind of index about the data contained in the block, used in native queries to the blockchain via the node
Datatype
Example

miner

Return to Top

Description Miner address that solved the block
Datatype
Example

difficulty

Return to Top

Description Difficulty to solve the block
Datatype
Example

total Difficulty

Return to Top

Description Difficulty to solve the block
Datatype
Example

extra Data

Return to Top

Description Difficulty to solve the block
Datatype
Example

size

Return to Top

Description Difficulty to solve the block
Datatype
Example

gas Limit

Return to Top

Description Difficulty to solve the block
Datatype
Example

gas Used

Return to Top

Description Difficulty to solve the block
Datatype
Example

timestamp

Return to Top

Description Difficulty to solve the block
Datatype
Example

uncles

Return to Top

Description Difficulty to solve the block
Datatype
Example

seal Fields

Return to Top

Description Difficulty to solve the block
Datatype
Example

mix Hash

Return to Top

Description Difficulty to solve the block
Datatype
Example
dido/public/s_cli/05_contents/03_prt/08_basic_dido_objects/01_block/start.1623265312.txt.gz · Last modified: 2021/06/09 15:01 by nick
Translations of this page: