通过你现有的 Yellowstone gRPC 客户端,获取过去二十四小时的链上历史数据。按次回放计费。
sillage.sh 作为服务端,完整支持 Yellowstone gRPC 协议,无任何改动。你为 Triton、Helius 或自托管 Geyser 插件写过的代码,都能直接连接。传入一个起始 slot,数据流即从该位置开始。
use yellowstone_grpc_client::GeyserGrpcClient; let mut client = GeyserGrpcClient::build_from_shared( "https://yellowstone.helius-rpc.com", )? .x_token(Some(token))? .connect() .await?; let (_, stream) = client .subscribe_with_request(Some(req)) .await?;
use yellowstone_grpc_client::GeyserGrpcClient; let mut client = GeyserGrpcClient::build_from_shared( "https://replay.sillage.sh", )? .x_token(Some(token))? .connect() .await?; let (_, stream) = client .subscribe_with_request(Some(req.from_slot(312_840_000))) .await?;
use yellowstone_grpc_client::GeyserGrpcClient; let mut client = GeyserGrpcClient::build_from_shared( "https://replay.sillage.sh", )? .x_token(Some(token))? .connect() .await?; let (_, stream) = client .subscribe_with_request(Some(req.from_slot(312_840_000))) .await?;
Yellowstone 基于 pubkey 的过滤器可直接使用 —— 按特定程序或账户筛选交易,按特定 owner 筛选账户数据流。
let req = SubscribeRequest { transactions: hashmap! { "swaps".to_owned() => SubscribeRequestFilterTransactions { vote: Some(false), failed: Some(false), account_include: vec![JUPITER_V6.into()], ..Default::default() }, }, accounts: hashmap! { "pools".to_owned() => SubscribeRequestFilterAccounts { owner: vec![RAYDIUM_AMM.into()], ..Default::default() }, }, ..Default::default() };
每条消息都携带其接收时的时间戳,精度达 100 微秒。一笔在 slot 中第 24.3ms 落地的交易,会在回放中精确还原到 24.3ms。Slot 内排序、传播延迟、真实网络时间的纹理 —— 全部保留。
你的实时订阅收到的每条消息,都会在完整的 24 小时窗口内连续保留。无采样。无摘要。无格式转换。
从当前链顶端向前推算。连续滚动,而非按日历日切换。
Processed 级别的消息不保存 —— 太过短暂,在回放时无实际价值。
基于 program、account、signature 的 Roaring bitmap 索引,在读取任何消息字节之前完成解析。
持久化存储支持 range fetch。过滤后的回放仅读取匹配的字节。
其他服务商都把实时链上数据流做得很好。sillage.sh 提供的是相反的东西:24 小时的历史数据,同样的协议,按次回放计费。
| sillage.sh | Helius LaserStream | Triton Fumarole | QuickNode | |
|---|---|---|---|---|
| 回放窗口 | 24 小时 | 24 小时 | 4 天 | 约 20 分钟 |
| 定价 | 按次回放 | $999/月套餐* | $0.08/GB + 套餐 | 企业版 |
| 协议 | Yellowstone gRPC | Yellowstone gRPC | Yellowstone gRPC | Yellowstone gRPC |
| 时间戳精度 | 每条消息 | Slot 级 | Slot 级 | — |
从过去 24 小时内的任意 slot 回填新的索引。无需从快照重新同步。
查询历史交易流模式。同样的 Yellowstone 协议,只在读取时付费。
回放重组发生前的时间窗口以验证状态 —— 无需自己保存原始历史数据。
首批用户将获得过去 24 小时的交易、账户与区块数据流回放。优先邀请 bot 开发者、索引器开发者与研究者。