Skip to main content

nash_protocol/protocol/list_markets/
request.rs

1use super::types::ListMarketsRequest;
2use crate::graphql;
3use crate::graphql::list_markets;
4use graphql_client::GraphQLQuery;
5
6impl ListMarketsRequest {
7    pub fn make_query(&self) -> graphql_client::QueryBody<list_markets::Variables> {
8        graphql::ListMarkets::build_query(list_markets::Variables {})
9    }
10}