获取验证者

此 API 端点允许您检索有关验证器的信息。

HTTP 请求

使用 POST 请求到端点。

POST /api/v1/validator/details

路径参数:无参数

请求参数

请求:

  • 使用 POST 请求到 /api/v1/validator/details 端点。

  • You can optionally provide: 您可以选择提供:

    • pubkeys (数组):要查询的特定验证器密钥列表(如果为空,则包括所有验证器)。

    • withdrawal_address: 按提款地址过滤验证器。

    • 分页详细信息(页面和限制):控制每页显示的结果数。

Response 响应

例子

{
    "code": "200",
    "msg": "Success",
    "pagination": {
       "page": 1,
       "limit": 10,
       "total": 2
    },
    "data": [
        {
            "network": "holesky",
            "pubkey": "0xd1ef8d468ef53d82368d2026e321ab2c6d44f44c33b7b9f22369bf6dcf37fb0208f82dd6b485325ce1bbf5aec7ad45bb",
            "withdrawal_address": "0xE40F80618324C814cD444434670a44ba4583aE38",
            "withdrawal_credentials": "0x010000000000000000000000fc438e6cc4b230eb5bfaae1337c3f5da2b9140f1",
            "fee_recipient_address": "0x781462762B706AA7c1DA71FBA1a545724928b81f",
            "deposit_from_address": "0xE40F80618324C814cD444434670a44ba4583aE38",
            "status": "active_ongoing",
            "slashed": false,
            "activation_epoch": "0",
            "exit_epoch": "18446744073709551615",
            "withdrawable_epoch": "18446744073709551615",
            "status_estimates": {
                "estimated_active_at": "2023-07-01T00:00:00.000Z",
                "estimated_exit_at": "2023-07-01T00:00:00.000Z",
                "estimated_withdrawal_at": "2023-07-01T00:00:00.000Z"
            },
            "is_need_exit": false,
            "is_post_exit": false
        }
    ]
}

Last updated