Returns the total number of Ethereum validators associated with a specific account and a count of validators grouped by their status (e.g., "DEPOSITED", "ACTIVE", "EXIT_INITIATED").
Input example: getEthValidatorsSummary(account_id=12)
Return: JSON containing a summary of validators categorized by status.
-------------------- Response Example --------------------
{
"FunctionData": {
"network": "mainnet",
"total": 200,
"TotalStakingAmount": "64000000000000000000",
"data": [
{
"status": "DEPOSITED",
"count": 10
},
{
"status": "ACTIVE",
"count": 160
},
{
"status": "EXIT_INITIATED",
"count": 10
},
{
"status": "EXITED",
"count": 10
},
{
"status": "WITHDRAWABLE",
"count": 10
}
]
},
"Meta": {
"AccessToken": "8272...aaf6",
"Destination": "0435...32cf",
"Source": "0f62...69d0",
"Time": "2024-10-28 14:54:08.999"
}
}
-------------------- Error Reference --------------------
| Error Type | Error Code | Reason / Description |
|---|
| Backend Response | 1007 | Unknown account id 2 system. |
| Backend Response | 1000 | Galaxy request failed. The response includes the error returned by Galaxy. |
Examples:
// Backend Response — Galaxy error (proxied)
{ "ErrorCode": "1007", "Reason": "Unknown account id 2"}
// Backend Response — Galaxy error (proxied)
{ "ErrorCode": "1000", "Reason": "Galaxy request failed. Reason: {\"error\": [{\"code\": 123, \"message\": \"Some error message\"}]}"}
account_idinteger<p>The user defined GK8 account ID to retrieve the requested validator summary. The ETH is deposited from this account’s uMPC address to the Galaxy validator(s) account, and withdrawn from this account to the Impenetrable Vault address. The range is limited to the number of user defined accounts. If blank, returns a summary for all validators.</p>