获取最新的块
按创建时间倒序排序。
:param num: 获取的块数量 :param resolver: 限定解析器类型, None则不限定
GET
/blocks/recent
curl \
--request GET 'http://api.example.com/blocks/recent'
Response examples (200)
[
{
"id": 42,
"created_at": "2025-05-04T09:42:00Z",
"updated_at": "2025-05-04T09:42:00Z",
"storage": 42,
"resolver": "string",
"content": "string"
}
]
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}