Skip to content
OnchainQueries

OQ — D20 · Launchpads & Tokens

6 typed tables generated from the Moonshot IDL — 0 event tables and 6 instruction tables. Every column name comes from the program's own interface definition.

Tables
6
Event tables
0
Instruction tables
6
Account types
2

Program ID

MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG
OQ — D20·1Event tables

Moonshot declares no events in its IDL, so it has no evt_ tables. That is a property of the program, not a gap in coverage — use the 6 instruction tables below to read what it did and which accounts were involved.

OQ — D20·2Instruction tables

One table per instruction. OnchainQueries also exposes verified account_<name> aliases for instruction account columns when the bundled IDL and the live schema agree.

  • moonshot_solana.moonshot_call_buymoonshot.call_buy
  • moonshot_solana.moonshot_call_config_initmoonshot.call_config_init
  • moonshot_solana.moonshot_call_config_updatemoonshot.call_config_update
  • moonshot_solana.moonshot_call_migrate_fundsmoonshot.call_migrate_funds
  • moonshot_solana.moonshot_call_sellmoonshot.call_sell
  • moonshot_solana.moonshot_call_token_mintmoonshot.call_token_mint
OQ — D20·3Example

Typed parameters keep values out of the SQL text. Save the file, then pass each value with its type.

moonshot.sql
SELECT  date_trunc('hour', ts) AS hour,  count(*) AS eventsFROM moonshot_solana.moonshot_call_buyWHERE ts >= {{start_time}}GROUP BY hourORDER BY hour;
shell
query sql \  --file moonshot.sql \  --param 'start_time:timestamp=2026-08-01 00:00:00' \  --output ./results

OnchainQueries selects an engine, queues the query, and downloads checksum-verified Parquet parts plus a manifest. See the CLI guide.

Pro includes every engine class and 50,000 query credits a month.