Quick start
Mainnet is chain ID 61, Mordor is 63. No ETC-specific client library is needed.
import { JsonRpcProvider, formatEther } from 'ethers'
const provider = new JsonRpcProvider('https://etc.blockscout.com/api/eth-rpc')
const blockNumber = await provider.getBlockNumber()
const balance = await provider.getBalance('0x...')
console.log(blockNumber, formatEther(balance))Networks
These RPC endpoints are operated by third parties, not by this site. Rate limits and uptime are theirs and can change without notice. For anything in production, run your own node or use a provider you have an agreement with.
Mordor testnet
chain 63 · METCRPC
https://etc-mordor.blockscout.com/api/eth-rpcChain and market data
This site does not publish a data API. It reads from the two sources below, and you can too: they are authoritative and versioned, and reading them directly means no intermediary can fall out of sync with them.