# Chain Info

This section provides essential technical details regarding Onyx’s publicly available **Remote Procedure Call (RPC)** endpoints, allowing developers to interact with the Onyx blockchain network. These RPC endpoints facilitate smart contract deployments, transaction broadcasting, data querying, and state synchronization with the Onyx blockchain. Developers and infrastructure providers can integrate these endpoints into their applications, wallets, or blockchain indexing services to ensure seamless interaction with the Onyx network.

## Public RPC Endpoints

Onyx provides both **HTTPS** and **WebSocket (WSS)** RPC endpoints, enabling developers to connect to the network for executing transactions and retrieving blockchain state data. The WebSocket endpoint is particularly useful for applications requiring real-time event subscriptions, such as monitoring contract events or transaction confirmations. The available endpoints are:

| Type          | Url                    | Notes                                       |
| ------------- | ---------------------- | ------------------------------------------- |
| HTTPS RPC     | <https://rpc.onyx.org> | Standard RPC for JSON-RPC API requests      |
| WebSocket RPC | wss\://rpc.onyx.org    | Enables real-time event-driven interactions |

## Additional Network Resources

To enhance blockchain interaction and facilitate development on Onyx, the following key resources are available:

| Resource           | URL                         | Notes                                                                                                                          |
| ------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Block Explorer     | <https://explorer.onyx.org> | A fully-featured blockchain explorer allowing users and developers to inspect transactions, smart contracts, and network state |
| Cross-Chain Bridge | <https://bridge.onyx.org>   | A dedicated bridge enabling seamless asset transfers between Onyx and other blockchain networks.                               |

## Network Parameters

Below are the specific network parameters for Onyx:

| Type      | Value | Notes                                                                                                                                                                                                         |
| --------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Chain ID  | 80888 | The unique identifier for the Onyx network, required for network configuration in development environments and wallet connections.                                                                            |
| Gas Token | XCN   | The native token used for gas fees within the Onyx network, required to execute transactions and deploy smart contracts. The contract address for XCN on Onyx is: 0x9c632E6Aaa3eA73f91554f8A3cB2ED2F29605e0C. |


---

# 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.onyx.org/readme/chain-info.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.
