> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /v1/subgraph/gn

> Default mainnet GraphQL subgraph endpoint used by @ostium/builder-sdk read methods.

The SDK uses this as the default mainnet subgraph endpoint:

```text theme={null}
https://builder.prod.bedrock.ostium.io/v1/subgraph/gn
```

It backs read methods such as:

* `getPairs()`
* `getOpenPositions()`
* `getOpenOrders()`
* `getOrders()`
* `getBuilderOrders()`
* `getFills()`
* `getFillsByTime()`
* `getSimSlippage()`
* `getSimOrderbook()`

## SDK configuration

Override the endpoint with `subgraphUrl` when creating the client.

```ts theme={null}
const client = await OstiumClient.createReadOnly({
  subgraphUrl: 'https://your-subgraph.example.com/graphql',
});
```

For direct GraphQL usage, use the SDK reference pages as the response-shape source of truth for each read method.
