> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug API

Traces need the state of the traced block, so Linea Mainnet can trace the last 512 blocks, about an hour. For older blocks, `debug_traceBlockByNumber` and `debug_traceBlockByHash` return an empty list even when the block has transactions, and `debug_traceTransaction` returns JSON-RPC error `-32603` with the message `Internal error`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.