Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Latest commit

 

History

History
39 lines (31 loc) · 2.48 KB

File metadata and controls

39 lines (31 loc) · 2.48 KB

GetLatestMinedZilliqaBlockRI

Properties

Name Type Description Notes
block_hash str Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
block_height int Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".
difficulty str Defines how difficult it is for a specific miner to mine the block.
ds_block int Represents the Directory Service block which contains metadata about the miners who participate in the consensus protocol.
ds_difficulty str Defines how difficult it is to mine the dsBlocks.
ds_leader str Represents a part of the DS Committee which leads the consensus protocol for the epoch.
gas_limit int Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.
gas_used int Defines how much of the gas for the block has been used.
micro_blocks List[str]
previous_block_hash str Represents the hash of the previous block, also known as the parent block.
timestamp int Defines the exact date/time when this block was mined in Unix Timestamp.
transactions_count int Represents the total number of all transactions as part of this block.

Example

from cryptoapis.models.get_latest_mined_zilliqa_block_ri import GetLatestMinedZilliqaBlockRI

# TODO update the JSON string below
json = "{}"
# create an instance of GetLatestMinedZilliqaBlockRI from a JSON string
get_latest_mined_zilliqa_block_ri_instance = GetLatestMinedZilliqaBlockRI.from_json(json)
# print the JSON string representation of the object
print GetLatestMinedZilliqaBlockRI.to_json()

# convert the object into a dict
get_latest_mined_zilliqa_block_ri_dict = get_latest_mined_zilliqa_block_ri_instance.to_dict()
# create an instance of GetLatestMinedZilliqaBlockRI from a dict
get_latest_mined_zilliqa_block_ri_form_dict = get_latest_mined_zilliqa_block_ri.from_dict(get_latest_mined_zilliqa_block_ri_dict)

[Back to Model list] [Back to API list] [Back to README]