Celestia RPC
《Celestia
Celestia is a modular blockchain network that separates data availability and consensus from execution. This design allows developers to launch their own blockchains without needing to bootstrap a validator set or compromise on scalability.
The network consists of two main components:
-
Data Availability Layer: Celestia's core function is ensuring that transaction data is accessible and verifiable by anyone. It uses Data Availability Sampling (DAS), which allows light nodes to verify data without downloading entire blocks.
-
Consensus Layer: Built on the Cosmos SDK with a modified Tendermint consensus mechanism, Celestia orders and publishes transactions while leaving execution to rollups and other chains built on top.
Celestia uses TIA as its native token for paying data availability fees, staking, and governance. The network operates on a Proof-of-Stake consensus mechanism.
Interacting with Celestia APIs
Celestia provides a JSON-RPC API through its celestia-node client. This API allows direct interaction with Celestia's Data Availability layer for operations like submitting blobs, querying headers, and managing shares.
Celestia also exposes Cosmos REST APIs and Tendermint RPC methods for querying blockchain state and consensus information. The modular design means that execution happens on rollups and other chains that use Celestia for data availability, while Celestia itself focuses on consensus and data availability functions.
The Quicknode Celestia documentation is continuously evolving as the chain undergoes upgrades and changes, so we highly recommend cross-referencing with the official Celestia documentation for the latest updates and API details.
Make Celestia API Calls
The quickest way to start building with Celestia is to create a Quicknode endpoint and send your first JSON-RPC request.
Quicknode provides managed Celestia endpoints, giving you immediate access to Celestia Mainnet and Testnet without the overhead of running infrastructure. These endpoints offer:
- 高可靠性——全球分布式基础设施,旨在最大限度地减少停机时间
- Enhanced performance – optimized latency and request handling for production applications
- Integrated ecosystem – additional functionality through Quicknode add-ons and products like Streams
请访问“快速入门”页面,创建您的endpoint 发送您的第一个请求。
支持的网络
Quicknode provides access to the following Celestia networks:
To query historical data, use the x-cosmos-block-height header with REST API requests or specify the height parameter with Tendermint API requests:
Cosmos REST API Example:
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/cosmos/bank/v1beta1/balances/celestia1cwhxmw9kaz72nhdsuqvk6ljf9dzes8kg7ysg9d' \
--header 'x-cosmos-block-height: 1000000'
Tendermint API Example:
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/block?height=1000000'
Complete reference for developers building on Celestia with Quicknode:
快速入门
Get started with Celestia 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 Celestia endpoints for optimal performance and reliability.
API 概述
了解受支持的 API、网络、Quicknode 以及增强的 API 功能,用于构建功能强大的应用程序。
附加组件
Discover endpoint add-ons that extend your Celestia development workflow.
Endpoint
通过身份验证、白名单和最佳安全实践来保护您的终端设备。