# Deployed Contracts

Testnet

To get the list of kernel addresses for testnet chains, we can use the chainConfigs query in the GQL playground.

{% embed url="<https://api.andromedaprotocol.io/graphql/testnet>" %}

Run the following query:

```graphql
query CODEGEN_GENERATED_CHAINCONFIGS_ALLCONFIGS {
  chainConfigs {
    allConfigs {
      chainId
      name
      kernelAddress
    }
  }
}
```

**Example Result:**

<figure><img src="https://content.gitbook.com/content/2YkaXqqmxGGgzIw8k7UU/blobs/JpccdDhwaSO3FbvkKxfl/Screenshot%202024-07-23%20at%206.08.42%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

Mainnet

We can use the same query to get the list of kernel addresses for mainnet deployment:

{% embed url="<https://api.andromedaprotocol.io/graphql/mainnet>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.andromedaprotocol.io/andromeda/andromeda-beta-ados-1/platform-and-framework/deployed-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
