验证者总奖励

此 API 端点提供了您的验证者奖励和整体质押状态的全面概述。

HTTP 请求

Get /api/v1/validator/total-rewards

Path Params : No param 路径参数:无参数

Request Params 请求参数

参数名称

数据类型

是否必须通过

描述

page

int

false

页码(默认为 1)

limit

int

false

每页条目数 (默认为 10 ,最大支持 1000 )

响应

Parameter name

Data type

Description

el_total_reward

string

执行层总收益(单位:eth)(链上真实收益,如有结算需另行计算)

cl_total_reward

string

共识层总收益(单位:eth)

total_reward

string

执行层+共识层总收益(单位:eth)

cl_balance

string

共识层余额(单位:eth)

effective_balance

string

共识层有效余额(单位:eth)

status

string

验证者状态

validators_active_count

int

活跃验证者数量

validators_total_count

int

验证者总数

validators_total_rewards

string

验证者的累计总奖励

validators_total_cl_balance

string

验证者共识层总余额

例子:

{
    "code": "200",
    "msg": "Success",
    "pagination": {
        "page": 1,
        "limit": 10,
        "total": 2
    },
    "data": {
        "validator_details": [
            {
                "validator_index": 1,
                "pubkey":"0x8000025593183bad1730e78b87b6bce428492e3bf9142d2609032daf674596f955d6403481c7d84809905a262c0136e2",
                "el_total_reward": "0.039144409",
                "cl_total_reward": "0.0446064811764954",
                "total_reward": "0.0837508901764954",
                "cl_balance": "32.0837508901764954",
                "effective_balance": "32",
                "status": "active"
            },
            {
                "validator_index": 2,
                "pubkey":"0x8000091c2ae64ee414a54c1cc1fc67dec663408bc636cb86756e0200e41a75c8f86603f104f02c856983d2783116be13",
                "el_total_reward": "0.039144409",
                "cl_total_reward": "0.0446064811764954",
                "total_reward": "0.0837508901764954",
                "cl_balance": "32.0837508901764954",
                "effective_balance": "32",
                "status": "active"
            }
        ],
        "validators_active_count": 2,
        "validators_total_count": 2,
        "validators_total_rewards": "0.3246064811764954",
        "validators_total_cl_balance": "64.3246064811764954"
    }
}

Last updated