获取验证者

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

HTTP 请求

使用 POST 请求到端点。

POST /api/v1/validator/details

路径参数:无参数

请求参数

请求:

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

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

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

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

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

Parameter name

Data type

Whether it must be passed.

Description

pubkeys

array

false

Verifier list

withdrawal_address

string

false

Withdrawal address

page

int

false

Page number (default is 1)

limit

int

false

Number of entries per page (default is 10, maximum support is 1000)

Response 响应

参数名称

数据类型

描述

network

string

网络

pubkey

string

公钥

withdrawal_address

string

共识层提现地址

withdrawal_credentials

string

共识层提现券

fee_recipient_address

string

执行层奖励接收地址

deposit_from_address

string

来自地址的存款

status

string

验证者状态:https://hackmd.io/@protolambda/validator_status

slashed

boolean

价值被削减

activation_epoch

string

exit_epoch

string

withdrawable_epoch

string

estimated_active_at

string

预计激活时间

estimated_exit_at

string

预计退出时间

estimated_withdrawal_at

string

预计提款时间

is_need_exit

boolean

是否启动退出

is_post_exit

boolean

退出请求是否广播到链上

例子

{
    "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