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

Supported Chains: 0G-B (1/3)

Supported chains 0G-B on the Web3 API platform. See the full chain list for every network.

Part 1 of 3: 1 · 2 · 3

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.

Official quick links: Website, Docs, GitHub

Networks​

  • Mainnet:
    • EVM JSON-RPC API (HTTPS and WSS)
    • Beaconkit REST API (HTTPS)

API methods​

For 0G, we support blockchain interaction via all the applicable methods.

API querying​

EVM JSON-RPC​

curl -X POST https://rpc.ankr.com/0g_mainnet_evm/YOUR_ANKR_API_KEY \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'

Beaconkit REST​

curl https://rpc.ankr.com/premium-http/0g_mainnet_beaconkit/YOUR_ANKR_API_KEY/eth/v1/node/version

Aptos​


tip

Available for Freemium and Premium users.

Aptos API is available on Web3 API platform.

The Aptos blockchain, designed with scalability, safety, reliability, and upgradability as key principles, to address blockchain challenges, such as frequent outages, high costs, low throughput limits, and security concerns. The Aptos blockchain has been developed over the past three years by over 350+ developers across the globe. It offers new and novel innovations in consensus, smart contract design, system security, performance, and decentralization. The combination of these technologies will provide a fundamental building block to bring web3 to the masses.

Official quick links: Website, Docs, GitHub

Networks​

  • Mainnet (HTTPS)
  • Testnet (HTTPS)

API methods​

For Aptos, we support blockchain interaction via all the applicable methods except for those listed as unsupported.

Unsupported​

warning

This section contains a list of methods we don't support for Premium service plan.

tip

If you require any of the methods from the list, contact our Sales (sales@ankr.com) about moving to the Enterprise service plan that can provide the services tailored to your specific needs.

/v1/spec, /v1/-/healthy

API querying​

Request example​

curl -X GET https://rpc.ankr.com/premium-http/aptos/{your_token}/v1/ \
-H 'Content-Type: application/json'

Response example​

{
"chain_id": 0,
"epoch": "32425224034",
"ledger_version": "32425224034",
"oldest_ledger_version": "32425224034",
"ledger_timestamp": "32425224034",
"node_role": "validator",
"oldest_block_height": "32425224034",
"block_height": "32425224034",
"git_hash": "string"
}

Arbitrum​


tip

Available for Freemium and Premium users.

Arbitrum API is available on Web3 API platform.

Arbitrum is a side chain that runs parallel to Ethereum Mainnet. Also known as a Layer 2 (L2) scaling solution, Arbitrum improves transaction speeds and cost compared to the mainnet, making it an excellent solution for Ethereum developers.

By the Arbitrum we mean Arbitrum One which is the flagship Arbitrum mainnet chain; it is an Optimistic Rollup chain running on top of Ethereum Mainnet, and is open to all users. In an upgrade on 8/31, the Arbitrum One chain was upgraded to use the Nitro tech stack, maintaining the same state.

Official quick links:

Networks​

  • Mainnet (HTTPS and WSS)
  • Testnet (HTTPS and WSS)

API methods​

For Arbitrum, we support blockchain interaction via all the applicable methods except for those listed as unsupported.

Unsupported​

warning

This section contains a list of methods we don't support for Premium service plan.

tip

If you require any of the methods from the list, contact our Sales (sales@ankr.com) about moving to the Enterprise service plan that can provide the services tailored to your specific needs.

HTTPS:

eth_newFilter, eth_getFilterChanges, eth_coinbase, eth_hashrate, eth_mining, eth_getWork,eth_submitWork, eth_submitHashrate, net_peerCount, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_uninstallFilter, eth_getFilterLogs,

debug_* (exception: debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceTransaction, debug_traceCall, debug_traceBlock),

personal_*, admin_*, clique_*, les_*, miner_*, engine_*, parity_*

WSS:

txpool_content, txpool_inspect, txpool_status, txpool_contentFrom

API querying​

warning

Public service plan has a 2MB request body limit. Use Premium instead for requests exceeding that limit.

Request example​

curl -X POST https://rpc.ankr.com/arbitrum/{your_token} \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'

Response example​

{
"jsonrpc":"2.0",
"id":1,
"result":"0x2484729"
}