Gravity RPC
Gravity Overview
Gravity is a Layer-1 blockchain designed as an omnichain settlement layer that enables applications to execute user intents across multiple blockchains. The platform focuses on full-chain abstraction, aiming to conceal the complexity of cross-chain interactions for users and developers.
Gravity is fully EVM-compatible, allowing developers to deploy and interact with smart contracts using existing Ethereum development tools and practices. The platform targets use cases like intent-based transactions, gas abstraction for multi-chain operations, and omnichain applications.
Gravity Mainnet (L1)
The current Gravity Mainnet is an independent Layer-1 blockchain with chain ID 127001 (0x1f019). It runs on the Reth client and serves as the primary network for production deployments. This L1 architecture provides Gravity with full sovereignty over its consensus and execution layers.
Gravity Alpha Mainnet (Legacy L2)
Gravity Alpha Mainnet was the original network launched in August 2024 as an Arbitrum Nitro-based Layer-2 with chain ID 1625 (0x659), settling to Ethereum. This network has been superseded by the new Gravity L1 Mainnet. Developers with existing deployments on Alpha Mainnet should plan to migrate to the new L1 Mainnet.
Interacting with Gravity's APIs
Gravity supports standard Ethereum JSON-RPC methods, enabling developers to use Ethereum's native tools such as Hardhat, Foundry, and popular Web3 libraries without modification.
The Quicknode Gravity documentation is continuously evolving as the chain undergoes upgrades and changes, so we highly recommend cross-referencing with the official Gravity documentation for the latest updates and features.
Make Gravity API Calls
The quickest way to start building on Gravity is to create a Quicknode endpoint and send your first JSON-RPC request.
Quicknode provides managed Gravity endpoints, giving you immediate access to Gravity Mainnet without the overhead of running infrastructure. These endpoints offer:
- 高可靠性——全球分布式基础设施,旨在最大限度地减少停机时间
- 性能提升——针对生产级应用优化了延迟和请求处理
- Integrated ecosystem – additional functionality through Quicknode add-ons and products like Streams
请访问“快速入门”页面,创建您的endpoint 发送您的第一个请求。
支持的网络
Quicknode provides access to the following Gravity networks:
Complete reference for developers building on Gravity with Quicknode:
快速入门
Get started with Gravity quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
提供商端点
Learn how to configure and manage your Gravity endpoints for optimal performance and reliability.
API 概述
了解受支持的 API、网络、Quicknode 以及增强的 API 功能,用于构建功能强大的应用程序。
附加组件
Discover endpoint add-ons that extend your Gravity development workflow.
Endpoint
通过身份验证、白名单和最佳安全实践来保护您的终端设备。
错误代码
Understand common error codes and troubleshooting steps for Gravity API requests.