Moca Chain

Moca Chain is an EVM-compatible Layer 1 for decentralized identity, built on the Cosmos SDK with an evmOS-based EVM and CometBFT consensus.

Moca Chain combines the Cosmos SDK with an EVM based on evmOS that supports the London instruction set plus selected Shanghai opcodes, so Solidity contracts and Ethereum wallets work with little change, and CometBFT consensus gives single-block finality. Addresses use the 0x EVM format, MOCA pays transaction fees and is used for governance, and mainnet uses EVM chain ID 2288. Identity features include verification programs backed by zero-knowledge proofs.

Plans, pricing and dedicated nodes: Moca Chain RPC nodes on tatum.io. Network tiers: Supported Blockchains. Chain documentation: Moca Chain official website.

Moca Chain RPC at a glance

Networks Mainnet and Testnet
Chain ID Mainnet 2288 (0x8f0) · Testnet 222888 (0x366a8)
Interfaces JSON-RPC
Supported methods 53 · JSON-RPC methods
Debug and trace methods Available on Mainnet and Testnet
Native token MOCA
Authentication API key in the x-api-key header, see Authentication

Moca Chain RPC endpoints

Moca Chain (MOCA) RPC networks

↳ JSON-RPC
https://mocachain-mainnet.gateway.tatum.io
↳ JSON-RPC
https://mocachain-testnet.gateway.tatum.io

Get the latest Moca Chain block

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

Get the Moca Chain node version

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

Test Moca Chain RPC methods in Postman

The Moca Chain Postman collection has a ready request for the supported methods. Import it, set the gateway-api-key variable of the Tatum Gateway environment to your API key from Tatum Dashboard, and send any request.

Available Moca Chain interfaces and methods

Each Moca Chain network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:

  • /_methods – machine-readable list of interfaces and methods
  • /llms.txt – human- and AI-readable documentation context
Moca Chain Mainnet

JSON-RPC

Base URL: https://mocachain-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • 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_listening
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion
Moca Chain Testnet

JSON-RPC

Base URL: https://mocachain-testnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • 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_listening
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion

Method unavailable?

If you need a method we don't support yet, please contact our support.
We'd be happy to assist.

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