Run a read-only SQL query against indexed blockchain data including transactions, events, and decoded logs.
This endpoint provides direct SQL access to comprehensive blockchain data across supported networks. Queries are executed against optimized data structures for high-performance analytics.
Query Limitations:
base.events
- Base mainnet decoded event logs with contract interactionsbase.transactions
- Base mainnet transaction data including hash, block number, gas usagebase.blocks
- Base mainnet block metadata including timestamps and difficultyA JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Request to execute a SQL query against indexed blockchain data.
Query run successfully.
Result of executing a SQL query.