Unichain

Unichain is an EVM-equivalent Ethereum Layer 2 built by Uniswap Labs on the OP Stack as part of the Superchain, and it uses ETH as its gas token.

Unichain is an OP Stack rollup that settles to Ethereum and shares standards and tooling with other Superchain networks. It uses Ethereum's account model and 0x addresses, pays gas in ETH, and nodes expose the standard Ethereum JSON-RPC API, so existing Ethereum contracts and libraries work with minimal changes. Flashblocks give transaction preconfirmations faster than the regular block time.

Unichain RPC endpoints

NetworkInterfaceEndpoint
MainnetJSON-RPChttps://unichain-mainnet.gateway.tatum.io
SepoliaJSON-RPChttps://unichain-sepolia.gateway.tatum.io

HTTP requests take your API key in the x-api-key header. See Authentication.

For example, this request sends eth_blockNumber to Unichain Mainnet through the JSON-RPC interface:

curl 'https://unichain-mainnet.gateway.tatum.io' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Don't have an API key?

Sign up to Dashboard and create your API keys today. Get higher limits and use debugging tools.

Get API keyFor free. No commitment.

Unichain RPC at a glance

  • Networks: Mainnet (Tier 2) and Sepolia (Tier 3)
  • Chain ID: Mainnet 130 (0x82) · Sepolia 1301 (0x515)
  • Interfaces: JSON-RPC
  • Supported methods: 43 · JSON-RPC methods
  • Debug and trace methods: Available on Mainnet and Sepolia
  • Native token: ETH
  • Block explorers: Mainnet · Sepolia
  • Network status: Mainnet · Sepolia
  • Authentication: API key in the x-api-key header, see Authentication

Try Unichain RPC

Get the latest Unichain block

Sends eth_blockNumber to Unichain Mainnet through Tatum RPC Gateway and shows the latest block number.

Get the Unichain node version

Sends web3_clientVersion to Unichain Mainnet through Tatum RPC Gateway and shows the node version and status.

To try more Unichain methods, open the Unichain Postman collection, set the gateway-api-key variable of the Tatum Gateway environment to your API key, and send any request.

Unichain RPC methods

Methods each Unichain interface supports, listed live from Tatum RPC Gateway.

JSON-RPC

43 methods on Mainnet and Sepolia. What each one does: Unichain JSON-RPC methods.

  • debug_* (7): debug_getBadBlocks, debug_storageRangeAt, debug_traceBlock, debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction
  • eth_* (32): eth_blockNumber, eth_call, eth_callMany, eth_chainId, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_signTypedData, eth_signTypedData_v3, eth_simulateV1, eth_syncing
  • net_* (3): net_listening, net_peerCount, net_version
  • web3_* (1): web3_clientVersion

Every endpoint also lists its methods at runtime: /_methods (JSON) and /llms.txt (text), for example Unichain Mainnet /_methods.

Method unavailable?

If you need a method we don't support yet, contact support.

Related

Testing without an API key? Free public endpoints are listed on Unichain RPC at FREERPC.com.