Docs
Docs
Home
Getting Started
Agent Tooling
CLI
Supported Chains
Acala
Aptos
Arbitrum
Arc
Asset Hub
Astar
Avalanche
Base
Berachain
Bifrost
Binance Smart Chain
Bittensor
Blast
Boba Network
Bridge Hub
Celo
Centrifuge
Chiliz
Cronos
Enjin
Ethereum
Etherlink
Flow EVM Gateway
Gnosis
Hydration
Hyperliquid
Immutable
Ink
IoTeX
Kusama
Linea
LISK
Manta Atlantic
Manta Pacific
Mantle
MegaETH
Monad
Movement
Neuroweb
opBNB
Optimism
Plasma
Polkadot
Polygon
Pulsechain
Robinhood
Ronin
Scroll
Sonic
Starknet
Taiko
Tempo
Sui
TRON
Unichain
Viction
World Chain
XDC Network
XX Network
Zetachain
zkSync Era
Zora
Supported Chains

ZetaChain - Omnichain Smart Contract Platform

Access ZetaChain's omnichain smart contract platform through Dwellir's high-performance RPC endpoints. Build cross-chain dApps with seamless interoperability.

Zetachain RPC endpoint: endpoint URLs, plans and pricing.

ZetaChain icon

ZetaChain RPC

With Dwellir, you get access to our global ZetaChain network which always routes your API requests to the nearest available location, ensuring low latency and the fastest speeds.

Get your API key

ZetaChain RPC plans and rate limits

  • Free plan: 20 responses per second, up to 100,000 responses a day.
  • Plans: $49/mo, $299/mo, $999/mo with 25M, 150M, and 500M included responses. Overages billed at $5/$3/$2 per million responses respectively.
  • Paid rate limits: 100 to 5,000 responses per second (bursts from 500 to 10,000), no daily limit.
  • Billing: 1 response = 1 API credit on every shared plan, over HTTPS or WebSocket (WSS) where ZetaChain supports it.

Details: Pricing · Rate limits · Authentication · Archive nodes

What is ZetaChain?

ZetaChain is the foundational layer for universal blockchain interoperability, enabling omnichain smart contracts and messaging between any blockchain. As a Proof-of-Stake blockchain built on Cosmos SDK and Tendermint consensus, ZetaChain connects all blockchains, including Bitcoin, Ethereum, and other chains without smart contracts.

Key Features

  • ** Universal Connectivity** - Connect to any blockchain, including Bitcoin and non-smart contract chains
  • ** Omnichain Smart Contracts** - Deploy contracts that can read and write to multiple chains
  • ** Native Cross-Chain Swaps** - Swap assets across chains without wrapped tokens
  • ** Decentralized Security** - Secured by a decentralized network of validators
  • ** High Performance** - Fast finality with 6-second block times
  • ** EVM Compatible** - Full Ethereum compatibility for easy dApp migration

Why Choose ZetaChain?

For Cross-Chain Developers

ZetaChain revolutionizes cross-chain development with its unique omnichain smart contract capability:

  • Single Contract, Multiple Chains - Write once, interact with all chains
  • Native Asset Support - Handle native tokens without wrapping
  • Simplified Architecture - No bridges or wrapped tokens needed
  • Universal Messaging - Send messages and data between any chains

For DeFi Builders

Build truly interoperable DeFi applications:

  • Cross-Chain Liquidity - Access liquidity from multiple chains
  • Omnichain DEXs - Trade assets across chains seamlessly
  • Multi-Chain Yield - Optimize yields across different blockchains
  • Universal Wallets - One address for all chains

For NFT Projects

Create omnichain NFT experiences:

  • Cross-Chain NFTs - NFTs that exist across multiple chains
  • Multi-Chain Marketplaces - Buy and sell NFTs from any chain
  • Interoperable Gaming - Game assets usable across different chains

Quick Start with ZetaChain

Connect to ZetaChain in seconds with Dwellir's optimized endpoints:

ZetaChain iconZetaChain RPC Endpoints
HTTPS
curl -sS -X POST https://api-zetachain-mainnet.n.dwellir.com/<your-api-key> \  -H 'Content-Type: application/json' \  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Network Information

ParameterValueDetails
Chain ID7000 (0x1b58)
Native TokenZETA
Block Time6 seconds
ConsensusTendermint BFT

Installation & Setup

API Reference

Omnichain Smart Contracts

ZetaChain's unique omnichain smart contracts can interact with multiple blockchains:

solidity
// Example: Omnichain DEX Contract
pragma solidity 0.8.7;

import "@zetachain/protocol-contracts/contracts/zevm/SystemContract.sol";
import "@zetachain/protocol-contracts/contracts/zevm/interfaces/IZRC20.sol";

contract OmnichainDEX {
    SystemContract public systemContract;

    constructor(address systemContractAddress) {
        systemContract = SystemContract(systemContractAddress);
    }

    // Swap tokens across any chain
    function crossChainSwap(
        address zrc20From,
        address zrc20To,
        uint256 amount,
        bytes calldata recipient
    ) external {
        // Transfer from user
        IZRC20(zrc20From).transferFrom(msg.sender, address(this), amount);

        // Perform swap logic
        uint256 amountOut = calculateSwapAmount(zrc20From, zrc20To, amount);

        // Send to recipient on destination chain
        IZRC20(zrc20To).withdraw(recipient, amountOut);
    }
}

Cross-Chain Messaging

Send messages between any blockchains:

JavaScript
// Send cross-chain message from Ethereum to Bitcoin
const connector = new ethers.Contract(connectorAddress, connectorABI, signer);

const tx = await connector.send({
    destinationChainId: "18332", // Bitcoin testnet
    destinationAddress: bitcoinAddress,
    destinationGasLimit: 100000,
    message: ethers.utils.defaultAbiCoder.encode(
        ["string"],
        ["Hello from Ethereum!"]
    ),
    zetaValueAndGas: ethers.utils.parseEther("0.1"),
    zetaParams: "0x"
});

console.log('Cross-chain message sent:', tx.hash);

Available Methods

ZetaChain supports all standard Ethereum JSON-RPC methods:

Core Methods

  • eth_blockNumber - Get the latest block number
  • eth_call - Execute a smart contract call
  • eth_chainId - Get the chain ID (7000)
  • eth_getBalance - Query account balance

Transaction Methods

  • eth_sendRawTransaction - Send signed transactions
  • eth_getTransactionByHash - Get transaction details
  • eth_getTransactionReceipt - Get transaction receipt
  • eth_estimateGas - Estimate gas for transactions

Block Methods

  • eth_getBlockByNumber - Get block by number
  • eth_getBlockByHash - Get block by hash

Smart Contract Methods

  • eth_getCode - Get contract bytecode
  • eth_getStorageAt - Read contract storage

Event Methods

  • eth_getLogs - Query event logs
  • eth_newFilter - Create event filter (documentation coming soon)

Rate Limits & Performance

Endpoint Performance

  • Throughput: 10,000+ requests/second
  • Latency: < 50ms average response time
  • Uptime: 99.99% SLA guarantee
  • Geographic Distribution: Global edge locations

Rate Limiting Tiers

TierRequests/SecondMonthly RequestsSupport
Free251MCommunity
Developer10010MEmail
Professional500100MPriority
EnterpriseCustomUnlimited24/7 Dedicated

Developer Resources

Official Documentation

  • ZetaChain Docs - Official documentation
  • GitHub - Source code and examples
  • Explorer - Block explorer

SDK & Tools

  • @zetachain/toolkit - JavaScript SDK
  • @zetachain/protocol-contracts - Smart contract interfaces
  • Hardhat Template - Starter template

Community & Support

  • Discord - Developer community
  • Twitter - Latest updates
  • Telegram - Community chat

Best Practices

1. Connection Management

JavaScript
// Implement retry logic for resilience
async function createProvider() {
  const provider = new ethers.JsonRpcProvider(
    'https://api-zetachain-mainnet.n.dwellir.com/YOUR_API_KEY'
  );

  // Set custom timeout
  provider._getConnection().timeout = 10000;

  // Verify connection
  try {
    await provider.getNetwork();
    return provider;
  } catch (error) {
    console.error('Connection failed, retrying...');
    await new Promise(r => setTimeout(r, 1000));
    return createProvider();
  }
}

2. Gas Optimization

JavaScript
// Optimize gas for cross-chain transactions
async function estimateCrossChainGas(contract, method, params) {
  // Get current gas price
  const gasPrice = await provider.getGasPrice();

  // Estimate gas with buffer for cross-chain
  const estimatedGas = await contract.estimateGas[method](...params);
  const gasLimit = estimatedGas.mul(120).div(100); // 20% buffer

  return {
    gasLimit,
    gasPrice: gasPrice.mul(110).div(100) // 10% above current
  };
}

3. Event Monitoring

JavaScript
// Monitor cross-chain events efficiently
function watchCrossChainEvents(contract) {
  const filter = contract.filters.CrossChainCall();

  contract.on(filter, (from, to, amount, destinationChain, event) => {
    console.log(`Cross-chain transfer: ${from} → ${to}`);
    console.log(`Amount: ${amount}, Chain: ${destinationChain}`);
    console.log(`Transaction: ${event.transactionHash}`);
  });
}

Security Considerations

Cross-Chain Security

  • Always validate destination addresses
  • Implement proper access controls
  • Use time locks for large transfers
  • Monitor cross-chain message status

Smart Contract Best Practices

solidity
// Secure cross-chain transfer
modifier validateCrossChain(uint256 chainId) {
    require(
        systemContract.isValidChainId(chainId),
        "Invalid destination chain"
    );
    _;
}

function secureCrossChainTransfer(
    uint256 destinationChainId,
    bytes calldata recipient,
    uint256 amount
) external validateCrossChain(destinationChainId) {
    // Implementation
}

Need Help?

Email: support@dwellir.com Discord: Join our community More Docs: dwellir.com/docs

Start building omnichain dApps with ZetaChain today!

rpc_methods

List all available RPC methods on XX Network. Essential for API discovery, capability detection, and building dynamic tooling for Substrate-based chains.

eth_blockNumber

Get the current block height on Zetachain. Essential for syncing dApps, monitoring transaction confirmations, and blockchain state tracking.

On this page

ZetaChain RPC plans and rate limitsWhat is ZetaChain?Key FeaturesWhy Choose ZetaChain?For Cross-Chain DevelopersFor DeFi BuildersFor NFT ProjectsQuick Start with ZetaChainNetwork InformationInstallation & SetupAPI ReferenceOmnichain Smart ContractsCross-Chain MessagingAvailable MethodsCore MethodsTransaction MethodsBlock MethodsSmart Contract MethodsEvent MethodsRate Limits & PerformanceEndpoint PerformanceRate Limiting TiersDeveloper ResourcesOfficial DocumentationSDK & ToolsCommunity & SupportBest Practices1. Connection Management2. Gas Optimization3. Event MonitoringSecurity ConsiderationsCross-Chain SecuritySmart Contract Best PracticesNeed Help?