Skip to content

feat: Implement GraphQL API for Stellar Data Queries and Aggregations… - #10

Merged
Kevin737866 merged 2 commits into
Kevin737866:mainfrom
Phantomcall:feature/issue-4-graphql-analytics-v2
Jun 29, 2026
Merged

feat: Implement GraphQL API for Stellar Data Queries and Aggregations…#10
Kevin737866 merged 2 commits into
Kevin737866:mainfrom
Phantomcall:feature/issue-4-graphql-analytics-v2

Conversation

@Phantomcall

Copy link
Copy Markdown
Contributor

This PR implements a comprehensive GraphQL API server for Stellar blockchain analytics. It includes:

Full GraphQL schema with types: Ledger, Transaction, Operation, Account, and Balance.
Queries for paginated records (ledgers, transactions, operations) and single records (ledger).
Complex aggregation queries for account_stats, network_stats, and asset_volume trackers.
Performance optimization using DataLoader to prevent N+1 query problems.
Relay-compliant cursor-based pagination.
Integrated GraphQL Playground and a new CLI command serve-api.
Base project fixes for Soroban SDK migration and axum version conflicts.

issue #9

…Kevin737866#4)

Includes GraphQL schema with types for Ledger, Transaction, Operation, and Account. Implements resolvers with DataLoaders for N+1 prevention and aggregation queries for network metrics and DEX volume. Adds 'serve-api' CLI command and fixes Soroban SDK migration issues in the base project. issue Kevin737866#4
@drips-wave

drips-wave Bot commented Mar 26, 2026

Copy link
Copy Markdown

Hey @Phantomcall! 👋 It looks like this PR isn't linked to any issue.

If this PR is for one of the issues assigned to you as part of a Wave, please link it to ensure your contribution is tracked properly. You can do this by adding a keyword to the PR description (e.g., Closes #123), or by clicking a button below:

Issue Title
#3 Implement flash loan functionality Link to this issue

ℹ️ Learn more about linking PRs to issues

@Kevin737866
Kevin737866 merged commit 2ebd3dc into Kevin737866:main Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants