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
11
12
13
use graphql_client::GraphQLQuery;

#[allow(clippy::upper_case_acronyms)]
pub type HexEncoded = String;

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