* chore: generate types * chore: remove type policy as it is bad * chore: migrate all usages of depreacted stake field * chore: fix build
37 lines
509 B
GraphQL
37 lines
509 B
GraphQL
query Delegations($partyId: ID!) {
|
|
epoch {
|
|
id
|
|
}
|
|
party(id: $partyId) {
|
|
id
|
|
delegations {
|
|
amountFormatted @client
|
|
amount
|
|
node {
|
|
id
|
|
name
|
|
}
|
|
epoch
|
|
}
|
|
stakingSummary {
|
|
currentStakeAvailable
|
|
}
|
|
accounts {
|
|
asset {
|
|
name
|
|
id
|
|
decimals
|
|
symbol
|
|
source {
|
|
__typename
|
|
... on ERC20 {
|
|
contractAddress
|
|
}
|
|
}
|
|
}
|
|
type
|
|
balance
|
|
}
|
|
}
|
|
}
|