> For the complete documentation index, see [llms.txt](https://xchainjs.gitbook.io/xchainjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xchainjs.gitbook.io/xchainjs/clients/xchain-evm/xchain-avax.md).

# xchain-avax

The xchain-avax library provides developers with a streamlined approach to interact with the Avalanche (AVAX) blockchain network.&#x20;

Developers initiate the connection to the Avalanche network by specifying the network endpoint or RPC (Remote Procedure Call) URL. This establishes the communication channel between the application and the Avalanche blockchain.

This package uses etherjs library, by default it uses several providers. (<https://docs.ethers.io/v5/api-keys/>)

#### Explorer URL <a href="#explorer-url" id="explorer-url"></a>

* Mainnet:[\`https://snowtrace.io/](https://snowtrace.io/)
* Testnet:[\`https://testnet.snowtrace.io/](https://testnet.snowtrace.io/)

### RPC Ethers Providers <a href="#rpc-ethers-providers" id="rpc-ethers-providers"></a>

* Mainnet:[\`https://api.avax.network/ext/bc/C/rpc](https://api.avax.network/ext/bc/C/rpc)
* Testnet:<https://api.avax-test.network/ext/bc/C/rpc>

For more information about the API of the package, please click [here](https://docs.xchainjs.org/xchain-docs/xchain-avax/docs/index.html)
