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.
base.events
- Base mainnet decoded event logs with parameters, event signature, topics, and more.base.transactions
- Base mainnet transaction data including hash, block number, gas usage.base.blocks
- Base mainnet block information.base.encoded_logs
- Encoded log data of event logs that aren’t able to be decoded by our event decoder (ex: log0 opcode).base.transfers
- All event logs with event signature Transfer(address,address,uint256)
. ERC-20, ERC-721, and ERC-1155 transfers are all included.A 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.