Skip to content

Commit

Permalink
update voteplans query to include votestatuses
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Nov 24, 2020
1 parent bb09396 commit 7b52084
Showing 1 changed file with 48 additions and 26 deletions.
@@ -1,29 +1,51 @@
query AllVotePlans($first: Int!){
allVotePlans(first: $first) {
edges{
node {
id,
voteStart{
epoch{
id
}
slot
}
voteEnd{
epoch{
id
}
slot
}
committeeEnd {
epoch{
id
}
slot
}
payloadType,
query AllVotePlans($first: Int!) {
allVotePlans(first: $first) {
edges {
node {
id
voteStart {
epoch {
id
}
slot
}
voteEnd {
epoch {
id
}
slot
}
committeeEnd {
epoch {
id
}
slot
}
payloadType
proposals {
# proposalId
options {
start
end
}
votes {
edges {
node {
address {
id
}
payload {
__typename
... on VotePayloadPublicStatus {
choice
}
}
}
}
}
}
totalCount
}
}
}
totalCount
}
}

0 comments on commit 7b52084

Please sign in to comment.