跳至主要內容

0G RPC

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

What is 0G?

0G Chain is a cutting-edge, AI-focused Layer 1 blockchain designed for data-intensive applications. Built on a modular architecture, 0G separates consensus, execution, and storage, enabling flexible optimization of each component to deliver scalability for AI-driven workloads.

0G offers full EVM compatibility at the bytecode level, making it straightforward for Ethereum applications to migrate without changes. The network uses CometBFT (a Tendermint-based BFT consensus mechanism) to achieve fast finality, high throughput, and low latency. Security is ensured through a decentralized validator set and standard cryptographic guarantees.

Gas fees are paid in the native 0G token, and the chain supports Ethereum transaction formats, including EIP-1559-style transactions, ensuring a smooth developer and user experience.

Interacting with 0G

0G nodes expose a JSON-RPC interface that offers extensive compatibility with Ethereum's API while adding 0G-specific functionality. This makes it straightforward to migrate most Ethereum applications with minimal changes.

透過此 API,您可以:

  • Execute standard Ethereum JSON-RPC methods such as eth_call, eth_sendTransaction, and eth_getBalance
  • Use debug and trace methods (where enabled) for advanced blockchain analysis
  • 透過 WebSocket 連線訂閱即時事件
  • Access 0G-specific endpoints for querying modular components like consensus or data storage

您可以透過以下方式存取 API:

  • Using a hosted provider such as a Quicknode 0G endpoint, which delivers low-latency global access, archive data, and enhanced reliability out of the box

支援的網路

Quicknode provides access to the following 0g networks:

主網
類型:製作
HTTP:
WSS:
檔案:
修剪:
伽利略測試網
類型:測試網
HTTP:
WSS:
檔案:
修剪:
分享這份文件