Getting a list of recently published blocks
api/v1
Last updated
api/v1
Last updated
Retrieve a list of ten (10) most recent blocks published on the Hycon network.
Path Parameter
Response - 200 OK, application/json
Response Error Table
GET/api/v1/blockList/{index}
Example request
Response (Success)
Parameter
Type
Required
Description
index
number
Yes
Index value of the recent block list (0
returns the 10 most recent blocks)
Parameter
Type
Description
hash
string
Hash representation of the transaction
difficulty
string
Mining difficulty of block
height
number
Height of the block
size
number
Size of block information, in bytes
txs
list
List of transactions in 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
length
string
Page number of the block list, used for pagination
Status
Error
Message
404
INVALID_ROUTE
resource not found