For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

0G


0G API is available on Web3 API platform.

0G Chain is a highly scalable, AI-optimized L1 blockchain designed to meet the needs of data-heavy applications. Built with a modular architecture, it allows for the independent optimization of key components like consensus, execution, and storage — making it ideal for AI-driven workflows. 0G is fully EVM-compatible, so decentralized applications (dApps) already deployed on other L1 or L2 chains (such as Ethereum or rollups) can easily leverage 0G's products without needing to migrate entirely.

0G Chain supports a data availability network, distributed storage network, and AI compute network. All of these networks integrate with 0G Chain's highly scalable consensus network, built to handle massive data volumes suitable for AI.

In order for your Web3 application to interact with 0G — either by reading blockchain data or sending transactions to the network — it must connect to an 0G node. Developers interact with the blockchain using the methods provided by the API.

We support the following networks and protocols for 0G:

Responses come in JSON format.

EVM JSON-RPC methods


Tendermint JSON-RPC/REST methods

Info — node information:

Tx — transactions broadcast information:

  • broadcast_tx_sync — returns with the response from CheckTx. Does not wait for DeliverTx result.
  • broadcast_tx_async — returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.
  • broadcast_tx_commit — returns with the responses from CheckTx and DeliverTx.
  • check_tx — checks the transaction without executing it.

ABCI — ABCI info:

  • abci_info — retrieves info about the application.
  • abci_query — queries the application for some information.

Beaconkit REST methods

Methods

Methods

Information, Transactions, ABCI, Methods