moonproof-indexer-client 0.2.2

Rust client for the Midnight indexer's GraphQL API
Documentation
1
2
3
4
5
6
7
8
9
10
use graphql_client::GraphQLQuery;

#[derive(GraphQLQuery)]
#[graphql(
    schema_path = "graphql/schema.graphql",
    query_path = "graphql/queries/stake_distribution.graphql",
    response_derives = "Debug, Clone",
    variables_derives = "Debug, Clone"
)]
pub struct StakeDistributionQuery;