data

Reads Stellar chain state via RPC and Horizon for analytics.

9|66|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/salazarsebas/Cougr --skill data-salazarsebas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data
Source: https://github.com/salazarsebas/Cougr/tree/main/.claude/skills/data
Command: npx skills add https://github.com/salazarsebas/Cougr --skill data-salazarsebas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading Stellar chain state efficiently and reliably requires using multiple APIs and understanding migration paths. This Skill provides a unified approach to accessing on-chain data via Stellar RPC (preferred) and Horizon (legacy), covering balances, transactions, ledgers, operations, and contract events to support analytics workloads.

Core Features & Use Cases

  • Unified data access: read balances, transactions, operations, ledgers, and contract events across RPC and Horizon.
  • Streaming, pagination, and historical queries: fetch live data, paginate large results, and access deep history via Hubble/Galexie when RPC data is limited.
  • Migration-friendly workflows: guidance for moving from Horizon to RPC with RPC-first access and historical compatibility.

Quick Start

Query latest balances, transactions, and ledgers using the primary Stellar RPC endpoint with Horizon as a fallback path.

Frequently Asked Questions about data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Stellar balances and transactions using RPC and Horizon?

Query Stellar balances and transactions by using RPC as the default entry point with Horizon as a fallback. This approach reads on-chain state including ledgers, operations, and contract events for analytics.

What is the best way to migrate from Horizon to Stellar RPC for historical data access?

The best way to migrate from Horizon to Stellar RPC is using RPC-first access while maintaining historical compatibility. Deep history remains accessible via Hubble and Galexie when standard RPC data is limited.

Can I stream live Stellar ledger data and paginate large transaction results?

Yes, you can stream live Stellar ledger data and paginate large transaction results. This unified data access method supports streaming, pagination, and historical queries across both RPC and Horizon APIs.

When do I need Hubble or Galexie to access Stellar historical data?

You need Hubble or Galexie to access Stellar historical data when standard RPC data limits prevent deep history retrieval. These tools provide historical compatibility during migration from Horizon to RPC.

Does this approach support reading Stellar contract events and operations?

Yes, this approach supports reading Stellar contract events and operations. It provides unified data access across RPC and Horizon, covering balances, transactions, ledgers, and contract events for analytics workloads.