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:
- High reliability – globally distributed infrastructure designed to minimize downtime
- Enhanced performance – optimized latency and request handling for production applications
- Integrated ecosystem – additional functionality through Quicknode add-ons and products like Streams
Visit the QuickStart page to create your endpoint and send your first request.
支援的網路
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
透過身分驗證、白名單機制及最佳安全實務,確保您的端點安全。