Ethereum Classic (ETC)

Ethereum Classic is the continuation of the original Ethereum chain, secured by Proof-of-Work (the Etchash algorithm) and governed by a strict code-is-law immutability ethos. It is EVM-compatible at the Spiral (Shanghai) opcode level, so standard Ethereum contracts, the eth_* JSON-RPC surface, and tooling such as Foundry, Hardhat, Ethers.js, and Viem work unchanged — with one important difference: Ethereum Classic did not adopt EIP-1559, so it uses legacy gas pricing with no base fee. The native token is ETC. Nodes (Core-Geth) expose three interfaces: JSON-RPC over HTTP, WebSocket, and an EIP-1767 GraphQL API.

Key Features

  • EVM Compatibility: Standard Ethereum contracts, JSON-RPC, and tooling run unchanged (Spiral / Shanghai opcodes)
  • Proof-of-Work: The only major EVM chain secured by Proof-of-Work (Etchash), with GPU and ASIC mining
  • Legacy Gas: No EIP-1559 base fee; transactions use gasPrice, and PoW mining methods are available
  • Immutability: A code-is-law chain that does not perform state-reverting forks
  • Three Interfaces: JSON-RPC (HTTP), WebSocket (subscriptions), and an EIP-1767 GraphQL API
  • Ethereum Tooling: Compatible with MetaMask, Foundry, Hardhat, Remix, Ethers.js, and Viem

TECHNICAL DISCLAIMER: AUTHORITATIVE JSON-RPC API SPECIFICATION.

GetBlock's RPC API reference documentation is provided exclusively for informational purposes and to optimize the developer experience. Ethereum Classic implements the standard Ethereum JSON-RPC interface; the canonical specification is the Ethereum JSON-RPC specification at ethereum.org, and Ethereum Classic protocol specifications (ECIPs) are published at ethereumclassic.org.

Network Information

PropertyValue
Network NameEthereum Classic
Chain ID61
Native CurrencyETC
EVM CompatibleYes (Spiral / Shanghai)
ConsensusProof-of-Work (Etchash)
Block Time~13 seconds
FinalityProbabilistic (use confirmations)
Gas PricingLegacy (no EIP-1559 base fee)

Available Interfaces

Ethereum Classic nodes expose the same chain over three interfaces. GetBlock serves all three; each is provisioned as its own endpoint.

InterfaceTransportUse it for
JSON-RPC (HTTP)Ethereum JSON-RPC 2.0 over HTTPeth_* / net_* / web3_* request-response calls (documented here)
WebSocket (WSS)Ethereum JSON-RPC 2.0 over WebSocketThe same methods plus eth_subscribe streams (newHeads, logs, newPendingTransactions)
GraphQLEIP-1767 GraphQL over HTTPTyped, flexible queries over blocks, transactions, accounts, and logs in a single request

The JSON-RPC and WebSocket interfaces carry the same eth_* method set (WebSocket adds subscriptions); the GraphQL API is a separate query interface documented alongside this one.

Base URL

https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
https://shared.us-east-1.getblock.io/<ACCESS-TOKEN>/
https://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

Supported Networks

NetworkChain IDJSON-RPCWSSGraphQLMEV protected (WebSocket)MEV protected (JSON-RPC)Frankfurt, GermanyNew York, USASingapore, Singapore
Mainnet61✅✅✅❌❌✅❌❌
Mordor63✅✅✅❌❌✅❌❌

Quickstart

  1. Setup project

    bashmkdir etc-api-quickstart && cd etc-api-quickstart && npm init --yes
  2. Install dependency

    bashnpm install axios
  3. Add code

    index.js

    javascriptconst axios = require('axios');
    
    const url = 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/';
    
    const payload = {
      jsonrpc: '2.0',
      method: 'eth_blockNumber',
      params: [],
      id: 'getblock.io'
    };
    
    axios.post(url, payload, {
      headers: { 'Content-Type': 'application/json' }
    })
    .then(response => {
      console.log('Latest block:', parseInt(response.data.result, 16));
    })
    .catch(error => console.error(error));
  4. Run the script

    bashnode index.js
  5. Response

    bashLatest block: 25303817
  1. Setup project

    bashmkdir etc-api-quickstart && cd etc-api-quickstart
    python -m venv venv && source venv/bin/activate
  2. Install dependency

    bashpip install requests
  3. Add code

    main.py

    pythonimport requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/"
    
    payload = json.dumps({
        "jsonrpc": "2.0",
        "method": "eth_blockNumber",
        "params": [],
        "id": "getblock.io"
    })
    
    headers = {
        'Content-Type': 'application/json'
    }
    
    response = requests.post(url, headers=headers, data=payload)
    print(response.text)
  4. Run the script

    bashpython main.py

APIs

Support

For technical support and questions:

See Also