> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/fr/developper/notions-de-base/se-connecter-a-chiliz-chain/se-connecter-en-utilisant-un-rpc.md).

# Se connecter via RPC

URLs des endpoints RPC de Chiliz Chain Mainnet (chain ID 88888) et du Spicy Testnet (chain ID 88882), connexions WebSocket, liens vers les explorateurs, et conseils sur les limites de débit.

Chiliz est disponible via un Mainnet pour vos projets de production, et dispose d'un Testnet à des fins de test. Le Testnet de Chiliz s'appelle Spicy Testnet.

{% hint style="success" %}
Ces endpoints RPC publics sont gratuits et partagés, ils sont donc soumis à des limites de débit. La limite exacte dépend du fournisseur et du fait que vous ayez ou non créé un compte chez lui : les endpoints publics (aucun compte requis) conviennent au développement et aux tests, tandis que le trafic de production est mieux servi en vous enregistrant auprès d'un fournisseur pour bénéficier de limites plus élevées, ou en [exécutant votre propre nœud](/fr/developper/notions-de-base/se-connecter-a-chiliz-chain/executer-un-noeud-sur-chiliz-chain.md).

Si vous atteignez une limite, ajoutez un court délai entre les requêtes (de 1 seconde à 1 minute selon vos besoins) et utilisez un backoff exponentiel en cas d'erreur plutôt que de réessayer immédiatement.
{% endhint %}

{% tabs %}
{% tab title="Chiliz Chain Mainnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="346">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Chiliz Chain</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://rpc.ankr.com/chiliz">https://rpc.ankr.com/chiliz</a><br><br>Alternatives:<br><a href="https://chiliz-mainnet.gateway.tatum.io">https://chiliz-mainnet.gateway.tatum.io</a><br><a href="https://chiliz-rpc.publicnode.com">https://chiliz-rpc.publicnode.com</a></td></tr><tr><td>RPC Websocket</td><td>wss://chiliz-rpc.publicnode.com</td></tr><tr><td>Chain ID</td><td>88888</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Chiliz Block Explorer URL</td><td>Recommended:<br><a href="https://chiliscan.com">https://chiliscan.com</a><br><br>Alternative:<br><a href="https://scan.chiliz.com">https://scan.chiliz.com</a></td></tr></tbody></table>
{% endtab %}

{% tab title="Spicy Testnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="312">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Spicy Testnet</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://spicy-rpc.chiliz.com/">https://spicy-rpc.chiliz.com/</a><br><br>Alternatives:<br><a href="https://chiliz-testnet.gateway.tatum.io">https://chiliz-testnet.gateway.tatum.io</a><br><a href="https://chiliz-spicy-rpc.publicnode.com">https://chiliz-spicy-rpc.publicnode.com</a></td></tr><tr><td>RPC Websocket</td><td>Recommended:<br>wss://spicy-rpc-ws.chiliz.com/<br><br>Alternative:<br>wss://chiliz-spicy-rpc.publicnode.com</td></tr><tr><td>Chain ID</td><td>88882</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Spicy Block Explorer URL</td><td><p>Recommended:<br><a href="https://testnet.chiliscan.com/">https://testnet.chiliscan.com/</a></p><p><br>Alternative:<br><a href="https://spicy-explorer.chiliz.com/">https://spicy-explorer.chiliz.com/</a></p></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

Vous y trouverez les URLs des endpoints Mainnet et Testnet, le Chain ID, l'URL de l'explorateur, etc.

{% hint style="info" %}
**À propos du Testnet Scoville**

En mai 2023, nous avons remplacé le Testnet Scoville par le Testnet Spicy.

Tous les développeurs qui ont déployé ou prévoient de déployer sur le Testnet Scoville doivent déployer leurs tests sur le Testnet Spicy à la place, car il sera maintenu à jour pour refléter directement la nouvelle Chiliz Chain.
{% endhint %}

Pour des informations sur la façon de connecter des portefeuilles spécifiques à Chiliz Chain, veuillez utiliser ce guide : [Lier Chiliz Chain à MetaMask](/fr/apprendre/a-propos-des-wallets/utiliser-metamask/lier-chiliz-chain-a-metamask.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/fr/developper/notions-de-base/se-connecter-a-chiliz-chain/se-connecter-en-utilisant-un-rpc.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
