0G RPC
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.
Com esta API, pode:
- 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
- Subscrever eventos em tempo real através de ligações WebSocket
- Access 0G-specific endpoints for querying modular components like consensus or data storage
Pode aceder à API da seguinte forma:
- 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
Redes compatíveis
Quicknode provides access to the following 0g networks:
Complete reference for developers building on 0g with Quicknode:
Início Rápido
Get started with 0g quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
Pontos de acesso do prestador
Learn how to configure and manage your 0g endpoints for optimal performance and reliability.
Visão geral da API
Explore as APIs suportadas, as redes, os produtos Quicknode e as funcionalidades avançadas das APIs para criar aplicações poderosas.
Mercado
Descubra e integre complementos e ferramentas poderosas do Quicknode Marketplace para melhorar as suas aplicações web3.
Segurança de terminais
Proteja os seus terminais através da autenticação, da criação de listas de autorização e das melhores práticas de segurança.
Códigos de erro
Understand common error codes and troubleshooting steps for 0g API requests.