Ethereum(ETH)

Ethereum is the largest smart-contract platform by total value settled, secured by a proof-of-stake consensus layer of over one million validators. Built by the Ethereum Foundation and a broad developer community, it is the reference L1 execution environment for the EVM and settles the majority of Layer-2 rollup activity, DeFi TVL, and stablecoin volume across all blockchains. As of the Fusaka upgrade (December 2025), the network operates with a 60M gas limit, up to 21 blobs per block via EIP-4844 + PeerDAS, and EOA-to-contract delegation via EIP-7702 (Pectra, May 2025).

Key Features

  • Proof-of-Stake Consensus: Secured by ~1M validators via the beacon chain since The Merge (September 2022)
  • 12-Second Block Time: One block per slot, with finality reached in two epochs (~13 minutes) under normal conditions
  • EIP-1559 Fee Market: Base fee + priority tip pricing with dynamic base-fee adjustment per block
  • EIP-4844 Blob Data Availability: Post-Fusaka, up to 21 blobs per block enable L2 rollups to post compressed batches at low cost
  • EIP-7702 Account Delegation: EOAs can temporarily execute smart-contract code, unlocking batching, gas sponsorship, and social recovery without wallet migration

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. The canonical and normative specification for Ethereum Virtual Machine (EVM) JSON-RPC methods is maintained and published solely through the official Ethereum Foundation documentation portal at ethereum.org. This resource is the sole authoritative reference implementation of the JSON-RPC 2.0 protocol for EVM-compatible execution clients.

Network Information

PropertyValue
Network NameEthereum
Chain ID1
Native CurrencyETH
Decimals18
Block Time~3 seconds
ConsensusProof of Stake (PoS)
EVM CompatibleYes

Base URL

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

Supported Networks

NetworkChain IDJSON-RPCWSSGraphQLMEV protected (WebSocket)MEV protected (JSON-RPC)MEV protected -RElay (JSON_RPC)Frankfurt, GermanyNew York, USASingapore, Singapore
Mainnet1✅✅✅✅✅✅✅✅✅
Hoodi17000✅✅✅❌❌❌✅✅✅
Sepolia11155111✅✅✅❌❌❌✅❌❌

Quickstart

  1. Setup project

    Create and initialize a new project:

    bashmkdir eth-api-quickstart
    cd eth-api-quickstart
    npm init --yes
  2. Install Axios

    bashnpm install axios
  3. Create file

    Create a new file named index.js. This is where you will make your first call.

  4. Set ES module type

    Set the ES module "type": "module" in your package.json.

  5. Add code

    Add the following code to index.js:

    index.js

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

    Replace <ACCESS-TOKEN> with your actual GetBlock access token.

  6. Run the script

    bashnode index.js

    Expected output (example):

    json{
        "jsonrpc": "2.0",
        "result": "0x1",
        "id": "getblock.io"
    }
  1. Set up the project directory

    bashmkdir eth-api-quickstart
    cd eth-api-quickstart
  2. Create and activate a virtual environment

    bashpython -m venv venv
    source venv/bin/activate
    
    # On Windows, use:
    venv\Scripts\activate
  3. Install requests

    bashpip install requests
  4. Create script

    Create a file called main.py with the following content:

    main.py

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

    Replace <ACCESS-TOKEN> with your actual GetBlock access token.

  5. Run the script

    bashpython main.py

Available Methods

Chain & Client Info

MethodDescription
web3_clientVersionClient software version identifier
web3_sha3Keccak-256 hash of hex-encoded data
net_versionNetwork ID (decimal string)
net_listeningWhether the node is listening for P2P connections
net_peerCountNumber of connected peers
eth_chainIdChain ID per EIP-155
eth_blockNumberCurrent chain tip block number
eth_syncingSync status (or false if fully synced)

Gas & Fees

MethodDescription
eth_gasPriceLegacy gas price estimate (wei)
eth_maxPriorityFeePerGasSuggested EIP-1559 priority fee (wei)
eth_blobBaseFeeCurrent blob base fee for EIP-4844 blob transactions
eth_feeHistoryHistorical base fees + priority-fee percentiles

Account & State

MethodDescription
eth_getBalanceETH balance of an address at a given block
eth_accountsAccounts owned by the client (returns [] on public RPC)
eth_getStorageAtValue at a specific storage slot of a contract
eth_getTransactionCountAddress nonce (transaction count)
eth_getCodeDeployed bytecode at an address
eth_getProofMerkle-Patricia proof for account and storage slots

Blocks

MethodDescription
eth_getBlockByHashBlock data by block hash
eth_getBlockByNumberBlock data by block number or tag
eth_getBlockTransactionCountByHashTransaction count in a block, by hash
eth_getBlockTransactionCountByNumberTransaction count in a block, by number
eth_getBlockReceiptsAll transaction receipts for a block

Transactions

MethodDescription
eth_getTransactionByHashTransaction data by transaction hash
eth_getTransactionByBlockHashAndIndexTransaction by block hash and index
eth_getTransactionByBlockNumberAndIndexTransaction by block number and index
eth_getTransactionReceiptTransaction receipt (status, gas, logs)

Execution & Simulation

MethodDescription
eth_callExecute a message call without a transaction
eth_estimateGasEstimate gas required to execute a transaction
eth_createAccessListCompute an EIP-2930 access list for a transaction
eth_simulateV1Simulate a bundle of transactions against a block

Filters & Logs

MethodDescription
eth_newFilterCreate a log filter with address+topic criteria
eth_newBlockFilterCreate a filter for new block hashes
eth_newPendingTransactionFilterCreate a filter for pending transaction hashes
eth_uninstallFilterRemove a previously created filter
eth_getFilterChangesPoll new entries for a filter since last poll
eth_getFilterLogsGet all matching logs for a log filter
eth_getLogsQuery logs matching criteria (one-shot)

Transaction Submission

MethodDescription
eth_sendRawTransactionSubmit a signed transaction to the network

WebSocket Subscriptions

MethodDescription
eth_subscribeSubscribe to newHeads, logs, newPendingTransactions, or syncing
eth_unsubscribeCancel a subscription

RPC Module Discovery

MethodDescription
rpc_modulesList available RPC modules and their versions

Debug & Trace

MethodDescription
debug_accountRangeEnumerate accounts from the state trie
debug_batchSendRawTransactionSubmit multiple signed transactions in one call
debug_getBadBlocksList recently rejected invalid blocks
debug_storageRangeAtEnumerate storage slots of a contract
debug_traceBlockTrace execution of a block by RLP
debug_traceBlockByHashTrace all transactions in a block by hash
debug_traceBlockByNumberTrace all transactions in a block by number
debug_traceCallTrace a simulated message call
debug_traceTransactionTrace execution of a mined transaction

Support

For technical support and questions:

See Also