aptos-indexer

$npx mdskill add eric861129/SKILLS_All-in-one/aptos-indexer

Queries Aptos blockchain data via GraphQL and designs custom indexers.

  • Retrieves NFTs, coin balances, and transaction history from Aptos.
  • Depends on Aptos GraphQL API and indexer architecture (GRPC, Hasura).
  • Selects queries based on user request for specific blockchain data.
  • Returns structured data or designs custom processors for dApps.

SKILL.md

.github/skills/aptos-indexerView on GitHub ↗
---
name: aptos-indexer
description: "Expert in Aptos Indexer architecture and GraphQL API for querying blockchain data. Use when querying NFTs, coin balances, or transaction history via GraphQL, designing custom processors, or optimizing data retrieval from the Aptos blockchain."
user-invocable: true
triggers:
  - Aptos indexer query
  - Aptos GraphQL API
  - query NFT data Aptos
  - Aptos coin balance query
  - Aptos transaction history
  - custom indexer processor
  - Aptos data retrieval
  - Aptos indexer GraphQL
---

# Aptos Indexer Expert

Expertise in querying and processing Aptos blockchain data using the Indexer.

## When to Use

- Querying complex data (NFTs, coin balances, transaction history) via GraphQL
- Designing custom indexer processors for specific dApp needs
- Understanding the Indexer architecture (GRPC, Database, Hasura)
- Optimizing data retrieval for high-performance frontends

## Querying with GraphQL

Aptos provides a GraphQL API for indexing data.
- **Endpoint:** `https://api.mainnet.aptoslabs.com/v1/graphql`
- **Common Queries:** Fetching account transactions, token metadata, and activity.

## Resources

- **Aptos Indexer Docs:** https://aptos.dev/guides/indexer/
- **GraphQL Explorer:** https://cloud.aptoslabs.com/api-explorer

More from eric861129/SKILLS_All-in-one

SkillDescription
agnixUse when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'. Validates agent configuration files against 231 rules across 10+ AI tools.
anthropic-expertExpert on Anthropic Claude API, models, prompt engineering, function calling, vision, and best practices. Triggers on anthropic, claude, api, prompt, function calling, vision, messages api, embeddings
aptos-cliExpert in Aptos CLI for account management, contract deployment, transaction submission, and node operations. Use when using the Aptos CLI to initialize profiles, deploy Move contracts, submit transactions, manage accounts, or operate Aptos nodes.
aptos-coreExpert in Aptos blockchain core architecture: consensus (AptosBFT), execution (Block-STM), and networking. Use when analyzing Aptos protocol design, the Rust codebase, validator operations, or understanding how Block-STM parallel execution works.
aptos-dapp-integrationExpert on building Aptos dApps with frontend integration. Covers wallet connectivity (Petra, Martian, Pontem), wallet adapter patterns, TypeScript SDK, transaction building and submission, account management, and React/Next.js integration.
aptos-frameworkExpert on Aptos Framework (0x1 standard library) modules including account, coin, fungible_asset, object, timestamp, table, smart_table, event, randomness, aggregator, and resource_account. Essential for all Aptos development.
aptos-gas-optimizationAptos gas optimization expert for Move smart contracts. Covers storage costs, execution efficiency, inline functions, aggregators for parallel execution, Table vs SmartTable vs vector tradeoffs, event optimization, struct packing, and gas profiling tools.
aptos-move-languageExpert on Move programming language fundamentals including abilities (copy/drop/store/key), generics, phantom types, references, global storage operations (move_to/move_from/borrow_global), signer pattern, visibility modifiers, and advanced type system features.
aptos-move-testingExpert on testing Move smart contracts including unit tests, integration tests, Move Prover formal verification, debugging strategies, test coverage, and CI/CD integration for Aptos development.
aptos-object-modelExpert on Aptos Object Model for composable, transferable on-chain assets. Use when working with ObjectCore, Object wrappers, ConstructorRef, ExtendRef, DeleteRef, TransferRef capabilities, or implementing composable asset patterns on Aptos blockchain.