Docs

trace_block - Sonic RPC Method

Get traces for all transactions in a block on Sonic. Requires archive node for ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications.

Returns traces for all transactions in a block on Sonic.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Use Cases

  • Block analysis - Inspect all internal transactions in a block
  • MEV research - Analyze transaction ordering and internal calls
  • Indexing - Build comprehensive transaction indexes for ultra-fast DeFi, high-frequency trading dApps, and performance-critical applications

Response Body

Response

Code Examples