Response (specified block)
api/v3
Response (specified block) 200 OK, application/json
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:
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. |
Response Error Table
Status | Error | Message |
400 |
| the absolute value of range cannot exceed 100 |
404 |
| Error: hash 5PrvewZUb3BizCEqibi1URv9WBssAdFqsa95weL4rTpj is not found |
Response (Success) without specified range
Response (Success) with specified range
Last updated