What problem does it solve?
Blockchain developers often need call trace data (internal transactions, delegatecalls, gas usage) for indexing, but the Envio Indexer does not yet expose a handler-level trace API like onTrace. This Skill explains how to access trace data despite that gap.
Core Features & Use Cases
- HyperSync Trace Queries: Filter traces by from/to addresses, contract address, callType (call, delegatecall, staticcall), trace type, and function sighash at the data layer.
- RPC Workaround: Use the Envio Effect API with createEffect to fetch trace data from an RPC endpoint via trace_block, with built-in caching.
- Use Case: You are building an indexer that needs to track internal contract calls for a DeFi protocol. Use this Skill to query traces through HyperSync filters or fetch them per block with a cached RPC effect.
Quick Start
Ask the assistant to show how to fetch call traces for a specific block using the Envio Effect API and an RPC endpoint.