> For the complete documentation index, see [llms.txt](https://teamhycon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teamhycon.gitbook.io/docs/block-api/untitled-2/response-mined-blocks.md).

# Response (mined blocks)

#### Response (mined blocks) `200 OK, application/json` <a href="#response-mined-blocks-200-ok-applicationjson" id="response-mined-blocks-200-ok-applicationjson"></a>

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"
    },
    ...
]
```
