Getting the details of a block
api/v1
Retrieve the details of a block given its hash to lookup.
Path Parameter
Parameter
Type
Required
Description
hash
string
Yes
A hash string of a block to lookup
Response - 200 OK, application/json
Parameter
Type
Description
hash
string
Hash representation of the block
amount
string
Amount of Hycon in the block (sum of transactions)
difficulty
string
Mining difficulty of block
fee
string
Total fees accumulated from transactions in the block
length
number
Number of transactions in the block
volume
string
Amount of Hycon in the block (sum of transactions)
stateRoot
string
Hash of the world state at that block
merkleRoot
string
Merkle hash of all transactions in the block
txs
list
List of transactions in the block
height
number
Height of the block
timestamp
number
Timestamp when the block was added
prevBlock
string
Previous block hash
nonce
string
Value assigned by the miner that constitutes proof of work
miner
string
Wallet address of the miner
resultHash
string
Value assigned by the miner that constitutes proof of work
Response Error Table
Status
Error
Message
404
NOT_FOUND
the block cannot be found
GET/api/v1/block/{hash}
Example request
Response (Success)
Last updated
Was this helpful?