数据新鲜度 API
查询各公开数据集的当前区块高度、日期以及相对链头的延迟指标,用于服务监控与查询前校验。
端点列表
| 方法 | 路径 | 说明 | 每次调用 CU | 每百万次美元价 | 免费额度约可调用(次/周期) |
|---|---|---|---|---|---|
| GET | /{chain}/status/freshness | 各数据集的新鲜度与延迟 | 1 | $0.10 | 30,000,000 |
免费档:账户下所有 key 合计平均每秒 25 次。
返回字段
GET/{chain}/status/freshness
| 字段 | 类型 |
|---|---|
| dataset | string |
| category | string |
| max_block_number | integer | null |
| max_day | string | null |
| max_time | string | null |
| seconds_behind | integer | null |
| blocks_behind | integer | null |
| days_behind | integer | null |
| coverage_from_block | integer | null |
| coverage_to_block | integer | null |
| coverage_complete | boolean |
| checked_at | string |
可用网络
快速示例
curl -s "https://api.blockvectra.com/v1/data/arb_mainnet/status/freshness" -H "x-api-key: {api_key}"相关文档
免费试用本数据集
注册即得 30M CU,每 30 天自动补足。
Data API 只对成功响应计费。