Simple Queries

Limits to 1000 stores from mainnet

const uri = 'https://api.thegraph.com/subgraphs/name/nategeier/mintbase'
const query = `
query {
stores(first:1000) {
id
}
}
`;
const opts = {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ query })
};
fetch(uri, opts)
.then(res => res.json())
.then(console.log)
.catch(console.error);