mantle-data-indexer

Query historical Mantle wallet activity and aggregate metrics from GraphQL or SQL indexer endpoints.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill mantle-data-indexer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mantle-data-indexer
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/mantle/vendor/mantle-data-indexer
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill mantle-data-indexer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Many historical questions on Mantle — like wallet activity, time-windowed metrics, event backfills, and protocol analytics — cannot be answered reliably or efficiently via raw RPC. This Skill provides a reproducible, source-attributed path to query indexed data with clear time boundaries, deterministic pagination, and quality reporting.

Core Features & Use Cases

  • GraphQL and SQL indexer support: Selects either a subgraph (GraphQL) or a SQL indexer based on availability and latency targets.
  • Query templates and normalization: Provides ready-made templates for wallet swaps, pool daily volumes, and rollups while normalizing timestamps, decimals, and units.
  • Operational guardrails: Enforces absolute UTC time ranges, read-only SQL, deterministic ordering, pagination handling, and a blocked output format when endpoints are missing.
  • Use Case: Generate a daily volume rollup for a Mantle pool, backfill historical swap events for a wallet, or produce time-windowed protocol metrics with provenance and lag awareness.

Quick Start

Provide a GraphQL or SQL indexer endpoint and request wallet swap history or pool volume for an absolute UTC time range, for example request wallet swaps for 0xAbC123... from 2026-03-01T00:00:00Z to 2026-03-07T00:00:00Z.

Frequently Asked Questions about mantle-data-indexer

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

FAQPage Schema
How do I retrieve historical wallet swap activity on Mantle using a GraphQL indexer?

To retrieve historical wallet swap activity on Mantle, provide a GraphQL indexer endpoint and specify an absolute UTC time range. The indexer normalizes timestamps and decimals while enforcing deterministic pagination to deliver source-attributed historical data.

Can I generate daily volume rollups for a Mantle pool with a SQL indexer?

Yes, you can generate daily volume rollups for a Mantle pool using a SQL indexer. The process executes read-only SQL queries with absolute UTC time ranges to aggregate protocol metrics while propagating query provenance and lag awareness.

What is the best way to backfill historical swap events for a Mantle wallet?

The best way to backfill historical swap events for a Mantle wallet is querying indexed data rather than raw RPC. By using a GraphQL or SQL indexer with deterministic pagination and absolute UTC time ranges, you ensure reproducible event retrieval.

Do I need to provide absolute UTC time ranges for time-windowed Mantle metrics?

Yes, you must provide absolute UTC time ranges for time-windowed Mantle metrics. Operational guardrails enforce strict absolute UTC time boundaries to ensure deterministic ordering and reproducible historical analytics from the indexer endpoints.

Why does querying raw RPC fail for historical protocol analytics on Mantle?

Querying raw RPC fails for historical protocol analytics on Mantle because it cannot efficiently handle time-windowed metrics, event backfills, or wallet activity rollups. Indexer endpoints provide a reproducible, source-attributed path with deterministic pagination.

Are there limitations when running read-only SQL queries for Mantle chain analytics?

Limitations of running read-only SQL queries for Mantle chain analytics include strict enforcement of deterministic ordering and a blocked output format when indexer endpoints are missing. The system also propagates tool warnings regarding indexer lag awareness.