> For the complete documentation index, see [llms.txt](https://docs-rpc.crypto-chief.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-rpc.crypto-chief.com/chains/ethereum.md). Agents can also search and read this documentation through its [MCP server](https://docs-rpc.crypto-chief.com/~gitbook/mcp).

# Ethereum

Ethereum RPC on Crypto Chief — node access to the world's leading programmable blockchain and the birthplace of smart contracts. Method reference with examples.

<figure><img src="https://2009208810-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMsAt8nKCbZHDR0fe6EsD%2Fuploads%2FRnwaRGJwXKOui1Tysf8J%2Feth.svg?alt=media&amp;token=d30cc90c-2e32-4044-bb64-08b4e47fa1e3" alt=""><figcaption></figcaption></figure>

> Ethereum API is available on [Web3 API platform](https://crypto-chief.com/rpc/ethereum/).

*Ethereum* is the world's leading programmable blockchain and the birthplace of smart contracts. Launched in 2015 by Vitalik Buterin and contributors, it introduced a general-purpose virtual machine (EVM) that lets developers build decentralized applications entirely on-chain. In September 2022, Ethereum transitioned from proof-of-work to proof-of-stake through The Merge, cutting its energy consumption by over 99 % while preserving full EVM compatibility.

Every [Ethereum client](https://ethereum.org/developers/docs/nodes-and-clients/#execution-clients) implements the [JSON-RPC specification](https://www.jsonrpc.org/specification), exposing a uniform set of methods regardless of the underlying node software. JSON-RPC is a stateless, transport-agnostic protocol that encodes all requests and responses in JSON (RFC 4627), making it straightforward to integrate from any language or framework — MetaMask, ethers.js, web3.py, Hardhat, Foundry, and more.

#### Gossip, State, History

***

A handful of core JSON-RPC methods query data from the Ethereum network, and fall neatly into three main categories: Gossip, State, and History. Use the links in these sections to jump to each method, or use the table of contents to explore the whole list of methods.

#### Gossip methods

These methods track the head of the chain. This is how transactions make their way around the network, find their way into blocks, and how clients find out about new blocks.

* [`eth_blockNumber`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_blocknumber) — returns the number of most recent block.
* [`eth_sendRawTransaction`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls.md#eth_sendrawtransaction) — creates a new message call transaction or a contract creation for signed transactions.

#### State methods

Methods that report the current state of all the data stored. The "state" is like one big shared piece of RAM, and includes account balances, contract data, and gas estimations.

* [`eth_getBalance`](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state.md#eth_getbalance) — returns the balance of the account specified by address.
* [`eth_getStorageAt`](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state.md#eth_getstorageat) — returns the value from a storage position at an address specified.
* [`eth_getTransactionCount`](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state.md#eth_gettransactioncount) — returns the number of transactions sent from an address.
* [`eth_getCode`](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state.md#eth_getcode) — returns code at an address specified.
* [`eth_call`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls.md#eth_call) — executes a new message call immediately without creating a transaction on the blockchain.
* [`eth_estimateGas`](https://docs-rpc.crypto-chief.com/chains/ethereum/client-network-and-gas.md#eth_estimategas) — generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
* [`eth_simulateV1`](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state-part-2.md#eth_simulatev1) — simulates multiple blocks and transactions without creating transactions or blocks on the blockchain.

#### History methods

Fetches historical records of every block back to genesis. This is like one large append-only file, and includes all block headers, block bodies, uncle blocks, and transaction receipts.

* [`eth_getBlockTransactionCountByHash`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_getblocktransactioncountbyhash) — returns the number of transactions in a block specified by block hash.
* [`eth_getBlockTransactionCountByNumber`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_getblocktransactioncountbynumber) — returns the number of transactions in the block specified by number.
* [`eth_getUncleCountByBlockHash`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_getunclecountbyblockhash) — returns the number of uncles in a block specified by block hash.
* [`eth_getUncleCountByBlockNumber`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_getunclecountbyblocknumber) — returns the number of uncles in a block specified by block number.
* [`eth_getBlockByHash`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md#eth_getblockbyhash) — returns information for the block specified by block hash.
* [`eth_getBlockByNumber`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks-part-2.md#eth_getblockbynumber) — returns information for the block specified by block number.
* [`eth_getTransactionByHash`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls.md#eth_gettransactionbyhash) — returns information on a transaction specified by transaction hash.
* [`eth_getTransactionByBlockHashAndIndex`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls.md#eth_gettransactionbyblockhashandindex) — returns information on a transaction specified by block hash and transaction index position.
* [`eth_getTransactionByBlockNumberAndIndex`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls-part-2.md#eth_gettransactionbyblocknumberandindex) — returns information on a transaction by block number and transaction index position.
* [`eth_getTransactionReceipt`](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls-part-2.md#eth_gettransactionreceipt) — returns the receipt of a transaction by transaction hash.
* [`eth_getUncleByBlockHashAndIndex`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks-part-2.md#eth_getunclebyblockhashandindex) — returns information about an uncle of a block by hash and uncle index position.
* [`eth_getUncleByBlockNumberAndIndex`](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks-part-2.md#eth_getunclebyblocknumberandindex) — returns information about an uncle of a block by number and uncle index position.

#### In this section

* [Client, network and gas](https://docs-rpc.crypto-chief.com/chains/ethereum/client-network-and-gas.md)
* [Accounts and state](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state.md)
* [Accounts and state (part 2)](https://docs-rpc.crypto-chief.com/chains/ethereum/accounts-and-state-part-2.md)
* [Blocks](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks.md)
* [Blocks (part 2)](https://docs-rpc.crypto-chief.com/chains/ethereum/blocks-part-2.md)
* [Transactions and calls](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls.md)
* [Transactions and calls (part 2)](https://docs-rpc.crypto-chief.com/chains/ethereum/transactions-and-calls-part-2.md)
* [Logs, filters and tracing](https://docs-rpc.crypto-chief.com/chains/ethereum/logs-filters-and-tracing.md)
