Getting started | Optimism

Chainstack runs op-geth for regional elastic nodes and op-erigon for global elastic node. See also Clients.

πŸ‘

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

This page provides an overview of the available methods on the Chainstack Optimism nodes. Go ahead an try the interactive examples as well.

The table has three columns:

  • Method β€” method name.
  • Availability β€” out of the box on a regional or global node, or on request on a dedicated node since it requires customization.

πŸ“˜

The list may not be comprehensive but serves as guidance. In general, if the method is available in op-gethor in op-erigonand it's an eth_ method, then it's available on your Chainstack node.

If there's a method missing, you are unsure, or just have any questions, talk to us. We love talking to developers πŸ’™πŸ› οΈ.

MethodAvailability in regional elastic nodesAvailability in global elastic nodesComments
eth_getBlockByHashβœ…βœ…
eth_getBlockByNumberβœ…βœ…
eth_getBlockTransactionCountByHashβœ…βœ…
eth_getBlockTransactionCountByNumberβœ…βœ…
eth_getUncleCountByBlockHashβœ…βœ…
eth_getUncleCountByBlockNumberβœ…βœ…
eth_getBlockReceiptsβŒβœ…This an op-erigon method.
eth_chainIdβœ…βœ…
eth_syncingβœ…βœ…
eth_blockNumberβœ…βœ…
eth_accountsβœ…Returns list of accounts stored on the node. Will always return empty because Chainstack doesn't store any.
eth_callβœ…βœ…
eth_estimateGasβœ…βœ…
eth_createAccessListβœ…βœ…
eth_gasPriceβœ…βœ…
eth_feeHistoryβœ…βœ…
eth_newFilterβœ…βœ…
eth_newBlockFilterβœ…βœ…
eth_newPendingTransactionFilterβœ…βœ…Subsequent eth_getFilterChanges will always return empty because the Optimism mempool is private.
eth_uninstallFilterβœ…βœ…
eth_getFilterChangesβœ…βœ…
eth_getFilterLogsβœ…βœ…
eth_getLogsβœ…βœ…
eth_getBalanceβœ…βœ…
eth_getStorageAtβœ…βœ…
eth_getTransactionCountβœ…βœ…
eth_getCodeβœ…βœ…
eth_getProofβœ…βœ…
eth_getTransactionByHashβœ…βœ…
eth_getRawTransactionByHashβœ…βœ…
eth_getTransactionByBlockHashAndIndexβœ…βœ…
eth_getRawTransactionByBlockHashAndIndexβœ…βœ…
eth_getTransactionByBlockNumberAndIndexβœ…βœ…
eth_getRawTransactionByBlockNumberAndIndexβœ…βœ…
eth_getTransactionReceiptβœ…βœ…
eth_subscribeβœ…βœ…
eth_unsubscribeβœ…βœ…
eth_maxPriorityFeePerGasβœ…βœ…
eth_sendRawTransactionβœ…βœ…
web3_clientVersionβœ…βœ…
web3_sha3βœ…βœ…
net_listeningβœ…βœ…
net_peerCountβœ…βœ…Will always return 0x0 on op-geth and op-erigon. The p2p networking is done on the op-node, which does not have an endpoint exposed. See also OP issue 5745.
net_versionβœ…βœ…
eth_callManyβŒβœ…This is anop-erigon method.
debug_getModifiedAccountsByNumberβŒβœ…Enable debug and trace APIs.
debug_getModifiedAccountsByHashβŒβœ…Enable debug and trace APIs.
debug_storageRangeAtβŒβœ…Enable debug and trace APIs.
debug_traceBlockByHashβŒβœ…Enable debug and trace APIs.
debug_traceBlockByNumberβŒβœ…Enable debug and trace APIs.
debug_traceTransactionβŒβœ…Enable debug and trace APIs.
debug_traceCallβŒβœ…Enable debug and trace APIs.
debug_traceCallManyβŒβœ…This is an op-erigon method.
admin_nodeInfoCan be enabled on dedicated node.
admin_peersCan be enabled on dedicated node.
admin_addPeerCan be enabled on dedicated node.