#blockchain #celestia #lumina

celestia-rpc

A collection of traits for interacting with Celestia data availability nodes RPC

27 releases (15 breaking)

Uses new Rust 2024

new 1.0.0-rc.2 Feb 26, 2026
0.16.2 Jan 27, 2026
0.15.0 Nov 21, 2025
0.11.3 Jul 29, 2025
0.1.1 Jan 15, 2024

#165 in Magic Beans

Download history 3073/week @ 2025-11-06 2494/week @ 2025-11-13 2933/week @ 2025-11-20 2099/week @ 2025-11-27 2055/week @ 2025-12-04 2621/week @ 2025-12-11 1611/week @ 2025-12-18 1093/week @ 2025-12-25 1609/week @ 2026-01-01 2831/week @ 2026-01-08 2097/week @ 2026-01-15 3144/week @ 2026-01-22 2155/week @ 2026-01-29 2168/week @ 2026-02-05 2079/week @ 2026-02-12 2698/week @ 2026-02-19

9,783 downloads per month
Used in 5 crates

Apache-2.0

775KB
15K SLoC

Celestia RPC

A collection of traits for interacting with Celestia data availability nodes RPC.

This crate builds on top of the jsonrpsee clients.

use celestia_rpc::{BlobClient, Client, TxConfig};
use celestia_types::{AppVersion, Blob, nmt::Namespace};

async fn submit_blob() {
    // create a client to the celestia node
    let token = std::env::var("CELESTIA_NODE_AUTH_TOKEN").expect("Token not provided");
    let client = Client::new("ws://localhost:36658", Some(&token), None, None)
        .await
        .expect("Failed creating rpc client");

    // create a blob that you want to submit
    let my_namespace = Namespace::new_v0(&[1, 2, 3, 4, 5]).expect("Invalid namespace");
    let blob = Blob::new(
        my_namespace,
        b"some data to store on blockchain".to_vec(),
        None,
        AppVersion::latest(),
    )
        .expect("Failed to create a blob");

    // submit it
    client.blob_submit(&[blob], TxConfig::default())
        .await
        .expect("Failed submitting the blob");
}

Dependencies

~23–42MB
~586K SLoC