> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimism (ETH) Overview

Optimism is an EVM-compatible mainnet. Its ticker symbol is `ETH`. Use Uniblock's JSON-RPC endpoint to read chain state, send transactions, and interact with smart contracts through a single API surface across providers.

## Connect to Optimism

Send JSON-RPC requests with `POST` to:

`https://api.uniblock.dev/uni/v1/json-rpc?chainId=10`

Include the JSON-RPC method and parameters in the request body.

### Example request

Make a simple `eth_blockNumber` request with cURL:

```bash theme={null}
curl --request POST 'https://api.uniblock.dev/uni/v1/json-rpc?chainId=10' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: YOUR_UNIBLOCK_API_KEY' \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

| Network | Symbol | Type | Chain ID |
| - | - | - | - |
| Optimism | `ETH` | Mainnet | `10` |
| Optimism Sepolia | `ETH` | Testnet | `11155420` |

## API reference

Browse the available method groups for this chain:

* [Debug](https://docs.uniblock.dev/reference/jsonrpc/10/debug/debug-account-range.md)
* [Erigon](https://docs.uniblock.dev/reference/jsonrpc/10/erigon/erigon-block-number.md)
* [EVM](https://docs.uniblock.dev/reference/jsonrpc/10/evm/eth-accounts.md)
* [Otterscan](https://docs.uniblock.dev/reference/jsonrpc/10/otterscan/ots-get-api-level.md)
* [Trace](https://docs.uniblock.dev/reference/jsonrpc/10/trace/trace-block.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.