Response (mined blocks)

api/v3

Response (mined blocks) 200 OK, application/json

If count 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

hash

string

The hash value of the block that a address mined.

reward

string

Reward received by mining the block. This is the sum of the mining reward of block and the fee of the transaction.

timestamp

number

Timestamp when the block was added.

miner

string

The Hycon address value which mined the block.

Response Error Table

Status

Error

Message

400

BAD_REQUEST

The parameter value passed as count is invalid.

Response (Success) without specified count

{
    "hash": "9Xm95pPZ4QazmUVJWhPKXKvgzMHDQ31VQgVhxbFa4y2R",
    "reward": "12",
    "timestamp": 1545425179740,
    "miner": "H497fHm8gbPZxaXySKpV17a7beYBF9Ut3"
}

Response (Success) with specified count

[
    {
        "hash": "9Xm95pPZ4QazmUVJWhPKXKvgzMHDQ31VQgVhxbFa4y2R",
        "reward": "12",
        "timestamp": 1545425179740,
        "miner": "H497fHm8gbPZxaXySKpV17a7beYBF9Ut3"
    },
    ...
]

Last updated