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

Latest commit

 

History

History
33 lines (25 loc) · 1.69 KB

File metadata and controls

33 lines (25 loc) · 1.69 KB

BlockMinedDataItem

Defines an item as one result.

Properties

Name Type Description Notes
blockchain str Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
network str Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten", "rinkeby" are test networks.
height int Defines the number of blocks in the blockchain preceding this specific block.
hash str Represents the hash of the block's header, i.e. an output that has a fixed length.
timestamp int Defines the exact date/time when this block was mined in seconds since Unix Epoch time.

Example

from cryptoapis.models.block_mined_data_item import BlockMinedDataItem

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

# convert the object into a dict
block_mined_data_item_dict = block_mined_data_item_instance.to_dict()
# create an instance of BlockMinedDataItem from a dict
block_mined_data_item_form_dict = block_mined_data_item.from_dict(block_mined_data_item_dict)

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