data

Retrieve Stellar blockchain data via RPC and Horizon API endpoints.

4|3|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/Trustless-Work/trustlesswork-indexer-go --skill data-trustless-work
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data
Source: https://github.com/Trustless-Work/trustlesswork-indexer-go/tree/main/.claude/skills/data
Command: npx skills add https://github.com/Trustless-Work/trustlesswork-indexer-go --skill data-trustless-work

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @stellar/stellar-sdk.

What problem does it solve?

This skill simplifies the complexity of interacting with Stellar's dual-API ecosystem, allowing developers to seamlessly query real-time state via RPC and historical data via Horizon or data lake archives.

Core Features & Use Cases

  • Unified API Access: Provides clear guidance on choosing between Stellar RPC for real-time contract state and Horizon for legacy historical queries.
  • Data Retrieval: Facilitates fetching account balances, transaction history, ledger entries, and smart contract events.
  • Use Case: Use this skill to build an indexer that monitors escrow contract events or to retrieve historical transaction data for auditing purposes.

Quick Start

Use the data skill to fetch the latest ledger information and account balance for a specific public key using the Stellar RPC server.

Frequently Asked Questions about data

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

FAQPage Schema
How do I query Stellar ledger state and historical data?

To query Stellar ledger state, use RPC endpoints for real-time contract state and Horizon API for historical data. This approach retrieves account balances, transaction history, and smart contract events seamlessly across the dual-API ecosystem.

What's the best way to fetch real-time Soroban smart contract events?

Fetching real-time Soroban smart contract events is best achieved using Stellar RPC endpoints. The RPC server provides live event streaming and contract storage lookups, bypassing legacy Horizon limitations for current contract state.

When should I use Stellar RPC instead of the Horizon API?

Use Stellar RPC instead of the Horizon API when you need real-time contract state, live event streaming, or transaction simulation. Horizon should be reserved for legacy historical queries, account balances, and transaction history retrieval.

Can I build a blockchain indexer to monitor Stellar escrow contract events?

Yes, you can build a high-performance blockchain indexer to monitor Stellar escrow contract events. The system supports live event streaming and contract storage lookups via RPC, satisfying requirements for continuous monitoring and alerting.

Does the Stellar RPC server support transaction simulation and cross-network configuration?

Yes, the Stellar RPC server supports transaction simulation and cross-network configuration management. It handles high-performance indexing and real-time data retrieval tasks across different Stellar network environments.

How to retrieve deep historical transaction data for Stellar auditing purposes?

To retrieve deep historical transaction data for Stellar auditing, use Horizon API endpoints or integrate with BigQuery and data lake archives. This facilitates fetching legacy transaction history and ledger entries beyond real-time RPC capabilities.