Skip to content
OnchainQueries

OQ — DOCS

Documentation

OnchainQueries is a read-only analytical SQL service over typed Solana event tables. It accepts a curated analytical SQL surface, translates the parts it can execute safely, and rejects anything outside the allowed catalog — 37 programs and 1,074 tables.

Get running in three commands
query loginquery sql --file query.sql --output ./results