63 lines
976 B
GraphQL
63 lines
976 B
GraphQL
|
query Staking($partyId: ID!) {
|
||
|
party(id: $partyId) {
|
||
|
id
|
||
|
stake {
|
||
|
currentStakeAvailable
|
||
|
currentStakeAvailableFormatted @client
|
||
|
}
|
||
|
delegations {
|
||
|
amount
|
||
|
amountFormatted @client
|
||
|
epoch
|
||
|
node {
|
||
|
id
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
epoch {
|
||
|
id
|
||
|
timestamps {
|
||
|
start
|
||
|
end
|
||
|
expiry
|
||
|
}
|
||
|
}
|
||
|
nodes {
|
||
|
id
|
||
|
name
|
||
|
pubkey
|
||
|
infoUrl
|
||
|
location
|
||
|
ethereumAddress
|
||
|
stakedByOperator
|
||
|
stakedByDelegates
|
||
|
stakedTotal
|
||
|
pendingStake
|
||
|
stakedByOperatorFormatted @client
|
||
|
stakedByDelegatesFormatted @client
|
||
|
stakedTotalFormatted @client
|
||
|
pendingStakeFormatted @client
|
||
|
epochData {
|
||
|
total
|
||
|
offline
|
||
|
online
|
||
|
}
|
||
|
status
|
||
|
rankingScore {
|
||
|
rankingScore
|
||
|
stakeScore
|
||
|
performanceScore
|
||
|
votingPower
|
||
|
stakeScore
|
||
|
}
|
||
|
}
|
||
|
nodeData {
|
||
|
stakedTotal
|
||
|
stakedTotalFormatted @client
|
||
|
totalNodes
|
||
|
inactiveNodes
|
||
|
validatingNodes
|
||
|
uptime
|
||
|
}
|
||
|
}
|