Block Info

Get Info on a Block

[GET] explorer.hydrachain.org/api/block/[block number]
[GET] explorer.hydrachain.org/api/block/[block hash]
Response
Explanations
1
hash: f1b8469964cadd8e2ee5985ddc749dcb4e7b0bb18a2f527be7fc17c995cd03f8
2
height: 40000
3
version: 536870912
4
prevHash: 23760d53cff9fe4c92d362d59ac7353c4337cb75939c78c4011be04c697c7315
5
nextHash: 4f950f0c5316384d56eb9194d32f02c2636049d437a71ea3269ee241287964c9
6
merkleRoot: a8cb33c70d0b66ca93035577ed5b17d3249951cfe512297e10047b9321f15233
7
timestamp: 1610891056
8
bits: 1a4ff2ea
9
nonce:0
10
hashStateRoot: afe3339fc455913fa03778a0db87bb9e243252262fe3da7ee4355f30aca5ab57
11
hashUTXORoot: 696b3d9ac23b6a19ad26e63805f01b06fb81fa81608c8f27152a6f09f6224add
12
prevOutStakeHash: 0bac1b08babfac7efc10e4d0c9e7a0190dc20c0c6eb9fd94f7cbb546cbdfbc79
13
prevOutStakeN: 2
14
signature: 304402201171d170b84934b44ec5e591be76cb4fb1d201e8b1e146c7890fe5397fa0eaf802206a12ebb69e606fbffdd075ff8ff4711b79e1aaea7379871fd124a224935c267d
15
chainwork: 000000000000000000000000000000000000000000000001c8fcfa527c91104e
16
flags: proof-of-stake
17
interval: 32
18
size: 576
19
weight: 2196
20
transactions: ["d73a5193c06f62971313a853b310473a2d3e8ba48520b91b45955abeeec5684a","7c191fa791271b993ad27f7b64bbf5305c8b06018b79b4dece48a48b41440a6e"]
21
miner: HStiZb5QwFKVsW9YWp4qeekcNna2MMqK2e
22
difficulty: 209846.08362963854
23
reward: 1552231617
24
confirmations: 63707
Copied!
Metric
Explanation
Level
Hash
Gives you the hash of the block
Easy
Height
Gives you the block number
Easy
Version
Advanced
PrevHash
Gives you the hash of the previous block
Medium
NextHash
Gives you the hash of the next block
Medium
MerkleRoot
Gives you the hash of the merkle root
Advanced
Timestamp
Gives you the timestamp in Unix format. Which is the number of seconds that passed since January 1st, 1970 at UTC
Easy
Bits
Records the difficulty of calculating the current header hash value
Advanced
Nonce
Only gives you a non-zero value for the first 5,000 seed blocks
Advanced
HashStateRoot
The hashStateRoot records the root state hash value after the execution of the EVM in this block
Advanced
HashUTXORoot
The hashUTXORoot record is generated after the EVM is executed
Advanced
PrevOutStakeHash
The UTXO root state hash value, prevoutStake is the transaction output point of the previous block for the PoS process (hash)
Advanced
PrevOutStakeN
The UTXO root state hash value, prevoutStake is the transaction output point of the previous block for the PoS process (value)
Advanced
Signature
Gives you the unique signature of the block
Advanced
Chainwork
Chainwork setting for that particular block
Advanced
Flags
Will return proof-of-work for the first 5,000 blocks and proof-of-stake for all blocks thereafter
Easy
Interval
Gives you the amount of seconds it took to mine this block
Easy
Size
Gives you the size of the block in byte
Easy
Weight
Gives you the size of the block after processing, in byte
Medium
Transactions
Gives you a list of transaction hashes included in the block
Medium
Miner
Gives you the Hydra address of the block miner
Easy
Difficulty
Gives you the staking difficulty, which depends on the total staking weight. The difficulty is dynamically adjusted to the staking weight, to ensure a constant block time of 128 seconds
Easy
Reward
Gives you the block reward. Does not account for gas royalty and reimbursement of unspent gas. The net reward may be lower. Provided with 8 decimals.
Easy
Confirmations
Number of new blocks processed since the block was mined
Easy

Get Most Recent Blocks

[GET] explorer.hydrachain.org/api/recent-blocks?count=[X]
Gives you information about the most recent X blocks.
Response
Explanations
1
hash: 115fa96b1a591b259565d5cd5eb8f5c632309ecadfa521eca1c38f54f760953d
2
height: 103735
3
timestamp: 1619047296
4
interval: 80
5
size: 576
6
transactionCount: 2
7
miner: HSfwqds6DxLuP55vDD88idAMVbpNT5YLGJ
8
reward: 1634655096
Copied!
Metric
Explanation
Level
Hash
Gives you the hash of the block
Easy
Height
Gives you the block number
Easy
Timestamp
Gives you the timestamp in Unix format. Which is the number of seconds that passed since January 1st, 1970 at UTC
Easy
Interval
Gives you the amount of seconds it took to mine this block
Easy
Size
Gives you the size of the block in byte
Easy
TransactionCount
Gives you the number of transactions inside the block
Easy
Miner
Gives you the Hydra address of the block miner
Easy
Reward
Gives you the block reward. Does not account for gas royalty and reimbursement of unspent gas. The net reward may be lower. Provided with 8 decimals.
Easy

Get Blocks for a certain Date

[GET] explorer.hydrachain.org/api/blocks?date=[YYYY-MM-DD]
Gives you information about all blocks for a certain date.
Response
Explanations
1
hash: 115fa96b1a591b259565d5cd5eb8f5c632309ecadfa521eca1c38f54f760953d
2
height: 103735
3
timestamp: 1619047296
4
interval: 80
5
size: 576
6
transactionCount: 2
7
miner: HSfwqds6DxLuP55vDD88idAMVbpNT5YLGJ
8
reward: 1634655096
Copied!
Metric
Explanation
Level
Hash
Gives you the hash of the block
Easy
Height
Gives you the block number
Easy
Timestamp
Gives you the timestamp in Unix format. Which is the number of seconds that passed since January 1st, 1970 at UTC
Easy
Interval
Gives you the amount of seconds it took to mine this block
Easy
Size
Gives you the size of the block in byte
Easy
TransactionCount
Gives you the number of transactions inside the block
Easy
Miner
Gives you the Hydra address of the block miner
Easy
Reward
Gives you the block reward. Does not account for gas royalty and reimbursement of unspent gas. The net reward may be lower. Provided with 8 decimals.
Easy
Last modified 5mo ago