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

# GraphQL — networkConfigs

> Query.networkConfigs — chain ids and live contract addresses per Robinhood network.

Returns every Robinhood network the API can currently serve. Call it at startup instead of hardcoding addresses — see [Networks & contracts](/integrate/networks) for the integration guidance.

```graphql GraphQL theme={"theme":"css-variables"}
query {
  networkConfigs {
    networkId
    mode
    chainId
    contracts {
      chancePool
      lpPool
      chanceToken
      usdg
      hook
    }
  }
}
```

## Response fields

| Field                   | Type         | Notes                                                                              |
| ----------------------- | ------------ | ---------------------------------------------------------------------------------- |
| `networkId`             | `NetworkId!` | `ROBINHOOD_TESTNET` \| `ROBINHOOD_MAINNET`                                         |
| `mode`                  | `String!`    | `testnet` \| `mainnet`                                                             |
| `chainId`               | `Int!`       | EVM chain id — the `chainId` argument for [`betResult`](/api-reference/bet-result) |
| `contracts.chancePool`  | `String!`    | Betting pool address                                                               |
| `contracts.lpPool`      | `String!`    | Uniswap V4 CHANCE/USDG pool reference                                              |
| `contracts.chanceToken` | `String!`    | CHANCE token address                                                               |
| `contracts.usdg`        | `String!`    | USDG token address                                                                 |
| `contracts.hook`        | `String`     | Optional V4 hook — **nullable**                                                    |

## Behavior

* Only fully configured networks appear — mainnet may be absent until its deployment is live. Select by `networkId` and handle a missing entry gracefully.
* Addresses are authoritative: the pool address comes from API config, and token / USDG / LP addresses are read from the pool contract itself.
* No arguments, no auth. Safe to cache for the lifetime of your process; refetch on reconnect or startup.
