Skip to main content

Stakehouse Accounts

This sample query can be used to track the onboarding process of a validator in the Stakehouse Account.

{
stakehouseAccounts(where: {
lifecycleStatus_gte: 2
}) {
lifecycleStatus
depositor
totalDETHMintedFormatted
totalSLOT
stakeHouseMetadata {
sETHTicker
}
knotMetadata {
currentSlashedAmount
}
}
}

Here is the sample output:

{
"data": {
"stakehouseAccounts": [
{
"lifecycleStatus": "3",
"depositor": "0x2cef68303e40be7bb3b89b93184368fc5fce6653",
"totalDETHMintedFormatted": "24.027576946",
"totalSLOT": "8000000000000000000",
"stakeHouseMetadata": {
"sETHTicker": "sETH"
},
"knotMetadata": {
"currentSlashedAmount": "0"
}
},
{
"lifecycleStatus": "3",
"depositor": "0xc27b94affba650207762126439337f3e055c90bd",
"totalDETHMintedFormatted": "24",
"totalSLOT": "8000000000000000000",
"stakeHouseMetadata": {
"sETHTicker": "sMOLCH"
},
"knotMetadata": {
"currentSlashedAmount": "0"
}
}
]
}
}