Response (latest block)
api/v3
Last updated
api/v3
Last updated
200 OK, application/json
If range
is not set or set to 1, the following object is returned. Else, a block list with the following objects as elements is returned:
Response Error Table
Example request without specified range
Response (Success) without specified range
Example request with specified range
Response (Success) with specified range
Parameter
Type
Description
height
number
Height of the block.
hash
string
Hash value representing the block.
difficulty
string
Difficulty of the mined block.
merkleRoot
string
Merkle hash of all transactions in the block.
stateRoot
string
Hash of the world state at that block.
timestamp
number
Timestamp when the block was added.
txs
array
List of transactions in the block.
nonce
string
Nonce of the block.
miner
string
A Hycon wallet address of the miner.
uncleHash
array
List of hash values of uncle block.
previousHash
string
The hash value of the previous block.
Status
Error
Message
400
BAD_REQUEST
The parameter value passed as count is invalid
404
NOT_FOUND
Tip information is undefined in consensus