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

# GraphQL Endpoints

## List of endpoints

| Functionality                                                                                   | Endpoint Type  |                                                  |
| ----------------------------------------------------------------------------------------------- | -------------- | ------------------------------------------------ |
| [OHLCV Tokens Stream](/api-reference/streaming-api/subscriptions/ohlcv-tokens-stream)           | `subscription` | `subscription { ohlcvCandlesForToken { ... }  }` |
| [OHLCV Pairs Stream](/api-reference/streaming-api/subscriptions/ohlcv-pairs-stream)             | `subscription` | `subscription { ohlcvCandlesForPair { ... }  }`  |
| [New DEX Pairs Stream](/api-reference/streaming-api/subscriptions/new-dex-pairs-stream)         | `subscription` | `subscription { newPairs { ... }  }`             |
| [Update Pairs Stream](/api-reference/streaming-api/subscriptions/update-pairs-stream)           | `subscription` | `subscription { updatePairs { ... }  }`          |
| [Wallet Activity Stream](/api-reference/streaming-api/subscriptions/wallet-activity-stream)     | `subscription` | `subscription { walletTxs { ... }  }`            |
| [Update Tokens Stream](/api-reference/streaming-api/subscriptions/update-tokens-stream)         | `subscription` | `subscription { updateTokens { ... }  }`         |
| [Token Search Query](/api-reference/streaming-api/queries/token-search-query)                   | `query`        | `query { searchToken { ... }  }`                 |
| [Top Trader Wallets for Token Query](/api-reference/streaming-api/queries/upnl-for-token-query) | `query`        | `query { upnlForToken { ... }  }`                |
| [Wallet PnL by Token Query](/api-reference/streaming-api/queries/upnl-for-wallet-query)         | `query`        | `query { upnlForWallet { ... }  }`               |
| [OHLCV Tokens Query](/api-reference/streaming-api/queries/ohlcv-tokens-query)                   | `query`        | `query { ohlcvCandlesForToken { ... }  }`        |
| [OHLCV Pairs Query](/api-reference/streaming-api/queries/ohlcv-pairs-query)                     | `query`        | `query { ohlcvCandlesForPair { ... }  }`         |

## Fetching the schema

```graphql theme={null}
query IntrospectionQuery {
  __schema {
    queryType {
      name
    }
    mutationType {
      name
    }
    subscriptionType {
      name
    }
    types {
      ...FullType
    }
    directives {
      name
      description

      locations
      args {
        ...InputValue
      }
    }
  }
}

fragment FullType on __Type {
  kind
  name
  description

  fields(includeDeprecated: true) {
    name
    description
    args {
      ...InputValue
    }
    type {
      ...TypeRef
    }
    isDeprecated
    deprecationReason
  }
  inputFields {
    ...InputValue
  }
  interfaces {
    ...TypeRef
  }
  enumValues(includeDeprecated: true) {
    name
    description
    isDeprecated
    deprecationReason
  }
  possibleTypes {
    ...TypeRef
  }
}

fragment InputValue on __InputValue {
  name
  description
  type {
    ...TypeRef
  }
  defaultValue
}

fragment TypeRef on __Type {
  kind
  name
  ofType {
    kind
    name
    ofType {
      kind
      name
      ofType {
        kind
        name
        ofType {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
              ofType {
                kind
                name
                ofType {
                  kind
                  name
                  ofType {
                    kind
                    name
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```
