Skip to content

Instantly share code, notes, and snippets.

@trevorbernard
Created January 16, 2024 14:28
Show Gist options
  • Save trevorbernard/d72222a3497746d75073c15f2f7edbed to your computer and use it in GitHub Desktop.
Save trevorbernard/d72222a3497746d75073c15f2f7edbed to your computer and use it in GitHub Desktop.
query StakesQuery($limit: Int = 10, $sort_by: StakeSortByInput!, $query: StakeQueryInput!) {
stakes(limit: $limit, sortBy: $sort_by, query: $query ) {
balance
chainId
delegate
epoch
ledgerHash
nonce
pk
public_key
receipt_chain_hash
token
voting_for
delegationTotals {
countDelegates
totalDelegated
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment